mirror of
https://github.com/skidoodle/albert.lol.git
synced 2025-02-15 06:09:15 +01:00
yet another quality commit
This commit is contained in:
parent
ca018a2b17
commit
b1b1cc65e0
5 changed files with 64 additions and 54 deletions
|
@ -3,49 +3,53 @@
|
|||
import age from "@/utils";
|
||||
import { motion } from "framer-motion";
|
||||
|
||||
export const AboutMe = () => {
|
||||
return (
|
||||
export const AboutMe = () => (
|
||||
<motion.div
|
||||
className="p-3 max-w-xs lg:max-w-sm md:max-w-md max-h-[300px] h-[265px] rounded-lg shadow-lg bg-white dark:bg-black"
|
||||
className="p-4 w-full max-w-[325px] h-[265px] rounded-lg shadow-lg bg-white dark:bg-black flex flex-col justify-center items-start"
|
||||
initial={{ opacity: 0 }}
|
||||
animate={{ opacity: 1 }}
|
||||
whileHover={{ scale: 1.05 }}
|
||||
transition={{ duration: 0.5 }}
|
||||
>
|
||||
<h2 className="text-[250%] font-bold dark:text-[--dark-secondary] text-[--light-secondary]">
|
||||
about me
|
||||
<h2 className="text-3xl font-bold dark:text-[--dark-secondary] text-[--light-secondary] mb-4">
|
||||
About Me
|
||||
</h2>
|
||||
<p className="text-[110%]">
|
||||
<p className="text-lg leading-relaxed">
|
||||
I’m a{" "}
|
||||
<span className="font-semibold text-blue-600 dark:text-blue-400">
|
||||
{age()}-year-old
|
||||
</span>
|
||||
, studying{" "}
|
||||
, studying
|
||||
<span className="font-medium text-orange-600 dark:text-orange-400">
|
||||
{" "}
|
||||
Computer Science Operational Engineering
|
||||
</span>{" "}
|
||||
at{" "}
|
||||
at
|
||||
<span className="font-medium text-green-600 dark:text-green-400">
|
||||
{" "}
|
||||
Óbuda University
|
||||
</span>{" "}
|
||||
in Hungary. I’m passionate about{" "}
|
||||
in Hungary. I’m passionate about
|
||||
<span className="text-red-600 dark:text-red-400">
|
||||
{" "}
|
||||
systems engineering
|
||||
</span>
|
||||
, working on my{" "}
|
||||
, working on my
|
||||
<span className="italic text-green-700 dark:text-green-500">
|
||||
{" "}
|
||||
homelab
|
||||
</span>
|
||||
, and coding in{" "}
|
||||
, and coding in
|
||||
<span className="font-medium text-purple-600 dark:text-purple-400">
|
||||
{" "}
|
||||
TypeScript
|
||||
</span>{" "}
|
||||
and{" "}
|
||||
and
|
||||
<span className="font-medium text-purple-600 dark:text-purple-400">
|
||||
{" "}
|
||||
Go
|
||||
</span>
|
||||
.
|
||||
</p>
|
||||
</motion.div>
|
||||
);
|
||||
};
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
import { cn } from "@/utils";
|
||||
import { useMotionValue, motion, useMotionTemplate } from "framer-motion";
|
||||
|
||||
export const HeroHighlight = ({
|
||||
export const Highlight = ({
|
||||
children,
|
||||
className,
|
||||
containerClassName,
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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<{
|
||||
|
|
|
@ -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 (
|
||||
<Fragment>
|
||||
<HeroHighlight containerClassName="min-h-screen flex items-start">
|
||||
<Highlight containerClassName="min-h-screen flex items-start">
|
||||
<ThemeSwitcher />
|
||||
<Toaster position="top-left" />
|
||||
<motion.div
|
||||
|
@ -20,7 +20,7 @@ export default function Home() {
|
|||
animate={{ opacity: 1, y: 0 }}
|
||||
transition={{ duration: 0.5 }}
|
||||
>
|
||||
<div className="flex max-w-3xl flex-col z-10 relative mt-52">
|
||||
<div className="flex max-w-3xl flex-col z-10 relative mt-24 lg:mt-56">
|
||||
<motion.div
|
||||
className="flex flex-col lg:flex-row items-center justify-center lg:justify-between space-y-10 lg:space-y-5 lg:space-x-10"
|
||||
initial={{ opacity: 0 }}
|
||||
|
@ -43,7 +43,7 @@ export default function Home() {
|
|||
</motion.div>
|
||||
</div>
|
||||
</motion.div>
|
||||
</HeroHighlight>
|
||||
</Highlight>
|
||||
</Fragment>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue