From e0a49a9c15eaebd66904e3f918a654414a0bb782 Mon Sep 17 00:00:00 2001 From: NriotHrreion Date: Thu, 10 Sep 2026 17:14:48 +0800 Subject: [PATCH] style(website): improve footer appearance --- apps/website/src/components/footer.tsx | 42 ++++++++++++++++++++++ apps/website/src/layouts/base-layout.astro | 39 ++------------------ 2 files changed, 44 insertions(+), 37 deletions(-) create mode 100644 apps/website/src/components/footer.tsx diff --git a/apps/website/src/components/footer.tsx b/apps/website/src/components/footer.tsx new file mode 100644 index 0000000..601507b --- /dev/null +++ b/apps/website/src/components/footer.tsx @@ -0,0 +1,42 @@ +import { GlLink } from "gitlab-ui-react"; +import { githubRepoUrl, storybookUrl } from "../global"; + +export function Footer() { + const currentYear = new Date().getFullYear(); + + return ( + + ); +} diff --git a/apps/website/src/layouts/base-layout.astro b/apps/website/src/layouts/base-layout.astro index 2ab76e6..5335848 100644 --- a/apps/website/src/layouts/base-layout.astro +++ b/apps/website/src/layouts/base-layout.astro @@ -1,8 +1,7 @@ --- import "../styles/global.css"; -import { GlLink } from "gitlab-ui-react"; import { Navbar } from "../components/navbar"; -import { githubRepoUrl, storybookUrl } from "../global"; +import { Footer } from "../components/footer"; interface Props { title: string; @@ -13,7 +12,6 @@ const { title, description = "GitLab UI for React", } = Astro.props; -const currentYear = new Date().getFullYear(); --- @@ -46,39 +44,6 @@ const currentYear = new Date().getFullYear(); -
-
-
- - GitLab UI React - -

- GitLab Pajamas components built for React. -

-
- - - -
-

© {currentYear} NriotHrreion. MIT licensed.

-

Portions © GitLab Inc. Unofficial and not affiliated with GitLab Inc.

-
-
-
+