-
Notifications
You must be signed in to change notification settings - Fork 85
Expand file tree
/
Copy pathFooter.tsx
More file actions
89 lines (84 loc) · 2.98 KB
/
Copy pathFooter.tsx
File metadata and controls
89 lines (84 loc) · 2.98 KB
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
import Image from "next/image";
import Link from "next/link";
const columns = [
{
title: "Featured",
links: ["Air Force 1", "Huarache", "Air Max 90", "Air Max 95"],
},
{
title: "Shoes",
links: ["All Shoes", "Custom Shoes", "Jordan Shoes", "Running Shoes"],
},
{
title: "Clothing",
links: ["All Clothing", "Modest Wear", "Hoodies & Pullovers", "Shirts & Tops"],
},
{
title: "Kids'",
links: ["Infant & Toddler Shoes", "Kids' Shoes", "Kids' Jordan Shoes", "Kids' Basketball Shoes"],
},
] as const;
export default function Footer() {
return (
<footer className="bg-dark-900 text-light-100">
<div className="mx-auto max-w-7xl px-4 py-12 sm:px-6 lg:px-8">
<div className="grid grid-cols-1 items-start gap-8 md:grid-cols-12">
<div className="flex items-start md:col-span-3">
<Image src="/logo.svg" alt="Nike" width={48} height={48} />
</div>
<div className="grid grid-cols-2 gap-8 sm:grid-cols-4 md:col-span-7">
{columns.map((col) => (
<div key={col.title}>
<h4 className="mb-4 text-heading-3">{col.title}</h4>
<ul className="space-y-3">
{col.links.map((l) => (
<li key={l}>
<Link
href="#"
className="text-body text-light-400 hover:text-light-300"
>
{l}
</Link>
</li>
))}
</ul>
</div>
))}
</div>
<div className="flex gap-4 md:col-span-2 md:justify-end">
{[
{ src: "/x.svg", alt: "X" },
{ src: "/facebook.svg", alt: "Facebook" },
{ src: "/instagram.svg", alt: "Instagram" },
].map((s) => (
<Link
key={s.alt}
href="#"
aria-label={s.alt}
className="inline-flex h-10 w-10 items-center justify-center rounded-full bg-light-100"
>
<Image src={s.src} alt={s.alt} width={18} height={18} />
</Link>
))}
</div>
</div>
</div>
<div className="border-t border-white/10">
<div className="mx-auto flex max-w-7xl flex-col items-center justify-between gap-4 px-4 py-4 text-light-400 sm:flex-row sm:px-6 lg:px-8">
<div className="flex items-center gap-3 text-caption">
<Image src="/globe.svg" alt="" width={16} height={16} />
<span>Croatia</span>
<span>© 2025 Nike, Inc. All Rights Reserved</span>
</div>
<ul className="flex items-center gap-6 text-caption">
{["Guides", "Terms of Sale", "Terms of Use", "Nike Privacy Policy"].map((t) => (
<li key={t}>
<Link href="#">{t}</Link>
</li>
))}
</ul>
</div>
</div>
</footer>
);
}