From bf9262f1f1875a932ed770bb7f5b679e6ce9711d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Sat, 31 Jan 2026 23:21:43 -0600 Subject: [PATCH] feat: some work on footer --- packages/i18n/strings/en.json | 5 ++ .../website-ue/src/components/Footer.astro | 78 ++++++++++++++----- .../Link/{index.css => index.module.css} | 9 +-- .../website-ue/src/components/Link/index.tsx | 12 ++- .../website-ue/src/components/Navbar.astro | 33 +++++--- .../website-ue/src/components/ToolCard.astro | 3 +- .../website-ue/src/layouts/BaseLayout.astro | 3 + 7 files changed, 107 insertions(+), 36 deletions(-) rename packages/website-ue/src/components/Link/{index.css => index.module.css} (76%) diff --git a/packages/i18n/strings/en.json b/packages/i18n/strings/en.json index 364ef9a34..c44d6ede8 100644 --- a/packages/i18n/strings/en.json +++ b/packages/i18n/strings/en.json @@ -110,5 +110,10 @@ "navbar": { "home": "Home", "settings": "Settings" + }, + + "companies": { + "discord": "Discord", + "github": "GitHub" } } diff --git a/packages/website-ue/src/components/Footer.astro b/packages/website-ue/src/components/Footer.astro index 5d0d9b0da..cd3d1a178 100644 --- a/packages/website-ue/src/components/Footer.astro +++ b/packages/website-ue/src/components/Footer.astro @@ -1,8 +1,10 @@ --- +import { DiscordLogoIcon, GitHubLogoIcon } from "@radix-ui/react-icons"; import packageJson from "../../../../package.json"; import { api } from "../core/api/dynamic"; import { BlitzKitIcon } from "../icons/BlitzKit"; import { Code } from "./Code"; +import { Link } from "./Link"; import { Text } from "./Text"; interface Props { @@ -28,20 +30,36 @@ const strings = await api.strings(locale); flex: 1; max-width: var(--page-width); - .logo { - display: flex; - align-items: center; - gap: var(--space-4); + display: flex; + flex-direction: column; + gap: var(--space-4); - .icon { - width: var(--space-6); - height: var(--space-6); + .row-info { + display: flex; + justify-content: space-between; + align-items: center; + + .logo { + display: flex; + align-items: center; + gap: var(--space-4); + + .icon { + width: var(--space-6); + height: var(--space-6); + } + + .info { + display: flex; + flex-direction: column; + gap: var(--space-1); + } } - .info { + .links { display: flex; - flex-direction: column; - gap: var(--space-1); + align-items: center; + gap: var(--space-5); } } } @@ -50,17 +68,39 @@ const strings = await api.strings(locale);