diff --git a/app/_ui/HomePage.tsx b/app/_ui/HomePage.tsx index 26dc333..dfa9b31 100644 --- a/app/_ui/HomePage.tsx +++ b/app/_ui/HomePage.tsx @@ -5,7 +5,6 @@ import Projects from "../components/Projects"; import Contact from "../components/Contact"; import Footer from "../components/Footer"; import Script from "next/script"; -import ActivityFeedClient from "./ActivityFeedClient"; export default function HomePage() { return ( @@ -32,7 +31,6 @@ export default function HomePage() { }), }} /> -
{/* Spacer to prevent navbar overlap */} diff --git a/app/_ui/HomePageServer.tsx b/app/_ui/HomePageServer.tsx index 8dc55ed..d2bc7e4 100644 --- a/app/_ui/HomePageServer.tsx +++ b/app/_ui/HomePageServer.tsx @@ -1,6 +1,5 @@ import Header from "../components/Header.server"; import Script from "next/script"; -import ActivityFeedClient from "./ActivityFeedClient"; import { getHeroTranslations, getAboutTranslations, diff --git a/app/_ui/ProjectsPageClient.tsx b/app/_ui/ProjectsPageClient.tsx index b1009a1..cdd1035 100644 --- a/app/_ui/ProjectsPageClient.tsx +++ b/app/_ui/ProjectsPageClient.tsx @@ -148,7 +148,7 @@ export default function ProjectsPageClient({ - ))} + )))} diff --git a/app/components/ActivityFeed.tsx b/app/components/ActivityFeed.tsx index 39252d6..93b379c 100644 --- a/app/components/ActivityFeed.tsx +++ b/app/components/ActivityFeed.tsx @@ -35,9 +35,11 @@ function getSafeGamingText(details: string | number | undefined, state: string | } export default function ActivityFeed({ - onActivityChange + onActivityChange, + idleQuote }: { onActivityChange?: (active: boolean) => void; + idleQuote?: string; }) { const [data, setData] = useState(null); const [hasActivity, setHasActivity] = useState(false); @@ -85,9 +87,9 @@ export default function ActivityFeed({

- “{randomQuote.content}” + “{idleQuote || randomQuote.content}”

-

— {randomQuote.author}

+ {!idleQuote &&

— {randomQuote.author}

}
Currently Thinking diff --git a/app/components/Projects.tsx b/app/components/Projects.tsx index 24196b0..dbd439f 100644 --- a/app/components/Projects.tsx +++ b/app/components/Projects.tsx @@ -122,7 +122,7 @@ const Projects = () => {
- ))} + )))}