Add an About panel with the guide version and date

Clicking the brand opens it, so the guide version and publication date
are visible in the app rather than only on the PDF cover.
This commit is contained in:
2026-11-28 20:32:37 +00:00
parent d0e0e8926c
commit 8aafdcfb16
5 changed files with 109 additions and 3 deletions
+10 -2
View File
@@ -14,6 +14,7 @@ interface Props {
onExport: () => void;
onCloud: () => void;
onHelp: () => void;
onAbout: () => void;
onSearch: () => void;
onCatalog: () => void;
canShare: boolean;
@@ -33,6 +34,7 @@ export default function TopBar({
onExport,
onCloud,
onHelp,
onAbout,
onSearch,
onCatalog,
canShare,
@@ -40,10 +42,16 @@ export default function TopBar({
}: Props) {
return (
<header className="topbar">
<div className="brand">
<button
type="button"
className="brand brand-btn"
onClick={onAbout}
title="About Luminary"
aria-label="About Luminary"
>
<img className="brand-mark" src="/logo.png" alt="" height={20} />
Luminary
</div>
</button>
<button
type="button"
className="icon-btn mobile-only catalog-btn"