Skip to content

Commit 517b562

Browse files
Updates
1 parent d13a1e6 commit 517b562

File tree

2 files changed

+46
-121
lines changed

2 files changed

+46
-121
lines changed

src/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default function Home() {
3131
offer—explore more below!
3232
</SectionTitle>
3333

34-
<Video videoId={null} />
34+
<Video videoId={"null"} />
3535
<SectionTitle
3636
preTitle="Testimonials"
3737
title="Here's what our customers said"

src/components/Footer.tsx

Lines changed: 45 additions & 120 deletions
Original file line numberDiff line numberDiff line change
@@ -4,130 +4,82 @@ import React from "react";
44
import { Container } from "@/components/Container";
55

66
export function Footer() {
7-
const navigation = ["Product", "Features", "Pricing", "Company", "Blog"];
8-
const legal = ["Terms", "Privacy", "Legal"];
7+
const followUsLinks = [
8+
{
9+
href: "https://twitter.com/CodeChefs",
10+
label: "Twitter",
11+
icon: <Twitter />,
12+
},
13+
{
14+
href: "https://facebook.com/CodeChefs",
15+
label: "Facebook",
16+
icon: <Facebook />,
17+
},
18+
{
19+
href: "https://instagram.com/CodeChefs",
20+
label: "Instagram",
21+
icon: <Instagram />,
22+
},
23+
{
24+
href: "https://linkedin.com/company/codechefs",
25+
label: "LinkedIn",
26+
icon: <Linkedin />,
27+
},
28+
];
29+
930
return (
1031
<div className="relative">
1132
<Container>
12-
<div className="grid max-w-screen-xl grid-cols-1 gap-10 pt-10 mx-auto mt-5 border-t border-gray-100 dark:border-trueGray-700 lg:grid-cols-5">
33+
<div className="grid max-w-screen-xl grid-cols-1 gap-10 pt-10 mx-auto mt-5 border-t border-gray-100 dark:border-trueGray-700 lg:grid-cols-3">
1334
<div className="lg:col-span-2">
1435
<div>
15-
{" "}
1636
<Link
1737
href="/"
1838
className="flex items-center space-x-2 text-2xl font-medium text-indigo-500 dark:text-gray-100"
1939
>
2040
<Image
2141
src="/img/logo.svg"
22-
alt="N"
42+
alt="CodeChefs Logo"
2343
width="32"
2444
height="32"
2545
className="w-8"
2646
/>
27-
<span>Nextly</span>
47+
<span>CodeChefs</span>
2848
</Link>
2949
</div>
3050

3151
<div className="max-w-md mt-4 text-gray-500 dark:text-gray-400">
32-
Nextly is a free landing page & marketing website template for
33-
startups and indie projects. Its built with Next.js & TailwindCSS.
34-
And its completely open-source.
35-
</div>
36-
37-
<div className="mt-5">
38-
<a
39-
href="https://vercel.com/?utm_source=web3templates&utm_campaign=oss"
40-
target="_blank"
41-
rel="noopener"
42-
className="relative block w-44"
43-
>
44-
<Image
45-
src="/img/vercel.svg"
46-
alt="Powered by Vercel"
47-
width="212"
48-
height="44"
49-
/>
50-
</a>
52+
CodeChefs is a platform dedicated to supporting coding enthusiasts
53+
with resources, challenges, and community-driven events. Join us
54+
to enhance your coding skills and collaborate with peers.
5155
</div>
5256
</div>
5357

54-
<div>
55-
<div className="flex flex-wrap w-full -mt-2 -ml-3 lg:ml-0">
56-
{navigation.map((item, index) => (
57-
<Link
58-
key={index}
59-
href="/"
60-
className="w-full px-4 py-2 text-gray-500 rounded-md dark:text-gray-300 hover:text-indigo-500 focus:text-indigo-500 focus:bg-indigo-100 focus:outline-none dark:focus:bg-trueGray-700"
61-
>
62-
{item}
63-
</Link>
64-
))}
65-
</div>
66-
</div>
67-
<div>
68-
<div className="flex flex-wrap w-full -mt-2 -ml-3 lg:ml-0">
69-
{legal.map((item, index) => (
70-
<Link
71-
key={index}
72-
href="/"
73-
className="w-full px-4 py-2 text-gray-500 rounded-md dark:text-gray-300 hover:text-indigo-500 focus:text-indigo-500 focus:bg-indigo-100 focus:outline-none dark:focus:bg-trueGray-700"
74-
>
75-
{item}
76-
</Link>
77-
))}
78-
</div>
79-
</div>
80-
<div className="">
81-
<div>Follow us</div>
58+
<div className="flex flex-col items-start lg:items-end">
59+
<div className="text-lg font-semibold">Follow Us</div>
8260
<div className="flex mt-5 space-x-5 text-gray-400 dark:text-gray-500">
83-
<a
84-
href="https://twitter.com/web3templates"
85-
target="_blank"
86-
rel="noopener"
87-
>
88-
<span className="sr-only">Twitter</span>
89-
<Twitter />
90-
</a>
91-
<a
92-
href="https://facebook.com/web3templates"
93-
target="_blank"
94-
rel="noopener"
95-
>
96-
<span className="sr-only">Facebook</span>
97-
<Facebook />
98-
</a>
99-
<a
100-
href="https://instagram.com/web3templates"
101-
target="_blank"
102-
rel="noopener"
103-
>
104-
<span className="sr-only">Instagram</span>
105-
<Instagram />
106-
</a>
107-
<a href="https://linkedin.com/" target="_blank" rel="noopener">
108-
<span className="sr-only">Linkedin</span>
109-
<Linkedin />
110-
</a>
61+
{followUsLinks.map(({ href, label, icon }) => (
62+
<a key={label} href={href} target="_blank" rel="noopener">
63+
<span className="sr-only">{label}</span>
64+
{icon}
65+
</a>
66+
))}
11167
</div>
11268
</div>
11369
</div>
11470

11571
<div className="my-10 text-sm text-center text-gray-600 dark:text-gray-400">
116-
Copyright © {new Date().getFullYear()}. Made with ♥ by{" "}
72+
Copyright © {new Date().getFullYear()}{" "}
11773
<a href="https://web3templates.com/" target="_blank" rel="noopener">
118-
Web3Templates.
74+
CodeChefs
11975
</a>{" "}
120-
Illustrations from{" "}
121-
<a href="https://www.glazestock.com/" target="_blank" rel="noopener ">
122-
Glazestock
123-
</a>
12476
</div>
12577
</Container>
12678
</div>
12779
);
12880
}
12981

130-
const Twitter = ({ size = 24 }) => (
82+
const Twitter = ({ size = 32 }) => (
13183
<svg
13284
xmlns="http://www.w3.org/2000/svg"
13385
width={size}
@@ -139,7 +91,7 @@ const Twitter = ({ size = 24 }) => (
13991
</svg>
14092
);
14193

142-
const Facebook = ({ size = 24 }) => (
94+
const Facebook = ({ size = 32 }) => (
14395
<svg
14496
xmlns="http://www.w3.org/2000/svg"
14597
width={size}
@@ -150,7 +102,8 @@ const Facebook = ({ size = 24 }) => (
150102
<path d="M24 12.07C24 5.41 18.63 0 12 0S0 5.4 0 12.07C0 18.1 4.39 23.1 10.13 24v-8.44H7.08v-3.49h3.04V9.41c0-3.02 1.8-4.7 4.54-4.7 1.31 0 2.68.24 2.68.24v2.97h-1.5c-1.5 0-1.96.93-1.96 1.89v2.26h3.32l-.53 3.5h-2.8V24C19.62 23.1 24 18.1 24 12.07" />
151103
</svg>
152104
);
153-
const Instagram = ({ size = 24 }) => (
105+
106+
const Instagram = ({ size = 32 }) => (
154107
<svg
155108
xmlns="http://www.w3.org/2000/svg"
156109
width={size}
@@ -162,42 +115,14 @@ const Instagram = ({ size = 24 }) => (
162115
</svg>
163116
);
164117

165-
const Linkedin = ({ size = 24 }) => (
118+
const Linkedin = ({ size = 32 }) => (
166119
<svg
167120
xmlns="http://www.w3.org/2000/svg"
168121
width={size}
169122
height={size}
170123
viewBox="0 0 24 24"
171124
fill="currentColor"
172125
>
173-
<path d="M22.23 0H1.77C.8 0 0 .77 0 1.72v20.56C0 23.23.8 24 1.77 24h20.46c.98 0 1.77-.77 1.77-1.72V1.72C24 .77 23.2 0 22.23 0zM7.27 20.1H3.65V9.24h3.62V20.1zM5.47 7.76h-.03c-1.22 0-2-.83-2-1.87 0-1.06.8-1.87 2.05-1.87 1.24 0 2 .8 2.02 1.87 0 1.04-.78 1.87-2.05 1.87zM20.34 20.1h-3.63v-5.8c0-1.45-.52-2.45-1.83-2.45-1 0-1.6.67-1.87 1.32-.1.23-.11.55-.11.88v6.05H9.28s.05-9.82 0-10.84h3.63v1.54a3.6 3.6 0 0 1 3.26-1.8c2.39 0 4.18 1.56 4.18 4.89v6.21z" />
126+
<path d="M4.98 3.5C4.98 2.12 6.1 1 7.48 1s2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5-2.5-1.12-2.5-2.5zM4.23 8h6.5V21H4.23V8zm12.28 0H13.9v6.18h-.06c-.82-1.51-2.82-3.1-5.07-3.1-5.7 0-6.97 3.43-6.97 6.53v7.38h6.5V12.83c0-1.71.04-3.13 2.49-3.13 2.43 0 2.83 1.9 2.83 3.83v6.87h6.5V11.83c0-4.77-2.16-8.56-6.97-8.56-2.57 0-4.73 1.09-6.12 3.12z" />
174127
</svg>
175128
);
176-
177-
const Backlink = () => {
178-
return (
179-
<a
180-
href="https://web3templates.com"
181-
target="_blank"
182-
rel="noopener"
183-
className="absolute flex px-3 py-1 space-x-2 text-sm font-semibold text-gray-900 bg-white border border-gray-300 rounded shadow-sm place-items-center left-5 bottom-5 dark:bg-trueGray-900 dark:border-trueGray-700 dark:text-trueGray-300"
184-
>
185-
<svg
186-
width="20"
187-
height="20"
188-
viewBox="0 0 30 30"
189-
fill="none"
190-
className="w-4 h-4"
191-
xmlns="http://www.w3.org/2000/svg"
192-
>
193-
<rect width="30" height="29.5385" rx="2.76923" fill="#362F78" />
194-
<path
195-
d="M10.14 21.94H12.24L15.44 12.18L18.64 21.94H20.74L24.88 8H22.64L19.58 18.68L16.36 8.78H14.52L11.32 18.68L8.24 8H6L10.14 21.94Z"
196-
fill="#F7FAFC"
197-
/>
198-
</svg>
199-
200-
<span>Web3Templates</span>
201-
</a>
202-
);
203-
};

0 commit comments

Comments
 (0)