Improve footer and version history display

- Add build timestamp to footer
- Rename GitHub links for clarity (Source Code, Firmware Indexer, Raw Data)
- Remove height limit from version history sidebar
This commit is contained in:
cc
2026-04-14 19:51:49 +02:00
parent 1bdc9b730e
commit a6f90462a5
3 changed files with 16 additions and 5 deletions
+3
View File
@@ -6,6 +6,9 @@ const nextConfig: NextConfig = {
output: "export",
basePath,
assetPrefix: basePath || undefined,
env: {
NEXT_PUBLIC_BUILD_TIME: new Date().toISOString(),
},
};
export default nextConfig;
+1 -1
View File
@@ -131,7 +131,7 @@ export default function BinaryDetail() {
<h3 className="text-sm font-semibold mb-3 text-muted-foreground">
Version History ({availableHistory.length})
</h3>
<div className="space-y-1 max-h-[70vh] overflow-y-auto pr-2">
<div className="space-y-1">
{groupedHistory.map(([major, versions]) => (
<details
key={major}
+12 -4
View File
@@ -1,9 +1,17 @@
const BUILD_TIME = process.env.NEXT_PUBLIC_BUILD_TIME || new Date().toISOString();
export function Footer() {
return (
<footer className="border-t border-border bg-muted/30 mt-auto">
<div className="px-4 md:px-8 py-6">
<div className="flex flex-col sm:flex-row items-center justify-between gap-4 text-sm text-muted-foreground">
<span>entdb</span>
<div className="flex items-center gap-2">
<span>entdb</span>
<span className="text-muted-foreground/50">·</span>
<span className="text-xs">
Built {new Date(BUILD_TIME).toLocaleDateString()}
</span>
</div>
<nav className="flex items-center gap-4">
<a
@@ -12,7 +20,7 @@ export function Footer() {
rel="noopener noreferrer"
className="hover:text-foreground transition-colors"
>
Website
Source Code
</a>
<a
href="https://github.com/ChiChou/entdb-indexer"
@@ -20,7 +28,7 @@ export function Footer() {
rel="noopener noreferrer"
className="hover:text-foreground transition-colors"
>
Indexer
Firmware Indexer
</a>
<a
href="https://github.com/ChiChou/entdb-data"
@@ -28,7 +36,7 @@ export function Footer() {
rel="noopener noreferrer"
className="hover:text-foreground transition-colors"
>
Data
Raw Data
</a>
<span className="text-muted-foreground/30">|</span>
<a