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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user