Added more routes, and CV!

This commit is contained in:
Hannah 2026-02-17 13:35:00 +01:00
commit bb4d8f2004
12 changed files with 83 additions and 0 deletions

View file

@ -0,0 +1,7 @@
import UnderConstruction from "@/components/static_pages/UnderConstruction";
export default function Login() {
return (
<UnderConstruction />
)
}

View file

@ -0,0 +1,7 @@
import UnderConstruction from "@/components/static_pages/UnderConstruction";
export default function Overview() {
return(
<UnderConstruction />
)
}

11
app/Admin/layout.tsx Normal file
View file

@ -0,0 +1,11 @@
import React from "react";
export default function AdminLayout({children}: {children: React.ReactNode}) {
// TODO: Put user state management here
//redirect("wherever state says") <= stateRouteManager()
return (
<div>
{children}
</div>
)
}

6
app/Admin/page.tsx Normal file
View file

@ -0,0 +1,6 @@
import { redirect } from "next/navigation";
export default function Admin() {
// TODO: Replace with Layout State Manager
redirect("/Admin/Login");
}

View file

View file

@ -0,0 +1,7 @@
import UnderConstruction from "@/components/static_pages/UnderConstruction";
export default function CVPage(){
return (
<UnderConstruction />
)
}

View file

@ -0,0 +1,7 @@
import UnderConstruction from "@/components/static_pages/UnderConstruction";
export default function Projects() {
return (
<UnderConstruction />
)
}

View file

@ -0,0 +1,10 @@
import React from "react";
export default function AdminLayout({children}: {children: React.ReactNode}) {
// TODO: Put custom portfolio layout :]
return (
<div>
{children}
</div>
)
}

View file

@ -0,0 +1,10 @@
import Referencelink from "@/components/ui/Referencelink";
export default function Hannah() {
return (
<div className="flex flex-col items-center justify-center w-full h-full">
<iframe src="/cv.pdf" className={'w-full h-[90vh] max-w-4xl border rounded-xl shadow'} />
<Referencelink name={"Download"} link={"/cv.pdf"}/>
</div>
)
}

View file

@ -0,0 +1,9 @@
export default function UnderConstruction() {
return (
<div className="w-full h-full mx-auto flex justify-center align-middle bg-amber-400">
<h1 className="text-3xl font-bold leading-tight text-gray-800">
Route currently under construction
</h1>
</div>
)
}

View file

@ -0,0 +1,9 @@
export default function Referencelink({name, link}: {name: string; link: string}) {
return (
<div className="bg-slate-400 dark:bg-slate-800 hover:bg-slate-600 font-medium py-2 px-4 rounded-lg shadow-md transition duration-200 ease-in-out">
<a href={`${link}`} className="block">
<h1 className="font-semibold text-slate-800dark:text-slate-400 text-lg">{name}</h1>
</a>
</div>
)
}

BIN
public/cv.pdf Normal file

Binary file not shown.