From 76d84e31cbcba97e19cb6bc440f66b44ad108831 Mon Sep 17 00:00:00 2001 From: Simon Mellerin Date: Tue, 12 Nov 2024 14:28:03 +0100 Subject: [PATCH] docs - update hero image on home --- .../theme/DbToolsBundleHomeImage.vue | 167 ++++++++++++++++++ docs/.vitepress/theme/index.js | 4 +- docs/content/index.md | 4 - 3 files changed, 170 insertions(+), 5 deletions(-) create mode 100644 docs/.vitepress/theme/DbToolsBundleHomeImage.vue diff --git a/docs/.vitepress/theme/DbToolsBundleHomeImage.vue b/docs/.vitepress/theme/DbToolsBundleHomeImage.vue new file mode 100644 index 0000000..3ab9b7b --- /dev/null +++ b/docs/.vitepress/theme/DbToolsBundleHomeImage.vue @@ -0,0 +1,167 @@ + + + + + \ No newline at end of file diff --git a/docs/.vitepress/theme/index.js b/docs/.vitepress/theme/index.js index c67df6a..8e7c0f6 100644 --- a/docs/.vitepress/theme/index.js +++ b/docs/.vitepress/theme/index.js @@ -5,6 +5,7 @@ import MakinaCorpusHorizontal from './MakinaCorpusHorizontal.vue' import MakinaCorpusSquare from './MakinaCorpusSquare.vue' import { h } from 'vue' import DbToolsBundleActions from './DbToolsBundleActions.vue' +import DbToolsBundleHomeImage from './DbToolsBundleHomeImage.vue' export default { extends: DefaultTheme, @@ -12,7 +13,8 @@ export default { return h(DefaultTheme.Layout, null, { 'aside-bottom': () => h(MakinaCorpusSquare), 'home-features-after': () => h(MakinaCorpusHorizontal), - 'home-hero-actions-after': () => h(DbToolsBundleActions) + 'home-hero-actions-after': () => h(DbToolsBundleActions), + 'home-hero-image': () => h(DbToolsBundleHomeImage) }) }, VPHomeHero: DbToolsBundleActions, diff --git a/docs/content/index.md b/docs/content/index.md index a16f461..f51f65d 100644 --- a/docs/content/index.md +++ b/docs/content/index.md @@ -4,10 +4,6 @@ layout: home hero: name: DbToolsBundle text: Backup, restore and anonymize your data - image: - light: ./logo.svg - dark: ./logo-d.svg - alt: DbToolsBundle by Makina Corpus features: - icon: