import { useState, useEffect } from "react"; const gold = "#c9a84c"; const goldLight = "#dbc278"; const goldDark = "#a68a3a"; const goldMuted = "#b8a060"; const forest = "#1e3a2b"; const forestMid = "#2a4d3a"; const forestLight = "#345c47"; const forestPale = "#3d6b54"; const ivory = "#faf8f3"; const ivoryWarm = "#f4f1e8"; const cream = "#ede8dc"; const charcoal = "#2c2c2c"; const charcoalLight = "#4a4a4a"; const sage = "#8a9a7b"; const fontDisplay = "'Cormorant Garamond', Georgia, serif"; const fontBody = "'Raleway', 'Helvetica Neue', sans-serif"; const fontScript = "'Pinyon Script', cursive"; function Ornament({ light }) { const c = light ? goldLight : gold; return ( ); } function SectionTitle({ subtitle, title, light }) { return ( <> {subtitle && {subtitle} } {title} ); } function Hero() { return ( Caroline & David 24th October 2026 St Michael's Parish Church, Linlithgow • The Signet Library, Edinburgh ); } function Welcome() { return ( We are delighted to invite you to share in our wedding day. We'll begin with a ceremony at the magnificent medieval St Michael's Parish Church in Linlithgow, before travelling to Edinburgh for an evening of celebration at The Signet Library. It means the world to have you with us — we can't wait. ); } function TimelineItem({ time, desc }) { return ( {time} {desc} ); } function TimelinePhase({ title, location, items, note }) { return ( {title} {location && {location} } {items.map((item, i) => )} {note && {note} } ); } function Schedule() { return ( ); } function DressCode() { return ( Smart Formal We want you to feel wonderful. Suits, dresses, and cocktail attire are all perfect. Kilts are very much encouraged ); } function TaxiCard({ name, phone, tel }) { return ( {name} {phone} ); } function HotelCard({ name, discount, children }) { return ( {name} {discount} {children} ); } function Travel() { const pStyle = { fontSize:"0.92rem", color:ivory, fontWeight:300, lineHeight:1.8, textAlign:"center", maxWidth:600, margin:"0 auto" }; const hl = { color:goldLight, fontWeight:400 }; const strong = { color:goldLight, fontWeight:500 }; const smallP = { fontSize:"0.82rem", color:"rgba(237,232,220,0.65)", fontWeight:300, lineHeight:1.5, marginBottom:"0.25rem" }; const linkStyle = { display:"inline-block", color:goldLight, fontSize:"0.72rem", letterSpacing:"0.12em", textTransform:"uppercase", fontWeight:500, textDecoration:"none", borderBottom:"1px solid rgba(201,168,76,0.3)", paddingBottom:2, marginTop:"0.5rem" }; return ( The Ceremony — St Michael's Parish Church, Linlithgow Our ceremony takes place at St Michael's Parish Church, Kirkgate, Linlithgow EH49 7AL — one of Scotland's finest medieval churches, consecrated in 1242 and favoured by generations of Scottish monarchs. It stands beside the magnificent ruins of Linlithgow Palace, birthplace of Mary, Queen of Scots, overlooking Linlithgow Loch. If you're arriving early, we'd encourage you to take a look around the church and palace grounds. You may also want to stop for a drink at The Four Marys on the High Street or Platform 3 by the station — both are within five minutes' walk of the church. By train: Linlithgow is a short direct journey from Edinburgh — approximately 20 minutes from Waverley or Haymarket stations, with trains running every 20 minutes. St Michael's Parish Church is a 5-minute walk from Linlithgow station along the High Street. By taxi from Edinburgh: The journey takes around 30 minutes. We recommend pre-booking, especially on a Saturday. Pre-booking is strongly recommended, especially on a Saturday. After the Ceremony A coach will be provided to take guests from St Michael's Parish Church to The Signet Library in Edinburgh following the ceremony. You do not need to arrange your own transport for this journey. Friday Night — The Night Before For those arriving in Edinburgh on the Friday, we'll be arranging an informal get-together on Friday evening so you can catch up with old friends and meet new ones before the big day. Details to follow — watch this space! Where to Stay The following hotels offer special discounted rates for our wedding guests. All are within easy reach of The Signet Library in central Edinburgh. Discount applied automatically via link. Book Now Quote our wedding when booking. Tel: 0131 221 7200 groups.uk@frasershospitality.com Use code: HERPF900 lmacrae@malmaison.com Use code: PRESTIGE10 Book Now Edinburgh is busy in October — we recommend booking accommodation early. ); } function RSVP() { return ( Your Google Form RSVP will be embedded here. Questions will include: guest names, attendance, dietary requirements, and whether you require a seat on the coach from Linlithgow. Please respond by September 2026 ); } function GiftOption({ icon, title, desc }) { return ( {icon} {title} {desc} Details coming soon ); } function Gifts() { return ( Your presence at our wedding is a gift in itself. However, for those who have kindly asked, we have a few suggestions below. ); } function Footer() { return ( Caroline & David 24 • 10 • 2026 ); } export default function WeddingWebsite() { useEffect(() => { const link = document.createElement("link"); link.href = "https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Raleway:wght@300;400;500;600&family=Pinyon+Script&display=swap"; link.rel = "stylesheet"; document.head.appendChild(link); return () => document.head.removeChild(link); }, []); return ( ); }