-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFooter.tsx
More file actions
113 lines (111 loc) · 3.72 KB
/
Footer.tsx
File metadata and controls
113 lines (111 loc) · 3.72 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
import Link from "next/link"
import Image from "next/image"
import { useTranslation } from "next-i18next"
import { Socials } from "./Socials"
import javabinLogo from "../../public/img/logos/javaBin-logo-horizontal-WHITE.png"
export const Footer = () => {
const { t } = useTranslation("common", { keyPrefix: "footer" })
return (
<footer className="bg-hero bg-cover bg-center text-white">
<div className="bg-[hsl(0_57%_31%_/_74%)] p-5">
<div className="mx-auto grid max-w-4xl grid-cols-1 gap-4 md:grid-cols-2">
<div className="px-5 py-2.5">
<strong className="block font-montserrat text-xl uppercase text-jz-yellow">
javabin
</strong>
<p className="max-w-[500px]">{t("aboutShortText")}</p>
<Link href="/" title="javaBin (java.no)">
<Image src={javabinLogo} width="150" alt="javabin logo"></Image>
</Link>
</div>
<div className="grid grid-cols-2 gap-4 px-5 py-2.5">
<div>
<strong className="block font-montserrat text-xl uppercase text-jz-yellow">
{t("links")}
</strong>
<ul className="[&_li]:pb-0.5">
<li>
<Link href="/" className="text-white hover:text-jz-yellow">
{t("home")}
</Link>
</li>
<li>
<Link
href="/#locations"
className="text-white hover:text-jz-yellow"
>
{t("meetups")}
</Link>
</li>
<li>
<Link
href="/utlegg"
className="text-white hover:text-jz-yellow"
>
{t("expenseForm")}
</Link>
</li>
<li>
<Link
href="https://github.com/javaBin"
className="text-white hover:text-jz-yellow"
>
{t("github")}
</Link>
</li>
<li>
<Link
href="/principles"
className="text-white hover:text-jz-yellow"
>
{t("codeOfConduct")}
</Link>
</li>
<li>
<Link
href="/gir-tilbake"
className="text-white hover:text-jz-yellow"
>
{t("girTilbake")}
</Link>
</li>
<li>
<Link
href="/#contact"
className="text-white hover:text-jz-yellow"
>
{t("contact")}
</Link>
</li>
</ul>
</div>
<div>
<strong className="block font-montserrat text-xl uppercase text-jz-yellow">
{t("external")}
</strong>
<ul className="[&_li]:pb-0.5">
<li>
<Link
href="http://www.javazone.no"
className="text-white hover:text-jz-yellow"
>
JavaZone
</Link>
</li>
<li>
<Link
href="http://www.teknologihuset.no"
className="text-white hover:text-jz-yellow"
>
Teknologihuset
</Link>
</li>
</ul>
</div>
</div>
</div>
</div>
<Socials />
</footer>
)
}