From a15e9c4c1853b2cd4822330eb8a594f5bcb376a4 Mon Sep 17 00:00:00 2001 From: Rahul Kumar Date: Tue, 14 Apr 2026 08:07:49 +0530 Subject: [PATCH 1/2] navlinked --- website/docs/.vitepress/theme/components/NavBar.vue | 8 +++++--- .../theme/components/landing/LandingFooter.vue | 10 +++++----- 2 files changed, 10 insertions(+), 8 deletions(-) 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/landing/LandingFooter.vue b/website/docs/.vitepress/theme/components/landing/LandingFooter.vue index c4fac6c..784bee9 100644 --- a/website/docs/.vitepress/theme/components/landing/LandingFooter.vue +++ b/website/docs/.vitepress/theme/components/landing/LandingFooter.vue @@ -19,9 +19,9 @@ const features = [ ] const community = [ - { label: 'GitHub', href: 'https://github.com/hyperpush-org/mesh-lang' }, - { label: 'Discussions', href: 'https://github.com/hyperpush-org/mesh-lang/discussions' }, - { label: 'Packages', href: '/packages/' }, + { label: 'GitHub', href: 'https://github.com/hyperpush-org/mesh-lang', target:'_blank' }, + { label: 'Discussions', href: 'https://github.com/hyperpush-org/mesh-lang/discussions', target: '_blank' }, + { label: 'Packages', href: 'https://packages.meshlang.dev', target: '_blank' }, ] @@ -72,8 +72,8 @@ const community = [

Community

-
-
+
+
-
+
@@ -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 () => {