Skip to content

Commit 71fedd7

Browse files
committed
reorder platform
1 parent efcaf75 commit 71fedd7

5 files changed

Lines changed: 27 additions & 30 deletions

File tree

‎docs/.vitepress/theme/Home.vue‎

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,6 @@ const { frontmatter } = useData();
1919

2020
<Spacer class="bg-primary" />
2121

22-
<section
23-
class="wrapper border-t border-nickel px-5 sm:px-10 h-70 sm:h-[22rem] flex flex-col justify-center gap-6 text-center items-center"
24-
aria-labelledby="features-heading"
25-
>
26-
<a href="/guide/" class="section-label-link" aria-label="Void SDK guide">
27-
<img src="/void-sdk.svg" alt="" class="section-label section-label--sdk" />
28-
</a>
29-
<h2 id="features-heading" class="text-white">Turn Vite Apps Full-Stack</h2>
30-
<p class="max-w-md text-white/70 text-balance sm:text-pretty">
31-
Use your favorite Vite framework, add the backend features you need, and infer your resources.
32-
</p>
33-
</section>
34-
35-
<HomeFeatures />
36-
3722
<div class="platform-surface bg-white text-primary">
3823
<section
3924
class="wrapper border-t border-stroke px-5 sm:px-10 h-70 sm:h-80 flex flex-col justify-center items-center gap-5 text-center"
@@ -58,6 +43,21 @@ const { frontmatter } = useData();
5843
<Spacer />
5944
</div>
6045

46+
<section
47+
class="wrapper border-t border-nickel px-5 sm:px-10 h-70 sm:h-[22rem] flex flex-col justify-center gap-6 text-center items-center"
48+
aria-labelledby="features-heading"
49+
>
50+
<a href="/guide/" class="section-label-link" aria-label="Void SDK guide">
51+
<img src="/void-sdk.svg" alt="" class="section-label section-label--sdk" />
52+
</a>
53+
<h2 id="features-heading" class="text-white">Turn Vite Apps Full-Stack</h2>
54+
<p class="max-w-md text-white/70 text-balance sm:text-pretty">
55+
Use your favorite Vite framework, add the backend features you need, and infer your resources.
56+
</p>
57+
</section>
58+
59+
<HomeFeatures />
60+
6161
<Footer
6262
:heading="frontmatter.footer_heading"
6363
:subheading="frontmatter.footer_subheading"

‎docs/.vitepress/theme/HomePlatform.vue‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,15 @@
22
import RiveAnimation from '@components/shared/RiveAnimation.vue';
33
import { Icon } from '@iconify/vue';
44
import { useData } from 'vitepress';
5-
import controlPlaneAnimation from './assets/animations/640_x_320_void_platform_light.riv';
5+
import appsFieldAnimation from './assets/animations/640_x_320_apps_field_light.riv';
6+
import platformSecurityAnimation from './assets/animations/640_x_320_void_platform_light.riv';
67
import HomePlatformResourceCode from './HomePlatformResourceCode.vue';
78
89
const { frontmatter } = useData();
10+
const featureAnimations = {
11+
'platform-ai-coding': appsFieldAnimation,
12+
'platform-security': platformSecurityAnimation,
13+
};
914
</script>
1015

1116
<template>
@@ -47,7 +52,7 @@ const { frontmatter } = useData();
4752
:aria-label="feature.image_alt"
4853
>
4954
<RiveAnimation
50-
:desktop-src="controlPlaneAnimation"
55+
:desktop-src="featureAnimations[feature.id]"
5156
:desktop-width="640"
5257
:desktop-height="320"
5358
canvas-class="w-full h-auto"
Binary file not shown.

‎docs/.vitepress/theme/terminal/TerminalPlayer.vue‎

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -428,16 +428,8 @@ onBeforeUnmount(() => {
428428
}
429429
.void-terminal--home .void-terminal-viewport {
430430
height: 100%;
431-
scrollbar-width: thin;
432-
scrollbar-color: #3b3440 transparent;
433-
}
434-
.void-terminal--home .void-terminal-viewport::-webkit-scrollbar {
435-
display: block;
436-
width: 4px;
437-
height: 4px;
438-
}
439-
.void-terminal--home .void-terminal-viewport::-webkit-scrollbar-thumb {
440-
background: #3b3440;
431+
overflow: hidden;
432+
overscroll-behavior: auto;
441433
}
442434
.void-terminal--home .void-terminal-output {
443435
padding: 24px 32px;

‎docs/index.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ theme: dark
55
hero:
66
name: Void
77
text: Build with Vite. Deploy with Void.
8-
tagline: Void is a full-stack SDK, platform and CLI that unifies building & deploying apps
8+
tagline: Void is a CLI, platform, and full-stack SDK that unifies building & deploying apps
99
actions:
1010
- theme: brand
1111
text: Get Started
@@ -59,8 +59,8 @@ platform_features:
5959
guide:
6060
text: Explore team deployments
6161
link: /guide/self-hosted-platform
62-
image: /platform-feature-placeholder.svg
63-
image_alt: Placeholder image for AI coding and team deployments
62+
visual: rive
63+
image_alt: Animated illustration of apps being built for a team
6464
- id: platform-control-plane
6565
iconify: lucide:panels-top-left
6666
visual: resources

0 commit comments

Comments
 (0)