From 49c7ef26336e3ec8fb275e52d21f158d72e61373 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=91=E6=B8=B8=E5=90=9B?= Date: Sun, 1 May 2022 14:30:14 +0800 Subject: [PATCH] feat(docs): use home svg layers for dark (#7408) * feat(docs): use home svg layers for dark * fix: people leg color & shadow color * fix: add shadow for right layer * fix: dot position in screen --- .../components/globals/parallax-home.vue | 27 +--- .../vitepress/components/home/home-cards.vue | 6 +- .../components/home/svg/component-svg.vue | 83 ++++++++++ .../components/home/svg/guide-svg.vue | 55 +++++++ .../home/svg/left-bottom-layer-svg.vue | 114 ++++++++++++++ .../components/home/svg/left-layer-svg.vue | 51 ++++++ .../components/home/svg/people-svg.vue | 139 +++++++++++++++++ .../components/home/svg/resource-svg.vue | 66 ++++++++ .../components/home/svg/right-layer-svg.vue | 55 +++++++ .../components/home/svg/screen-svg.vue | 146 ++++++++++++++++++ docs/components.d.ts | 8 + docs/public/images/Axure-Components.svg | 41 ----- docs/public/images/Sketch-Template.svg | 37 ----- docs/public/images/component.png | Bin 11756 -> 0 bytes docs/public/images/consistency.png | Bin 4458 -> 0 bytes docs/public/images/controllability.png | Bin 6091 -> 0 bytes docs/public/images/efficiency.png | Bin 7664 -> 0 bytes docs/public/images/feedback.png | Bin 5086 -> 0 bytes docs/public/images/figma.png | Bin 1266 -> 0 bytes docs/public/images/guide.png | Bin 11786 -> 0 bytes docs/public/images/home/left-layer.svg | 6 - docs/public/images/home/people.svg | 22 --- docs/public/images/home/right-layer.svg | 27 ---- docs/public/images/home/screen.svg | 34 ---- docs/public/images/icon-check.png | Bin 5510 -> 0 bytes docs/public/images/icon-copy.png | Bin 4272 -> 0 bytes docs/public/images/icon-download.png | Bin 4714 -> 0 bytes docs/public/images/icon-edit.png | Bin 4843 -> 0 bytes docs/public/images/icon-upload.svg | 19 --- docs/public/images/resource.png | Bin 10770 -> 0 bytes packages/theme-chalk/src/timeline-item.scss | 1 + 31 files changed, 726 insertions(+), 211 deletions(-) create mode 100644 docs/.vitepress/vitepress/components/home/svg/component-svg.vue create mode 100644 docs/.vitepress/vitepress/components/home/svg/guide-svg.vue create mode 100644 docs/.vitepress/vitepress/components/home/svg/left-bottom-layer-svg.vue create mode 100644 docs/.vitepress/vitepress/components/home/svg/left-layer-svg.vue create mode 100644 docs/.vitepress/vitepress/components/home/svg/people-svg.vue create mode 100644 docs/.vitepress/vitepress/components/home/svg/resource-svg.vue create mode 100644 docs/.vitepress/vitepress/components/home/svg/right-layer-svg.vue create mode 100644 docs/.vitepress/vitepress/components/home/svg/screen-svg.vue delete mode 100644 docs/public/images/Axure-Components.svg delete mode 100644 docs/public/images/Sketch-Template.svg delete mode 100644 docs/public/images/component.png delete mode 100644 docs/public/images/consistency.png delete mode 100644 docs/public/images/controllability.png delete mode 100644 docs/public/images/efficiency.png delete mode 100644 docs/public/images/feedback.png delete mode 100644 docs/public/images/figma.png delete mode 100644 docs/public/images/guide.png delete mode 100644 docs/public/images/home/left-layer.svg delete mode 100644 docs/public/images/home/people.svg delete mode 100644 docs/public/images/home/right-layer.svg delete mode 100644 docs/public/images/home/screen.svg delete mode 100644 docs/public/images/icon-check.png delete mode 100644 docs/public/images/icon-copy.png delete mode 100644 docs/public/images/icon-download.png delete mode 100644 docs/public/images/icon-edit.png delete mode 100644 docs/public/images/icon-upload.svg delete mode 100644 docs/public/images/resource.png diff --git a/docs/.vitepress/vitepress/components/globals/parallax-home.vue b/docs/.vitepress/vitepress/components/globals/parallax-home.vue index a56ea7277c..832fe7a6ed 100644 --- a/docs/.vitepress/vitepress/components/globals/parallax-home.vue +++ b/docs/.vitepress/vitepress/components/globals/parallax-home.vue @@ -123,33 +123,16 @@ useEventListener(window, 'scroll', handleScroll)
- banner - banner + - banner - banner - banner + + +
diff --git a/docs/.vitepress/vitepress/components/home/home-cards.vue b/docs/.vitepress/vitepress/components/home/home-cards.vue index 636c284be8..d209411965 100644 --- a/docs/.vitepress/vitepress/components/home/home-cards.vue +++ b/docs/.vitepress/vitepress/components/home/home-cards.vue @@ -12,7 +12,7 @@ const homeLang = computed(() => homeLocale[lang.value])