diff --git a/website/docs/.vitepress/theme/components/NavBar.vue b/website/docs/.vitepress/theme/components/NavBar.vue index 4774078..9c4d5ca 100644 --- a/website/docs/.vitepress/theme/components/NavBar.vue +++ b/website/docs/.vitepress/theme/components/NavBar.vue @@ -13,9 +13,9 @@ const { isDark } = useData() const mobileMenuOpen = ref(false) const navLinks = [ - { text: 'Docs', href: '/docs/getting-started/' }, - { text: 'Packages', href: '/packages/' }, - { text: 'GitHub', href: 'https://github.com/hyperpush-org/mesh-lang' }, + { text: 'Docs', href: '/docs/getting-started/', target: '_self' }, + { text: 'Packages', href: 'https://packages.meshlang.dev', target: '_blank' }, + { text: 'GitHub', href: 'https://github.com/hyperpush-org/mesh-lang', target: '_blank' }, ] @@ -66,6 +66,7 @@ const navLinks = [ GitHub @@ -89,6 +90,7 @@ const navLinks = [ v-for="link in navLinks" :key="link.href" :href="link.href" + :target="link.target" class="flex items-center rounded-md px-3 py-2.5 text-sm text-muted-foreground transition-colors hover:text-foreground hover:bg-accent" @click="mobileMenuOpen = false" > diff --git a/website/docs/.vitepress/theme/components/docs/MobileSidebar.vue b/website/docs/.vitepress/theme/components/docs/MobileSidebar.vue index 436ad90..1513142 100644 --- a/website/docs/.vitepress/theme/components/docs/MobileSidebar.vue +++ b/website/docs/.vitepress/theme/components/docs/MobileSidebar.vue @@ -8,13 +8,37 @@ defineProps<{ }>() const { isOpen } = useSidebar() + +const quickLinks = [ + { text: 'Main Page', href: '/', target: '_self' }, + { text: 'Packages', href: 'https://packages.meshlang.dev', target: '_blank' }, + { text: 'GitHub', href: 'https://github.com/hyperpush-org/mesh-lang', target: '_blank' }, +] diff --git a/website/docs/.vitepress/theme/components/landing/BenchmarkSection.vue b/website/docs/.vitepress/theme/components/landing/BenchmarkSection.vue index 5834f9e..0fb4d55 100644 --- a/website/docs/.vitepress/theme/components/landing/BenchmarkSection.vue +++ b/website/docs/.vitepress/theme/components/landing/BenchmarkSection.vue @@ -84,11 +84,11 @@ onMounted(() => { -
-
+
+
-
+
@@ -128,10 +128,10 @@ onMounted(() => {
-
-
+
+
{{ item.lang }}
@@ -161,9 +161,9 @@ onMounted(() => { />
-
+
+
@@ -192,21 +192,21 @@ onMounted(() => {
-
-
+
+
{{ item.lang }}
-
+
p50 {{ item.p50 }}ms p99 {{ item.p99 }}ms
-
-
+
+
{
-
+
@@ -247,10 +247,10 @@ onMounted(() => {
-
-
+
+
{{ item.lang }}
@@ -266,9 +266,9 @@ onMounted(() => { />
-
+
{{ item.value }} MB
diff --git a/website/docs/.vitepress/theme/components/landing/FeatureShowcase.vue b/website/docs/.vitepress/theme/components/landing/FeatureShowcase.vue index 8cbb865..8c60489 100644 --- a/website/docs/.vitepress/theme/components/landing/FeatureShowcase.vue +++ b/website/docs/.vitepress/theme/components/landing/FeatureShowcase.vue @@ -129,7 +129,7 @@ onMounted(async () => { class="reveal grid items-center gap-10 lg:grid-cols-2 lg:gap-16" > -
+
{{ feature.number }}
{
-
+
@@ -163,11 +163,11 @@ onMounted(async () => {
{{ feature.code }}
diff --git a/website/docs/.vitepress/theme/components/landing/GetStartedCTA.vue b/website/docs/.vitepress/theme/components/landing/GetStartedCTA.vue index 4198f1e..3a18ce9 100644 --- a/website/docs/.vitepress/theme/components/landing/GetStartedCTA.vue +++ b/website/docs/.vitepress/theme/components/landing/GetStartedCTA.vue @@ -40,17 +40,17 @@ onMounted(() => {

Start building your distributed system

-

+

Install Mesh in seconds. Works on macOS, Linux, and Windows.

-
+
$ - {{ installCommand }} + {{ installCommand }}
-
- -
diff --git a/website/docs/.vitepress/theme/components/landing/HeroSection.vue b/website/docs/.vitepress/theme/components/landing/HeroSection.vue index 5589b0b..fc18868 100644 --- a/website/docs/.vitepress/theme/components/landing/HeroSection.vue +++ b/website/docs/.vitepress/theme/components/landing/HeroSection.vue @@ -36,15 +36,18 @@ onMounted(async () => {