initial commit, setup

This commit is contained in:
Hunter W.
2026-03-26 23:50:36 -04:00
parent 1ec3a56705
commit 960f74a754
21 changed files with 865 additions and 120 deletions

26
components/Cursor.tsx Normal file
View File

@@ -0,0 +1,26 @@
"use client";
import { useState, useEffect } from "react";
export default function Cursor() {
const [on, setOn] = useState(true);
useEffect(() => {
const i = setInterval(() => setOn((v) => !v), 530);
return () => clearInterval(i);
}, []);
return (
<span
style={{
display: "inline-block",
width: 10,
height: "1.1em",
background: on ? "var(--accent)" : "transparent",
marginLeft: 2,
verticalAlign: "text-bottom",
transition: "background 0.05s",
}}
/>
);
}