@@ -26,7 +22,6 @@ export default function PictureCarousel({
onClick(v)}
src={v}
className="inline w-[200px] max-h-[100px] object-cover"
/>
diff --git a/src/pages/App.tsx b/src/pages/App.tsx
index cb1aed5..f32763d 100644
--- a/src/pages/App.tsx
+++ b/src/pages/App.tsx
@@ -1,202 +1,62 @@
import { useState } from "react";
import Layout from "../components/Layout";
-import PictureCarousel from "../components/modules/PictureCarousel";
-import ScoreModule from "../components/modules/ScoreModule";
-import FantasyStatus from "../components/FantasyStatus";
import Clock from "../components/modules/Clock";
-import MusicComponent from "../components/info/MusicComponent";
-
-const HomePage = () => {
- return (
- <>
-
-
-
-
-
@onelonesabre -- alex
-
-
- professional yapper
-
- qa stuff @ medal
-
-
-
-
links
-
-
-
- twitter
-
-
-
-
- instagram
-
-
-
-
- medal
-
-
-
-
- steam
-
-
-
-
- spotify
-
-
-
-
-
-
-
-
-
-
-
-
-
about me
-
- born and raised buffalonian + wnyer. doing qa work for 4 years and
- learning software engineering on the side. i also play acoustic
- guitar, been gaming since i was 4 and love going to games in
- Buffalo. incredibly awkward, but that's besides the point
-
-
-
-
- shows dexter,
- pitt, tlou, twd, yellowstone
-
-
- music ptv, 5sos,
- treaty oak, zach top, zach bryan
-
-
-
-
-
-
- >
- );
-};
-
-const PicturesPage = ({
- setOverlayImage,
-}: {
- setOverlayImage: (v: string | null) => void;
-}) => {
- return (
-
-
pictures
-
-
-
setOverlayImage(url)} />
-
-
- );
-};
+import Button from "../components/Button";
+import Home from "./Home";
+import ScoreModule from "../components/modules/ScoreModule";
+import PicturesPage from "./Pictures";
+import FantasyStatus from "../components/FantasyStatus";
export default function App() {
- const [tab, setTab] = useState
("home");
- const [overlayImage, setOverlayImage] = useState(null);
+ const [tab, setTab] = useState<"home" | "scores" | "fantasy" | "pictures">(
+ "home",
+ );
return (
- {overlayImage && (
- setOverlayImage(null)}
- className="absolute min-h-screen min-w-screen bg-black/75"
- >
-
-
+
+
+
+
welcome
+
+
+ GO SABRES!
+
- )}
- {/* bg-[#ebebeb] */}
-
-
-
-
-
-
welcome
-
-
- GO SABRES!
-
-
-
+
-
-
-
- {tab === "home" &&
}
- {tab === "fantasy" &&
}
- {tab === "pictures" && (
-
- )}
- {tab === "scores" &&
}
-
-
-
setTab("home")}
- className={`border-r-1 border-t-1 border-black hover:cursor-pointer ${tab === "home" && "underline"}`}
- >
- home
-
- setTab("pictures")}
- className={`border-r-1 border-t-1 border-black hover:cursor-pointer ${tab === "pictures" && "underline"}`}
- >
- pictures
-
- setTab("scores")}
- className={`border-t-1 border-black hover:cursor-pointer ${tab === "scores" && "underline"}`}
- >
- scores
-
- setTab("fantasy")}
- className={`border-l-1 border-t-1 border-black hover:cursor-pointer ${tab === "fantasy" && "underline"}`}
- >
- fantasy
-
-
-
+
+ setTab("home")}>
+ home
+
+ setTab("scores")}>
+ scores
+
+ setTab("pictures")}
+ >
+ pictures
+
+ setTab("fantasy")}>
+ fantasy
+
+
+
+
+ {tab === "home" &&
}
+ {tab === "scores" &&
}
+ {tab === "pictures" &&
}
+ {tab === "fantasy" &&
}
);
diff --git a/src/pages/Home.tsx b/src/pages/Home.tsx
new file mode 100644
index 0000000..d3c68c8
--- /dev/null
+++ b/src/pages/Home.tsx
@@ -0,0 +1,78 @@
+import MusicComponent from "../components/info/MusicComponent";
+export default function Home() {
+ return (
+ <>
+
+
+
+
alex (19)
+
professional yapper
+
qa stuff n things @ medal.tv
+
sabres sth, go sabres
+
khalil shakir truther
+
scrappy doo 6 truther
+
+
+
+
+
+
+
+
+
+
about me
+
+ born and raised buffalonian + wnyer. doing qa work for 4 years and
+ learning software engineering on the side. i also play acoustic
+ guitar, been gaming since i was 4 and love going to games in
+ Buffalo. incredibly awkward, but that's besides the point
+
+
+
+
+
+ shows dexter,
+ pitt, tlou, twd, yellowstone
+
+
+ music ptv, 5sos,
+ treaty oak, zach top, zach bryan
+
+
+ teams bills,
+ sabres, jays
+
+
+
+
+ >
+ );
+}
diff --git a/src/pages/Pictures.tsx b/src/pages/Pictures.tsx
new file mode 100644
index 0000000..932c3fe
--- /dev/null
+++ b/src/pages/Pictures.tsx
@@ -0,0 +1,12 @@
+import PictureCarousel from "../components/modules/PictureCarousel";
+export default function PicturesPage() {
+ return (
+
+ );
+}