/* global React */
const { useState, useEffect, useRef } = React;
// Simple botanical leaf sprigs as inline SVG components
function LeafSprig({ className, style }) {
return (
);
}
function LaurelHalf({ className, style, flip }) {
return (
);
}
function Floret({ size = 40, className, style }) {
return (
);
}
// SVG placeholder for gallery tiles
function PlaceholderTile({ tint = 'a', label }) {
const palettes = {
a: ['#3d0000', '#734741', '#b08a4a'],
b: ['#586357', '#052102', '#b08a4a'],
c: ['#280d08', '#734741', '#d4a85a'],
d: ['#7d2233', '#b08a4a', '#586357'],
e: ['#1a0808', '#3d0000', '#b08a4a'],
};
const [c1, c2, c3] = palettes[tint] || palettes.a;
const id = `g${tint}-${label?.replace(/\s/g, '')}`;
return (
);
}
window.LeafSprig = LeafSprig;
window.LaurelHalf = LaurelHalf;
window.Floret = Floret;
window.PlaceholderTile = PlaceholderTile;