summaryrefslogtreecommitdiff
path: root/website/src/components/Footer.tsx
blob: 459a575e23c68415e4e48d830e1a1ac53b9b7ecf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
"use client";

import { Mail } from "lucide-react";
import { Github, Twitter } from "./Icons";
import Link from "next/link";
import { useTranslations } from "@/lib/i18n";

export default function Footer() {
  const t = useTranslations();

  return (
    <footer className="py-24 bg-white dark:bg-black transition-colors border-t border-zinc-100 dark:border-zinc-800">
      <div className="max-w-7xl mx-auto px-6">
        <div className="grid grid-cols-1 md:grid-cols-4 gap-12 mb-24">
          <div className="col-span-2 space-y-6">
            <Link href="/" className="text-2xl font-bold tracking-tighter">
              awesome-agent-skills
            </Link>
            <p className="max-w-xs text-sm text-zinc-500 dark:text-zinc-400 font-medium leading-relaxed">
              {t.footer.bio}
            </p>
            <div className="max-w-xs text-xs text-zinc-500 dark:text-zinc-400 font-medium space-y-1">
              <p>{t.footer.contactTitle}</p>
              <ul className="list-disc pl-4 space-y-0.5">
                <li>LinkedIn: <a href="https://www.linkedin.com/in/heilcheng/" target="_blank" rel="noopener noreferrer" className="text-zinc-900 dark:text-white hover:underline">Hailey Cheng (Cheng Hei Lam)</a></li>
                <li>X / Twitter: <a href="https://x.com/haileyhmt" target="_blank" rel="noopener noreferrer" className="text-zinc-900 dark:text-white hover:underline">@haileyhmt</a></li>
                <li>Email: <a href="mailto:haileycheng@proton.me" className="text-zinc-900 dark:text-white hover:underline">haileycheng@proton.me</a></li>
              </ul>
            </div>
            
            <div className="max-w-xs text-xs text-zinc-500 dark:text-zinc-600 bg-zinc-50 dark:bg-zinc-900/50 p-3 rounded-lg mt-2 font-mono">
              <p className="font-semibold text-[10px] uppercase tracking-wider mb-1">{t.footer.citation}</p>
              @misc&#123;awesome-agent-skills,
                author = &#123;Hailey Cheng (Cheng Hei Lam)&#125;,
                title = &#123;Agent Skill Index&#125;,
                year = &#123;2026&#125;,
                publisher = &#123;GitHub&#125;,
                url = &#123;https://github.com/heilcheng/awesome-agent-skills&#125;
              &#125;
            </div>

            <div className="flex items-center gap-4 pt-2">
              <a href="https://agent-skill.co" target="_blank" rel="noopener noreferrer" className="px-4 py-2 bg-zinc-900 dark:bg-white text-white dark:text-zinc-900 rounded-lg text-xs font-semibold hover:opacity-80 transition-opacity">
                agent-skill.co
              </a>
              <a href="https://github.com/heilcheng/awesome-agent-skills" className="p-3 bg-zinc-50 dark:bg-zinc-900 rounded-2xl hover:scale-110 transition-transform">
                <Github className="w-5 h-5" />
              </a>
              <a href="https://x.com/haileyhmt" target="_blank" rel="noopener noreferrer" className="p-3 bg-zinc-50 dark:bg-zinc-900 rounded-2xl hover:scale-110 transition-transform">
                <Twitter className="w-5 h-5" />
              </a>
              <a href="mailto:haileycheng@proton.me" className="p-3 bg-zinc-50 dark:bg-zinc-900 rounded-2xl hover:scale-110 transition-transform">
                <Mail className="w-5 h-5" />
              </a>
            </div>
          </div>

          <div className="space-y-6">
            <h4 className="text-[10px] font-bold uppercase tracking-widest text-zinc-400">{t.footer.nav.title}</h4>
            <ul className="space-y-4">
              {t.footer.nav.items.map((item: string) => (
                <li key={item}>
                  <Link href={`#${item.toLowerCase().replace(/ /g, "-")}`} className="text-sm font-bold text-zinc-500 dark:text-zinc-400 hover:text-black dark:hover:text-white transition-colors">
                    {item}
                  </Link>
                </li>
              ))}
            </ul>
          </div>

          <div className="space-y-6">
            <h4 className="text-[10px] font-bold uppercase tracking-widest text-zinc-400">{t.footer.resources.title}</h4>
            <ul className="space-y-4">
              {t.footer.resources.items.map((item: { label: string; href: string }) => (
                <li key={item.label}>
                  <a href={item.href} target={item.href.startsWith("http") ? "_blank" : undefined} rel="noopener noreferrer" className="text-sm font-bold text-zinc-500 dark:text-zinc-400 hover:text-black dark:hover:text-white transition-colors">
                    {item.label}
                  </a>
                </li>
              ))}
            </ul>
          </div>
        </div>

        <div className="pt-12 border-t border-zinc-100 dark:border-zinc-800 flex flex-col md:flex-row items-center justify-between gap-6">
          <p className="text-[10px] uppercase font-bold tracking-widest text-zinc-400">
            {t.footer.bottom.copyright}
          </p>
          <div className="flex items-center gap-6">
            <span className="text-[10px] uppercase font-bold tracking-widest text-zinc-400">{t.footer.bottom.builtWith}</span>
            <div className="w-px h-4 bg-zinc-200 dark:bg-zinc-800" />
            <span className="text-[10px] uppercase font-bold tracking-widest text-zinc-400">{t.footer.bottom.curatedBy}</span>
          </div>
        </div>
      </div>
    </footer>
  );
}