From 5375921c335a6956a94d925092a9148b15c62231 Mon Sep 17 00:00:00 2001 From: Andreas Fritzler Date: Fri, 25 Jul 2025 09:47:05 +0200 Subject: [PATCH] Update site footer --- docs/.vitepress/config.mts | 21 +- docs/.vitepress/theme/components/VPFooter.vue | 232 ++++++++++++++++++ 2 files changed, 245 insertions(+), 8 deletions(-) create mode 100644 docs/.vitepress/theme/components/VPFooter.vue diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index c4274df..e8968c8 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -1,4 +1,5 @@ import { withMermaid } from "vitepress-plugin-mermaid"; +import { fileURLToPath, URL } from 'node:url' // https://vitepress.dev/reference/site-config export default withMermaid({ @@ -6,6 +7,18 @@ export default withMermaid({ description: "Welcome to IronCore Documentation", base: '/', head: [['link', { rel: 'icon', href: 'https://raw.githubusercontent.com/ironcore-dev/ironcore/refs/heads/main/docs/assets/logo_borderless.svg' }]], + vite: { + resolve: { + alias: [ + { + find: /^.*\/VPFooter\.vue$/, + replacement: fileURLToPath( + new URL('./theme/components/VPFooter.vue', import.meta.url) + ) + }, + ] + } + }, themeConfig: { // https://vitepress.dev/reference/default-theme-config nav: [ @@ -23,14 +36,6 @@ export default withMermaid({ text: 'Edit this page on GitHub' }, - footer: { - copyright: 'Copyright © Linux Foundation Europe. IronCore is a project of NeoNephos Foundation. For applicable ' + - 'policies including privacy policy, terms of use and trademark usage guidelines, please see ' + - 'https://linuxfoundation.eu. Linux is a registered trademark of Linus Torvalds.' + - '

' + - '' - }, - logo: { src: 'https://raw.githubusercontent.com/ironcore-dev/ironcore/refs/heads/main/docs/assets/logo_borderless.svg', width: 24, diff --git a/docs/.vitepress/theme/components/VPFooter.vue b/docs/.vitepress/theme/components/VPFooter.vue new file mode 100644 index 0000000..899c9ed --- /dev/null +++ b/docs/.vitepress/theme/components/VPFooter.vue @@ -0,0 +1,232 @@ + + + + + + + + + \ No newline at end of file