diff --git a/src/app/components/AboutMe.tsx b/src/app/components/AboutMe.tsx index a1d3f10..560abbe 100644 --- a/src/app/components/AboutMe.tsx +++ b/src/app/components/AboutMe.tsx @@ -3,49 +3,53 @@ import age from "@/utils"; import { motion } from "framer-motion"; -export const AboutMe = () => { - return ( - -

- about me -

-

- I’m a{" "} - - {age()}-year-old - - , studying{" "} - - Computer Science Operational Engineering - {" "} - at{" "} - - Óbuda University - {" "} - in Hungary. I’m passionate about{" "} - - systems engineering - - , working on my{" "} - - homelab - - , and coding in{" "} - - TypeScript - {" "} - and{" "} - - Go - - . -

-
- ); -}; +export const AboutMe = () => ( + +

+ About Me +

+

+ I’m a{" "} + + {age()}-year-old + + , studying + + {" "} + Computer Science Operational Engineering + {" "} + at + + {" "} + Óbuda University + {" "} + in Hungary. I’m passionate about + + {" "} + systems engineering + + , working on my + + {" "} + homelab + + , and coding in + + {" "} + TypeScript + {" "} + and + + {" "} + Go + + . +

+
+); diff --git a/src/app/components/Highlight.tsx b/src/app/components/Highlight.tsx index 024baf9..4420bee 100644 --- a/src/app/components/Highlight.tsx +++ b/src/app/components/Highlight.tsx @@ -3,7 +3,7 @@ import { cn } from "@/utils"; import { useMotionValue, motion, useMotionTemplate } from "framer-motion"; -export const HeroHighlight = ({ +export const Highlight = ({ children, className, containerClassName, diff --git a/src/app/globals.css b/src/app/globals.css index 1faff78..3735725 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -18,11 +18,11 @@ html { scrollbar-width: thin; scrollbar-color: #8040ee transparent; - background-color: var(--light-background); + background-color: transparent; } .dark { - background-color: var(--dark-background); + background-color: transparent; } } diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 9fe9c03..d436a57 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,4 +1,4 @@ -import type { Metadata } from "next"; +import type { Metadata, Viewport } from "next"; import Script from "next/script"; import type { ReactNode } from "react"; import { Albert_Sans } from "next/font/google"; @@ -20,6 +20,12 @@ export const metadata: Metadata = { }, }; +export const viewport: Viewport = { + width: "device-width", + initialScale: 1, + maximumScale: 1, +}; + export default function RootLayout({ children, }: Readonly<{ diff --git a/src/app/page.tsx b/src/app/page.tsx index 95be067..a642408 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -6,13 +6,13 @@ import { SocialLayout } from "@/components/SocialLayout"; import { AboutMe } from "@/components/AboutMe"; import { Toaster } from "react-hot-toast"; import { motion } from "framer-motion"; -import { HeroHighlight } from "@/components/Highlight"; +import { Highlight } from "@/components/Highlight"; import { Fragment } from "react"; export default function Home() { return ( - + -
+
- + ); }