- Add React 18 + Vite + Typescript application architecture with basename /birthday - Implement invitation experience with golden bokeh particle canvas adn countdown timer - Build Colombian phone validated RSVP flow with optimistic submission state machine - Add Authelia-protected admin dashboard with live RSVP table and configuration editor - Embed self-hosted display and Montserrat fonts without external CDN dependencies - Include self-contained Biome linter configuration with parent VCS root resolution - Update project roadmap reflecting completion of phases 2, 3 and 4
24 lines
544 B
TypeScript
24 lines
544 B
TypeScript
export function Spinner({ size = 24 }: { size?: number }) {
|
|
return (
|
|
<div
|
|
style={{
|
|
display: "inline-block",
|
|
width: size,
|
|
height: size,
|
|
border: "2px solid rgba(212, 168, 67, 0.25)",
|
|
borderTopColor: "var(--color-gold)",
|
|
borderRadius: "50%",
|
|
animation: "spin 0.8s linear infinite",
|
|
}}
|
|
aria-label="Cargando..."
|
|
role="status"
|
|
>
|
|
<style>{`
|
|
@keyframes spin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
`}</style>
|
|
</div>
|
|
);
|
|
}
|