Skip to content

Commit b0579e4

Browse files
committed
feat: update footer and nav components with new logo and content; add favicon
1 parent 5895789 commit b0579e4

File tree

7 files changed

+55
-63
lines changed

7 files changed

+55
-63
lines changed

next.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ const nextConfig: NextConfig = {
44
/* config options here */
55
output: "export",
66
images: {
7+
unoptimized: true,
78
remotePatterns: [
89
{
910
protocol: "https",

public/favicon.ico

4.19 KB
Binary file not shown.

public/hoc-icon.png

4.75 KB
Loading

src/app/components/Footer.tsx

Lines changed: 24 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -6,75 +6,52 @@ export default function Footer() {
66
<div className="mx-auto w-full max-w-screen-xl p-4 py-6 lg:py-8">
77
<div className="md:flex md:justify-between">
88
<div className="mb-6 md:mb-0">
9-
<a
10-
href="https://hallofcodes.github.io/"
11-
className="flex items-center"
12-
>
13-
<Image
14-
src="https://avatars.githubusercontent.com/u/93744673?s=200&v=4"
15-
className="rounded-full h-8 me-3"
16-
width={32}
17-
height={32}
18-
alt="Hall of Codes Logo"
19-
/>
20-
<span className="self-center text-2xl font-semibold whitespace-nowrap dark:text-white">
21-
Hall of Codes
22-
</span>
23-
</a>
9+
<Image
10+
src="/hoc-icon.png"
11+
className="rounded-full h-15 w-15 me-3 mb-4"
12+
width={32}
13+
height={32}
14+
alt="Hall of Codes Logo"
15+
/>
16+
<span className="self-center text-2xl font-semibold whitespace-nowrap dark:text-white">
17+
Hall of Codes
18+
</span>
19+
<p>Merging Programmers Beyond Conflicts</p>
2420
</div>
2521
<div className="grid grid-cols-2 gap-8 sm:gap-6 sm:grid-cols-3">
2622
<div>
2723
<h2 className="mb-6 text-sm font-semibold text-gray-900 uppercase dark:text-white">
28-
Follow us
24+
Notable Projects
2925
</h2>
30-
<ul className="text-gray-500 dark:text-gray-400 font-medium">
31-
<li className="mb-4">
32-
<a
33-
href="https://github.com/hallofcodes"
34-
className="hover:underline "
35-
>
36-
Github
37-
</a>
38-
</li>
39-
<li className="mb-4">
40-
<a
41-
href="https://facebook.com/hallofcodes"
42-
className="hover:underline"
43-
>
44-
Facebook
45-
</a>
46-
</li>
47-
</ul>
4826
</div>
4927
<div>
5028
<h2 className="mb-6 text-sm font-semibold text-gray-900 uppercase dark:text-white">
5129
Legal
5230
</h2>
5331
<ul className="text-gray-500 dark:text-gray-400 font-medium">
54-
<li className="mb-4">
32+
<li className="mb-1">
5533
<a href="/privacy" className="hover:underline">
5634
Privacy Policy
5735
</a>
5836
</li>
59-
<li>
37+
<li className="mb-1">
6038
<a href="/terms" className="hover:underline">
6139
Terms &amp; Conditions
6240
</a>
6341
</li>
64-
<a
65-
href="/community-guidelines"
66-
className="hover:underline"
67-
>
68-
Community Guidelines
69-
</a>
42+
<li className="mb-1">
43+
<a href="/community-guidelines" className="hover:underline">
44+
Community Guidelines
45+
</a>
46+
</li>
7047
</ul>
7148
</div>
7249
</div>
7350
</div>
7451
<hr className="my-6 border-gray-200 sm:mx-auto dark:border-gray-700 lg:my-8" />
7552
<div className="sm:flex sm:items-center sm:justify-between">
7653
<span className="text-sm text-gray-500 sm:text-center dark:text-gray-400">
77-
© 2024{" "}
54+
&copy; {new Date().getFullYear()}{" "}
7855
<a
7956
href="https://hallofcodes.github.io/"
8057
className="hover:underline"
@@ -96,28 +73,13 @@ export default function Footer() {
9673
viewBox="0 0 8 19"
9774
>
9875
<path
99-
fill-rule="evenodd"
76+
fillRule="evenodd"
10077
d="M6.135 3H8V0H6.135a4.147 4.147 0 0 0-4.142 4.142V6H0v3h2v9.938h3V9h2.021l.592-3H5V3.591A.6.6 0 0 1 5.592 3h.543Z"
101-
clip-rule="evenodd"
78+
clipRule="evenodd"
10279
/>
10380
</svg>
10481
<span className="sr-only">Facebook page</span>
10582
</a>
106-
<a
107-
href="https://discord.gg/u8JnWbaFgK"
108-
className="text-gray-500 hover:text-gray-900 dark:hover:text-white ms-5"
109-
>
110-
<svg
111-
className="w-4 h-4"
112-
aria-hidden="true"
113-
xmlns="http://www.w3.org/2000/svg"
114-
fill="currentColor"
115-
viewBox="0 0 21 16"
116-
>
117-
<path d="M16.942 1.556a16.3 16.3 0 0 0-4.126-1.3 12.04 12.04 0 0 0-.529 1.1 15.175 15.175 0 0 0-4.573 0 11.585 11.585 0 0 0-.535-1.1 16.274 16.274 0 0 0-4.129 1.3A17.392 17.392 0 0 0 .182 13.218a15.785 15.785 0 0 0 4.963 2.521c.41-.564.773-1.16 1.084-1.785a10.63 10.63 0 0 1-1.706-.83c.143-.106.283-.217.418-.33a11.664 11.664 0 0 0 10.118 0c.137.113.277.224.418.33-.544.328-1.116.606-1.71.832a12.52 12.52 0 0 0 1.084 1.785 16.46 16.46 0 0 0 5.064-2.595 17.286 17.286 0 0 0-2.973-11.59ZM6.678 10.813a1.941 1.941 0 0 1-1.8-2.045 1.93 1.93 0 0 1 1.8-2.047 1.919 1.919 0 0 1 1.8 2.047 1.93 1.93 0 0 1-1.8 2.045Zm6.644 0a1.94 1.94 0 0 1-1.8-2.045 1.93 1.93 0 0 1 1.8-2.047 1.918 1.918 0 0 1 1.8 2.047 1.93 1.93 0 0 1-1.8 2.045Z" />
118-
</svg>
119-
<span className="sr-only">Discord community</span>
120-
</a>
12183
<a
12284
href="https://github.com/hallofcodes"
12385
className="text-gray-500 hover:text-gray-900 dark:hover:text-white ms-5"
@@ -130,9 +92,9 @@ export default function Footer() {
13092
viewBox="0 0 20 20"
13193
>
13294
<path
133-
fill-rule="evenodd"
95+
fillRule="evenodd"
13496
d="M10 .333A9.911 9.911 0 0 0 6.866 19.65c.5.092.678-.215.678-.477 0-.237-.01-1.017-.014-1.845-2.757.6-3.338-1.169-3.338-1.169a2.627 2.627 0 0 0-1.1-1.451c-.9-.615.07-.6.07-.6a2.084 2.084 0 0 1 1.518 1.021 2.11 2.11 0 0 0 2.884.823c.044-.503.268-.973.63-1.325-2.2-.25-4.516-1.1-4.516-4.9A3.832 3.832 0 0 1 4.7 7.068a3.56 3.56 0 0 1 .095-2.623s.832-.266 2.726 1.016a9.409 9.409 0 0 1 4.962 0c1.89-1.282 2.717-1.016 2.717-1.016.366.83.402 1.768.1 2.623a3.827 3.827 0 0 1 1.02 2.659c0 3.807-2.319 4.644-4.525 4.889a2.366 2.366 0 0 1 .673 1.834c0 1.326-.012 2.394-.012 2.72 0 .263.18.572.681.475A9.911 9.911 0 0 0 10 .333Z"
135-
clip-rule="evenodd"
97+
clipRule="evenodd"
13698
/>
13799
</svg>
138100
<span className="sr-only">GitHub account</span>

src/app/components/Nav.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default function Nav() {
1010
className="flex items-center space-x-3 rtl:space-x-reverse"
1111
>
1212
<Image
13-
src="https://avatars.githubusercontent.com/u/93744673?s=200&v=4"
13+
src="/hoc-icon.png"
1414
className="rounded-full h-7"
1515
alt="Hall of Codes Logo"
1616
width={28}

src/app/favicon.ico

-25.3 KB
Binary file not shown.

src/app/layout.tsx

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { Geist, Geist_Mono } from "next/font/google";
33
import "./globals.css";
44
import Nav from "./components/Nav";
55
import Footer from "./components/Footer";
6+
import Head from "next/head";
67

78
const geistSans = Geist({
89
variable: "--font-geist-sans",
@@ -18,6 +19,31 @@ export const metadata: Metadata = {
1819
title: "Hall of Codes - Merging Programmers Beyond Conflicts",
1920
description:
2021
"Be part of a vibrant community where innovation thrives and collaboration is key.",
22+
keywords: [
23+
"Hall of Codes",
24+
"programming",
25+
"collaboration",
26+
"community",
27+
"innovation",
28+
"open source",
29+
"software development",
30+
"tech community",
31+
"developer community",
32+
"programmer collaboration",
33+
"coding",
34+
"software projects",
35+
"teamwork",
36+
"conflict resolution",
37+
"synergy",
38+
"collective innovation",
39+
"diverse talents",
40+
"seamless collaboration",
41+
"unity",
42+
"progress",
43+
"merging programmers",
44+
"conflict-free development",
45+
"project management",
46+
],
2147
openGraph: {
2248
title: "Hall of Codes - Merging Programmers Beyond Conflicts",
2349
description:
@@ -63,6 +89,9 @@ export default function RootLayout({
6389
}>) {
6490
return (
6591
<html lang="en">
92+
<Head>
93+
<meta name="hostname" content="hallofcodes.github.io" />
94+
</Head>
6695
<body
6796
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
6897
>

0 commit comments

Comments
 (0)