diff --git a/src/components/themeButton.tsx b/src/components/themeButton.tsx index 6a44eb5..80965a1 100644 --- a/src/components/themeButton.tsx +++ b/src/components/themeButton.tsx @@ -1,5 +1,5 @@ import { MoonIcon, SunIcon } from "@heroicons/react/24/solid"; -import { useEffect, useState } from "react"; +import { useEffect } from "react"; const themeSwitch = () => { if (document.documentElement.classList.contains("dark")) { diff --git a/src/scenes/about/index.tsx b/src/scenes/about/index.tsx index d46ce26..e5c46f3 100644 --- a/src/scenes/about/index.tsx +++ b/src/scenes/about/index.tsx @@ -1,10 +1,5 @@ import HText from "@/shared/HText"; import { SelectedPage } from "@/shared/types"; -import { - HomeModernIcon, - UserGroupIcon, - AcademicCapIcon, -} from "@heroicons/react/24/solid"; import { motion } from "framer-motion"; type Props = { diff --git a/src/scenes/home/index.tsx b/src/scenes/home/index.tsx index 7a5d917..2d9aeec 100644 --- a/src/scenes/home/index.tsx +++ b/src/scenes/home/index.tsx @@ -1,5 +1,5 @@ -import useMediaQuery from "@/hooks/useMediaQuery"; -import ActionButton from "@/shared/actionButton"; +// import useMediaQuery from "@/hooks/useMediaQuery"; +// import ActionButton from "@/shared/actionButton"; import { SelectedPage } from "@/shared/types"; import Profile from "@/assets/profile.png"; import Profile2 from "@/assets/profile2.png"; @@ -18,7 +18,7 @@ import { useEffect } from "react"; type Props = { setSelectedPage: (value: SelectedPage) => void; theme: string }; const Home = ({ setSelectedPage, theme }: Props) => { - const isAboveMediumScreens = useMediaQuery("(min-width: 1060px)"); + //const isAboveMediumScreens = useMediaQuery("(min-width: 1060px)"); const profiles = [Profile, Profile2]; diff --git a/src/scenes/navbar/Link.tsx b/src/scenes/navbar/Link.tsx index 18a60b6..5f35ac9 100644 --- a/src/scenes/navbar/Link.tsx +++ b/src/scenes/navbar/Link.tsx @@ -1,4 +1,4 @@ -import useMediaQuery from "@/hooks/useMediaQuery"; +//import useMediaQuery from "@/hooks/useMediaQuery"; import { SelectedPage } from "@/shared/types"; import AnchorLink from "react-anchor-link-smooth-scroll"; diff --git a/src/scenes/navbar/index.tsx b/src/scenes/navbar/index.tsx index 099820c..3d32184 100644 --- a/src/scenes/navbar/index.tsx +++ b/src/scenes/navbar/index.tsx @@ -6,7 +6,7 @@ import { SelectedPage } from "@/shared/types"; import useMediaQuery from "@/hooks/useMediaQuery"; import ThemeButton from "@/components/themeButton"; import NavProgressBar from "./navProgressBar"; -import { clear } from "console"; +//import { clear } from "console"; type Props = { selectedPage: SelectedPage; @@ -16,13 +16,7 @@ type Props = { isTopPage: boolean; }; -const Navbar = ({ - selectedPage, - setSelectedPage, - theme, - setTheme, - isTopPage, -}: Props) => { +const Navbar = ({ selectedPage, setSelectedPage, theme, setTheme }: Props) => { const flexBetween = "flex items-center justify-between"; const isAboveMediumScreens = useMediaQuery("(min-width: 1060px)"); const [isMenuToggled, setIsMenuToggled] = useState(false); diff --git a/src/scenes/portfolio/index.tsx b/src/scenes/portfolio/index.tsx index 5e2d732..fe9249d 100644 --- a/src/scenes/portfolio/index.tsx +++ b/src/scenes/portfolio/index.tsx @@ -1,5 +1,5 @@ import HText from "@/shared/HText"; -import { SelectedPage, ProjectType } from "@/shared/types"; +import { SelectedPage } from "@/shared/types"; import { motion } from "framer-motion"; type Props = { @@ -7,34 +7,34 @@ type Props = { theme: string; }; -const projects: Array = [ - { - image: "TBD", - title: "TBD", - description: "C4C... TBD", - link: "TBD", - }, - { - image: "", - title: "TL;DR", - description: - "A Chrome extension which summarizes articles for you. Provides an interface for selecting summary length, font size, and light/dark themes.", - link: "", - }, - { - image: "", - title: "NLP Image Generator", - description: - "A python script which generates images based on a given text input. Uses Neural Network and Naive Bayes models trained on the Brown Corpus to create word embeddings for mapping emotions to paintins. They are then used to generate a painting from user input by matching objects and sentiment.", - link: "", - }, - { - image: "", - title: "Photography", - description: "A collection of my favorite shots :)", - link: "", - }, -]; +// const projects: Array = [ +// { +// image: "TBD", +// title: "TBD", +// description: "C4C... TBD", +// link: "TBD", +// }, +// { +// image: "", +// title: "TL;DR", +// description: +// "A Chrome extension which summarizes articles for you. Provides an interface for selecting summary length, font size, and light/dark themes.", +// link: "", +// }, +// { +// image: "", +// title: "NLP Image Generator", +// description: +// "A python script which generates images based on a given text input. Uses Neural Network and Naive Bayes models trained on the Brown Corpus to create word embeddings for mapping emotions to paintins. They are then used to generate a painting from user input by matching objects and sentiment.", +// link: "", +// }, +// { +// image: "", +// title: "Photography", +// description: "A collection of my favorite shots :)", +// link: "", +// }, +// ]; const Portfolio = ({ setSelectedPage, theme }: Props) => { return (