SurfSense/surfsense_web/components/homepage/footer-new.tsx
DESKTOP-RTLN3BA\$punk 7ea840dbb2
Some checks failed
Build and Push Docker Images / tag_release (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-24.04-arm, linux/arm64, arm64) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-latest, linux/amd64, amd64) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-24.04-arm, linux/arm64, arm64) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-latest, linux/amd64, amd64) (push) Has been cancelled
Build and Push Docker Images / create_manifest (backend, surfsense-backend) (push) Has been cancelled
Build and Push Docker Images / create_manifest (web, surfsense-web) (push) Has been cancelled
feat: enhance SurfSense with new skills, blog section, and improve SEO metadata
- Added multiple new skills to skills-lock.json from the repository `aaron-he-zhu/seo-geo-claude-skills`.
- Introduced `fuzzy-search` dependency in package.json for improved search functionality.
- Updated pnpm-lock.yaml to include the new `fuzzy-search` package.
- Enhanced SEO metadata across various pages, including canonical links and descriptions for better search visibility.
- Improved layout and structure of several components, including the homepage and changelog, to enhance user experience.
2026-04-11 23:38:12 -07:00

188 lines
5.1 KiB
TypeScript

import {
IconBrandDiscord,
IconBrandGithub,
IconBrandLinkedin,
IconBrandTwitter,
} from "@tabler/icons-react";
import Link from "next/link";
import { Logo } from "@/components/Logo";
export function FooterNew() {
const pages = [
// {
// title: "All Products",
// href: "#",
// },
// {
// title: "Studio",
// href: "#",
// },
// {
// title: "Clients",
// href: "#",
// },
{
title: "Pricing",
href: "/pricing",
},
{
title: "Blog",
href: "/blog",
},
{
title: "Docs",
href: "/docs",
},
{
title: "Contact Us",
href: "/contact",
},
{
title: "Announcements",
href: "/announcements",
},
];
const socials = [
{
title: "Twitter",
href: "https://x.com/mod_setter",
icon: IconBrandTwitter,
},
{
title: "LinkedIn",
href: "https://www.linkedin.com/company/surfsense/",
icon: IconBrandLinkedin,
},
{
title: "GitHub",
href: "https://github.com/MODSetter",
icon: IconBrandGithub,
},
{
title: "Discord",
href: "https://discord.gg/ejRNvftDp9",
icon: IconBrandDiscord,
},
];
const legals = [
{
title: "Privacy Policy",
href: "/privacy",
},
{
title: "Terms of Service",
href: "/terms",
},
// {
// title: "Cookie Policy",
// href: "#",
// },
];
const signups = [
{
title: "Sign In",
href: "/login",
},
// {
// title: "Login",
// href: "#",
// },
// {
// title: "Forgot Password",
// href: "#",
// },
];
return (
<div className="border-t border-neutral-100 dark:border-white/[0.1] px-8 py-20 bg-white dark:bg-neutral-950 w-full relative overflow-hidden">
<div className="max-w-7xl mx-auto text-sm text-neutral-500 flex sm:flex-row flex-col justify-between items-start md:px-8">
<div>
<div className="mr-0 md:mr-4 md:flex mb-4">
<Logo className="h-6 w-6 rounded-md mr-2" />
<span className="dark:text-white/90 text-gray-800 text-lg font-bold">SurfSense</span>
</div>
<div className="mt-2 ml-2">
&copy; SurfSense {new Date().getFullYear()}. All rights reserved.
</div>
</div>
<div className="grid grid-cols-2 lg:grid-cols-4 gap-10 items-start mt-10 sm:mt-0 md:mt-0">
<div className="flex justify-center space-y-4 flex-col w-full">
<p className="transition-colors hover:text-text-neutral-800 text-neutral-600 dark:text-neutral-300 font-bold">
Pages
</p>
<ul className="transition-colors hover:text-text-neutral-800 text-neutral-600 dark:text-neutral-300 list-none space-y-4">
{pages.map((page, idx) => (
<li key={"pages" + idx} className="list-none">
<Link className="transition-colors hover:text-text-neutral-800 " href={page.href}>
{page.title}
</Link>
</li>
))}
</ul>
</div>
<div className="flex justify-center space-y-4 flex-col">
<p className="transition-colors hover:text-text-neutral-800 text-neutral-600 dark:text-neutral-300 font-bold">
Socials
</p>
<ul className="transition-colors hover:text-text-neutral-800 text-neutral-600 dark:text-neutral-300 list-none space-y-4">
{socials.map((social, idx) => {
const Icon = social.icon;
return (
<li key={"social" + idx} className="list-none">
<Link
className="transition-colors hover:text-text-neutral-800 flex items-center gap-2"
href={social.href}
target="_blank"
rel="noopener noreferrer"
>
<Icon className="h-5 w-5" />
{social.title}
</Link>
</li>
);
})}
</ul>
</div>
<div className="flex justify-center space-y-4 flex-col">
<p className="transition-colors hover:text-text-neutral-800 text-neutral-600 dark:text-neutral-300 font-bold">
Legal
</p>
<ul className="transition-colors hover:text-text-neutral-800 text-neutral-600 dark:text-neutral-300 list-none space-y-4">
{legals.map((legal, idx) => (
<li key={"legal" + idx} className="list-none">
<Link
className="transition-colors hover:text-text-neutral-800 "
href={legal.href}
>
{legal.title}
</Link>
</li>
))}
</ul>
</div>
<div className="flex justify-center space-y-4 flex-col">
<p className="transition-colors hover:text-text-neutral-800 text-neutral-600 dark:text-neutral-300 font-bold">
Register
</p>
<ul className="transition-colors hover:text-text-neutral-800 text-neutral-600 dark:text-neutral-300 list-none space-y-4">
{signups.map((auth, idx) => (
<li key={"auth" + idx} className="list-none">
<Link className="transition-colors hover:text-text-neutral-800 " href={auth.href}>
{auth.title}
</Link>
</li>
))}
</ul>
</div>
</div>
</div>
<p className="text-center mt-20 text-5xl md:text-9xl lg:text-[12rem] xl:text-[13rem] font-bold bg-clip-text text-transparent bg-gradient-to-b from-neutral-50 dark:from-neutral-950 to-neutral-200 dark:to-neutral-800 inset-x-0">
SurfSense
</p>
</div>
);
}