diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index c6af086..488bcc9 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -1,14 +1,25 @@ -import { defineConfig } from 'vitepress' import { withMermaid } from "vitepress-plugin-mermaid"; import { generateSidebar } from 'vitepress-sidebar'; - +import { fileURLToPath, URL } from 'node:url' // https://vitepress.dev/reference/site-config -export default defineConfig(withMermaid({ +export default withMermaid({ title: "CobaltCore", - description: "Opinionated OpenStack distribution that builds upon IronCore’s foundation to support non-cloud-native workloads", + description: "Opinionated OpenStack distribution that builds upon IronCore's foundation to support non-cloud-native workloads", base: "/docs/", head: [['link', { rel: 'icon', href: 'https://raw.githubusercontent.com/cobaltcore-dev/.github/refs/heads/main/assets/Logo_Cobalt_Core_background_white.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: [ @@ -31,12 +42,12 @@ export default defineConfig(withMermaid({ text: 'Edit this page on GitHub' }, + logo: { src: 'https://raw.githubusercontent.com/cobaltcore-dev/.github/refs/heads/main/assets/Logo_Cobalt_Core_background_white.svg', width: 24, height: 24 }, + footer: { - copyright: `Copyright ${new Date().getFullYear()} SAP SE or an SAP affiliate company and cobaltcore-dev contributors.` + message: '', }, - logo: { src: 'https://raw.githubusercontent.com/cobaltcore-dev/.github/refs/heads/main/assets/Logo_Cobalt_Core_background_white.svg', width: 24, height: 24 }, - search: { provider: 'local' }, @@ -55,4 +66,4 @@ export default defineConfig(withMermaid({ { icon: 'github', link: 'https://github.com/cobaltcore-dev' } ], }, -})) +}) diff --git a/docs/.vitepress/theme/components/VPFooter.vue b/docs/.vitepress/theme/components/VPFooter.vue new file mode 100644 index 0000000..47c47c6 --- /dev/null +++ b/docs/.vitepress/theme/components/VPFooter.vue @@ -0,0 +1,151 @@ + + + + + + + + + diff --git a/docs/.vitepress/theme/index.js b/docs/.vitepress/theme/index.js index 508d8b4..42fe9a9 100644 --- a/docs/.vitepress/theme/index.js +++ b/docs/.vitepress/theme/index.js @@ -1,4 +1,4 @@ import DefaultTheme from 'vitepress/theme' import './custom.css' -export default DefaultTheme \ No newline at end of file +export default DefaultTheme diff --git a/docs/index.md b/docs/index.md index 9d0d139..9a6e066 100644 --- a/docs/index.md +++ b/docs/index.md @@ -3,13 +3,13 @@ layout: home hero: - name: "CobaltCore" - text: "Cloud-Native OpenStack distribution to support non-Cloud-Native workloads" + name: "CobaltCore Project" + text: "Infrastructure Management for Cloud Native and Traditional Workloads" image: src: https://raw.githubusercontent.com/cobaltcore-dev/.github/refs/heads/main/assets/Logo_Cobalt_Core_background_black.svg alt: CobaltCore logo - tagline: Leverage the power of OpenStack and IronCore bring your workloads to the cloud + tagline: Get your cloud running in weeks with Kubernetes-native orchestration and OpenStack-influenced services, fully open source. actions: - theme: brand text: Usage @@ -33,5 +33,3 @@ features: details: Integrated monitoring and management tools powered by Greenhouse to keep your OpenStack environment healthy --- - -![Bundesministerium für Wirtschaft und Energie (BMWE)-EU funding logo](https://apeirora.eu/assets/img/BMWK-EU.png "apeirora_logo")