Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
import { env } from "@/env";

export function Footer() {
const currentYear = new Date().getFullYear();

return (
<footer className="mt-auto w-full border-t border-border/50 py-5">
<div className="mx-auto flex w-[95vw] max-w-screen-2xl items-center justify-between">
<p className="text-sm text-muted-foreground">© 2025 Superset</p>
<p className="text-sm text-muted-foreground">
© {currentYear} Superset
</p>
<div className="flex items-center gap-4">
<a
href={`${env.NEXT_PUBLIC_MARKETING_URL}/terms`}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ interface FooterProps {
}

export function Footer({ showSocial = true }: FooterProps) {
const currentYear = new Date().getFullYear();

const socialIcons = {
x: `${env.NEXT_PUBLIC_MARKETING_URL}/assets/emails/x.png`,
instagram: `${env.NEXT_PUBLIC_MARKETING_URL}/assets/emails/instagram.png`,
Expand Down Expand Up @@ -96,7 +98,7 @@ export function Footer({ showSocial = true }: FooterProps) {

{/* Company Info */}
<Text className="text-muted text-xs leading-none m-0">
© 2026 Superset. All rights reserved.
© {currentYear} Superset. All rights reserved.
</Text>
</Section>
);
Expand Down
Loading