-
Notifications
You must be signed in to change notification settings - Fork 134
/
Footer.js
130 lines (128 loc) · 4.55 KB
/
Footer.js
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
import React from 'react';
import { useRouter } from 'next/router';
import { useTranslation } from 'react-i18next';
import {
API_FROM_EMAIL,
GITHUB_REPO,
TWITTER,
INSTAGRAM,
LINKEDIN,
YOUTUBE,
NKOWAOKWU,
NKOWAOKWU_CHROME,
APP_URL,
} from '../../../siteConstants';
const Footer = () => {
const router = useRouter();
const { t } = useTranslation();
return (
<div className="w-full">
<div className="flex flex-row items-center justify-center bg-gradient-to-t from-gray-50 to-white h-56">
<div className="flex flex-col justify-center items-center">
<h1 className="text-2xl text-center items-center p-5">
{t('Interested in what you see? Register for an API Key!')}
</h1>
<button
type="button"
className="mt-4 rounded-full bg-green-500 text-white border-2 py-2 px-4 hover:bg-transparent
hover:text-gray-700 hover:border-green-500 transition-all duration-200"
onClick={() => router.push('/signup')}
>
{t('Get an API Key')}
</button>
</div>
</div>
<div className="w-full bg-gray-100" style={{ height: '1px' }} />
<footer
className={`flex flex-col text-center lg:text-left lg:flex-row
justify-center w-full bg-gradient-to-t py-4`}
>
<div className="flex flex-row items-center justify-center">
<div>
<div
className="flex flex-col lg:flex-row justify-center items-center
lg:items-start my-6 space-y-12 lg:space-y-0 lg:space-x-32"
>
<div className="space-y-4">
<h3 className="font-bold">Projects</h3>
<ul className="list-none space-y-3">
<li>
<a href={APP_URL} className="font-normal border-b border-b-gray-500">
Igbo API
</a>
</li>
<li>
<a href={NKOWAOKWU} className="font-normal border-b border-b-gray-500">
Nkọwa okwu
</a>
</li>
<li>
<a href={NKOWAOKWU_CHROME} className="font-normal border-b border-b-gray-500">
Chrome Extension
</a>
</li>
</ul>
</div>
<div className="space-y-4">
<h3 className="font-bold">Organization</h3>
<ul className="list-none space-y-3">
<li>
<a href="/about" className="font-normal border-b border-b-gray-500">
About
</a>
</li>
<li>
<a href="/terms" className="font-normal border-b border-b-gray-500">
Terms of Service
</a>
</li>
<li>
<a href="/privacy" className="font-normal border-b border-b-gray-500">
Privacy
</a>
</li>
</ul>
</div>
<div className="space-y-4">
<h3 className="font-bold">Social</h3>
<ul className="list-none space-y-3">
<li>
<a href={GITHUB_REPO} className="font-normal border-b border-b-gray-500">
GitHub
</a>
</li>
<li>
<a href={TWITTER} className="font-normal border-b border-b-gray-500">
Twitter
</a>
</li>
<li>
<a href={INSTAGRAM} className="font-normal border-b border-b-gray-500">
Instagram
</a>
</li>
<li>
<a href={LINKEDIN} className="font-normal border-b border-b-gray-500">
LinkedIn
</a>
</li>
<li>
<a href={YOUTUBE} className="font-normal border-b border-b-gray-500">
YouTube
</a>
</li>
<li>
<a href={`mailto:${API_FROM_EMAIL}`} className="font-normal border-b border-b-gray-500">
Email
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</footer>
</div>
);
};
export default Footer;