-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
201 lines (182 loc) · 9.18 KB
/
index.html
File metadata and controls
201 lines (182 loc) · 9.18 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Celebrate your love story with a beautiful anniversary countdown">
<title>LoveStory Pro - Premium Anniversary Template</title>
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;600;700;800&display=swap" rel="stylesheet">
</head>
<body data-theme="modern">
<div class="bg-animation"></div>
<div class="particles" id="particles" aria-hidden="true"></div>
<button class="admin-toggle" onclick="app.toggleAdmin()" aria-label="Open customizer panel" aria-controls="adminPanel">⚙️</button>
<aside class="admin-panel" id="adminPanel" aria-label="Template customizer">
<button class="admin-close" onclick="app.toggleAdmin()" aria-label="Close customizer">×</button>
<h2 style="color: var(--theme-primary); margin-bottom: 2rem;">🎨 Template Customizer</h2>
<section class="admin-section">
<h3>🎭 Theme Selection</h3>
<div class="theme-selector" role="group" aria-label="Theme options">
<button class="theme-option active" data-theme="modern" onclick="app.changeTheme('modern')">Modern</button>
<button class="theme-option" data-theme="romantic" onclick="app.changeTheme('romantic')">Romantic</button>
<button class="theme-option" data-theme="elegant" onclick="app.changeTheme('elegant')">Elegant</button>
<button class="theme-option" data-theme="ocean" onclick="app.changeTheme('ocean')">Ocean</button>
</div>
</section>
<section class="admin-section">
<h3>💑 Couple Information</h3>
<div class="form-group">
<label for="partner1">Partner 1 Name:</label>
<input type="text" id="partner1" value="Sarah" aria-label="Partner 1 name">
</div>
<div class="form-group">
<label for="partner2">Partner 2 Name:</label>
<input type="text" id="partner2" value="Michael" aria-label="Partner 2 name">
</div>
<div class="form-group">
<label for="startDate">Relationship Start Date:</label>
<input type="date" id="startDate" value="2020-03-15" aria-label="Relationship start date">
</div>
<div class="form-group">
<label for="anniversaryDate">Next Anniversary Date:</label>
<input type="date" id="anniversaryDate" value="2026-03-15" aria-label="Next anniversary date">
</div>
</section>
<section class="admin-section">
<h3>📝 Content</h3>
<div class="form-group">
<label for="heroSubtitle">Hero Subtitle:</label>
<input type="text" id="heroSubtitle" value="A love story written in the stars" aria-label="Hero subtitle text">
</div>
<div class="form-group">
<label for="loveQuote">Love Quote:</label>
<textarea id="loveQuote" rows="3" aria-label="Love quote">In all the world, there is no heart for me like yours. In all the world, there is no love for you like mine.</textarea>
</div>
</section>
<section class="admin-section">
<h3>🖼️ Stories</h3>
<div class="form-group">
<label for="storyImageUpload">Add New Story Image (URL or File):</label>
<input type="text" id="storyImageURL" placeholder="Image URL (e.g., Unsplash, Imgur)" aria-label="Image URL">
<input type="file" accept="image/*" id="storyImageUpload" aria-label="Upload story image">
</div>
<div class="form-group">
<label for="storyTitle">Story Title:</label>
<input type="text" id="storyTitle" placeholder="Enter story title" aria-label="Story title">
</div>
<div class="form-group">
<label for="storyDate">Story Date:</label>
<input type="date" id="storyDate" aria-label="Story date">
</div>
<div class="form-group">
<label for="storyDescription">Story Description:</label>
<textarea id="storyDescription" rows="3" placeholder="Enter story description" aria-label="Story description"></textarea>
</div>
<button class="btn-admin" onclick="app.addStory()">➕ Add Story</button>
</section>
<section class="admin-section">
<h3>📦 Export Options</h3>
<button class="btn-admin" onclick="app.exportHTML()">📄 Download HTML</button>
<button class="btn-admin" onclick="app.shareLink()">🔗 Generate Share Link</button>
</section>
<section class="admin-section">
<button class="btn-admin" onclick="app.resetToDefault()">🔄 Reset to Default</button>
</section>
</aside>
<nav id="navbar">
<div class="nav-container">
<div class="logo" id="logoText">S & M</div>
<ul class="nav-links">
<li><a href="#home">Home</a></li>
<li><a href="#countdown">Countdown</a></li>
<li><a href="#stories">Memories</a></li>
</ul>
</div>
</nav>
<main>
<section id="home" class="hero">
<div class="hero-content">
<div class="hero-badge" id="heroBadge">✨ Together Since 2020</div>
<h1 class="hero-title" id="heroTitle">Sarah & Michael</h1>
<p class="hero-subtitle" id="heroSubtitleText">A love story written in the stars</p>
<div class="hero-cta">
<a href="#countdown" class="btn btn-primary">💖 See Our Journey</a>
<a href="#stories" class="btn btn-secondary">📸 View Memories</a>
</div>
</div>
</section>
<section id="countdown" class="countdown-section" aria-labelledby="countdown-title">
<div class="container">
<header class="section-header">
<div class="section-badge">⏳ Countdown</div>
<h2 class="section-title" id="countdown-title">Next Anniversary</h2>
<p class="section-description">Counting the days until we celebrate our special moment together again.</p>
</header>
<div class="countdown-container">
<div class="countdown-grid" role="timer" aria-live="polite">
<div class="countdown-item">
<span class="countdown-number" id="days" aria-label="Days">0</span>
<span class="countdown-label">Days</span>
</div>
<div class="countdown-item">
<span class="countdown-number" id="hours" aria-label="Hours">0</span>
<span class="countdown-label">Hours</span>
</div>
<div class="countdown-item">
<span class="countdown-number" id="minutes" aria-label="Minutes">0</span>
<span class="countdown-label">Minutes</span>
</div>
<div class="countdown-item">
<span class="countdown-number" id="seconds" aria-label="Seconds">0</span>
<span class="countdown-label">Seconds</span>
</div>
</div>
</div>
</div>
</section>
<section id="stories" class="stories-section" aria-labelledby="stories-title">
<div class="container">
<header class="section-header">
<div class="section-badge">📸 Memories</div>
<h2 class="section-title" id="stories-title">Our Story</h2>
<p class="section-description">A collection of our most cherished moments together.</p>
</header>
<div class="stories-container">
<button class="scroll-btn scroll-left" onclick="app.scrollStories(-1)" aria-label="Scroll stories left">❮</button>
<div class="stories-scroll" id="storiesScroll" role="list">
<div class="story-item add-story" onclick="app.openStoryUpload()" role="button" tabindex="0" onkeypress="app.handleStoryKeypress(event)">
<div class="story-avatar">
<div class="add-story-icon">+</div>
</div>
<div class="story-title">Add Memory</div>
</div>
</div>
<button class="scroll-btn scroll-right" onclick="app.scrollStories(1)" aria-label="Scroll stories right">❯</button>
</div>
</div>
</section>
</main>
<div class="story-modal" id="storyModal" role="dialog" aria-modal="true" aria-labelledby="storyModalTitle">
<div class="story-modal-content">
<button class="story-modal-close" onclick="app.closeStoryModal()" aria-label="Close story">×</button>
<img class="story-modal-image" id="storyModalImage" src="" alt="">
<h3 class="story-modal-title" id="storyModalTitle">Story Title</h3>
<div class="story-modal-date" id="storyModalDate">Date</div>
<p class="story-modal-description" id="storyModalDescription">Story description goes here.</p>
</div>
</div>
<footer class="footer">
<p class="footer-quote" id="footerQuote">
In all the world, there is no heart for me like yours.
In all the world, there is no love for you like mine.
</p>
<div class="footer-hearts" aria-hidden="true">❤️❤️❤️</div>
<p id="footerNames">Sarah & Michael — Together Since 2020</p>
</footer>
<div class="watermark" aria-hidden="true">Made with 💜 using LoveStory Pro</div>
<script src="app.js"></script>
</body>
</html>