-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstacks-hero.stx
More file actions
237 lines (208 loc) · 6.32 KB
/
stacks-hero.stx
File metadata and controls
237 lines (208 loc) · 6.32 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Stacks - Modern Full-Stack Framework</title>
<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@400;500;600;700;800;900&display=swap" rel="stylesheet">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background-color: white;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.container {
max-width: 80rem;
margin: 0 auto;
padding: 0 1rem;
}
@media (min-width: 640px) {
.container {
padding: 0 1.5rem;
}
}
@media (min-width: 1024px) {
.container {
padding: 0 2rem;
}
}
.hero-section {
padding-bottom: 4rem;
padding-top: 5rem;
text-center;
}
@media (min-width: 1024px) {
.hero-section {
padding-top: 8rem;
}
}
.hero-title {
font-family: 'Inter', sans-serif;
margin: 0 auto;
max-width: 56rem;
font-size: 3rem;
color: #0f172a;
font-weight: 500;
letter-spacing: -0.025em;
line-height: 1.1;
}
@media (min-width: 640px) {
.hero-title {
font-size: 4.5rem;
}
}
.highlight-text {
position: relative;
white-space: nowrap;
color: #2563eb;
}
.highlight-svg {
position: absolute;
left: 0;
top: 66.666667%;
height: 0.54em;
width: 100%;
fill: rgba(147, 197, 253, 0.7);
padding-bottom: 0.5rem;
}
.highlight-relative {
position: relative;
}
.hero-description {
margin: 0 auto;
margin-top: 1.5rem;
max-width: 42rem;
font-size: 1.125rem;
color: #334155;
letter-spacing: -0.025em;
line-height: 1.75;
}
.cta-container {
margin-top: 2.5rem;
display: flex;
justify-content: center;
gap: 1.5rem;
flex-wrap: wrap;
}
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.75rem 1.5rem;
font-size: 1rem;
font-weight: 600;
border-radius: 0.5rem;
transition: all 150ms;
text-decoration: none;
cursor: pointer;
}
.btn-primary {
color: white;
background-color: #2563eb;
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.btn-primary:hover {
background-color: #1d4ed8;
}
.btn-secondary {
color: #2563eb;
background-color: white;
border: 2px solid #bfdbfe;
}
.btn-secondary:hover {
background-color: #eff6ff;
}
.play-icon {
height: 0.75rem;
width: 0.75rem;
flex-shrink: 0;
fill: #2563eb;
}
.btn-secondary:active .play-icon {
fill: currentColor;
}
.icon-spacing {
margin-left: 0.75rem;
}
</style>
</head>
<body>
<!-- Container Component -->
<div class="container">
<div class="hero-section">
<!-- Hero Heading -->
<h1 class="hero-title">
Develop modern
<span class="highlight-text">
<svg
aria-hidden="true"
viewBox="0 0 418 42"
class="highlight-svg"
preserveAspectRatio="none"
>
<path d="M203.371.916c-26.013-2.078-76.686 1.963-124.73 9.946L67.3 12.749C35.421 18.062 18.2 21.766 6.004 25.934 1.244 27.561.828 27.778.874 28.61c.07 1.214.828 1.121 9.595-1.176 9.072-2.377 17.15-3.92 39.246-7.496C123.565 7.986 157.869 4.492 195.942 5.046c7.461.108 19.25 1.696 19.17 2.582-.107 1.183-7.874 4.31-25.75 10.366-21.992 7.45-35.43 12.534-36.701 13.884-2.173 2.308-.202 4.407 4.442 4.734 2.654.187 3.263.157 15.593-.78 35.401-2.686 57.944-3.488 88.365-3.143 46.327.526 75.721 2.23 130.788 7.584 19.787 1.924 20.814 1.98 24.557 1.332l.066-.011c1.201-.203 1.53-1.825.399-2.335-2.911-1.31-4.893-1.604-22.048-3.261-57.509-5.556-87.871-7.36-132.059-7.842-23.239-.254-33.617-.116-50.627.674-11.629.54-42.371 2.494-46.696 2.967-2.359.259 8.133-3.625 26.504-9.81 23.239-7.825 27.934-10.149 28.304-14.005.417-4.348-3.529-6-16.878-7.066Z" />
</svg>
<span class="highlight-relative">apps, clouds & libraries.</span><br>
</span>
Faster.
</h1>
<!-- Hero Description -->
<p class="hero-description">
Stacks is a type-safe full-stack framework for Web Artisans.
<br>Rapid development, for the best full-stack teams, and individuals.
</p>
<!-- CTA Buttons -->
<div class="cta-container">
<!-- Primary Button -->
<a href="/register" class="btn btn-primary">
View Documentation
</a>
<!-- Secondary Button -->
<a href="https://www.youtube.com/watch?v=dQw4w9WgXcQ" class="btn btn-secondary">
<svg aria-hidden="true" class="play-icon">
<path d="m9.997 6.91-7.583 3.447A1 1 0 0 1 1 9.447V2.553a1 1 0 0 1 1.414-.91L9.997 5.09c.782.355.782 1.465 0 1.82Z" />
</svg>
<span class="icon-spacing">Get Started</span>
</a>
</div>
<!-- Optional: Companies Section (Commented out like in original) -->
<!--
<div class="mt-36 lg:mt-44">
<p class="font-display text-base text-slate-900">
Trusted, among others, by the following companies
</p>
<ul
role="list"
class="mt-8 flex items-center justify-center gap-x-8 sm:flex-col sm:gap-x-0 sm:gap-y-10 xl:flex-row xl:gap-x-12 xl:gap-y-0"
>
<li>
<ul
role="list"
class="flex flex-col items-center gap-y-8 sm:flex-row sm:gap-x-12 sm:gap-y-0"
>
<li class="flex">
<img src="/logos/company1.svg" alt="Company 1">
</li>
<li class="flex">
<img src="/logos/company2.svg" alt="Company 2">
</li>
<li class="flex">
<img src="/logos/company3.svg" alt="Company 3">
</li>
</ul>
</li>
</ul>
</div>
-->
</div>
</div>
</body>
</html>