Added more routes, and CV!
This commit is contained in:
parent
767ff685b1
commit
bb4d8f2004
12 changed files with 83 additions and 0 deletions
|
|
@ -0,0 +1,7 @@
|
|||
import UnderConstruction from "@/components/static_pages/UnderConstruction";
|
||||
|
||||
export default function Login() {
|
||||
return (
|
||||
<UnderConstruction />
|
||||
)
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
import UnderConstruction from "@/components/static_pages/UnderConstruction";
|
||||
|
||||
export default function Overview() {
|
||||
return(
|
||||
<UnderConstruction />
|
||||
)
|
||||
}
|
||||
11
app/Admin/layout.tsx
Normal file
11
app/Admin/layout.tsx
Normal 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
6
app/Admin/page.tsx
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import { redirect } from "next/navigation";
|
||||
|
||||
export default function Admin() {
|
||||
// TODO: Replace with Layout State Manager
|
||||
redirect("/Admin/Login");
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
import UnderConstruction from "@/components/static_pages/UnderConstruction";
|
||||
|
||||
export default function CVPage(){
|
||||
return (
|
||||
<UnderConstruction />
|
||||
)
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
import UnderConstruction from "@/components/static_pages/UnderConstruction";
|
||||
|
||||
export default function Projects() {
|
||||
return (
|
||||
<UnderConstruction />
|
||||
)
|
||||
}
|
||||
10
app/Hannah/Portfolio/layout.tsx
Normal file
10
app/Hannah/Portfolio/layout.tsx
Normal 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>
|
||||
)
|
||||
}
|
||||
|
|
@ -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>
|
||||
)
|
||||
}
|
||||
9
components/static_pages/UnderConstruction.tsx
Normal file
9
components/static_pages/UnderConstruction.tsx
Normal 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>
|
||||
)
|
||||
}
|
||||
9
components/ui/Referencelink.tsx
Normal file
9
components/ui/Referencelink.tsx
Normal 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
BIN
public/cv.pdf
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue