diff --git a/app/Hannah/page.tsx b/app/Hannah/page.tsx index 3fb7d7a..57f33d0 100644 --- a/app/Hannah/page.tsx +++ b/app/Hannah/page.tsx @@ -1,28 +1,20 @@ import Image from "next/image"; +import Referencelink from "@/components/ui/Referencelink"; import RoundedContainer from "@/components/ui/RoundedContainer"; -import NavLink from "@/components/ui/NavLink"; export default function Hannah() { return (
- - + +

Hi!

-

- { - "I'm Hannah, and I made this website! It's currently very much in it's early stages, but I am actively developing it and soon it'll hopefully contain some good examples of what I do. Besides being a place to display my projects, it also acts as a hub for the different services I've incorporated into our home web ecosystem, or HomeLab." - } -

-

- { - "If you came here from a job application, chances are you'll want to take a look at the Projects tab. As said It's still fairly new, but it'll give you a good example of what I put my time into! Just press the \"Projects\" button if you're interested" - } -

+

{"I'm Hannah, and I made this website! It's currently very much in it's early stages, but I am actively developing it and soon it'll hopefully contain some good examples of what I do. Besides being a place to display my projects, it also acts as a hub for the different services I've incorporated into our home web ecosystem, or HomeLab."}

+

{"If you came here from a job application, chances are you'll want to take a look at the Projects tab. As said It's still fairly new, but it'll give you a good example of what I put my time into! Just press the \"Projects\" button if you're interested"}

{"In the meantime, here's a picture of my cat :D"}

- ); -} + ) +} \ No newline at end of file diff --git a/app/Playground/Components/page.tsx b/app/Playground/Components/page.tsx index 7476fef..65fef11 100644 --- a/app/Playground/Components/page.tsx +++ b/app/Playground/Components/page.tsx @@ -8,14 +8,7 @@ import RoundedContainer from "@/components/ui/RoundedContainer"; export default function Components() { return ( -
-

Dropdown

- - - - - - +

Button

+ +

Dropdown

+ +

Hello!

+
); } diff --git a/app/page.tsx b/app/page.tsx index e1c80a2..e29ef3e 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,11 +1,11 @@ -import Image from "next/image"; + import Image from "next/image"; -import RoundedContainer from "@/components/ui/RoundedContainer"; + import RoundedContainer from "@/components/ui/RoundedContainer"; export default function Home() { return (
- +

- Design In Progress, current layout and theme may change, have a good - day :D + Design In Progress, current layout and theme may change, have a good day :D

diff --git a/components/ui/Button.tsx b/components/ui/Button.tsx index 39644b5..4dead55 100644 --- a/components/ui/Button.tsx +++ b/components/ui/Button.tsx @@ -1,25 +1,21 @@ import { ComponentProps } from "react"; -import React from "react"; type ButtonProps = ComponentProps<"button"> & { title: string; mode?: "DARK" | "LIGHT"; - icon?: React.ReactElement; }; export default function Button({ title, mode = "LIGHT", - icon, ...props }: ButtonProps) { return ( ); } diff --git a/components/ui/Dropdown.tsx b/components/ui/Dropdown.tsx index 2a27213..6ceb78c 100644 --- a/components/ui/Dropdown.tsx +++ b/components/ui/Dropdown.tsx @@ -1,47 +1,19 @@ import { useState } from "react"; -import React from "react"; -import { ArrowRightIcon } from "@heroicons/react/24/outline"; - import Button from "./Button"; -import RoundedContainer from "./RoundedContainer"; -export default function Dropdown({ - title, - mode, - children, -}: { - title?: string; - mode?: "DARK" | "LIGHT"; - children: React.ReactNode; -}) { +export default function Dropdown({ children }: { children: React.ReactNode }) { const [dropped, setDropped] = useState(false); - const [degrees, setDegrees] = useState(0); return (
+ {dropped &&
{children}
}
); } diff --git a/components/ui/Form.tsx b/components/ui/Form.tsx index 65065ca..0486a8e 100644 --- a/components/ui/Form.tsx +++ b/components/ui/Form.tsx @@ -18,7 +18,7 @@ export default function Form({
{children} -
diff --git a/components/ui/RoundedContainer.tsx b/components/ui/RoundedContainer.tsx index a6cc301..4c918ac 100644 --- a/components/ui/RoundedContainer.tsx +++ b/components/ui/RoundedContainer.tsx @@ -4,16 +4,14 @@ export default function RoundedContainer({ children, slim = true, direction = "column", - className, }: { children: React.ReactNode; slim?: boolean; direction?: "column" | "row"; - className?: string; }) { return (
{children}
diff --git a/lib/api/cmFetch.ts b/lib/api/cmFetch.ts index fb02a6d..a9bb4f8 100644 --- a/lib/api/cmFetch.ts +++ b/lib/api/cmFetch.ts @@ -1,5 +1,7 @@ import { RequestInit } from "next/dist/server/web/spec-extension/request"; +import logger from "../logging/logger"; + const FRONTEND_URL = process.env.NEXT_PUBLIC_FRONTEND_URL; export async function cmFetch( diff --git a/package-lock.json b/package-lock.json index abaecab..b3a1a6a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,6 @@ "name": "app", "version": "0.1.1", "dependencies": { - "@heroicons/react": "^2.2.0", "next": "^16.3.4", "react": "19.2.3", "react-dom": "19.2.3", @@ -479,15 +478,6 @@ "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }, - "node_modules/@heroicons/react": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@heroicons/react/-/react-2.2.0.tgz", - "integrity": "sha512-LMcepvRaS9LYHJGsF0zzmgKCUim/X3N/DQKc4jepAXJ7l8QxJ1PmxJzqplF2Z3FE4PqBAIGyJAQ/w4B5dsqbtQ==", - "license": "MIT", - "peerDependencies": { - "react": ">= 16 || ^19.0.0-rc" - } - }, "node_modules/@humanfs/core": { "version": "0.19.2", "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.2.tgz", diff --git a/package.json b/package.json index 4eef781..b406438 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,6 @@ "lint:fix": "eslint --fix" }, "dependencies": { - "@heroicons/react": "^2.2.0", "next": "^16.3.4", "react": "19.2.3", "react-dom": "19.2.3",