Files
albert.lol/src/app/page.tsx
T
2024-10-29 08:48:57 +01:00

49 lines
1.4 KiB
TypeScript

"use client";
import { ThemeSwitcher } from "@/components/ThemeSwitcher";
import { NowPlayingCard } from "@/components/SpotifyCard";
import { SocialLayout } from "@/components/SocialLayout";
import { AboutMe } from "@/components/AboutMe";
import { Toaster } from "react-hot-toast";
import { motion } from "framer-motion";
import { Background } from "@/components/Background";
import { Fragment } from "react";
export default function Home() {
return (
<Fragment>
<Background />
<ThemeSwitcher />
<Toaster position="top-left" />
<motion.div
initial={{ opacity: 0, y: 20 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.5 }}
>
<div className="mx-auto mt-44 flex max-w-3xl flex-col mb-12 z-10 relative">
<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 }}
animate={{ opacity: 1 }}
transition={{ duration: 0.5 }}
>
<motion.div
className="flex flex-col items-center text-center"
initial={{ scale: 0.9 }}
animate={{ scale: 1 }}
transition={{ duration: 0.5 }}
>
<h1 className="text-[7.5rem] leading-none font-bold dark:text-[--dark-text] text-[--light-text]">
albert
</h1>
<SocialLayout />
<NowPlayingCard />
</motion.div>
<AboutMe />
</motion.div>
</div>
</motion.div>
</Fragment>
);
}