Skip to content

Commit

Permalink
Refactor contact and what pages to include a WorkInProgress component
Browse files Browse the repository at this point in the history
  • Loading branch information
ImJustLucas committed Oct 29, 2024
1 parent 45ea90e commit d8f0c1d
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
10 changes: 9 additions & 1 deletion app/contact/page.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
import { TypographyH2 } from "@/components/typography";
import { WorkInProgress } from "@/components/work-in-progress";

export default function What() {
return <div className="">contact page</div>;
return (
<div className="">
<TypographyH2 border={false}>Contact me</TypographyH2>
<WorkInProgress />
</div>
);
}
2 changes: 2 additions & 0 deletions app/what/page.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import { TypographyH2 } from "@/components/typography";
import { WorkInProgress } from "@/components/work-in-progress";

export default function What() {
return (
<div className="">
<TypographyH2 border={false}>What i&apos;ve done ?</TypographyH2>
<WorkInProgress />
</div>
);
}
15 changes: 15 additions & 0 deletions components/work-in-progress.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { Hammer } from "lucide-react";

export const WorkInProgress = () => {
return (
<div className="md:w-2/3 w-full">
<div className="flex items-center my-8 space-x-2">
<h2 className="text-3xl font-bold text-center">Work in Progress</h2>
<Hammer className="h-6 w-6 text-primary" />
</div>
<p className=" text-muted-foreground mb-8">
This page is under construction. Please check back later.
</p>
</div>
);
};

0 comments on commit d8f0c1d

Please sign in to comment.