docyard 0.7.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +5 -1
- data/CHANGELOG.md +43 -1
- data/lib/docyard/build/asset_bundler.rb +22 -7
- data/lib/docyard/build/file_copier.rb +49 -27
- data/lib/docyard/build/sitemap_generator.rb +6 -6
- data/lib/docyard/build/static_generator.rb +85 -12
- data/lib/docyard/builder.rb +6 -6
- data/lib/docyard/components/aliases.rb +12 -0
- data/lib/docyard/components/processors/abbreviation_processor.rb +72 -0
- data/lib/docyard/components/processors/accordion_processor.rb +81 -0
- data/lib/docyard/components/processors/badge_processor.rb +72 -0
- data/lib/docyard/components/processors/callout_processor.rb +8 -2
- data/lib/docyard/components/processors/cards_processor.rb +100 -0
- data/lib/docyard/components/processors/code_block_options_preprocessor.rb +23 -2
- data/lib/docyard/components/processors/code_block_processor.rb +6 -0
- data/lib/docyard/components/processors/code_group_processor.rb +198 -0
- data/lib/docyard/components/processors/code_snippet_import_preprocessor.rb +6 -1
- data/lib/docyard/components/processors/custom_anchor_processor.rb +42 -0
- data/lib/docyard/components/processors/file_tree_processor.rb +151 -0
- data/lib/docyard/components/processors/image_caption_processor.rb +96 -0
- data/lib/docyard/components/processors/include_processor.rb +86 -0
- data/lib/docyard/components/processors/steps_processor.rb +89 -0
- data/lib/docyard/components/processors/tabs_processor.rb +9 -1
- data/lib/docyard/components/processors/tooltip_processor.rb +57 -0
- data/lib/docyard/components/processors/video_embed_processor.rb +196 -0
- data/lib/docyard/components/support/code_group/html_builder.rb +122 -0
- data/lib/docyard/components/support/markdown_code_block_helper.rb +56 -0
- data/lib/docyard/config/branding_resolver.rb +121 -17
- data/lib/docyard/config/constants.rb +6 -4
- data/lib/docyard/config/logo_detector.rb +39 -0
- data/lib/docyard/config/validator.rb +122 -99
- data/lib/docyard/config.rb +40 -42
- data/lib/docyard/initializer.rb +15 -76
- data/lib/docyard/navigation/breadcrumb_builder.rb +133 -0
- data/lib/docyard/navigation/prev_next_builder.rb +4 -1
- data/lib/docyard/navigation/sidebar/children_discoverer.rb +51 -0
- data/lib/docyard/navigation/sidebar/config_parser.rb +136 -108
- data/lib/docyard/navigation/sidebar/file_resolver.rb +90 -0
- data/lib/docyard/navigation/sidebar/file_system_scanner.rb +2 -1
- data/lib/docyard/navigation/sidebar/item.rb +50 -7
- data/lib/docyard/navigation/sidebar/local_config_loader.rb +51 -0
- data/lib/docyard/navigation/sidebar/metadata_extractor.rb +71 -0
- data/lib/docyard/navigation/sidebar/metadata_reader.rb +51 -0
- data/lib/docyard/navigation/sidebar/path_prefixer.rb +34 -0
- data/lib/docyard/navigation/sidebar/renderer.rb +60 -38
- data/lib/docyard/navigation/sidebar/sorter.rb +21 -0
- data/lib/docyard/navigation/sidebar/tree_builder.rb +100 -26
- data/lib/docyard/navigation/sidebar/tree_filter.rb +55 -0
- data/lib/docyard/navigation/sidebar_builder.rb +105 -36
- data/lib/docyard/rendering/icon_helpers.rb +13 -0
- data/lib/docyard/rendering/icons/phosphor.rb +26 -1
- data/lib/docyard/rendering/markdown.rb +29 -1
- data/lib/docyard/rendering/renderer.rb +75 -34
- data/lib/docyard/rendering/template_resolver.rb +172 -0
- data/lib/docyard/routing/fallback_resolver.rb +92 -0
- data/lib/docyard/search/build_indexer.rb +1 -1
- data/lib/docyard/search/dev_indexer.rb +51 -6
- data/lib/docyard/search/pagefind_support.rb +2 -0
- data/lib/docyard/server/asset_handler.rb +25 -19
- data/lib/docyard/server/pagefind_handler.rb +63 -0
- data/lib/docyard/server/preview_server.rb +1 -1
- data/lib/docyard/server/rack_application.rb +81 -64
- data/lib/docyard/templates/assets/css/code.css +18 -51
- data/lib/docyard/templates/assets/css/components/abbreviation.css +86 -0
- data/lib/docyard/templates/assets/css/components/accordion.css +138 -0
- data/lib/docyard/templates/assets/css/components/badges.css +47 -0
- data/lib/docyard/templates/assets/css/components/banner.css +202 -0
- data/lib/docyard/templates/assets/css/components/breadcrumbs.css +143 -0
- data/lib/docyard/templates/assets/css/components/callout.css +67 -67
- data/lib/docyard/templates/assets/css/components/cards.css +100 -0
- data/lib/docyard/templates/assets/css/components/code-block.css +190 -282
- data/lib/docyard/templates/assets/css/components/code-group.css +281 -0
- data/lib/docyard/templates/assets/css/components/figure.css +22 -0
- data/lib/docyard/templates/assets/css/components/file-tree.css +124 -0
- data/lib/docyard/templates/assets/css/components/heading-anchor.css +36 -15
- data/lib/docyard/templates/assets/css/components/icon.css +0 -1
- data/lib/docyard/templates/assets/css/components/lightbox.css +65 -0
- data/lib/docyard/templates/assets/css/components/logo.css +0 -2
- data/lib/docyard/templates/assets/css/components/nav-menu.css +237 -0
- data/lib/docyard/templates/assets/css/components/navigation.css +193 -167
- data/lib/docyard/templates/assets/css/components/prev-next.css +68 -48
- data/lib/docyard/templates/assets/css/components/search.css +186 -174
- data/lib/docyard/templates/assets/css/components/steps.css +122 -0
- data/lib/docyard/templates/assets/css/components/tab-bar.css +163 -0
- data/lib/docyard/templates/assets/css/components/table-of-contents.css +127 -114
- data/lib/docyard/templates/assets/css/components/tabs.css +119 -160
- data/lib/docyard/templates/assets/css/components/theme-toggle.css +48 -44
- data/lib/docyard/templates/assets/css/components/tooltip.css +113 -0
- data/lib/docyard/templates/assets/css/components/video.css +41 -0
- data/lib/docyard/templates/assets/css/landing.css +815 -0
- data/lib/docyard/templates/assets/css/layout.css +489 -87
- data/lib/docyard/templates/assets/css/main.css +1 -3
- data/lib/docyard/templates/assets/css/markdown.css +113 -93
- data/lib/docyard/templates/assets/css/reset.css +0 -3
- data/lib/docyard/templates/assets/css/typography.css +43 -41
- data/lib/docyard/templates/assets/css/variables.css +268 -208
- data/lib/docyard/templates/assets/favicon.svg +7 -8
- data/lib/docyard/templates/assets/fonts/Inter-Variable.ttf +0 -0
- data/lib/docyard/templates/assets/js/components/abbreviation.js +85 -0
- data/lib/docyard/templates/assets/js/components/banner.js +81 -0
- data/lib/docyard/templates/assets/js/components/code-block.js +24 -42
- data/lib/docyard/templates/assets/js/components/code-group.js +283 -0
- data/lib/docyard/templates/assets/js/components/file-tree.js +39 -0
- data/lib/docyard/templates/assets/js/components/heading-anchor.js +26 -24
- data/lib/docyard/templates/assets/js/components/lightbox.js +72 -0
- data/lib/docyard/templates/assets/js/components/navigation.js +181 -70
- data/lib/docyard/templates/assets/js/components/search.js +0 -75
- data/lib/docyard/templates/assets/js/components/sidebar-toggle.js +29 -0
- data/lib/docyard/templates/assets/js/components/tab-navigation.js +145 -0
- data/lib/docyard/templates/assets/js/components/table-of-contents.js +153 -66
- data/lib/docyard/templates/assets/js/components/tabs.js +31 -69
- data/lib/docyard/templates/assets/js/components/tooltip.js +118 -0
- data/lib/docyard/templates/assets/js/theme.js +0 -3
- data/lib/docyard/templates/assets/logo-dark.svg +8 -2
- data/lib/docyard/templates/assets/logo.svg +7 -4
- data/lib/docyard/templates/config/docyard.yml.erb +37 -34
- data/lib/docyard/templates/errors/404.html.erb +1 -1
- data/lib/docyard/templates/errors/500.html.erb +1 -1
- data/lib/docyard/templates/layouts/default.html.erb +19 -67
- data/lib/docyard/templates/layouts/splash.html.erb +177 -0
- data/lib/docyard/templates/partials/_accordion.html.erb +9 -0
- data/lib/docyard/templates/partials/_banner.html.erb +27 -0
- data/lib/docyard/templates/partials/_breadcrumbs.html.erb +24 -0
- data/lib/docyard/templates/partials/_card.html.erb +23 -0
- data/lib/docyard/templates/partials/_code_block.html.erb +5 -3
- data/lib/docyard/templates/partials/_doc_footer.html.erb +25 -0
- data/lib/docyard/templates/partials/_features.html.erb +15 -0
- data/lib/docyard/templates/partials/_footer.html.erb +42 -0
- data/lib/docyard/templates/partials/_head.html.erb +22 -0
- data/lib/docyard/templates/partials/_header.html.erb +49 -0
- data/lib/docyard/templates/partials/_heading_anchor.html.erb +3 -1
- data/lib/docyard/templates/partials/_hero.html.erb +27 -0
- data/lib/docyard/templates/partials/_nav_group.html.erb +31 -11
- data/lib/docyard/templates/partials/_nav_leaf.html.erb +4 -1
- data/lib/docyard/templates/partials/_nav_menu.html.erb +42 -0
- data/lib/docyard/templates/partials/_nav_nested_section.html.erb +11 -0
- data/lib/docyard/templates/partials/_nav_section.html.erb +1 -1
- data/lib/docyard/templates/partials/_prev_next.html.erb +8 -2
- data/lib/docyard/templates/partials/_scripts.html.erb +7 -0
- data/lib/docyard/templates/partials/_search_modal.html.erb +2 -6
- data/lib/docyard/templates/partials/_search_trigger.html.erb +2 -6
- data/lib/docyard/templates/partials/_sidebar.html.erb +21 -4
- data/lib/docyard/templates/partials/_step.html.erb +14 -0
- data/lib/docyard/templates/partials/_tab_bar.html.erb +25 -0
- data/lib/docyard/templates/partials/_table_of_contents.html.erb +12 -12
- data/lib/docyard/templates/partials/_table_of_contents_toggle.html.erb +1 -3
- data/lib/docyard/templates/partials/_tabs.html.erb +2 -2
- data/lib/docyard/templates/partials/_theme_toggle.html.erb +2 -11
- data/lib/docyard/version.rb +1 -1
- metadata +70 -5
- data/lib/docyard/templates/markdown/getting-started/installation.md.erb +0 -77
- data/lib/docyard/templates/markdown/guides/configuration.md.erb +0 -202
- data/lib/docyard/templates/markdown/guides/markdown-features.md.erb +0 -247
- data/lib/docyard/templates/markdown/index.md.erb +0 -82
|
@@ -0,0 +1,815 @@
|
|
|
1
|
+
.splash-page,
|
|
2
|
+
.custom-page {
|
|
3
|
+
min-height: 100vh;
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.splash-page {
|
|
9
|
+
background: var(--background);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.splash-content,
|
|
13
|
+
.custom-content {
|
|
14
|
+
flex: 1;
|
|
15
|
+
width: 100%;
|
|
16
|
+
position: relative;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.splash-page .layout-main {
|
|
20
|
+
margin-right: 0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.hero {
|
|
24
|
+
position: relative;
|
|
25
|
+
height: 100svh;
|
|
26
|
+
min-height: 600px;
|
|
27
|
+
display: flex;
|
|
28
|
+
align-items: center;
|
|
29
|
+
overflow: hidden;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.hero--centered {
|
|
33
|
+
justify-content: center;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.hero--centered .hero-content {
|
|
37
|
+
display: flex;
|
|
38
|
+
flex-direction: column;
|
|
39
|
+
align-items: center;
|
|
40
|
+
text-align: center;
|
|
41
|
+
max-width: 52rem;
|
|
42
|
+
margin: 0 auto;
|
|
43
|
+
padding: var(--spacing-16) var(--spacing-6);
|
|
44
|
+
position: relative;
|
|
45
|
+
z-index: 1;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.hero--with-image {
|
|
49
|
+
max-width: 1400px;
|
|
50
|
+
margin: 0 auto;
|
|
51
|
+
padding: var(--spacing-16) var(--spacing-8);
|
|
52
|
+
display: grid;
|
|
53
|
+
grid-template-columns: 1fr 1fr;
|
|
54
|
+
gap: var(--spacing-16);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.hero--with-image .hero-content {
|
|
58
|
+
display: flex;
|
|
59
|
+
flex-direction: column;
|
|
60
|
+
justify-content: center;
|
|
61
|
+
position: relative;
|
|
62
|
+
z-index: 1;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.hero-bg {
|
|
66
|
+
position: absolute;
|
|
67
|
+
inset: 0;
|
|
68
|
+
pointer-events: none;
|
|
69
|
+
overflow: hidden;
|
|
70
|
+
mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 100%);
|
|
71
|
+
-webkit-mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 100%);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.hero-bg--grid {
|
|
75
|
+
background-image:
|
|
76
|
+
linear-gradient(oklch(0 0 0 / 0.06) 1px, transparent 1px),
|
|
77
|
+
linear-gradient(90deg, oklch(0 0 0 / 0.06) 1px, transparent 1px);
|
|
78
|
+
background-size: 100px 100px;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.dark .hero-bg--grid {
|
|
82
|
+
background-image:
|
|
83
|
+
linear-gradient(oklch(1 0 0 / 0.08) 1px, transparent 1px),
|
|
84
|
+
linear-gradient(90deg, oklch(1 0 0 / 0.08) 1px, transparent 1px);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.hero-bg--grid::after {
|
|
88
|
+
content: '';
|
|
89
|
+
position: absolute;
|
|
90
|
+
top: 50%;
|
|
91
|
+
left: 50%;
|
|
92
|
+
transform: translate(-50%, -50%);
|
|
93
|
+
width: 900px;
|
|
94
|
+
height: 900px;
|
|
95
|
+
background: radial-gradient(circle,
|
|
96
|
+
oklch(from var(--primary) l c h / 0.12) 0%,
|
|
97
|
+
transparent 55%);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.dark .hero-bg--grid::after {
|
|
101
|
+
background: radial-gradient(circle,
|
|
102
|
+
oklch(from var(--primary) l c h / 0.18) 0%,
|
|
103
|
+
transparent 55%);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.hero-bg--glow {
|
|
107
|
+
background: transparent;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.hero-bg-orb {
|
|
111
|
+
position: absolute;
|
|
112
|
+
border-radius: 50%;
|
|
113
|
+
filter: blur(100px);
|
|
114
|
+
will-change: transform;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.hero-bg-orb--1 {
|
|
118
|
+
width: 500px;
|
|
119
|
+
height: 500px;
|
|
120
|
+
background: var(--primary);
|
|
121
|
+
top: -250px;
|
|
122
|
+
left: 50%;
|
|
123
|
+
transform: translateX(-50%);
|
|
124
|
+
opacity: 0.2;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.dark .hero-bg-orb--1 {
|
|
128
|
+
opacity: 0.25;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.hero-bg-orb--2 {
|
|
132
|
+
width: 350px;
|
|
133
|
+
height: 350px;
|
|
134
|
+
background: var(--primary);
|
|
135
|
+
bottom: 10%;
|
|
136
|
+
left: 10%;
|
|
137
|
+
opacity: 0.1;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.dark .hero-bg-orb--2 {
|
|
141
|
+
opacity: 0.15;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.hero-bg-orb--3 {
|
|
145
|
+
width: 300px;
|
|
146
|
+
height: 300px;
|
|
147
|
+
background: var(--primary);
|
|
148
|
+
top: 40%;
|
|
149
|
+
right: 5%;
|
|
150
|
+
opacity: 0.1;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.dark .hero-bg-orb--3 {
|
|
154
|
+
opacity: 0.12;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.hero-bg--mesh {
|
|
158
|
+
background: transparent;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.hero-bg--mesh .hero-bg-mesh {
|
|
162
|
+
position: absolute;
|
|
163
|
+
inset: 0;
|
|
164
|
+
background:
|
|
165
|
+
radial-gradient(at 20% 20%, oklch(from var(--primary) l c h / 0.15) 0%, transparent 50%),
|
|
166
|
+
radial-gradient(at 80% 10%, oklch(from var(--primary) l c h / 0.1) 0%, transparent 50%),
|
|
167
|
+
radial-gradient(at 90% 80%, oklch(from var(--primary) l c h / 0.08) 0%, transparent 50%),
|
|
168
|
+
radial-gradient(at 10% 90%, oklch(from var(--primary) l c h / 0.06) 0%, transparent 50%);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.dark .hero-bg--mesh .hero-bg-mesh {
|
|
172
|
+
background:
|
|
173
|
+
radial-gradient(at 20% 20%, oklch(from var(--primary) l c h / 0.2) 0%, transparent 50%),
|
|
174
|
+
radial-gradient(at 80% 10%, oklch(from var(--primary) l c h / 0.12) 0%, transparent 50%),
|
|
175
|
+
radial-gradient(at 90% 80%, oklch(from var(--primary) l c h / 0.1) 0%, transparent 50%),
|
|
176
|
+
radial-gradient(at 10% 90%, oklch(from var(--primary) l c h / 0.08) 0%, transparent 50%);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.hero-badge {
|
|
180
|
+
display: inline-flex;
|
|
181
|
+
align-items: center;
|
|
182
|
+
gap: 6px;
|
|
183
|
+
padding: 5px 12px;
|
|
184
|
+
background: oklch(from var(--primary) l c h / 0.08);
|
|
185
|
+
border: 1px solid oklch(from var(--primary) l c h / 0.15);
|
|
186
|
+
border-radius: var(--radius-4xl);
|
|
187
|
+
margin-bottom: var(--spacing-6);
|
|
188
|
+
width: fit-content;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.dark .hero-badge {
|
|
192
|
+
background: oklch(from var(--primary) l c h / 0.12);
|
|
193
|
+
border-color: oklch(from var(--primary) l c h / 0.2);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.hero-badge-dot {
|
|
197
|
+
width: 6px;
|
|
198
|
+
height: 6px;
|
|
199
|
+
background: var(--primary);
|
|
200
|
+
border-radius: 50%;
|
|
201
|
+
animation: badge-pulse 2s ease-in-out infinite;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
@keyframes badge-pulse {
|
|
205
|
+
|
|
206
|
+
0%,
|
|
207
|
+
100% {
|
|
208
|
+
opacity: 1;
|
|
209
|
+
transform: scale(1);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
50% {
|
|
213
|
+
opacity: 0.5;
|
|
214
|
+
transform: scale(0.8);
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.hero-badge-text {
|
|
219
|
+
font-size: 13px;
|
|
220
|
+
font-weight: var(--font-semibold);
|
|
221
|
+
color: var(--primary);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.dark .hero-badge-text {
|
|
225
|
+
color: oklch(from var(--primary) calc(l + 0.1) c h);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.hero-title {
|
|
229
|
+
font-size: clamp(2.5rem, 6vw, 4.5rem);
|
|
230
|
+
font-weight: 800;
|
|
231
|
+
line-height: 1.08;
|
|
232
|
+
letter-spacing: -0.025em;
|
|
233
|
+
color: var(--foreground);
|
|
234
|
+
margin: 0 0 var(--spacing-5) 0;
|
|
235
|
+
text-wrap: balance;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.hero-title--gradient {
|
|
239
|
+
background: linear-gradient(135deg,
|
|
240
|
+
var(--foreground) 0%,
|
|
241
|
+
var(--foreground) 40%,
|
|
242
|
+
var(--primary) 100%);
|
|
243
|
+
-webkit-background-clip: text;
|
|
244
|
+
-webkit-text-fill-color: transparent;
|
|
245
|
+
background-clip: text;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.dark .hero-title--gradient {
|
|
249
|
+
background: linear-gradient(135deg,
|
|
250
|
+
var(--foreground) 0%,
|
|
251
|
+
var(--foreground) 40%,
|
|
252
|
+
oklch(from var(--primary) calc(l + 0.1) c h) 100%);
|
|
253
|
+
-webkit-background-clip: text;
|
|
254
|
+
-webkit-text-fill-color: transparent;
|
|
255
|
+
background-clip: text;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.hero-tagline {
|
|
259
|
+
font-size: clamp(1.0625rem, 2vw, 1.1875rem);
|
|
260
|
+
line-height: 1.6;
|
|
261
|
+
color: var(--muted-foreground);
|
|
262
|
+
max-width: 38rem;
|
|
263
|
+
margin: 0 0 var(--spacing-8) 0;
|
|
264
|
+
text-wrap: balance;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.hero-actions {
|
|
268
|
+
display: flex;
|
|
269
|
+
flex-wrap: wrap;
|
|
270
|
+
gap: var(--spacing-4);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.hero--centered .hero-actions {
|
|
274
|
+
justify-content: center;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.hero-action {
|
|
278
|
+
display: inline-flex;
|
|
279
|
+
align-items: center;
|
|
280
|
+
gap: var(--spacing-2);
|
|
281
|
+
padding: var(--spacing-3) var(--spacing-6);
|
|
282
|
+
border-radius: var(--radius-lg);
|
|
283
|
+
font-size: var(--text-base);
|
|
284
|
+
font-weight: var(--font-semibold);
|
|
285
|
+
text-decoration: none;
|
|
286
|
+
cursor: pointer;
|
|
287
|
+
transition: background-color 0.2s ease, border-color 0.2s ease;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.hero-action--primary {
|
|
291
|
+
background-color: var(--primary);
|
|
292
|
+
color: var(--primary-foreground);
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.hero-action--primary:hover {
|
|
296
|
+
background-color: oklch(from var(--primary) calc(l - 0.05) c h);
|
|
297
|
+
color: var(--primary-foreground);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.hero-action--primary:active {
|
|
301
|
+
background-color: oklch(from var(--primary) calc(l - 0.08) c h);
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.hero-action-arrow {
|
|
305
|
+
width: 16px;
|
|
306
|
+
height: 16px;
|
|
307
|
+
stroke-width: 2;
|
|
308
|
+
transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.hero-action--primary:hover .hero-action-arrow {
|
|
312
|
+
transform: translateX(3px);
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
.hero-action--secondary {
|
|
316
|
+
background: transparent;
|
|
317
|
+
color: var(--foreground);
|
|
318
|
+
border: 1px solid var(--border);
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.hero-action--secondary:hover {
|
|
322
|
+
background: var(--muted);
|
|
323
|
+
color: var(--foreground);
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.hero-action--secondary:active {
|
|
327
|
+
opacity: 0.8;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.hero-action-icon {
|
|
331
|
+
display: flex;
|
|
332
|
+
align-items: center;
|
|
333
|
+
justify-content: center;
|
|
334
|
+
width: 18px;
|
|
335
|
+
height: 18px;
|
|
336
|
+
flex-shrink: 0;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.hero-action-icon svg {
|
|
340
|
+
width: 100%;
|
|
341
|
+
height: 100%;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.hero-image {
|
|
345
|
+
position: relative;
|
|
346
|
+
display: flex;
|
|
347
|
+
align-items: center;
|
|
348
|
+
justify-content: center;
|
|
349
|
+
z-index: 1;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.hero-image img {
|
|
353
|
+
width: 100%;
|
|
354
|
+
max-width: 550px;
|
|
355
|
+
height: auto;
|
|
356
|
+
border-radius: var(--radius-xl);
|
|
357
|
+
border: 1px solid var(--border);
|
|
358
|
+
box-shadow:
|
|
359
|
+
0 25px 50px -12px rgba(0, 0, 0, 0.25),
|
|
360
|
+
0 0 0 1px oklch(from var(--primary) l c h / 0.1);
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
.dark .hero-image img {
|
|
364
|
+
box-shadow:
|
|
365
|
+
0 25px 50px -12px rgba(0, 0, 0, 0.5),
|
|
366
|
+
0 0 40px -10px oklch(from var(--primary) l c h / 0.15);
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.hero-image-light {
|
|
370
|
+
display: block;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
.hero-image-dark {
|
|
374
|
+
display: none;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.dark .hero-image-light {
|
|
378
|
+
display: none;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.dark .hero-image-dark {
|
|
382
|
+
display: block;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.features-section {
|
|
386
|
+
padding: var(--spacing-16) var(--spacing-6) var(--spacing-20);
|
|
387
|
+
background: linear-gradient(180deg, var(--background) 0%, oklch(from var(--background) calc(l + 0.02) c h) 100%);
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
.dark .features-section {
|
|
391
|
+
background: linear-gradient(180deg, var(--background) 0%, oklch(from var(--background) calc(l - 0.01) c h) 100%);
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
.features-header {
|
|
395
|
+
text-align: center;
|
|
396
|
+
max-width: 600px;
|
|
397
|
+
margin: 0 auto var(--spacing-12);
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
.features-label {
|
|
401
|
+
font-size: var(--text-sm);
|
|
402
|
+
font-weight: var(--font-medium);
|
|
403
|
+
color: var(--primary);
|
|
404
|
+
text-transform: uppercase;
|
|
405
|
+
letter-spacing: 0.05em;
|
|
406
|
+
margin: 0 0 var(--spacing-3) 0;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
.features-title {
|
|
410
|
+
font-size: var(--text-2xl);
|
|
411
|
+
font-weight: var(--font-semibold);
|
|
412
|
+
color: var(--foreground);
|
|
413
|
+
margin: 0 0 var(--spacing-3) 0;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.features-description {
|
|
417
|
+
color: var(--muted-foreground);
|
|
418
|
+
font-size: var(--text-base);
|
|
419
|
+
margin: 0;
|
|
420
|
+
line-height: 1.6;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
:root {
|
|
424
|
+
--feature-primary: var(--primary);
|
|
425
|
+
--feature-purple: oklch(0.55 0.2 300);
|
|
426
|
+
--feature-blue: oklch(0.55 0.2 250);
|
|
427
|
+
--feature-green: oklch(0.5 0.18 145);
|
|
428
|
+
--feature-amber: oklch(0.6 0.18 85);
|
|
429
|
+
--feature-pink: oklch(0.6 0.2 350);
|
|
430
|
+
--feature-cyan: oklch(0.55 0.15 200);
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
.dark {
|
|
434
|
+
--feature-primary: var(--primary);
|
|
435
|
+
--feature-purple: oklch(0.75 0.15 300);
|
|
436
|
+
--feature-blue: oklch(0.75 0.15 250);
|
|
437
|
+
--feature-green: oklch(0.7 0.15 145);
|
|
438
|
+
--feature-amber: oklch(0.78 0.15 85);
|
|
439
|
+
--feature-pink: oklch(0.75 0.15 350);
|
|
440
|
+
--feature-cyan: oklch(0.75 0.12 200);
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
.features-magazine {
|
|
444
|
+
display: grid;
|
|
445
|
+
grid-template-columns: repeat(12, 1fr);
|
|
446
|
+
gap: var(--spacing-5);
|
|
447
|
+
max-width: 1100px;
|
|
448
|
+
margin: 0 auto;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
.features-magazine .feature-card {
|
|
452
|
+
grid-column: span 4;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
.features-magazine .feature-card--small {
|
|
456
|
+
grid-column: span 3;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
.features-magazine .feature-card--large {
|
|
460
|
+
grid-column: span 6;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
.features {
|
|
464
|
+
padding: var(--spacing-8) var(--spacing-6) var(--spacing-20);
|
|
465
|
+
max-width: 1200px;
|
|
466
|
+
margin: 0 auto;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
.features-grid {
|
|
470
|
+
display: grid;
|
|
471
|
+
grid-template-columns: repeat(3, 1fr);
|
|
472
|
+
gap: var(--spacing-5);
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
.feature-card {
|
|
476
|
+
position: relative;
|
|
477
|
+
display: flex;
|
|
478
|
+
flex-direction: column;
|
|
479
|
+
gap: var(--spacing-4);
|
|
480
|
+
padding: var(--spacing-6);
|
|
481
|
+
background: var(--card);
|
|
482
|
+
border: 1px solid var(--border);
|
|
483
|
+
border-radius: var(--radius-xl);
|
|
484
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
|
|
485
|
+
text-decoration: none;
|
|
486
|
+
cursor: default;
|
|
487
|
+
transition:
|
|
488
|
+
box-shadow 0.15s ease,
|
|
489
|
+
border-color 0.15s ease,
|
|
490
|
+
background 0.15s ease;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
a.feature-card {
|
|
494
|
+
cursor: pointer;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
.feature-card:hover {
|
|
498
|
+
border-color: oklch(from var(--card-color, var(--primary)) l c h / 0.4);
|
|
499
|
+
box-shadow:
|
|
500
|
+
0 4px 12px rgba(0, 0, 0, 0.08),
|
|
501
|
+
0 0 0 1px oklch(from var(--card-color, var(--primary)) l c h / 0.1);
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
.dark .feature-card:hover {
|
|
505
|
+
box-shadow:
|
|
506
|
+
0 4px 12px rgba(0, 0, 0, 0.25),
|
|
507
|
+
0 0 0 1px oklch(from var(--card-color, var(--primary)) l c h / 0.2);
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
a.feature-card:active {
|
|
511
|
+
transform: scale(0.98);
|
|
512
|
+
transition: transform 0.1s ease;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
.features-magazine .feature-card {
|
|
516
|
+
background: linear-gradient(180deg, oklch(from var(--card) calc(l + 0.02) c h) 0%, var(--card) 100%);
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
.dark .features-magazine .feature-card {
|
|
520
|
+
background: linear-gradient(180deg, oklch(1 0 0 / 0.04) 0%, oklch(1 0 0 / 0.01) 100%);
|
|
521
|
+
border-color: oklch(1 0 0 / 0.06);
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
.dark .features-magazine .feature-card:hover {
|
|
525
|
+
background: linear-gradient(180deg, oklch(1 0 0 / 0.06) 0%, oklch(1 0 0 / 0.02) 100%);
|
|
526
|
+
border-color: oklch(1 0 0 / 0.12);
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
.feature-arrow {
|
|
530
|
+
margin-top: auto;
|
|
531
|
+
padding-top: var(--spacing-4);
|
|
532
|
+
color: var(--card-color, var(--primary));
|
|
533
|
+
opacity: 0;
|
|
534
|
+
transform: translateX(-8px);
|
|
535
|
+
transition: opacity 0.2s ease, transform 0.2s ease;
|
|
536
|
+
display: flex;
|
|
537
|
+
align-items: center;
|
|
538
|
+
gap: var(--spacing-2);
|
|
539
|
+
font-size: var(--text-sm);
|
|
540
|
+
font-weight: var(--font-medium);
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
.feature-card:hover .feature-arrow {
|
|
544
|
+
opacity: 1;
|
|
545
|
+
transform: translateX(0);
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
.feature-arrow svg {
|
|
549
|
+
width: 16px;
|
|
550
|
+
height: 16px;
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
.feature-icon {
|
|
554
|
+
display: flex;
|
|
555
|
+
align-items: center;
|
|
556
|
+
justify-content: center;
|
|
557
|
+
width: 2.75rem;
|
|
558
|
+
height: 2.75rem;
|
|
559
|
+
background: oklch(from var(--primary) l c h / 0.1);
|
|
560
|
+
color: var(--primary);
|
|
561
|
+
border-radius: var(--radius-lg);
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
.feature-icon svg {
|
|
565
|
+
width: 1.375rem;
|
|
566
|
+
height: 1.375rem;
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
.feature-icon--primary {
|
|
570
|
+
background: oklch(from var(--primary) 0.93 0.05 h);
|
|
571
|
+
color: var(--primary);
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
.dark .feature-icon--primary {
|
|
575
|
+
background: oklch(from var(--primary) 0.25 0.08 h);
|
|
576
|
+
color: oklch(from var(--primary) 0.75 0.15 h);
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
.feature-icon--purple {
|
|
580
|
+
background: oklch(0.93 0.05 300);
|
|
581
|
+
color: oklch(0.55 0.2 300);
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
.dark .feature-icon--purple {
|
|
585
|
+
background: oklch(0.25 0.08 300);
|
|
586
|
+
color: oklch(0.75 0.15 300);
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
.feature-icon--blue {
|
|
590
|
+
background: oklch(0.93 0.05 250);
|
|
591
|
+
color: oklch(0.55 0.2 250);
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
.dark .feature-icon--blue {
|
|
595
|
+
background: oklch(0.25 0.08 250);
|
|
596
|
+
color: oklch(0.75 0.15 250);
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
.feature-icon--green {
|
|
600
|
+
background: oklch(0.93 0.05 145);
|
|
601
|
+
color: oklch(0.5 0.18 145);
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
.dark .feature-icon--green {
|
|
605
|
+
background: oklch(0.25 0.08 145);
|
|
606
|
+
color: oklch(0.7 0.15 145);
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
.feature-icon--amber {
|
|
610
|
+
background: oklch(0.93 0.06 85);
|
|
611
|
+
color: oklch(0.6 0.18 85);
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
.dark .feature-icon--amber {
|
|
615
|
+
background: oklch(0.28 0.08 85);
|
|
616
|
+
color: oklch(0.78 0.15 85);
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
.feature-icon--pink {
|
|
620
|
+
background: oklch(0.93 0.05 350);
|
|
621
|
+
color: oklch(0.6 0.2 350);
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
.dark .feature-icon--pink {
|
|
625
|
+
background: oklch(0.25 0.08 350);
|
|
626
|
+
color: oklch(0.75 0.15 350);
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
.feature-icon--cyan {
|
|
630
|
+
background: oklch(0.93 0.05 200);
|
|
631
|
+
color: oklch(0.55 0.15 200);
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
.dark .feature-icon--cyan {
|
|
635
|
+
background: oklch(0.25 0.08 200);
|
|
636
|
+
color: oklch(0.75 0.12 200);
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
.feature-title {
|
|
640
|
+
font-size: var(--text-lg);
|
|
641
|
+
font-weight: var(--font-semibold);
|
|
642
|
+
color: var(--foreground);
|
|
643
|
+
margin: 0;
|
|
644
|
+
line-height: 1.4;
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
.feature-description {
|
|
648
|
+
font-size: var(--text-base);
|
|
649
|
+
color: var(--muted-foreground);
|
|
650
|
+
line-height: 1.65;
|
|
651
|
+
margin: 0;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
.splash-markdown {
|
|
655
|
+
max-width: var(--content-max-width);
|
|
656
|
+
margin: 0 auto;
|
|
657
|
+
padding: var(--spacing-12) var(--spacing-6);
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
.custom-content {
|
|
661
|
+
padding: var(--spacing-12) var(--spacing-6);
|
|
662
|
+
max-width: 1200px;
|
|
663
|
+
margin: 0 auto;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
@media (max-width: 1024px) {
|
|
667
|
+
.hero--with-image {
|
|
668
|
+
grid-template-columns: 1fr;
|
|
669
|
+
text-align: center;
|
|
670
|
+
gap: var(--spacing-10);
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
.hero--with-image .hero-content {
|
|
674
|
+
align-items: center;
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
.hero--with-image .hero-actions {
|
|
678
|
+
justify-content: center;
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
.hero-image {
|
|
682
|
+
order: -1;
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
.hero-image img {
|
|
686
|
+
max-width: 400px;
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
.features-grid {
|
|
690
|
+
grid-template-columns: repeat(2, 1fr);
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
.features-magazine {
|
|
694
|
+
grid-template-columns: repeat(6, 1fr);
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
.features-magazine .feature-card {
|
|
698
|
+
grid-column: span 3;
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
.features-magazine .feature-card--small {
|
|
702
|
+
grid-column: span 2;
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
.features-magazine .feature-card--large {
|
|
706
|
+
grid-column: span 4;
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
@media (max-width: 1024px) {
|
|
711
|
+
.hero {
|
|
712
|
+
min-height: auto;
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
.hero--centered .hero-content {
|
|
716
|
+
padding: var(--spacing-10) var(--spacing-4);
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
.hero--with-image {
|
|
720
|
+
padding: var(--spacing-10) var(--spacing-4);
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
.hero-title {
|
|
724
|
+
font-size: 2.25rem;
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
.hero-tagline {
|
|
728
|
+
font-size: 1.0625rem;
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
.hero-actions {
|
|
732
|
+
flex-direction: column;
|
|
733
|
+
width: 100%;
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
.hero-action {
|
|
737
|
+
width: 100%;
|
|
738
|
+
justify-content: center;
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
.hero-image img {
|
|
742
|
+
max-width: 100%;
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
.features-section {
|
|
746
|
+
padding: var(--spacing-10) var(--spacing-4) var(--spacing-12);
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
.features-header {
|
|
750
|
+
margin-bottom: var(--spacing-8);
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
.features {
|
|
754
|
+
padding: var(--spacing-6) var(--spacing-4) var(--spacing-12);
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
.features-grid {
|
|
758
|
+
grid-template-columns: 1fr;
|
|
759
|
+
gap: var(--spacing-4);
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
.features-magazine {
|
|
763
|
+
grid-template-columns: 1fr;
|
|
764
|
+
gap: var(--spacing-4);
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
.features-magazine .feature-card,
|
|
768
|
+
.features-magazine .feature-card--small,
|
|
769
|
+
.features-magazine .feature-card--large {
|
|
770
|
+
grid-column: span 1;
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
.feature-card {
|
|
774
|
+
padding: var(--spacing-5);
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
.feature-arrow {
|
|
778
|
+
opacity: 1;
|
|
779
|
+
transform: translateX(0);
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
.hero-bg-orb--2,
|
|
783
|
+
.hero-bg-orb--3 {
|
|
784
|
+
display: none;
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
.hero-bg-orb--1 {
|
|
788
|
+
width: 300px;
|
|
789
|
+
height: 300px;
|
|
790
|
+
top: -150px;
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
@media (prefers-reduced-motion: reduce) {
|
|
795
|
+
.hero-badge-dot {
|
|
796
|
+
animation: none;
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
.hero-action,
|
|
800
|
+
.feature-card,
|
|
801
|
+
.feature-arrow,
|
|
802
|
+
.hero-action-arrow {
|
|
803
|
+
transition: none;
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
.hero-action:active,
|
|
807
|
+
a.feature-card:active {
|
|
808
|
+
transform: none;
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
.feature-arrow {
|
|
812
|
+
opacity: 1;
|
|
813
|
+
transform: translateX(0);
|
|
814
|
+
}
|
|
815
|
+
}
|