Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
sphinxrave committed Dec 30, 2024
1 parent ce23e3d commit 96e2d22
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
18 changes: 12 additions & 6 deletions packages/react/src/components/layout/Frame.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,17 @@ export function GlobalReactivity() {
return <></>;
}

export function CopyrightNotice() {
return (
<div className="mt-16 text-center text-sm text-base-7">
© 2020-2024 Holodex v{lastTag}.{commitsSinceLastTag}
<small className="ml-2 inline-block opacity-80">
{abbreviatedSha} / {dayjs(new Date(committerDate)).format("lll")}
</small>
</div>
);
}

const LazyVideoReportDialog = React.lazy(() => import("../video/VideoReport"));

export function Frame() {
Expand Down Expand Up @@ -151,12 +162,7 @@ export function Frame() {
<Outlet />
</Suspense>
</ErrorBoundary>
<div className="mt-16 text-center text-sm text-base-7">
© 2020 Holodex v{lastTag}.{commitsSinceLastTag}
<small className="ml-2 opacity-50">
{abbreviatedSha} / {dayjs(new Date(committerDate)).format("lll")}
</small>
</div>
<CopyrightNotice />
</main>
<SelectionFooter />
{reportedVideo && (
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/sidebar/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export function Sidebar() {
</div>
<div className="grow"></div>
<hr className="mx-3 my-1 border-base" />
<div className="flex flex-col space-y-1 px-3 pb-1">
<div className="flex flex-col space-y-1 px-3 pb-4">
{/* <SidebarItem
label={t("component.mainNav.favorites")}
icon="i-heroicons:heart"
Expand Down

0 comments on commit 96e2d22

Please sign in to comment.