Skip to content

Commit d8b5bd9

Browse files
committed
feat: added new project
1 parent c414a71 commit d8b5bd9

File tree

2 files changed

+39
-28
lines changed

2 files changed

+39
-28
lines changed

src/app/page.tsx

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import Image from "next/image";
2+
import Link from "next/link";
23

34
const timeline = [
45
{
@@ -82,11 +83,11 @@ export default function Home() {
8283
conflicts dissolve, and collaboration flourishes. Experience the
8384
synergy of innovation and unity with Hall of Codes.
8485
</p>
85-
<a
86-
href="#"
86+
<Link
87+
href="https://github.com/hallofcodes/join"
8788
className="inline-flex items-center text-lg text-blue-600 dark:text-blue-500 hover:underline"
8889
>
89-
Learn more
90+
Invite me
9091
<svg
9192
className="w-3.5 h-3.5 ms-2 rtl:rotate-180"
9293
aria-hidden="true"
@@ -102,7 +103,7 @@ export default function Home() {
102103
d="M1 5h12m0 0L9 1m4 4L9 9"
103104
/>
104105
</svg>
105-
</a>
106+
</Link>
106107
</div>
107108

108109
<div className="mx-auto w-full max-w-screen-xl p-4 py-6 lg:py-8">
@@ -117,8 +118,8 @@ export default function Home() {
117118
real impact in the world of technology.
118119
</p>
119120
<div className="flex flex-col space-y-4 sm:flex-row sm:justify-center sm:space-y-0">
120-
<a
121-
href="#"
121+
<Link
122+
href="https://github.com/hallofcodes/join"
122123
className="inline-flex justify-center items-center py-3 px-5 text-base font-medium text-center text-white rounded-lg bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 dark:focus:ring-blue-900"
123124
>
124125
Get started
@@ -137,7 +138,7 @@ export default function Home() {
137138
d="M1 5h12m0 0L9 1m4 4L9 9"
138139
/>
139140
</svg>
140-
</a>
141+
</Link>
141142
</div>
142143
</div>
143144

src/app/projects/page.tsx

Lines changed: 31 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@ import Image from "next/image";
22
import Link from "next/link";
33

44
const projects = [
5+
{
6+
name: "Ulisha Store",
7+
description:
8+
"A modern e-commerce platform built with Next.js and Tailwind CSS, featuring a sleek design, responsive layout, and user-friendly interface. It showcases products, allows for easy navigation, and provides a seamless shopping experience.",
9+
author: "@ulishastore",
10+
website: "https://ulishastore.com",
11+
},
512
{
613
name: "The New HOC",
714
description:
@@ -93,27 +100,29 @@ export default function Projects() {
93100
<p className="text-lg font-normal text-gray-500 dark:text-gray-400 mb-4">
94101
{project.description}
95102
</p>
96-
<Link
97-
href={`https://github.com/${project.github}`}
98-
className="text-blue-600 dark:text-blue-500 hover:underline font-medium text-lg inline-flex items-center"
99-
>
100-
Source
101-
<svg
102-
className="w-3.5 h-3.5 ms-2 rtl:rotate-180"
103-
aria-hidden="true"
104-
xmlns="http://www.w3.org/2000/svg"
105-
fill="none"
106-
viewBox="0 0 14 10"
103+
{project.github && (
104+
<Link
105+
href={`https://github.com/${project.github}`}
106+
className="text-blue-600 dark:text-blue-500 hover:underline font-medium text-lg inline-flex items-center"
107107
>
108-
<path
109-
stroke="currentColor"
110-
strokeLinecap="round"
111-
strokeLinejoin="round"
112-
strokeWidth="2"
113-
d="M1 5h12m0 0L9 1m4 4L9 9"
114-
/>
115-
</svg>
116-
</Link>{" "}
108+
Source
109+
<svg
110+
className="w-3.5 h-3.5 ms-2 rtl:rotate-180"
111+
aria-hidden="true"
112+
xmlns="http://www.w3.org/2000/svg"
113+
fill="none"
114+
viewBox="0 0 14 10"
115+
>
116+
<path
117+
stroke="currentColor"
118+
strokeLinecap="round"
119+
strokeLinejoin="round"
120+
strokeWidth="2"
121+
d="M1 5h12m0 0L9 1m4 4L9 9"
122+
/>
123+
</svg>
124+
</Link>
125+
)}{" "}
117126
&nbsp;
118127
{project.website && (
119128
<Link
@@ -143,7 +152,8 @@ export default function Projects() {
143152
</div>
144153

145154
<span className="mt-10 block text-center text-gray-500 dark:text-gray-400">
146-
&copy; All Titles and Logos are Copyrighted by their respective owners.
155+
&copy; All Titles and Logos are Copyrighted by their respective
156+
owners.
147157
</span>
148158
</div>
149159
</main>

0 commit comments

Comments
 (0)