Skip to content

Commit cd59911

Browse files
authored
GH-117 Fix navbar logo positon, add seo text. (#117)
Signed-off-by: Martin Sulikowski <[email protected]>
1 parent cf6434e commit cd59911

File tree

1 file changed

+52
-18
lines changed

1 file changed

+52
-18
lines changed

components/footer/Footer.tsx

Lines changed: 52 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,24 @@ export default function Footer() {
1515
<footer className="isolate p-4 text-center sm:p-6 lg:text-left">
1616
<div className="mx-auto max-w-screen-xl px-4 py-8">
1717
<div className="md:flex md:justify-between">
18-
<div className="mb-6 flex items-center justify-center md:mb-0 md:justify-start">
19-
<Link href="/" legacyBehavior>
20-
<a className="flex items-center">
21-
<Image
22-
className="mr-3 h-8 text-white dark:invert"
23-
alt="Eternalcode Logo"
24-
aria-label="Eternalcode Logo"
25-
src={logo}
26-
width="32"
27-
height="32"
28-
/>
29-
<span className="self-center whitespace-nowrap text-2xl font-semibold dark:text-white">
30-
EternalCode.pl
31-
</span>
32-
</a>
18+
<div className="mb-6 flex flex-col items-center md:mb-0 md:items-start">
19+
<Link href="/" className="flex items-center">
20+
<Image
21+
className="mr-3 h-8 text-white dark:invert"
22+
alt="Eternalcode Logo"
23+
aria-label="Eternalcode Logo"
24+
src={logo}
25+
width="32"
26+
height="32"
27+
priority
28+
/>
29+
<span className="self-center whitespace-nowrap text-2xl font-semibold dark:text-white">
30+
EternalCode.pl
31+
</span>
3332
</Link>
33+
<p className="mt-2 max-w-md text-sm text-gray-600 dark:text-gray-400">
34+
Providing high-quality Minecraft plugins and development solutions since 2021.
35+
</p>
3436
</div>
3537

3638
<div className="grid grid-cols-2 justify-center gap-8 sm:grid-cols-3 sm:gap-6 md:justify-end">
@@ -79,6 +81,8 @@ export default function Footer() {
7981
href="https://github.com/EternalCodeTeam"
8082
className="hover:underline"
8183
aria-label="EternalCode GitHub"
84+
target="_blank"
85+
rel="noopener noreferrer"
8286
>
8387
GitHub
8488
</a>
@@ -88,15 +92,19 @@ export default function Footer() {
8892
href="https://discord.com/invite/FQ7jmGBd6c"
8993
className="hover:underline"
9094
aria-label="EternalCode Discord"
95+
target="_blank"
96+
rel="noopener noreferrer"
9197
>
9298
Discord
9399
</a>
94100
</li>
95101
<li className="mb-2">
96102
<a
97-
href="/link"
103+
href="https://www.youtube.com/channel/UC2BEaMJWxxUscN50AD0oY_Q"
98104
className="hover:underline"
99105
aria-label="EternalCode YouTube"
106+
target="_blank"
107+
rel="noopener noreferrer"
100108
>
101109
YouTube
102110
</a>
@@ -106,6 +114,8 @@ export default function Footer() {
106114
href="https://www.tiktok.com/@eternalcode.pl"
107115
className="hover:underline"
108116
aria-label="EternalCode TikTok"
117+
target="_blank"
118+
rel="noopener noreferrer"
109119
>
110120
TikTok
111121
</a>
@@ -115,6 +125,8 @@ export default function Footer() {
115125
href="https://www.spigotmc.org/resources/authors/eternalcodeteam.1570200/"
116126
className="hover:underline"
117127
aria-label="EternalCode SpigotMC"
128+
target="_blank"
129+
rel="noopener noreferrer"
118130
>
119131
SpigotMC
120132
</a>
@@ -124,6 +136,8 @@ export default function Footer() {
124136
href="https://modrinth.com/organization/eternalcodeteam"
125137
className="hover:underline"
126138
aria-label="EternalCode Modrinth"
139+
target="_blank"
140+
rel="noopener noreferrer"
127141
>
128142
Modrinth
129143
</a>
@@ -141,6 +155,8 @@ export default function Footer() {
141155
href="https://repo.eternalcode.pl/#/"
142156
className="hover:underline"
143157
aria-label="EternalCode Repository"
158+
target="_blank"
159+
rel="noopener noreferrer"
144160
>
145161
Repository
146162
</a>
@@ -150,6 +166,8 @@ export default function Footer() {
150166
href="https://docs.eternalcode.pl/"
151167
className="hover:underline"
152168
aria-label="EternalCode Documentations"
169+
target="_blank"
170+
rel="noopener noreferrer"
153171
>
154172
Documentations
155173
</a>
@@ -159,6 +177,8 @@ export default function Footer() {
159177
href="https://status.eternalcode.pl/"
160178
className="hover:underline"
161179
aria-label="EternalCode Status"
180+
target="_blank"
181+
rel="noopener noreferrer"
162182
>
163183
Status
164184
</a>
@@ -168,6 +188,8 @@ export default function Footer() {
168188
href="https://bstats.org/author/vLucky"
169189
className="hover:underline"
170190
aria-label="EternalCode BStats"
191+
target="_blank"
192+
rel="noopener noreferrer"
171193
>
172194
BStats
173195
</a>
@@ -188,41 +210,53 @@ export default function Footer() {
188210
aria-label="EternalCode TikTok link"
189211
className="text-gray-500 transition duration-500 hover:text-gray-900 dark:hover:text-white"
190212
href="https://www.tiktok.com/@eternalcode.pl"
213+
target="_blank"
214+
rel="noopener noreferrer"
191215
>
192216
<TikTokIcon />
193217
</a>
194218
<a
195219
aria-label="EternalCode Youtube link"
196220
className="text-gray-500 transition duration-500 hover:text-gray-900 dark:hover:text-white"
197221
href="https://www.youtube.com/channel/UC2BEaMJWxxUscN50AD0oY_Q"
222+
target="_blank"
223+
rel="noopener noreferrer"
198224
>
199225
<YouTubeIcon />
200226
</a>
201227
<a
202228
aria-label="EternalCode Github link"
203229
className="text-gray-500 transition duration-500 hover:text-gray-900 dark:hover:text-white"
204230
href="https://github.com/EternalCodeTeam"
231+
target="_blank"
232+
rel="noopener noreferrer"
205233
>
206234
<GitHubIcon />
207235
</a>
208236
<a
209237
aria-label="EternalCode Discord link"
210238
className="text-gray-500 transition duration-500 hover:text-gray-900 dark:hover:text-white"
211239
href="https://discord.com/invite/FQ7jmGBd6c"
240+
target="_blank"
241+
rel="noopener noreferrer"
212242
>
213243
<DiscordIcon />
214244
</a>
215245
<a
216246
aria-label="EternalCode SpigotMC link"
217247
className="text-gray-500 transition duration-500 hover:text-gray-900 dark:hover:text-white"
218248
href="https://www.spigotmc.org/resources/authors/eternalcodeteam.1570200/"
249+
target="_blank"
250+
rel="noopener noreferrer"
219251
>
220252
<SpigotMcLikeIcon />
221253
</a>
222254
<a
223-
aria-label="EternalCode Modrinht link"
255+
aria-label="EternalCode Modrinth link"
224256
className="text-gray-500 transition duration-500 hover:text-gray-900 dark:hover:text-white"
225-
href="https://modrinth.com/user/EternalCodeTeam"
257+
href="https://modrinth.com/organization/eternalcodeteam"
258+
target="_blank"
259+
rel="noopener noreferrer"
226260
>
227261
<ModrinthIcon />
228262
</a>

0 commit comments

Comments
 (0)