Skip to content

Commit a755b84

Browse files
committed
add project page
Signed-off-by: rishichawda <[email protected]>
1 parent e8bcde8 commit a755b84

File tree

5 files changed

+959
-2
lines changed

5 files changed

+959
-2
lines changed

src/components/landing/call_to_action.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
</a>
2828

2929
<a
30-
href="/articles/"
30+
href="/projects/"
3131
class="text-gray-700 hover:text-brand-600 px-8 py-4 rounded-xl font-['Montserrat_Variable'] text-base font-medium transition-colors inline-flex items-center gap-2 group"
3232
>
3333
Explore My Work

src/components/landing/hero.astro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { Image } from "astro:assets";
33
44
const navItems = [
55
{ label: "articles", path: "/articles/" },
6+
{ label: "projects", path: "/projects/" },
67
{ label: "gallery", path: "/gallery/" },
78
];
89
import logo from "../../../content/assets/logo/Group 489.svg";

src/content.config.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,8 @@ const services = defineCollection({
7575
loader: file("content/about/services.json", { parser: (text) => JSON.parse(text) })
7676
})
7777

78-
export const collections = { articles, quotes, logo, gallery, profile, services };
78+
const projects = defineCollection({
79+
loader: file("content/projects/projects.json", { parser: (text) => JSON.parse(text) }),
80+
})
81+
82+
export const collections = { articles, quotes, logo, gallery, profile, services, projects };

src/pages/404.astro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ const page_info = {
7070
<div class="flex flex-wrap justify-center gap-6 pt-6 font-['Montserrat_Variable'] font-medium">
7171
<a href="/search/" class="text-white hover:text-brand-100 transition-colors">Search</a>
7272
<a href="/articles/" class="text-white hover:text-brand-100 transition-colors">Articles</a>
73+
<a href="/projects/" class="text-white hover:text-brand-100 transition-colors">Projects</a>
7374
<a href="/gallery/" class="text-white hover:text-brand-100 transition-colors">Gallery</a>
7475
<a href="/contact/" class="text-white hover:text-brand-100 transition-colors">Contact</a>
7576
</div>

0 commit comments

Comments
 (0)