/* global React */
// Shared atoms โ wordmark, placeholders, rules, buttons, eyebrows.
const Wordmark = ({ size = 18, light = false, sub = 'Barber ยท Boutique' }) => (
Bread Way Barber
{sub ? (
{sub}
) : null}
);
const GoldRule = ({ width = 60, color }) => (
);
const Placeholder = ({ label, height = 200, dark = false, style = {}, className = '' }) => (
);
const SectionHead = ({ num, title, subtitle, light = false }) => (
{num ?
โ {num} โ
: null}
{title}
{subtitle ?
{subtitle}
: null}
);
// Decorative scissors / razor / comb glyphs in pure SVG (very simple shapes)
const ScissorsGlyph = ({ size = 18, color = 'currentColor' }) => (
);
const RazorGlyph = ({ size = 18, color = 'currentColor' }) => (
);
const BottleGlyph = ({ size = 18, color = 'currentColor' }) => (
);
// NYC subway-style "bullet" roundel used as the brand mark throughout the site.
const Logo = ({ size = 40, variant = 'ink' }) => {
const bg = variant === 'gold' ? '#b8924a' : '#14110c';
const fg = variant === 'gold' ? '#14110c' : '#b8924a';
return (
);
};
// Flat NYC skyline silhouette, meant to sit along the bottom edge of a dark panel.
const SkylineGlyph = ({ width = 400, height = 90, color = 'rgba(184,146,74,0.18)' }) => (
);
const StarRow = ({ value = 5, size = 10, color = '#b8924a' }) => (
{[0,1,2,3,4].map(i => (
))}
);
Object.assign(window, {
Wordmark, GoldRule, Placeholder, SectionHead,
ScissorsGlyph, RazorGlyph, BottleGlyph, StarRow,
Logo, SkylineGlyph,
});