Skip to content

Commit

Permalink
Feat/footer (#50)
Browse files Browse the repository at this point in the history
* feat: add copyright statement

* chore: lint
  • Loading branch information
hidaviddong committed Jun 20, 2024
1 parent b113022 commit 3e53892
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/pages/+Layout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,14 @@ import {
import { navigate } from "vike/client/router";

export default function LayoutDefault({ children }) {
const year = new Date().getFullYear();
return (
<div className="w-full h-full bg-dot-black/[0.2] selection:text-blue-500 selection:bg-blue-100 flex flex-col items-center">
<main className="h-full w-full flex justify-center items-center flex-col">{children}</main>
<Dock className="fixed bottom-2 bg-white">
<footer className="w-full text-center text-sm text-neutral-400">
<p>© {year} David Dong. All rights reserved.</p>
</footer>
<Dock className="fixed bottom-4 bg-white">
<DockIcon
data-umami-event="Github Button"
onClick={() => {
Expand Down

0 comments on commit 3e53892

Please sign in to comment.