-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
191 lines (171 loc) · 9.71 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sodal</title>
<meta name="title" content="Sodal">
<meta name="description" content="Reclaiming human agency">
<link rel="icon" type="image/png" href="favicon.png">
<link rel="stylesheet" href="styles.css">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap" rel="stylesheet">
</head>
<body class="loading">
<!-- Story Container -->
<div class="story-container">
<!-- Fixed elements container -->
<div class="fixed-elements">
<!-- Text overlay -->
<div class="text-container">
<div id="text1" class="scene-text">it's hard to make good</br>decisions in the dark</div>
<div id="text2" class="scene-text">let's illuminate our world</div>
<div id="text3" class="scene-text">discover what's possible</div>
<div id="text4" class="scene-text">and reclaim our agency</div>
</div>
<!-- Protagonist -->
<div class="protagonist-container">
<div class="protagonist">
<a href="about.html">
<button class="cta-button" style="position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: var(--z-content);">
Begin
</button>
</a>
</div>
</div>
<!-- Light rings -->
<div class="light-rings">
<div class="light-ring inner"></div>
<div class="light-ring outer"></div>
</div>
<!-- Dark overlay -->
<div class="dark-overlay"></div>
<!-- Add inside fixed-elements, after protagonist -->
<div class="discovery-items">
<!-- First ring -->
<div class="discovery-item ring1" id="item1"></div>
<div class="discovery-item ring1" id="item2"></div>
<div class="discovery-item ring1" id="item3"></div>
<div class="discovery-item ring1" id="item4"></div>
<div class="discovery-item ring1" id="item5"></div>
<!-- Second ring -->
<div class="discovery-item ring2" id="item6"></div>
<div class="discovery-item ring2" id="item7"></div>
<div class="discovery-item ring2" id="item8"></div>
<div class="discovery-item ring2" id="item9"></div>
<div class="discovery-item ring2" id="item10"></div>
<div class="discovery-item ring2" id="item11"></div>
<div class="discovery-item ring2" id="item12"></div>
<div class="discovery-item ring2" id="item13"></div>
<div class="discovery-item ring2" id="item14"></div>
<div class="discovery-item ring2" id="item15"></div>
<!-- Connection lines container -->
<svg class="connection-lines" width="100%" height="100%" viewBox="-300 -300 600 600">
<!-- Lines will be added dynamically -->
</svg>
</div>
<!-- Particle field -->
<div class="particle-field">
<canvas id="particleCanvas"></canvas>
</div>
</div>
<!-- Scrollable story content -->
<main class="story-scroll-container">
<section id="scene1" class="scene">
<div class="scene-content"></div>
<div class="scroll-indicator">
<div class="scroll-arrows">
<svg viewBox="0 0 24 24" fill="currentColor">
<path d="M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"/>
</svg>
<svg viewBox="0 0 24 24" fill="currentColor">
<path d="M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"/>
</svg>
<svg viewBox="0 0 24 24" fill="currentColor">
<path d="M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"/>
</svg>
</div>
</div>
</section>
<section id="scene2" class="scene">
<div class="scene-content"></div>
</section>
<section id="scene3" class="scene">
<div class="scene-content"></div>
</section>
<section id="scene4" class="scene">
<div class="scene-content"></div>
</section>
</main>
</div>
<!-- Add this near the end of your body -->
<button class="menu-button" aria-label="Open menu">
<svg viewBox="0 0 24 24" fill="currentColor">
<path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/>
</svg>
</button>
<div class="menu-panel">
<button class="menu-close" aria-label="Close menu">
<svg viewBox="0 0 24 24" fill="currentColor">
<path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/>
</svg>
</button>
<!-- Navigation links at the top -->
<div class="menu-links">
<a href="/" class="menu-link">
<svg viewBox="0 0 24 24" fill="currentColor">
<path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/>
</svg>
Home
</a>
<a href="/about" class="menu-link">
<svg viewBox="0 0 24 24" fill="currentColor">
<path d="M14 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8l-6-6zM6 20V4h7v5h5v11H6zm4-6h4v-2h-4v2zm0-4h4v-2h-4v2z"/>
</svg>
About
</a>
</div>
<hr class="menu-divider">
<div class="social-links">
<a href="https://github.com/sodal-project" class="social-link" target="_blank">
<svg viewBox="0 0 24 24">
<path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/>
</svg>
sodal-project
</a>
<a href="mailto:[email protected]" class="social-link" target="_blank">
<svg viewBox="0 0 24 24">
<path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/>
</svg>
</a>
<a href="https://bsky.app/profile/sodal.io" class="social-link" target="_blank">
<svg viewBox="0 0 600 600" width="24" height="24">
<path d="m299.75 238.48c-26.326-51.007-97.736-146.28-164.21-193.17-63.677-44.919-88.028-37.186-103.82-29.946-18.428 8.3915-21.719 36.692-21.719 53.311s9.0496 136.57 15.138 156.48c19.745 66.145 89.674 88.522 154.17 81.282 3.2908-0.49362 6.5816-0.98723 10.037-1.3163-3.2908 0.49362-6.7461 0.98723-10.037 1.3163-94.445 13.986-178.52 48.374-68.284 170.96 121.1 125.38 166.02-26.82 189.06-104.15 23.035 77.169 49.526 223.94 186.75 104.15 103.17-104.15 28.301-156.97-66.145-170.96-3.2908-0.32908-6.7461-0.82269-10.037-1.3163 3.4553 0.49362 6.7461 0.82269 10.037 1.3163 64.499 7.2397 134.59-15.138 154.17-81.282 5.9234-20.074 15.138-139.86 15.138-156.48s-3.2908-44.919-21.719-53.311c-15.96-7.2397-40.148-14.973-103.82 29.946-66.967 47.058-138.38 142.16-164.7 193.17z"/>
</svg>
sodal.io
</a>
<a href="https://www.linkedin.com/company/sodal-project" class="social-link" target="_blank">
<svg viewBox="0 0 24 24">
<path d="M19 3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14m-.5 15.5v-5.3a3.26 3.26 0 0 0-3.26-3.26c-.85 0-1.84.52-2.32 1.3v-1.11h-2.79v8.37h2.79v-4.93c0-.77.62-1.4 1.39-1.4a1.4 1.4 0 0 1 1.4 1.4v4.93h2.79M6.88 8.56a1.68 1.68 0 0 0 1.68-1.68c0-.93-.75-1.69-1.68-1.69a1.69 1.69 0 0 0-1.69 1.69c0 .93.76 1.68 1.69 1.68m1.39 9.94v-8.37H5.5v8.37h2.77z"/>
</svg>
sodal-project
</a>
<a href="https://blog.sodal.io" class="social-link" target="_blank">
<svg viewBox="0 0 24 24">
<path d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z"/>
</svg>
blog.sodal.io
</a>
</div>
<hr class="menu-divider">
<div class="footer-links">
<a href="https://github.com/sodal-project/community" class="footer-link" target="_blank">Community Guidelines</a>
</div>
</div>
<!-- Scripts -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/gsap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/ScrollTrigger.min.js"></script>
<script src="animations.js"></script>
<script src="menu.js"></script>
</body>
</html>