feat: add wip page and dialog popup

This commit is contained in:
afiqzudinhadi 2025-06-07 01:42:25 +08:00
parent c6eb07c79c
commit 9ca32bf842
3 changed files with 100 additions and 1 deletions

View file

@ -5,7 +5,8 @@ import { ExperienceSection } from "@/components/experience-section";
import { ProjectsSection } from "@/components/projects-section";
import { ContactSection } from "@/components/contact-section";
import { portfolioData } from "@/data/portfolio";
import { BusinessSection } from "~/components/business-section";
import { BusinessSection } from "@/components/business-section";
import { ViewPopup } from "@/components/view-popup";
export const meta: MetaFunction = () => {
return [
@ -26,6 +27,7 @@ export default function Index() {
<ProjectsSection projects={portfolioData.projects} />
<BusinessSection businesses={portfolioData.businesses} />
<ContactSection profile={portfolioData.profile} />
<ViewPopup />
</div>
);
}

40
app/routes/fun.tsx Normal file
View file

@ -0,0 +1,40 @@
import { useNavigate } from "react-router-dom";
export default function WipPage() {
const navigate = useNavigate();
return (
<div
style={{
minHeight: "100vh",
display: "flex",
flexDirection: "column",
alignItems: "center",
justifyContent: "center",
background: "#f5f5f5",
}}
>
<h1 style={{ fontSize: "3rem", color: "#333" }}>
🚧 Work In Progress 🚧
</h1>
<p style={{ fontSize: "1.25rem", color: "#666" }}>
This page is currently under construction. Please check back soon!
</p>
<button
style={{
marginTop: "2rem",
padding: "0.75rem 1.5rem",
fontSize: "1rem",
borderRadius: "5px",
border: "none",
background: "#333",
color: "#fff",
cursor: "pointer",
}}
onClick={() => navigate(-1)}
>
Go Back
</button>
</div>
);
}