diff --git a/src/components/Footer/Footer.module.css b/src/components/Footer/Footer.module.css index e69de29..c7419c4 100644 --- a/src/components/Footer/Footer.module.css +++ b/src/components/Footer/Footer.module.css @@ -0,0 +1,27 @@ +.branding { + padding: 20px 0; + border-top: 1px solid; +} + +.logo { + display: block; + margin: 0 auto 20px; + width: 150px; +} + +.description { + font-size: 12px; + margin: 0; +} + +@media (min-width: 768px) { + .branding { + display: flex; + justify-content: center; + align-items: center; + } + + .logo { + margin: 0 60px 0 0; + } +} diff --git a/src/components/Footer/Footer.tsx b/src/components/Footer/Footer.tsx index 659ec3c..8158861 100644 --- a/src/components/Footer/Footer.tsx +++ b/src/components/Footer/Footer.tsx @@ -1,9 +1,19 @@ -import styles from "Footer.module.css"; +import logo from "../../../public/logo.svg"; +import styles from "./Footer.module.css"; + +import { getAppName } from "@/lib/config"; +import { getMessages } from "@/lib/data"; export function Footer() { + const appName = getAppName(); + const { footerFootnote } = getMessages(); + return (
-
+
+ {appName} +

{footerFootnote}

+
); } diff --git a/src/components/Layout/Layout.tsx b/src/components/Layout/Layout.tsx index 8398834..2ca0bb8 100644 --- a/src/components/Layout/Layout.tsx +++ b/src/components/Layout/Layout.tsx @@ -3,6 +3,7 @@ import type { FC, ReactNode } from "react"; import styles from "./Layout.module.css"; +import { Footer } from "@/components/Footer/Footer"; import { Logo } from "@/components/Logo/Logo"; import { Navigation } from "@/components/Navigation/Navigation"; import { cn } from "@/lib/utils"; @@ -27,8 +28,8 @@ export const Layout: FC = ({
{children}
-