feat(layout): use new components
This commit is contained in:
@@ -1,12 +1,7 @@
|
|||||||
import Head from "next/head";
|
import Head from "next/head";
|
||||||
import { JetBrains_Mono } from "next/font/google";
|
|
||||||
import clsx from "clsx";
|
|
||||||
import { Terminal } from "~/components/Terminal";
|
import { Terminal } from "~/components/Terminal";
|
||||||
|
import { MusicVisualizer } from "~/components/MusicVisualizer";
|
||||||
const text = JetBrains_Mono({
|
import { MusicPlayer } from "~/components/MusicPlayer";
|
||||||
subsets: ["latin"],
|
|
||||||
weight: ["400"],
|
|
||||||
});
|
|
||||||
|
|
||||||
export default function Home() {
|
export default function Home() {
|
||||||
return (
|
return (
|
||||||
@@ -15,19 +10,28 @@ export default function Home() {
|
|||||||
<title>pihkaal</title>
|
<title>pihkaal</title>
|
||||||
</Head>
|
</Head>
|
||||||
<main
|
<main
|
||||||
className={clsx(
|
className={
|
||||||
"insets-0 fixed flex h-screen w-screen flex-col gap-3 bg-[url(/wallpaper.jpg)] bg-cover p-3",
|
"insets-0 fixed flex h-screen w-screen flex-col gap-3 bg-[url(/wallpaper.jpg)] bg-cover p-3 font-body"
|
||||||
text.className,
|
}
|
||||||
)}
|
|
||||||
>
|
>
|
||||||
<nav className="border border-red-500">toolbar</nav>
|
<nav className="border border-red-500">toolbar</nav>
|
||||||
|
|
||||||
<Terminal className="flex-1">nvim</Terminal>
|
<Terminal className="flex-1">nvim</Terminal>
|
||||||
|
|
||||||
<div className="flex h-[15%] gap-3">
|
<div className="flex gap-3">
|
||||||
<Terminal className="flex-1">console</Terminal>
|
<Terminal className="flex-1">
|
||||||
|
<MusicPlayer
|
||||||
|
title="Last Tango in Kyoto"
|
||||||
|
artist="Floating Bits"
|
||||||
|
album="Last Tango in Kyoto"
|
||||||
|
played={50}
|
||||||
|
duration={93}
|
||||||
|
/>
|
||||||
|
</Terminal>
|
||||||
|
|
||||||
<Terminal className="flex-1">cava</Terminal>
|
<Terminal className="flex-1">
|
||||||
|
<MusicVisualizer />
|
||||||
|
</Terminal>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
</>
|
</>
|
||||||
|
|||||||
Reference in New Issue
Block a user