Skip to content
Merged
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
21 changes: 10 additions & 11 deletions apps/web/src/components/footer.tsx
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
import Link from "next/link"
import { Github, Twitter, MessageCircle, Terminal } from "lucide-react"

const footerLinks = {
type FooterLink = { label: string; href: string; external?: boolean }

const footerLinks: Record<string, FooterLink[]> = {
product: [
{ label: "Features", href: "#features" },
{ label: "Pricing", href: "#pricing" },
{ label: "Changelog", href: "/changelog" },
{ label: "Roadmap", href: "/roadmap" },
{ label: "Changelog", href: "https://github.com/RepliMap/replimap-community/blob/main/CHANGELOG.md", external: true },
],
resources: [
{ label: "Documentation", href: "/docs" },
{ label: "API Reference", href: "/api" },
{ label: "CLI Guide", href: "/cli" },
{ label: "Examples", href: "/examples" },
{ label: "Documentation", href: "https://github.com/RepliMap/replimap-community#readme", external: true },
],
company: [
{ label: "About", href: "/about" },
{ label: "Blog", href: "/blog" },
{ label: "Contact", href: "/contact" },
{ label: "Support", href: "https://github.com/RepliMap/replimap-community/issues", external: true },
{ label: "Privacy", href: "/privacy" },
{ label: "Terms", href: "/terms" },
],
Expand Down Expand Up @@ -51,6 +47,7 @@ export function Footer() {
<li key={index}>
<Link
href={link.href}
{...(link.external ? { target: "_blank", rel: "noopener noreferrer" } : {})}
className="text-muted-foreground hover:text-foreground text-sm transition-colors"
>
{link.label}
Expand All @@ -68,6 +65,7 @@ export function Footer() {
<li key={index}>
<Link
href={link.href}
{...(link.external ? { target: "_blank", rel: "noopener noreferrer" } : {})}
className="text-muted-foreground hover:text-foreground text-sm transition-colors"
>
{link.label}
Expand All @@ -85,6 +83,7 @@ export function Footer() {
<li key={index}>
<Link
href={link.href}
{...(link.external ? { target: "_blank", rel: "noopener noreferrer" } : {})}
className="text-muted-foreground hover:text-foreground text-sm transition-colors"
>
{link.label}
Expand Down Expand Up @@ -119,7 +118,7 @@ export function Footer() {

{/* Bottom Bar */}
<div className="pt-8 border-t border-border flex flex-col md:flex-row justify-between items-center gap-4">
<p className="text-muted-foreground text-sm">© 2025 RepliMap. All rights reserved.</p>
<p className="text-muted-foreground text-sm">© 2025-{new Date().getFullYear()} RepliMap. All rights reserved.</p>
<p className="text-muted-foreground text-sm">Made with ❤️ in New Zealand</p>
</div>
</div>
Expand Down
Loading