diff --git a/src/App.tsx b/src/App.tsx index bca114e..e9bfac6 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -19,6 +19,7 @@ export default function App() { const [mousePos, setMousePos] = useState({ x: 0, y: 0 }); const [hasClickedThemePill, setHasClickedThemePill] = useState(false); const [showThemePillTooltip, setShowThemePillTooltip] = useState(false); + const [cpuModeEnabled, setCpuModeEnabled] = useState(false); // Update CSS variables for dynamic theming useEffect(() => { @@ -65,7 +66,7 @@ export default function App() { }, [showThemePillTooltip]); return ( -
+
{/* @@ -75,7 +76,7 @@ export default function App() {
{/* Blueprint Dot Grid Background */} -
+
{/* Subtle mouse glow */}
- + setCpuModeEnabled(prev => !prev)} + />
diff --git a/src/components/HeroSection.tsx b/src/components/HeroSection.tsx index de708bd..1fc8acb 100644 --- a/src/components/HeroSection.tsx +++ b/src/components/HeroSection.tsx @@ -8,6 +8,7 @@ type HeroSectionProps = { hasClickedThemePill: boolean; showThemePillTooltip: boolean; onThemePillClick: () => void; + cpuModeEnabled: boolean; }; export function HeroSection({ @@ -15,6 +16,7 @@ export function HeroSection({ hasClickedThemePill, showThemePillTooltip, onThemePillClick, + cpuModeEnabled, }: HeroSectionProps) { return (
@@ -76,7 +78,7 @@ export function HeroSection({
- + {cpuModeEnabled ? : }

Systems engineer in the making. From window managers and game engines to self-hosted infrastructure. diff --git a/src/components/NavigationBar.tsx b/src/components/NavigationBar.tsx index cc10f78..58fc7c3 100644 --- a/src/components/NavigationBar.tsx +++ b/src/components/NavigationBar.tsx @@ -1,6 +1,11 @@ -import { Github, Mail, Terminal } from 'lucide-react'; +import { Cpu, Github, Mail, Terminal } from 'lucide-react'; -export function NavigationBar() { +type NavigationBarProps = { + cpuModeEnabled: boolean; + onCpuModeToggle: () => void; +}; + +export function NavigationBar({ cpuModeEnabled, onCpuModeToggle }: NavigationBarProps) { return (

-
+
+ github contact
diff --git a/src/theme.css b/src/theme.css index 587108c..3826ba5 100644 --- a/src/theme.css +++ b/src/theme.css @@ -99,6 +99,11 @@ animation: dot-grid-drift-x 3s linear infinite; } +.dot-grid.dot-grid-static::before { + animation: none; + background-position: 0px 0px; +} + @keyframes dot-grid-drift-x { from { background-position: 0px 0px;