|
1 | 1 | import Link from "next/link"; |
2 | 2 |
|
3 | | -const links = ["Agentic QA", "Agentic Development", "GitHub"]; |
| 3 | +const footerGroups = [ |
| 4 | + { |
| 5 | + title: "Agent Device", |
| 6 | + links: [ |
| 7 | + { href: "https://github.com/callstackincubator/agent-device", label: "GitHub" }, |
| 8 | + { href: "/agentic-qa", label: "Agentic QA" }, |
| 9 | + { href: "/agentic-development", label: "Agentic Development" }, |
| 10 | + ], |
| 11 | + }, |
| 12 | + { |
| 13 | + title: "Documentation", |
| 14 | + links: [ |
| 15 | + { href: "https://github.com/callstackincubator/agent-device", label: "Documentation" }, |
| 16 | + { href: "https://github.com/callstackincubator/agent-device", label: "GitHub" }, |
| 17 | + ], |
| 18 | + }, |
| 19 | + { |
| 20 | + title: "Callstack", |
| 21 | + links: [ |
| 22 | + { href: "https://www.callstack.com/open-source", label: "Open Source" }, |
| 23 | + { href: "https://www.callstack.com/services", label: "Services" }, |
| 24 | + { href: "https://www.callstack.com/case-studies", label: "Case Studies" }, |
| 25 | + { href: "https://www.callstack.com/technologies/react-native", label: "Technology" }, |
| 26 | + ], |
| 27 | + }, |
| 28 | + { |
| 29 | + title: "Social", |
| 30 | + links: [ |
| 31 | + { href: "https://x.com/callstackio", label: "X" }, |
| 32 | + { href: "https://www.youtube.com/@callstackengineers", label: "YouTube" }, |
| 33 | + { href: "https://www.linkedin.com/company/callstackio", label: "LinkedIn" }, |
| 34 | + { href: "https://www.instagram.com/callstackio", label: "Instagram" }, |
| 35 | + { href: "https://github.com/callstack", label: "GitHub" }, |
| 36 | + ], |
| 37 | + }, |
| 38 | +] as const; |
4 | 39 |
|
5 | 40 | export function Footer() { |
6 | 41 | return ( |
7 | | - <footer className="border-t border-black/10 bg-white px-5 py-16 sm:px-8 lg:px-16"> |
8 | | - <div className="mx-auto flex max-w-[1312px] flex-col justify-between gap-10 md:flex-row"> |
| 42 | + <footer className="border-t border-black/10 bg-white px-5 py-20 sm:px-8 lg:px-16 lg:py-[100px]"> |
| 43 | + <div className="mx-auto grid max-w-[1312px] gap-14 md:grid-cols-[1fr_2fr] lg:min-h-[130px]"> |
9 | 44 | <div> |
10 | | - <Link href="/" className="font-display text-2xl font-semibold text-black"> |
11 | | - Agent Device |
| 45 | + <Link href="https://www.callstack.com" className="font-display text-2xl font-semibold text-black"> |
| 46 | + (callstack) |
12 | 47 | </Link> |
13 | | - <p className="mt-3 max-w-[420px] leading-[1.5] text-black/50"> |
14 | | - Mobile app automation for agents, built by Callstack. |
| 48 | + <p className="mt-4 max-w-[220px] text-sm font-medium leading-[1.45] text-black/50"> |
| 49 | + Mobile by Callstack. |
| 50 | + <br /> |
| 51 | + AI Native Engineering. |
| 52 | + <br /> |
| 53 | + Made for React Native. |
15 | 54 | </p> |
16 | 55 | </div> |
17 | | - <nav className="flex flex-wrap gap-6 text-sm font-medium text-black/60"> |
18 | | - {links.map((link) => ( |
19 | | - <Link |
20 | | - href={link === "GitHub" ? "https://github.com/callstackincubator/agent-device" : `/${link.toLowerCase().replaceAll(" ", "-")}`} |
21 | | - key={link} |
22 | | - > |
23 | | - {link} |
24 | | - </Link> |
| 56 | + <nav |
| 57 | + aria-label="Footer navigation" |
| 58 | + className="grid gap-10 text-sm font-medium text-black/45 sm:grid-cols-2 lg:grid-cols-4 lg:gap-12" |
| 59 | + > |
| 60 | + {footerGroups.map((group) => ( |
| 61 | + <div key={group.title}> |
| 62 | + <p className="font-medium text-black">{group.title}</p> |
| 63 | + <ul className="mt-4 grid gap-2"> |
| 64 | + {group.links.map((link) => ( |
| 65 | + <li key={`${group.title}-${link.label}`}> |
| 66 | + <Link className="transition hover:text-black" href={link.href}> |
| 67 | + {link.label} |
| 68 | + </Link> |
| 69 | + </li> |
| 70 | + ))} |
| 71 | + </ul> |
| 72 | + </div> |
25 | 73 | ))} |
26 | 74 | </nav> |
27 | 75 | </div> |
|
0 commit comments