Spaces:
No application file
No application file
Download index.Html from divya-ashwin/wedding: direct link, hf CLI and curl.
- Browser
- Download file 27.7 kB
-
https://huggingface.co/spaces/divya-ashwin/wedding/resolve/main/index.Html
- Command line
-
hf download hf://spaces/divya-ashwin/wedding/index.Html
-
curl -L -o index.Html https://huggingface.co/spaces/divya-ashwin/wedding/resolve/main/index.Html
27.7 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Divya & Ashwin — Wedding Invitation</title> | |
| <link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=Inter:wght@300;400;500&display=swap" rel="stylesheet"> | |
| <style> | |
| * { margin: 0; padding: 0; box-sizing: border-box; } | |
| :root { | |
| --cream: #f9f4ee; | |
| --dark-green: #2d3a2e; | |
| --red: #8b1a1a; | |
| --gold: #c9a84c; | |
| --gold-light: #f5edd8; | |
| --warm: #6b6258; | |
| --border: rgba(139,26,26,0.15); | |
| } | |
| html { scroll-behavior: smooth; } | |
| body { font-family: 'Inter', sans-serif; background: #fff; color: var(--dark-green); line-height: 1.7; } | |
| /* NAV */ | |
| nav { | |
| position: fixed; top: 0; left: 0; right: 0; | |
| background: rgba(249,244,238,0.96); | |
| backdrop-filter: blur(10px); | |
| border-bottom: 1px solid var(--border); | |
| z-index: 100; padding: 0 2rem; | |
| display: flex; align-items: center; justify-content: space-between; height: 58px; | |
| } | |
| .nav-brand { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-style: italic; color: var(--red); font-weight: 400; } | |
| .nav-links { display: flex; gap: 2rem; list-style: none; } | |
| .nav-links a { text-decoration: none; font-size: 12px; letter-spacing: 0.1em; color: var(--warm); transition: color 0.2s; text-transform: uppercase; font-weight: 500; } | |
| .nav-links a:hover { color: var(--red); } | |
| /* HERO */ | |
| .hero { | |
| min-height: 100vh; display: flex; flex-direction: column; | |
| align-items: center; justify-content: center; text-align: center; | |
| padding: 7rem 2rem 4rem; background: var(--cream); | |
| position: relative; overflow: hidden; | |
| } | |
| .hero::before { | |
| content: ''; | |
| position: absolute; inset: 0; | |
| background: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.08) 0%, transparent 70%); | |
| pointer-events: none; | |
| } | |
| /* floral corner decorations */ | |
| .floral-tl, .floral-br { | |
| position: absolute; width: 220px; height: 220px; | |
| background-size: contain; background-repeat: no-repeat; | |
| opacity: 0.55; pointer-events: none; | |
| } | |
| .floral-tl { top: 60px; left: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='40' cy='40' r='18' fill='%23d4c5b0' opacity='.5'/%3E%3Ccircle cx='80' cy='25' r='12' fill='%23e8ddd0' opacity='.6'/%3E%3Ccircle cx='25' cy='80' r='14' fill='%23d4c5b0' opacity='.4'/%3E%3Cline x1='40' y1='40' x2='120' y2='120' stroke='%232d3a2e' stroke-width='1.5' opacity='.2'/%3E%3Cline x1='40' y1='40' x2='20' y2='120' stroke='%232d3a2e' stroke-width='1' opacity='.2'/%3E%3C/svg%3E"); } | |
| .floral-br { bottom: 0; right: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='160' cy='160' r='22' fill='%23d4c5b0' opacity='.5'/%3E%3Ccircle cx='120' cy='175' r='14' fill='%23e8ddd0' opacity='.6'/%3E%3Ccircle cx='175' cy='120' r='16' fill='%23d4c5b0' opacity='.4'/%3E%3Cline x1='160' y1='160' x2='80' y2='80' stroke='%232d3a2e' stroke-width='1.5' opacity='.2'/%3E%3C/svg%3E"); } | |
| .hero-photo-ring { | |
| width: 200px; height: 200px; border-radius: 50%; | |
| border: 3px solid var(--dark-green); | |
| overflow: hidden; margin: 0 auto 2rem; | |
| background: #e8e0d6; | |
| display: flex; align-items: center; justify-content: center; | |
| cursor: pointer; position: relative; z-index: 1; | |
| transition: border-color 0.2s; | |
| } | |
| .hero-photo-ring:hover { border-color: var(--red); } | |
| .hero-photo-ring img { width: 100%; height: 100%; object-fit: cover; display: none; } | |
| .hero-photo-placeholder { font-size: 3.5rem; color: var(--dark-green); opacity: 0.25; } | |
| .photo-hint { font-size: 11px; color: var(--warm); letter-spacing: 0.08em; margin-bottom: 1.5rem; opacity: 0.7; } | |
| .hero-script { | |
| font-family: 'Cormorant Garamond', serif; | |
| font-size: 13px; letter-spacing: 0.3em; | |
| color: var(--warm); text-transform: uppercase; margin-bottom: 1.5rem; | |
| } | |
| .hero-names { | |
| font-family: 'Cormorant Garamond', serif; | |
| font-size: clamp(3.5rem, 10vw, 6rem); | |
| font-weight: 300; line-height: 1; | |
| color: var(--dark-green); margin-bottom: 0.25rem; | |
| } | |
| .hero-with { | |
| font-family: 'Cormorant Garamond', serif; | |
| font-style: italic; font-size: 1.8rem; color: var(--red); | |
| display: block; margin: 0.3rem 0; | |
| } | |
| .hero-ashwin { | |
| font-family: 'Cormorant Garamond', serif; | |
| font-size: clamp(3rem, 9vw, 5.5rem); font-style: italic; | |
| color: var(--red); font-weight: 300; | |
| } | |
| .hero-verse { | |
| max-width: 420px; margin: 2rem auto 1rem; | |
| font-family: 'Cormorant Garamond', serif; font-style: italic; | |
| font-size: 1.05rem; color: var(--warm); line-height: 1.8; | |
| } | |
| .hero-verse cite { display: block; font-size: 0.85rem; margin-top: 0.5rem; letter-spacing: 0.1em; font-style: normal; text-transform: uppercase; color: var(--gold); } | |
| .star { display: inline-block; color: var(--gold); font-size: 1.2rem; margin: 0 0.3rem; } | |
| .scroll-down { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); font-size: 11px; letter-spacing: 0.18em; color: var(--red); text-transform: uppercase; opacity: 0.6; } | |
| /* HOSTED BY */ | |
| .hosted-section { background: #fff; padding: 4rem 2rem; text-align: center; border-bottom: 1px solid var(--border); } | |
| .hosted-inner { max-width: 640px; margin: 0 auto; } | |
| .section-eyebrow { font-size: 11px; letter-spacing: 0.22em; color: var(--gold); text-transform: uppercase; font-weight: 500; margin-bottom: 0.75rem; } | |
| .hosted-families { | |
| font-family: 'Cormorant Garamond', serif; | |
| font-size: 1.05rem; color: var(--dark-green); | |
| line-height: 2; margin-top: 1.5rem; | |
| } | |
| .family-name { font-weight: 600; font-size: 1.15rem; } | |
| .family-place { color: var(--red); font-size: 0.95rem; letter-spacing: 0.05em; } | |
| .hosted-divider { width: 60px; height: 1px; background: var(--border); margin: 2rem auto; } | |
| .invite-text { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-style: italic; color: var(--warm); } | |
| /* SECTION SHARED */ | |
| .section-inner { max-width: 900px; margin: 0 auto; } | |
| .section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 400; color: var(--red); margin-bottom: 0.75rem; letter-spacing: 0.03em; } | |
| .section-subtitle { color: var(--warm); font-size: 14px; margin-bottom: 2.5rem; max-width: 480px; } | |
| /* EVENTS / LOCATIONS */ | |
| .events-section { background: var(--cream); padding: 5rem 2rem; } | |
| .events-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; } | |
| .event-card { | |
| background: #fff; border: 1px solid var(--border); border-radius: 10px; | |
| overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; | |
| } | |
| .event-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(139,26,26,0.1); } | |
| .event-card-top { | |
| background: var(--dark-green); | |
| padding: 1.25rem; text-align: center; position: relative; | |
| } | |
| .event-type { font-size: 10px; letter-spacing: 0.2em; color: rgba(255,255,255,0.6); text-transform: uppercase; margin-bottom: 0.4rem; } | |
| .event-date-big { font-family: 'Cormorant Garamond', serif; font-size: 3.5rem; font-weight: 300; color: #fff; line-height: 1; } | |
| .event-month { font-size: 11px; letter-spacing: 0.2em; color: rgba(255,255,255,0.7); text-transform: uppercase; margin-top: 0.2rem; } | |
| .event-day { font-size: 11px; letter-spacing: 0.15em; color: var(--gold); text-transform: uppercase; margin-top: 0.4rem; } | |
| .event-card-body { padding: 1.25rem; } | |
| .event-name { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; color: var(--red); margin-bottom: 0.75rem; font-weight: 400; } | |
| .event-detail { font-size: 13px; color: var(--warm); display: flex; gap: 8px; align-items: flex-start; margin-bottom: 6px; } | |
| .event-detail-icon { color: var(--gold); flex-shrink: 0; margin-top: 2px; } | |
| .map-btn { | |
| display: inline-flex; align-items: center; gap: 6px; | |
| margin-top: 1rem; padding: 8px 18px; | |
| border: 1px solid var(--red); border-radius: 20px; | |
| color: var(--red); font-size: 12px; letter-spacing: 0.08em; | |
| text-decoration: none; font-weight: 500; | |
| transition: background 0.2s, color 0.2s; | |
| } | |
| .map-btn:hover { background: var(--red); color: #fff; } | |
| /* EVENT PHOTOS */ | |
| .event-photo { width: 100%; height: 140px; overflow: hidden; background: #e8e0d6; cursor: pointer; display: flex; align-items: center; justify-content: center; position: relative; } | |
| .event-photo img { width: 100%; height: 100%; object-fit: cover; display: none; } | |
| .event-photo-placeholder { font-size: 2rem; opacity: 0.3; color: var(--dark-green); } | |
| .event-photo-badge { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,0.4); color: #fff; font-size: 10px; letter-spacing: 0.08em; padding: 3px 8px; border-radius: 10px; } | |
| /* GALLERY */ | |
| .gallery-section { background: #fff; padding: 5rem 2rem; } | |
| .upload-zone { | |
| border: 1.5px dashed rgba(139,26,26,0.3); border-radius: 10px; | |
| padding: 2.5rem; text-align: center; cursor: pointer; | |
| margin-bottom: 1.5rem; background: var(--cream); | |
| transition: border-color 0.2s, background 0.2s; | |
| } | |
| .upload-zone:hover { border-color: var(--red); background: #fff; } | |
| .upload-icon-big { font-size: 2rem; color: var(--red); opacity: 0.5; margin-bottom: 0.75rem; } | |
| .upload-title { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--dark-green); margin-bottom: 0.3rem; } | |
| .upload-sub { font-size: 12px; color: var(--warm); } | |
| .gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; } | |
| .gallery-thumb { aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: var(--cream); cursor: pointer; position: relative; } | |
| .gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; display: none; } | |
| .gallery-thumb:hover img { transform: scale(1.05); } | |
| .gallery-thumb .gallery-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 2rem; opacity: 0.25; color: var(--dark-green); } | |
| .thumb-del { position: absolute; top: 5px; right: 5px; background: rgba(255,255,255,0.9); border: none; border-radius: 50%; width: 22px; height: 22px; font-size: 13px; cursor: pointer; display: none; align-items: center; justify-content: center; color: #888; } | |
| .gallery-thumb:hover .thumb-del { display: flex; } | |
| /* RSVP */ | |
| .rsvp-section { background: var(--cream); padding: 5rem 2rem; } | |
| .rsvp-wrap { max-width: 520px; } | |
| .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; } | |
| .fgroup { margin-bottom: 1rem; } | |
| .flabel { display: block; font-size: 11px; letter-spacing: 0.12em; color: var(--red); text-transform: uppercase; font-weight: 500; margin-bottom: 5px; } | |
| .finput, .fselect, .ftextarea { | |
| width: 100%; padding: 10px 13px; border: 1px solid rgba(139,26,26,0.2); | |
| border-radius: 5px; font-size: 14px; font-family: 'Inter', sans-serif; | |
| color: var(--dark-green); background: #fff; outline: none; | |
| transition: border-color 0.2s; | |
| } | |
| .finput:focus, .fselect:focus, .ftextarea:focus { border-color: var(--red); } | |
| .ftextarea { resize: vertical; min-height: 90px; } | |
| .rsvp-btn { | |
| display: inline-block; padding: 13px 40px; | |
| background: var(--dark-green); color: #fff; border: none; border-radius: 30px; | |
| font-size: 13px; letter-spacing: 0.12em; cursor: pointer; | |
| font-family: 'Inter', sans-serif; font-weight: 500; | |
| transition: background 0.2s, transform 0.15s; | |
| margin-top: 0.5rem; | |
| } | |
| .rsvp-btn:hover { background: var(--red); transform: translateY(-1px); } | |
| .rsvp-ok { display: none; margin-top: 1.5rem; padding: 1.25rem; background: #fff; border: 1px solid var(--border); border-radius: 8px; text-align: center; font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--dark-green); } | |
| /* FOOTER */ | |
| footer { background: var(--dark-green); color: rgba(255,255,255,0.55); text-align: center; padding: 3rem 2rem; font-size: 13px; } | |
| .footer-main { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-style: italic; color: var(--gold); display: block; margin-bottom: 0.5rem; font-weight: 300; } | |
| .footer-tagline { font-family: 'Cormorant Garamond', serif; font-style: italic; color: rgba(255,255,255,0.4); margin-bottom: 0.4rem; } | |
| /* LIGHTBOX */ | |
| .lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.94); z-index: 1000; align-items: center; justify-content: center; } | |
| .lightbox.open { display: flex; } | |
| .lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 3px; } | |
| .lb-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; color: #fff; font-size: 2.2rem; cursor: pointer; opacity: 0.6; } | |
| .lb-close:hover { opacity: 1; } | |
| /* RESPONSIVE */ | |
| @media (max-width: 580px) { | |
| nav { padding: 0 1rem; } | |
| .nav-links li:nth-child(n+3) { display: none; } | |
| .events-section, .gallery-section, .rsvp-section { padding: 3rem 1.25rem; } | |
| .form-row { grid-template-columns: 1fr; } | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <nav> | |
| <span class="nav-brand">Divya & Ashwin</span> | |
| <ul class="nav-links"> | |
| <li><a href="#events">Events</a></li> | |
| <li><a href="#gallery">Photos</a></li> | |
| <li><a href="#rsvp">RSVP</a></li> | |
| </ul> | |
| </nav> | |
| <!-- HERO --> | |
| <section class="hero"> | |
| <div class="floral-tl"></div> | |
| <div class="floral-br"></div> | |
| <div class="hero-photo-ring" id="heroRing" onclick="document.getElementById('heroInput').click()" title="Tap to add your photo"> | |
| <img id="heroImg" src="" alt="Divya and Ashwin"> | |
| <span class="hero-photo-placeholder" id="heroPh">♡</span> | |
| </div> | |
| <input type="file" id="heroInput" accept="image/*" style="display:none"> | |
| <p class="photo-hint">Tap the circle to add your couple photo</p> | |
| <p class="hero-script">Save the Date</p> | |
| <h1> | |
| <span class="hero-names">Divya</span> | |
| <span class="hero-with">with</span> | |
| <span class="hero-ashwin">Ashwin</span> | |
| </h1> | |
| <div style="margin:2rem 0 0;"> | |
| <span class="star">✦</span> | |
| <span class="star" style="font-size:0.8rem;">✦</span> | |
| <span class="star">✦</span> | |
| </div> | |
| <blockquote class="hero-verse"> | |
| "I have found the one whom my soul loves." | |
| <cite>Song of Songs 3:4</cite> | |
| </blockquote> | |
| <p class="scroll-down">↓ scroll</p> | |
| </section> | |
| <!-- HOSTED BY --> | |
| <section class="hosted-section"> | |
| <div class="hosted-inner"> | |
| <p class="section-eyebrow">With the blessings of</p> | |
| <div class="hosted-families"> | |
| <p><span class="family-name">Dr Cyril P Stephen & Dr Sharlet John</span></p> | |
| <p class="family-place">Perumamthadathil House, Kattampack, Kottayam, Kerala</p> | |
| </div> | |
| <div class="hosted-divider"></div> | |
| <p class="invite-text">cordially invite you to the Engagement & Wedding Ceremonies of their daughter</p> | |
| <div style="margin:1.5rem 0;"> | |
| <div style="font-family:'Cormorant Garamond',serif;font-size:2.2rem;font-style:italic;color:var(--red);">Divya</div> | |
| <div style="font-family:'Cormorant Garamond',serif;font-size:1.1rem;color:var(--warm);font-style:italic;margin:0.3rem 0;">with</div> | |
| <div style="font-family:'Cormorant Garamond',serif;font-size:2.2rem;font-style:italic;color:var(--dark-green);">Ashwin</div> | |
| </div> | |
| <p style="font-size:13px;color:var(--warm);margin-top:0.5rem;">Son of <strong style="color:var(--dark-green);">Mr Jijoy Mathew & Mrs Asha Mathew</strong></p> | |
| <p style="font-size:13px;color:var(--red);margin-top:2px;">Pakalomattam Thazhamon House, Thadiyoor, Kerala</p> | |
| <p style="font-size:13px;color:var(--warm);margin-top:0.5rem;">Join us in our joy, <em>Riya Cyril</em></p> | |
| </div> | |
| </section> | |
| <!-- EVENTS --> | |
| <section class="events-section" id="events"> | |
| <div class="section-inner"> | |
| <p class="section-eyebrow">All celebrations</p> | |
| <h2 class="section-title">Events & Venues</h2> | |
| <p class="section-subtitle">Tap any card to get directions to that venue on your phone.</p> | |
| <div class="events-grid"> | |
| <!-- Engagement Ceremony --> | |
| <div class="event-card"> | |
| <div class="event-photo" onclick="triggerVPhoto(1)" title="Add venue photo"> | |
| <img id="vImg1" src="" alt=""> | |
| <span class="event-photo-placeholder" id="vPh1">⛪</span> | |
| <span class="event-photo-badge">Tap to add photo</span> | |
| </div> | |
| <input type="file" id="vInput1" accept="image/*" style="display:none"> | |
| <div class="event-card-top"> | |
| <p class="event-type">Engagement Ceremony</p> | |
| <p class="event-date-big">26</p> | |
| <p class="event-month">September 2026</p> | |
| <p class="event-day">Saturday · 4:00 PM</p> | |
| </div> | |
| <div class="event-card-body"> | |
| <p class="event-name">Major Archiepiscopal Marth Mariam Archdeacon Pilgrim Church</p> | |
| <div class="event-detail"><span class="event-detail-icon">📍</span><span>Kuravilangad, Kottayam, Kerala</span></div> | |
| <div class="event-detail"><span class="event-detail-icon">⏰</span><span>4:00 PM onwards</span></div> | |
| <a class="map-btn" href="https://maps.google.com/?q=Marth+Mariam+Archdeacon+Pilgrim+Church+Kuravilangad+Kottayam" target="_blank"> | |
| 📍 Get directions | |
| </a> | |
| </div> | |
| </div> | |
| <!-- Madhuram Veppu / Reception --> | |
| <div class="event-card"> | |
| <div class="event-photo" onclick="triggerVPhoto(2)" title="Add venue photo"> | |
| <img id="vImg2" src="" alt=""> | |
| <span class="event-photo-placeholder" id="vPh2">🎊</span> | |
| <span class="event-photo-badge">Tap to add photo</span> | |
| </div> | |
| <input type="file" id="vInput2" accept="image/*" style="display:none"> | |
| <div class="event-card-top"> | |
| <p class="event-type">Reception & Madhuram Veppu</p> | |
| <p class="event-date-big">26</p> | |
| <p class="event-month">September 2026</p> | |
| <p class="event-day">Saturday · 6:00 PM</p> | |
| </div> | |
| <div class="event-card-body"> | |
| <p class="event-name">Grand Arena Convention Centre</p> | |
| <div class="event-detail"><span class="event-detail-icon">📍</span><span>Pattithanam, Ettumanoor, Kottayam</span></div> | |
| <div class="event-detail"><span class="event-detail-icon">⏰</span><span>6:00 PM onwards</span></div> | |
| <a class="map-btn" href="https://maps.google.com/?q=Grand+Arena+Convention+Centre+Pattithanam+Ettumanoor" target="_blank"> | |
| 📍 Get directions | |
| </a> | |
| </div> | |
| </div> | |
| <!-- Wedding Ceremony --> | |
| <div class="event-card"> | |
| <div class="event-photo" onclick="triggerVPhoto(3)" title="Add venue photo"> | |
| <img id="vImg3" src="" alt=""> | |
| <span class="event-photo-placeholder" id="vPh3">⛪</span> | |
| <span class="event-photo-badge">Tap to add photo</span> | |
| </div> | |
| <input type="file" id="vInput3" accept="image/*" style="display:none"> | |
| <div class="event-card-top" style="background:#6b1515;"> | |
| <p class="event-type">Wedding Ceremony</p> | |
| <p class="event-date-big">3</p> | |
| <p class="event-month">October 2026</p> | |
| <p class="event-day">Saturday · 3:30 PM</p> | |
| </div> | |
| <div class="event-card-body"> | |
| <p class="event-name">St. John's Malankara Syrian Catholic Metropolitan Cathedral</p> | |
| <div class="event-detail"><span class="event-detail-icon">📍</span><span>Thiruvalla, Pathanamthitta, Kerala</span></div> | |
| <div class="event-detail"><span class="event-detail-icon">⏰</span><span>3:30 PM</span></div> | |
| <a class="map-btn" href="https://maps.google.com/?q=St+John's+Malankara+Syrian+Catholic+Metropolitan+Cathedral+Thiruvalla" target="_blank"> | |
| 📍 Get directions | |
| </a> | |
| </div> | |
| </div> | |
| <!-- Wedding Reception --> | |
| <div class="event-card"> | |
| <div class="event-photo" onclick="triggerVPhoto(4)" title="Add venue photo"> | |
| <img id="vImg4" src="" alt=""> | |
| <span class="event-photo-placeholder" id="vPh4">🎉</span> | |
| <span class="event-photo-badge">Tap to add photo</span> | |
| </div> | |
| <input type="file" id="vInput4" accept="image/*" style="display:none"> | |
| <div class="event-card-top" style="background:#6b1515;"> | |
| <p class="event-type">Wedding Reception</p> | |
| <p class="event-date-big">3</p> | |
| <p class="event-month">October 2026</p> | |
| <p class="event-day">Saturday · 5:30 PM</p> | |
| </div> | |
| <div class="event-card-body"> | |
| <p class="event-name">Vijaya International Convention Centre</p> | |
| <div class="event-detail"><span class="event-detail-icon">📍</span><span>Perumthuruthy, MC Road, Thiruvalla</span></div> | |
| <div class="event-detail"><span class="event-detail-icon">⏰</span><span>5:30 PM onwards</span></div> | |
| <a class="map-btn" href="https://maps.google.com/?q=Vijaya+International+Convention+Centre+Perumthuruthy+Thiruvalla" target="_blank"> | |
| 📍 Get directions | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- GALLERY --> | |
| <section class="gallery-section" id="gallery"> | |
| <div class="section-inner"> | |
| <p class="section-eyebrow">Memories</p> | |
| <h2 class="section-title">Photo Gallery</h2> | |
| <p class="section-subtitle">Add engagement photos, family portraits, venue pictures — anything you'd like to share with guests.</p> | |
| <div class="upload-zone" onclick="document.getElementById('galleryInput').click()"> | |
| <div class="upload-icon-big">📷</div> | |
| <p class="upload-title">Add photos</p> | |
| <p class="upload-sub">Click to select · JPG, PNG, WEBP</p> | |
| <input type="file" id="galleryInput" accept="image/*" multiple style="display:none"> | |
| </div> | |
| <div class="gallery-grid" id="galleryGrid"> | |
| <div class="gallery-thumb"><div class="gallery-ph">🌸</div></div> | |
| <div class="gallery-thumb"><div class="gallery-ph">💍</div></div> | |
| <div class="gallery-thumb"><div class="gallery-ph">🕊</div></div> | |
| <div class="gallery-thumb"><div class="gallery-ph">🌿</div></div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- RSVP --> | |
| <section class="rsvp-section" id="rsvp"> | |
| <div class="section-inner"> | |
| <p class="section-eyebrow">Join us</p> | |
| <h2 class="section-title">RSVP</h2> | |
| <p class="section-subtitle">Please confirm your attendance so we can prepare to welcome you.</p> | |
| <div class="rsvp-wrap"> | |
| <form onsubmit="doRsvp(event)"> | |
| <div class="form-row" style="margin-bottom:1rem"> | |
| <div class="fgroup"> | |
| <label class="flabel">First name</label> | |
| <input class="finput" type="text" placeholder="Your name" required> | |
| </div> | |
| <div class="fgroup"> | |
| <label class="flabel">Last name</label> | |
| <input class="finput" type="text" placeholder="Family name" required> | |
| </div> | |
| </div> | |
| <div class="fgroup"> | |
| <label class="flabel">Phone / WhatsApp</label> | |
| <input class="finput" type="tel" placeholder="+91 98765 43210"> | |
| </div> | |
| <div class="fgroup"> | |
| <label class="flabel">Which events are you attending?</label> | |
| <select class="fselect" required> | |
| <option value="">Select…</option> | |
| <option>Engagement Ceremony — 26 Sep (Church, Kuravilangad)</option> | |
| <option>Madhuram Veppu — 26 Sep (Grand Arena, Ettumanoor)</option> | |
| <option>Wedding Ceremony — 3 Oct (Cathedral, Thiruvalla)</option> | |
| <option>Wedding Reception — 3 Oct (Vijaya Convention, Thiruvalla)</option> | |
| <option>All events</option> | |
| </select> | |
| </div> | |
| <div class="fgroup"> | |
| <label class="flabel">Number of guests</label> | |
| <select class="fselect"> | |
| <option>1 (just me)</option> | |
| <option>2</option> | |
| <option>3</option> | |
| <option>4 or more</option> | |
| </select> | |
| </div> | |
| <div class="fgroup"> | |
| <label class="flabel">Message to Divya & Ashwin (optional)</label> | |
| <textarea class="ftextarea" placeholder="A blessing, a memory, anything you'd like to share…"></textarea> | |
| </div> | |
| <button type="submit" class="rsvp-btn">Confirm attendance →</button> | |
| <div class="rsvp-ok" id="rsvpOk"> | |
| ✦ Thank you! We are so glad you're joining us. ✦<br> | |
| <span style="font-size:0.9rem;color:var(--warm);font-style:italic;">Join us in our joy — Riya Cyril</span> | |
| </div> | |
| </form> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- FOOTER --> | |
| <footer> | |
| <span class="footer-main">Divya & Ashwin</span> | |
| <p class="footer-tagline">"I have found the one whom my soul loves." — Song of Songs 3:4</p> | |
| <p style="margin-top:0.75rem;font-size:12px;">September & October 2026 · Kerala, India</p> | |
| </footer> | |
| <!-- LIGHTBOX --> | |
| <div class="lightbox" id="lightbox" onclick="closeLb()"> | |
| <button class="lb-close">×</button> | |
| <img id="lbImg" src="" alt=""> | |
| </div> | |
| <script> | |
| // Hero photo | |
| document.getElementById('heroInput').addEventListener('change', function(e) { | |
| const f = e.target.files[0]; if (!f) return; | |
| const r = new FileReader(); | |
| r.onload = function(ev) { | |
| const img = document.getElementById('heroImg'); | |
| img.src = ev.target.result; img.style.display = 'block'; | |
| document.getElementById('heroPh').style.display = 'none'; | |
| document.querySelector('.photo-hint').style.display = 'none'; | |
| }; | |
| r.readAsDataURL(f); | |
| }); | |
| // Venue photos | |
| function triggerVPhoto(n) { document.getElementById('vInput' + n).click(); } | |
| [1,2,3,4].forEach(function(n) { | |
| document.getElementById('vInput' + n).addEventListener('change', function(e) { | |
| const f = e.target.files[0]; if (!f) return; | |
| const r = new FileReader(); | |
| r.onload = function(ev) { | |
| const img = document.getElementById('vImg' + n); | |
| img.src = ev.target.result; img.style.display = 'block'; | |
| document.getElementById('vPh' + n).style.display = 'none'; | |
| }; | |
| r.readAsDataURL(f); | |
| }); | |
| }); | |
| // Gallery | |
| document.getElementById('galleryInput').addEventListener('change', function(e) { | |
| const files = Array.from(e.target.files); | |
| const grid = document.getElementById('galleryGrid'); | |
| if (grid.querySelector('.gallery-ph')) grid.innerHTML = ''; | |
| files.forEach(function(file) { | |
| const r = new FileReader(); | |
| r.onload = function(ev) { | |
| const wrap = document.createElement('div'); wrap.className = 'gallery-thumb'; | |
| const img = document.createElement('img'); img.src = ev.target.result; | |
| img.style.display = 'block'; | |
| img.onclick = function() { openLb(ev.target.result); }; | |
| const del = document.createElement('button'); del.className = 'thumb-del'; | |
| del.innerHTML = '×'; del.onclick = function(e) { e.stopPropagation(); wrap.remove(); }; | |
| wrap.appendChild(img); wrap.appendChild(del); | |
| grid.appendChild(wrap); | |
| }; | |
| r.readAsDataURL(file); | |
| }); | |
| }); | |
| // Lightbox | |
| function openLb(src) { document.getElementById('lbImg').src = src; document.getElementById('lightbox').classList.add('open'); } | |
| function closeLb() { document.getElementById('lightbox').classList.remove('open'); } | |
| // RSVP | |
| function doRsvp(e) { | |
| e.preventDefault(); | |
| document.getElementById('rsvpOk').style.display = 'block'; | |
| e.target.style.opacity = '0.4'; e.target.style.pointerEvents = 'none'; | |
| } | |
| </script> | |
| </body> | |
| </html> | |