-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
231 lines (197 loc) · 5.67 KB
/
Copy pathindex.html
File metadata and controls
231 lines (197 loc) · 5.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Victoria & Rahul's Wedding</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Cardo&family=Mirza&family=Great+Vibes&display=swap"
rel="stylesheet">
<style>
body {
background: url('./assets/images/Home.png') no-repeat center center fixed;
background-size: cover;
background-color: rgba(255, 255, 255, 0.7);
backdrop-filter: blur(2px);
font-family: 'Cardo', serif;
margin: 0;
padding: 2rem;
color: white;
}
h1 {
font-family: 'Great Vibes', cursive;
font-size: 3rem;
color: #B27409;
margin: 0;
text-align: center;
}
h2,
h3 {
font-family: 'Mirza', cursive;
color: #B27409;
text-transform: uppercase;
margin-top: 2rem;
}
p {
font-family: 'Cardo', serif;
font-size: 1.1rem;
line-height: 1.6;
margin-bottom: 1rem;
}
.content-wrapper {
background-color: rgba(0, 0, 0, 0.5);
/* 50% transparent black */
border-radius: 12px;
padding: 2rem;
max-width: 1000px;
margin: 2rem auto;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
header {
text-align: center;
padding: 3rem 1rem 1rem;
}
.subtitle {
font-size: 1.3rem;
font-style: italic;
color: #B27409;
margin-top: 0.5rem;
}
.content {
max-width: 800px;
margin: 0 auto;
padding: 2rem;
text-align: center;
}
.rsvp-button {
display: inline-block;
margin: 2rem 0;
padding: 0.75rem 1.5rem;
background-color: #B27409;
color: white;
border-radius: 8px;
text-decoration: none;
font-weight: bold;
font-size: 1.1rem;
}
.countdown {
background-color: #000000BF;
display: inline-block;
padding: 1rem 2rem;
border-radius: 10px;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
font-size: 1.2rem;
margin: 1rem auto;
color: white;
}
footer {
background-color: #000000BF;
padding: 1rem;
font-size: 0.9rem;
color: white;
text-align: center;
}
.navbar ul {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 1rem;
background-color: #000000;
padding: 1rem;
position: relative;
}
.navbar a {
font-family: 'Mirza', cursive;
text-transform: uppercase;
text-decoration: none;
color: #B27409;
font-size: 1rem;
font-weight: bold;
padding: 0.5rem 1rem;
border-radius: 6px;
transition: background-color 0.3s;
}
.navbar a:hover {
background-color: rgba(255, 255, 255, 0.1);
}
.navbar::after {
content: "";
display: block;
height: 60px;
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 100"></svg>') no-repeat bottom center;
background-size: cover;
}
@media (max-width: 600px) {
h1 {
font-size: 2.3rem;
}
.countdown {
font-size: 1rem;
padding: 1rem;
}
}
</style>
</head>
<body>
<!-- Navbar -->
<div id="nav-placeholder"></div>
<script>
fetch('navbar.html')
.then(res => res.text())
.then(data => {
document.getElementById('nav-placeholder').innerHTML = data;
});
</script>
<div class="content-wrapper">
<h1>Victoria & Rahul</h1>
<div class="content">
<p>We’re getting married and we can’t wait to celebrate with you!</p>
<p>We're marking this new chapter of our lives with two special events:</p>
<ul style="text-align:left; max-width:600px; margin: 0 auto;">
<li><strong>A simple civil ceremony</strong> in Copenhagen, Denmark</li>
<li><strong>A joyful celebration</strong> with family and friends in Sonipat, India</li>
</ul>
<p>
Whether you're joining us in Denmark, India, or from afar, your support and love mean the world to us.
All the travel details, logistics, and helpful info can be found throughout the site.
</p>
<p>Get ready for love, laughter, and lots of memories. <br><strong>#ChahelYeah</strong></p>
<br>
<h2>Countdown to Copenhagen</h2>
<div class="countdown" id="countdownCopenhagen"></div>
<h2>Countdown to Sonipat</h2>
<div class="countdown" id="countdownSonipat"></div>
<p>Thank you for being a part of this special journey with us!</p>
</div>
<footer>
<p>With love, Victoria & Rahul</p>
</footer>
</div>
<script>
const countdown = (id, dateString) => {
const targetDate = new Date(dateString).getTime();
const el = document.getElementById(id);
const update = () => {
const now = new Date().getTime();
const diff = targetDate - now;
if (diff <= 0) {
el.innerHTML = "🎉 It's happening today!";
return;
}
const days = Math.floor(diff / (1000 * 60 * 60 * 24));
const hours = Math.floor((diff % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
const minutes = Math.floor((diff % (1000 * 60 * 60)) / (1000 * 60));
const seconds = Math.floor((diff % (1000 * 60)) / 1000);
el.innerHTML = `⏳ ${days} days, ${hours} hrs, ${minutes} min, ${seconds} sec to go!`;
};
update();
setInterval(update, 1000);
};
countdown("countdownCopenhagen", "October 10, 2025 12:00:00");
countdown("countdownSonipat", "November 09, 2025 18:00:00");
</script>
</body>
</html>