-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathindex.html
More file actions
252 lines (214 loc) · 8.38 KB
/
Copy pathindex.html
File metadata and controls
252 lines (214 loc) · 8.38 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
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Meta Tags -->
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>GSAP | Animated Bottle Scroll</title>
<!-- Google Fonts: Inter -->
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap"
rel="stylesheet" />
<!-- Main Stylesheet -->
<link rel="stylesheet" href="style.css">
</head>
<body id="smooth-wrapper">
<!-- ================== HEADER ================== -->
<header style="--border-width:0;">
<div class="header-inner">
<!-- Logo -->
<div class="logo">CraftEdge</div>
<!-- Desktop Navigation -->
<nav class="desktop-nav">
<a href="#">Home</a>
<a href="#">Features</a>
<a href="#">Product</a>
<a href="#">Contact</a>
</nav>
<!-- Hamburger Icon for Mobile -->
<div class="hamburger" onclick="toggleMobileNav()">
<div></div>
<div></div>
<div></div>
</div>
</div>
<!-- Mobile Navigation Menu -->
<div class="mobile-nav" id="mobileMenu">
<a href="#">Home</a>
<a href="#">Features</a>
<a href="#">Product</a>
<a href="#">Contact</a>
</div>
</header>
<!-- ================== MAIN CONTENT ================== -->
<main id="smooth-content">
<!-- Hero Bottle Overlay Wrapper -->
<div class="hero-bottle-wrapper">
<img src="./image.png" alt="Crimson Fermentation Bottle"
class="hero-bottle" />
</div>
<!-- Hero Section -->
<section class="hero vintage-hero">
<div class="hero-content">
<!-- Decorative Stamp -->
<img src="./stamp.png" alt="Crimson Fermentation Stamp"
class="hero-stamp">
<!-- Main Heading -->
<h1>
<span class="line">Crimson</span>
<span class="line highlight">Fermentation</span>
</h1>
</div>
</section>
<!-- Introduction Section -->
<section class="section-intro">
<div class="intro-grid">
<!-- Left Side: Headings and Description -->
<div class="intro-left">
<p class="small-title">Our Selection</p>
<h2 class="main-heading">The Heritage Line</h2>
<p class="description">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Hic
suscipit soluta tenetur voluptatibus libero dolorum.
</p>
<a href="#" class="cta-box">Explore All</a>
</div>
<!-- Right Side: Ingredients List -->
<div class="intro-right">
<div class="ingredients-log">
<h3 class="ingredients-title">Brewed With</h3>
<!-- Each Ingredient -->
<div class="ingredient-item">
<div class="ingredient-qty">500ml</div>
<div class="ingredient-text">
<strong>Spring Water</strong>
<p>Pure glacier-sourced for clarity and smoothness.</p>
</div>
</div>
<div class="ingredient-item">
<div class="ingredient-qty">250g</div>
<div class="ingredient-text">
<strong>Organic Barley</strong>
<p>Locally malted for a rich, golden body.</p>
</div>
</div>
<div class="ingredient-item">
<div class="ingredient-qty">100g</div>
<div class="ingredient-text">
<strong>Wild Hops</strong>
<p>Foraged from mountain slopes, slow-dried.</p>
</div>
</div>
<div class="ingredient-item">
<div class="ingredient-qty">50g</div>
<div class="ingredient-text">
<strong>Roasted Oak</strong>
<p>Infused for warmth and oaky aroma.</p>
</div>
</div>
<div class="ingredient-item">
<div class="ingredient-qty">1%</div>
<div class="ingredient-text">
<strong>Natural Yeast</strong>
<p>Wild fermented, slow-aged for balance.</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Timeline Section -->
<section class="timeline-section">
<h2 class="timeline-main-title">Our Timeline</h2>
<!-- First Timeline Entry -->
<div class="timeline-entry">
<!-- Left Column: Date + Image -->
<div class="timeline-left">
<div class="timeline-date">1984</div>
<img src="./first batch.png" alt="Vintage Brewery Photo"
class="timeline-img" />
</div>
<!-- Right Column: Story -->
<div class="timeline-right">
<h3 class="timeline-title">The First Batch</h3>
<p class="timeline-description">
Our journey began in a wooden barn nestled among oak trees.
The first batch was brewed with hand-milled barley and patience.
</p>
</div>
</div>
<!-- Second Timeline Entry -->
<div class="timeline-entry">
<div class="timeline-left">
<div class="timeline-date">1989</div>
<img src="./first batch.png" alt="Vintage Brewery Photo"
class="timeline-img" />
</div>
<div class="timeline-right">
<h3 class="timeline-title">The Fire Oak Revival</h3>
<p class="timeline-description">
A lightning storm sparked a fire that nearly ended our legacy.
But from the ashes, we rebuilt — charred oak barrels, reclaimed
tools, and a vow to never compromise the craft.
</p>
</div>
</div>
</section>
<!-- Social Sidebar (Fixed vertical navigation) -->
<aside class="social-sidebar" style="--border-height:0;">
<nav>
<!-- Instagram -->
<a href="#" aria-label="Instagram">
<svg viewBox="0 0 24 24" fill="currentColor">
<path
d="M7.75 2A5.75 5.75 0 0 0 2 7.75v8.5A5.75 5.75 0 0 0 7.75 22h8.5A5.75 5.75 0 0 0 22 16.25v-8.5A5.75 5.75 0 0 0 16.25 2h-8.5Zm.5 1.5h7.5a4.25 4.25 0 0 1 4.25 4.25v7.5a4.25 4.25 0 0 1-4.25 4.25h-7.5a4.25 4.25 0 0 1-4.25-4.25v-7.5a4.25 4.25 0 0 1 4.25-4.25Zm8.5 2.75a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Zm-5.25 1.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9Z" />
</svg>
</a>
<!-- LinkedIn -->
<a href="#" aria-label="LinkedIn">
<svg viewBox="0 0 24 24" fill="currentColor">
<path
d="M19 3A2 2 0 0 1 21 5v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14Zm-3.75 7.25h-.08a2.11 2.11 0 0 0-1.92 1.18V10.5h-2.5v6.75h2.5v-3.43c0-.87.65-1.57 1.45-1.57s1.3.7 1.3 1.57v3.43H18.5v-3.87c0-1.88-1.16-2.81-2.25-2.81ZM7.5 10.5H10V17.25H7.5V10.5Zm1.25-3a1.25 1.25 0 1 0 0 2.5 1.25 1.25 0 0 0 0-2.5Z" />
</svg>
</a>
<!-- Twitter -->
<a href="#" aria-label="Twitter">
<svg viewBox="0 0 24 24" fill="currentColor">
<path
d="M21 5.92a8.18 8.18 0 0 1-2.36.65 4.12 4.12 0 0 0 1.8-2.27 8.21 8.21 0 0 1-2.6.99 4.1 4.1 0 0 0-7 3.73 11.65 11.65 0 0 1-8.46-4.3 4.1 4.1 0 0 0 1.27 5.48 4.07 4.07 0 0 1-1.86-.52v.05a4.1 4.1 0 0 0 3.29 4.02 4.07 4.07 0 0 1-1.85.07 4.1 4.1 0 0 0 3.83 2.85A8.24 8.24 0 0 1 2 19.53a11.62 11.62 0 0 0 6.29 1.84c7.55 0 11.68-6.26 11.68-11.68v-.53a8.36 8.36 0 0 0 2.06-2.13Z" />
</svg>
</a>
</nav>
</aside>
</main>
<!-- ================== FOOTER ================== -->
<footer>
<div class="footer-inner">
<!-- Logo -->
<div class="footer-logo">CraftEdge</div>
<!-- Navigation Links -->
<div class="footer-links">
<a href="#">About</a>
<a href="#">Careers</a>
<a href="#">Terms</a>
</div>
<!-- Contact and Social Links -->
<div class="footer-contact">
<a href="#">hello@craftedge.com</a>
<a href="#">Instagram</a>
<a href="#">LinkedIn</a>
</div>
</div>
</footer>
<!-- ================== JAVASCRIPT ================== -->
<script src="https://cdn.jsdelivr.net/gh/YT-PixelPerfectLabs/Youtube-Floating-Button/dist/script.js"></script>
<!-- GSAP Core Library -->
<script
src="https://cdn.jsdelivr.net/npm/gsap@3.13.0/dist/gsap.min.js"></script>
<!-- GSAP ScrollTrigger Plugin -->
<script
src="https://cdn.jsdelivr.net/npm/gsap@3.13.0/dist/ScrollTrigger.min.js"></script>
<!-- Custom Main Script -->
<script src="main.js"></script>
</body>
</html>