feat(ui): add privacy policy and impressum links to sidebar footer
All checks were successful
CI / Format (push) Successful in 3s
CI / Clippy (push) Successful in 2m29s
CI / Security Audit (push) Has been skipped
CI / Tests (push) Has been skipped
CI / Format (pull_request) Successful in 2s
CI / Clippy (pull_request) Successful in 2m19s
CI / Security Audit (pull_request) Has been skipped
CI / Tests (pull_request) Has been skipped
CI / Deploy (push) Has been skipped
CI / Deploy (pull_request) Has been skipped

Add legal links below the social icons in the sidebar footer,
matching the existing links on the landing page.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Sharang Parnerkar
2026-02-20 20:37:23 +01:00
parent 7bff029194
commit b7df8222bb
2 changed files with 30 additions and 0 deletions

View File

@@ -215,6 +215,31 @@ h6 {
color: var(--accent);
}
.sidebar-legal {
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
margin-top: 4px;
}
.legal-link {
font-size: 11px;
color: var(--text-dimmest);
text-decoration: none;
transition: color 0.15s ease;
}
.legal-link:hover {
color: var(--text-secondary);
}
.legal-sep {
font-size: 10px;
color: var(--text-dimmest);
opacity: 0.5;
}
.sidebar-version {
font-size: 11px;
color: var(--text-dimmest);

View File

@@ -245,6 +245,11 @@ fn SidebarFooter() -> Element {
Icon { icon: BsGrid, width: 16, height: 16 }
}
}
div { class: "sidebar-legal",
Link { to: Route::PrivacyPage {}, class: "legal-link", "Privacy Policy" }
span { class: "legal-sep", "|" }
Link { to: Route::ImpressumPage {}, class: "legal-link", "Impressum" }
}
p { class: "sidebar-version", "v{version}" }
}
}