From 1aeebecbcf0938e3bbfcef36fb8423af5dace805 Mon Sep 17 00:00:00 2001 From: Kia King Ishii Date: Sun, 29 May 2022 03:13:55 +0900 Subject: [PATCH] feat: add image feature to home hero --- docs/index.md | 4 +- src/client/theme-default/components/VPBox.vue | 2 +- .../theme-default/components/VPButton.vue | 1 - .../theme-default/components/VPHero.vue | 201 +++++++++++++++--- .../components/VPHomeFeatures.vue | 1 + .../theme-default/components/VPHomeHero.vue | 1 + .../theme-default/components/VPMenu.vue | 2 +- .../components/VPNavBarExtra.vue | 6 +- src/client/theme-default/styles/base.css | 4 + 9 files changed, 182 insertions(+), 40 deletions(-) diff --git a/docs/index.md b/docs/index.md index dfbec2ea..355bb0da 100644 --- a/docs/index.md +++ b/docs/index.md @@ -2,11 +2,11 @@ layout: home title: VitePress -titleTemplate: Vite & Vue powered static site generator. +titleTemplate: Vite & Vue Powered Static Site Generator hero: name: VitePress - text: Vite & Vue powered static site generator. + text: Vite & Vue Powered Static Site Generator tagline: Simple, minimal, yet strikingly powerful. Meet the modern SSG framework you've always wanted. actions: - theme: brand diff --git a/src/client/theme-default/components/VPBox.vue b/src/client/theme-default/components/VPBox.vue index f0096371..2593492a 100644 --- a/src/client/theme-default/components/VPBox.vue +++ b/src/client/theme-default/components/VPBox.vue @@ -17,7 +17,7 @@ defineProps<{ diff --git a/src/client/theme-default/components/VPHomeFeatures.vue b/src/client/theme-default/components/VPHomeFeatures.vue index b0248cf4..86fc2a50 100644 --- a/src/client/theme-default/components/VPHomeFeatures.vue +++ b/src/client/theme-default/components/VPHomeFeatures.vue @@ -42,6 +42,7 @@ const grid = computed(() => {