Skip to content

Commit

Permalink
added blogify to projects
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhunu committed Jul 12, 2024
1 parent 50f2489 commit d2646ae
Show file tree
Hide file tree
Showing 11 changed files with 40 additions and 86 deletions.
Binary file removed dist/assets/files/Angel_Saikia.pdf
Binary file not shown.
Binary file removed dist/assets/images/about.png
Binary file not shown.
Binary file removed dist/assets/images/hero-image.png
Binary file not shown.
Binary file removed dist/assets/images/logo.png
Binary file not shown.
1 change: 0 additions & 1 deletion dist/assets/react.svg

This file was deleted.

51 changes: 0 additions & 51 deletions dist/index.html

This file was deleted.

1 change: 0 additions & 1 deletion dist/vite.svg

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@
"postcss": "^8.4.31",
"tailwindcss": "^3.3.5",
"typescript": "^5.0.2",
"vite": "^4.4.5"
"vite": "^4.5"
}
}
Binary file added public/assets/images/blogify.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 17 additions & 32 deletions src/components/ProjectSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,41 +9,22 @@ const ProjectSection = () => {
<h1 className="md:text-5xl font-serif text-3xl font-extrabold text-center">
My Projects
</h1>
<Tabs defaultValue="all" className="mt-10">
<Tabs defaultValue="fea" className="mt-10">
<div className="flex justify-center mb-10">
<TabsList>
<TabsTrigger value="all">All</TabsTrigger>
<TabsTrigger value="fea">Featured</TabsTrigger>
<TabsTrigger value="fs">FullStack</TabsTrigger>
<TabsTrigger value="fe">Frontend</TabsTrigger>
<TabsTrigger value="be">Backend</TabsTrigger>
</TabsList>
</div>
<TabsContent
value="all"
className="justify-evenly flex flex-wrap gap-2"
value="fea"
className="flex flex-wrap justify-center gap-10"
>
{projects
.sort((a, b) => b.id - a.id)
.filter(
(project) =>
project.scope === projectScope.FullStack
)

.map((project) => (
<ProjectCard
key={project.title}
projectName={project.title}
projectImage={project.image}
projectLink={project.url}
projectGithub={project.github}
projectTags={project.techStack}
/>
))}
{projects
.sort((a, b) => b.id - a.id)
.filter(
(project) => project.scope === projectScope.FrontEnd
)

.sort((a, b) => a.id - b.id)
.filter((project) => project.featured)
.map((project) => (
<ProjectCard
key={project.title}
Expand All @@ -54,12 +35,17 @@ const ProjectSection = () => {
projectTags={project.techStack}
/>
))}
</TabsContent>
<TabsContent
value="fs"
className="flex flex-wrap justify-center gap-10"
>
{projects
.sort((a, b) => b.id - a.id)
.sort((a, b) => a.id - b.id)
.filter(
(project) => project.scope === projectScope.BackEnd
(project) =>
project.scope === projectScope.FullStack
)

.map((project) => (
<ProjectCard
key={project.title}
Expand All @@ -71,10 +57,9 @@ const ProjectSection = () => {
/>
))}
</TabsContent>

<TabsContent
value="be"
className="justify-evenly flex flex-wrap gap-2"
className="flex flex-wrap justify-center gap-10"
>
{projects
.filter(
Expand All @@ -93,7 +78,7 @@ const ProjectSection = () => {
</TabsContent>
<TabsContent
value="fe"
className="justify-evenly flex flex-wrap gap-2"
className="flex flex-wrap justify-center gap-10"
>
{projects
.filter(
Expand Down
22 changes: 22 additions & 0 deletions src/constants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ export const projects = [
github: "https://github.com/Dhunu/Covid_Vacination",
},
{
featured: true,
scope: projectScope.FullStack,
id: 6,
title: "Safar Sathi",
Expand All @@ -111,4 +112,25 @@ export const projects = [
url: "https://safar-sathi.vercel.app/",
github: "https://github.com/Dhunu/safar-sathi",
},
{
featured: true,
scope: projectScope.FullStack,
id: 7,
title: "Blogify",
description:
"This is a blog website where users can create, read, update and delete blogs. It is made using NextJS, TailwindCSS, Clerk Auth, MongoDB, Prisma and Vercel.",
type: projectType.Individual,
techStack: ["NextJS", "Clerk", "MongoDB"],
allTechStack: [
"NextJS",
"TailwindCSS",
"Clerk",
"MongoDB",
"Prisma",
"Vercel",
],
image: "/assets/images/blogify.png",
url: "https://blogify.angelsaikia.com",
github: "https://github.com/Dhunu/blogify",
},
];

0 comments on commit d2646ae

Please sign in to comment.