From 597f378f17493bb7a825606a10ba0d10f6d30921 Mon Sep 17 00:00:00 2001 From: Michel de Graaf Date: Tue, 18 Aug 2026 16:18:27 +0200 Subject: [PATCH] docs(website): drop soulfind server link from footer --- website/src/components/layout/footer.tsx | 65 +++++++++++++----------- 1 file changed, 35 insertions(+), 30 deletions(-) diff --git a/website/src/components/layout/footer.tsx b/website/src/components/layout/footer.tsx index 20c83b0..d6a856f 100644 --- a/website/src/components/layout/footer.tsx +++ b/website/src/components/layout/footer.tsx @@ -1,62 +1,67 @@ -import { Link } from 'react-router' +import { Link } from "react-router"; -import { Wordmark } from '@/components/brand/wordmark' -import { Wrap } from '@/components/ui/layout' -import { LINKS, VERSION } from '@/lib/links' +import { Wordmark } from "@/components/brand/wordmark"; +import { Wrap } from "@/components/ui/layout"; +import { LINKS, VERSION } from "@/lib/links"; interface FooterLink { - label: string - href: string + label: string; + href: string; } interface FooterColumn { - heading: string - links: readonly FooterLink[] + heading: string; + links: readonly FooterLink[]; } const COLUMNS: readonly FooterColumn[] = [ { - heading: 'Project', + heading: "Project", links: [ - { label: 'GitHub', href: LINKS.gh }, - { label: 'Issues', href: LINKS.issues }, - { label: 'Releases', href: LINKS.releases }, - { label: 'Changelog', href: LINKS.changelog }, - { label: 'soulfind server', href: LINKS.soulfind }, + { label: "GitHub", href: LINKS.gh }, + { label: "Issues", href: LINKS.issues }, + { label: "Releases", href: LINKS.releases }, + { label: "Changelog", href: LINKS.changelog }, ], }, { - heading: 'Packages', + heading: "Packages", links: [ - { label: 'crates.io · client', href: LINKS.cratesClient }, - { label: 'crates.io · lib', href: LINKS.cratesLib }, - { label: 'docs.rs', href: LINKS.docsrs }, - { label: 'rustup', href: LINKS.rustup }, + { label: "crates.io · client", href: LINKS.cratesClient }, + { label: "crates.io · lib", href: LINKS.cratesLib }, + { label: "docs.rs", href: LINKS.docsrs }, + { label: "rustup", href: LINKS.rustup }, ], }, { - heading: 'Read', + heading: "Read", links: [ - { label: 'Docs', href: '/docs' }, - { label: 'Install', href: '/install' }, - { label: 'Community', href: '/community' }, - { label: 'License · MIT', href: LINKS.license }, + { label: "Docs", href: "/docs" }, + { label: "Install", href: "/install" }, + { label: "Community", href: "/community" }, + { label: "License · MIT", href: LINKS.license }, ], }, -] +]; -const LINK_CLASS = 'text-[12.5px] text-secondary hover:text-primary sm:text-[13px]' +const LINK_CLASS = + "text-[12.5px] text-secondary hover:text-primary sm:text-[13px]"; const FooterAnchor = ({ label, href }: FooterLink) => - href.startsWith('/') ? ( + href.startsWith("/") ? ( {label} ) : ( - + {label} - ) + ); export const Footer = () => ( -) +);