docs: update landing page hero and add EU funding footer - #50
Merged
Conversation
- Rename hero name to "CobaltCore Project" - Update hero text and tagline to better reflect the project scope - Add custom VPFooter component with EU/LFE funding notice (image left, text right) - Wire VPFooter via Vite alias Signed-off-by: Artem Kovalov <artem.kovalyov@gmail.com>
artemkovalyov
force-pushed
the
docs-landing-page-upgrade
branch
from
August 28, 2026 22:33
8bf9c84 to
5ab1e92
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the VitePress documentation landing page messaging and introduces a site-wide EU/NextGenerationEU funding footer by overriding the default theme’s VPFooter component via a Vite alias.
Changes:
- Updated the home page hero name/text/tagline in
docs/index.md. - Added a custom
VPFooter.vuecomponent with EU funding notice + Linux Foundation Europe copyright. - Wired the custom footer by adding a Vite
resolve.aliasoverride in the VitePress config and removed the old inline funding image from the home page.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| docs/index.md | Updates landing page hero copy and removes the previously inlined funding logo image. |
| docs/.vitepress/theme/index.js | Keeps the theme as DefaultTheme (no functional change). |
| docs/.vitepress/theme/components/VPFooter.vue | Adds a custom footer component (funding notice + copyright) and hides it when a sidebar is present. |
| docs/.vitepress/config.mts | Adds a Vite alias to replace the default VPFooter.vue with the custom component; adjusts footer config fields. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| <div class="container"> | ||
| <div class="funding-notice"> | ||
| <div class="funding-image"> | ||
| <img src="https://apeirora.eu/assets/img/BMWK-EU.png" alt="EU and German government funding logos"> |
| <div class="container"> | ||
| <div class="funding-notice"> | ||
| <div class="funding-image"> | ||
| <img src="https://apeirora.eu/assets/img/BMWK-EU.png" alt="EU and German government funding logos"> |
Comment on lines
+49
to
+58
| <div class="copyright"> | ||
| <p> | ||
| <strong> | ||
| Copyright © Linux Foundation Europe. | ||
| </strong> | ||
| </p> | ||
| CobaltCore is a project of Linux Foundation Europe. | ||
| For applicable policies including privacy policy, terms of use and trademark usage guidelines, please see <a href="https://linuxfoundation.eu">https://linuxfoundation.eu</a>. | ||
| Linux is a registered trademark of Linus Torvalds. | ||
| </div> |
Comment on lines
+100
to
+101
| .message, | ||
| .copyright { |
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.
Suppressed comments (2)
docs/.vitepress/theme/components/VPFooter.vue:40
- The footer hotlinks the funding logo from an external domain. This causes every page view to request a third-party resource (privacy/availability risk). If you must keep the external URL, consider at least preventing referrer leakage; ideally, vendor the image into the docs repo (or a GitHub-hosted asset you control).
<img src="https://apeirora.eu/assets/img/BMWK-EU.png" alt="EU and German government funding logos">
docs/.vitepress/theme/components/VPFooter.vue:106
- The
.messageCSS selector is unused in this component/template, which makes the styling harder to maintain (leftover from the upstream footer). Removing it keeps the stylesheet aligned with the markup.
.message,
.copyright {
line-height: 24px;
font-size: 14px;
font-weight: 500;
color: var(--vp-c-text-2);
}
| import { withMermaid } from "vitepress-plugin-mermaid"; | ||
| import { generateSidebar } from 'vitepress-sidebar'; | ||
|
|
||
| import { fileURLToPath, URL } from 'node:url' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
VPFootercomponent with EU/NextGenerationEU funding notice and Linux Foundation Europe copyright, image on the left and text on the rightVPFootervia Vite alias (same pattern as ironcore-dev.github.io)Test plan
bun docs:devand verify the landing page hero text is updated