- 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
42 lines
958 B
TypeScript
42 lines
958 B
TypeScript
interface VenueInfoProps {
|
|
venueName: string;
|
|
addressLines: string;
|
|
}
|
|
|
|
export function VenueInfo({ venueName, addressLines }: VenueInfoProps) {
|
|
const lines = addressLines
|
|
? addressLines.split("\n").filter((line) => line.trim().length > 0)
|
|
: [];
|
|
|
|
return (
|
|
<div style={{ textAlign: "center", margin: "1rem 0" }}>
|
|
<h3
|
|
style={{
|
|
fontSize: "0.95rem",
|
|
fontWeight: 600,
|
|
letterSpacing: "0.18em",
|
|
textTransform: "uppercase",
|
|
color: "var(--color-text)",
|
|
marginBottom: "0.4rem",
|
|
}}
|
|
>
|
|
{venueName}
|
|
</h3>
|
|
{lines.map((line) => (
|
|
<p
|
|
key={line}
|
|
style={{
|
|
fontSize: "0.82rem",
|
|
color: "var(--color-text-muted)",
|
|
letterSpacing: "0.12em",
|
|
textTransform: "uppercase",
|
|
lineHeight: 1.5,
|
|
}}
|
|
>
|
|
{line}
|
|
</p>
|
|
))}
|
|
</div>
|
|
);
|
|
}
|