-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
23f816b
commit 48f5f04
Showing
7 changed files
with
70 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import { StarsIcon } from "lucide-react"; | ||
import Link from "next/link"; | ||
|
||
import PageContainer from "@/components/page/page-container"; | ||
import PageHeader from "@/components/page/page-header"; | ||
import ProjectCard from "@/components/project/project-card"; | ||
import { Card, CardDescription, CardTitle } from "@/components/ui/card"; | ||
|
||
const WorkPage = () => { | ||
return ( | ||
<> | ||
<PageHeader | ||
title="Projects" | ||
subtitle="Projects and ideas I’ve worked on" | ||
/> | ||
<PageContainer> | ||
<section className="space-y-5"> | ||
{Array.from({ length: 3 }).map((_, index) => ( | ||
<ProjectCard key={index} /> | ||
))} | ||
|
||
<Card className="w-full overflow-hidden lg:h-[500px] relative bg-card/50 border-4 border-dashed flex items-center justify-center flex-col"> | ||
<StarsIcon className="size-24 text-foreground" /> | ||
<CardTitle className="my-5">Want to see more?</CardTitle> | ||
<CardDescription className="text-muted/80"> | ||
I have more projects on my <Link href="https://github.com/vignesh-gupta/" className="underline underline-offset-2 text-primary/55 hover:text-primary/80">Github</Link> | ||
</CardDescription> | ||
</Card> | ||
</section> | ||
</PageContainer> | ||
</> | ||
); | ||
}; | ||
|
||
export default WorkPage; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
type PageHeaderProps = { | ||
title: string; | ||
subtitle: string; | ||
}; | ||
|
||
const PageHeader = ({ subtitle, title }: PageHeaderProps) => { | ||
return ( | ||
<> | ||
<div className="py-16 pt-32 px-4 container max-w-[1024px] mx-auto"> | ||
<h1 className="text-4xl font-bold md:text-5xl lg:text-6xl text-primary"> | ||
{title} | ||
</h1> | ||
<p className="my-4 text-base text-muted/60 md:text-2xl"> | ||
{subtitle} | ||
</p> | ||
</div> | ||
<div className="h-[1px] w-full bg-black/10 dark:bg-white/10" /> | ||
</> | ||
); | ||
}; | ||
|
||
export default PageHeader; |