From e568973a58e0fb14addea0e8f308e467f89b5795 Mon Sep 17 00:00:00 2001 From: 0song <82012629+0song@users.noreply.github.com> Date: Sun, 5 Dec 2021 00:56:16 +0800 Subject: [PATCH] chore: update doc nav new (#4669) --- docs/.vitepress/crowdin/en-US/pages/home.json | 4 +- .../components/globals/parallax-home.vue | 60 +++++++++++++------ .../components/navbar/vp-menu-link.vue | 31 +++++++++- docs/.vitepress/vitepress/types.ts | 1 + 4 files changed, 74 insertions(+), 22 deletions(-) diff --git a/docs/.vitepress/crowdin/en-US/pages/home.json b/docs/.vitepress/crowdin/en-US/pages/home.json index 320a2fd0e0..46d7eef6c3 100644 --- a/docs/.vitepress/crowdin/en-US/pages/home.json +++ b/docs/.vitepress/crowdin/en-US/pages/home.json @@ -17,5 +17,7 @@ "16": "Feedback", "17": "Contribution", "18": "SegmentFault", - "19": "Community" + "19": "Community", + "20": "Become a Sponsor!", + "21": "Please contact us via" } diff --git a/docs/.vitepress/vitepress/components/globals/parallax-home.vue b/docs/.vitepress/vitepress/components/globals/parallax-home.vue index 47ff9c1e06..946f95cf4d 100644 --- a/docs/.vitepress/vitepress/components/globals/parallax-home.vue +++ b/docs/.vitepress/vitepress/components/globals/parallax-home.vue @@ -89,23 +89,38 @@ useEventListener(window, 'scroll', handleScroll) -
- - -
-

- Sponsored by - {{ sponsor.name }} -

-

{{ sponsor.slogan }}

-
-
+
+ +