From da4e73b81d9b226b8f6f56fb7dfe8984b8ee7e08 Mon Sep 17 00:00:00 2001 From: cevheri Date: Sat, 27 Jun 2026 23:52:10 +0300 Subject: [PATCH 1/2] feat: add Docker Hub link; move privacy/404 to IDE shell Add a Docker Hub link (https://hub.docker.com/r/libredb/libredb-studio) to the StatusBar quick-links, next to GitHub and LinkedIn, so it is visible site-wide on every IDE-style page. Rebuild the privacy-policy and 404 pages on StudioShell instead of the legacy Header/Footer chrome. The top-left logo now provides home navigation, and content scrolls inside the IDE result pane. This removes the duplicated footer (two footers previously rendered) and eliminates deprecated, divergent link lists. Delete the now-unused Header.astro and Footer.astro components. Verified: astro check (0 errors), knip (clean), build (15 pages), Playwright (single StatusBar footer, logo -> home, no legacy footer). Co-Authored-By: Claude Opus 4.8 (1M context) --- src/components/Footer.astro | 298 ------------------ src/components/Header.astro | 65 ---- src/components/studio/StatusBar.astro | 6 + src/pages/404.astro | 85 ++--- src/pages/privacy-policy.astro | 434 +++++++++++++------------- 5 files changed, 263 insertions(+), 625 deletions(-) delete mode 100644 src/components/Footer.astro delete mode 100644 src/components/Header.astro diff --git a/src/components/Footer.astro b/src/components/Footer.astro deleted file mode 100644 index afa1c2a..0000000 --- a/src/components/Footer.astro +++ /dev/null @@ -1,298 +0,0 @@ ---- -const currentYear = new Date().getFullYear(); - -const sections = [ - { - id: 'product', - title: 'Product', - links: [ - { label: 'Features', href: '/features' }, - { label: 'Providers', href: '/providers' }, - { label: 'Database (pre-alpha)', href: '/database' }, - { label: 'Platform (beta)', href: '/platform' }, - { label: 'Tech Stack', href: '/tech-stack' }, - { label: 'Deploy', href: '/deploy' }, - { label: 'Live Demo', href: 'https://app.libredb.org', external: true }, - ], - }, - { - id: 'resources', - title: 'Resources', - links: [ - { - label: 'Documentation', - href: 'https://github.com/libredb/libredb-studio#readme', - external: true, - }, - { label: 'Docker Compose Example', href: '/docker-compose-example' }, - { - label: 'API Reference', - href: 'https://github.com/libredb/libredb-studio/blob/main/docs/API_DOCS.md', - external: true, - }, - { - label: 'Architecture', - href: 'https://github.com/libredb/libredb-studio/blob/main/docs/ARCHITECTURE.md', - external: true, - }, - { - label: 'Releases', - href: 'https://github.com/libredb/libredb-studio/releases', - external: true, - }, - ], - }, - { - id: 'community', - title: 'Community', - links: [ - { label: 'GitHub', href: 'https://github.com/libredb/libredb-studio', external: true }, - { label: 'Issues', href: 'https://github.com/libredb/libredb-studio/issues', external: true }, - { - label: 'Discussions', - href: 'https://github.com/libredb/libredb-studio/discussions', - external: true, - }, - { - label: 'Contributing', - href: 'https://github.com/libredb/libredb-studio#contributing', - external: true, - }, - { label: 'Sponsor ♥', href: 'https://github.com/sponsors/libredb', external: true }, - ], - }, - { - id: 'legal', - title: 'Legal', - links: [{ label: 'Privacy Policy', href: '/privacy-policy' }], - }, -]; ---- - - - - - - diff --git a/src/components/Header.astro b/src/components/Header.astro deleted file mode 100644 index 3484d31..0000000 --- a/src/components/Header.astro +++ /dev/null @@ -1,65 +0,0 @@ ---- - ---- - -
- -
diff --git a/src/components/studio/StatusBar.astro b/src/components/studio/StatusBar.astro index 7bce340..9d1eb58 100644 --- a/src/components/studio/StatusBar.astro +++ b/src/components/studio/StatusBar.astro @@ -32,6 +32,12 @@ const meta = sectionById[active] ?? sectionById['home']; rel="noopener noreferrer" class="cursor-pointer hover:text-fg">LinkedIn + Docker -
-
-
-