+
hello@rython.dev
{ExperienceTabContent()}
{EducationTabContent()}
{ExtracurricularTabContent()}
diff --git a/src/components/global/Card.astro b/src/components/global/Card.astro
index a3d70a6..44fc0fb 100644
--- a/src/components/global/Card.astro
+++ b/src/components/global/Card.astro
@@ -63,7 +63,7 @@ const {
.card {
/* background: #1c1c1c; */
/* background: linear-gradient(135deg, rgb(38, 38, 38)#101010 20%, 100%); */
- box-shadow: 0 10px 25px 10px var(--shadowColor);
+ box-shadow: 0 8px 20px 2px var(--shadowColor);
padding: 0.5rem;
}
diff --git a/src/components/home/Intro.astro b/src/components/home/Intro.astro
index eb8008a..58cc14e 100644
--- a/src/components/home/Intro.astro
+++ b/src/components/home/Intro.astro
@@ -9,9 +9,9 @@ import { Image } from "astro:assets";
-
+
diff --git a/src/components/skills/SkillsComponent.astro b/src/components/skills/SkillsComponent.astro
index 96501fd..1251876 100644
--- a/src/components/skills/SkillsComponent.astro
+++ b/src/components/skills/SkillsComponent.astro
@@ -10,7 +10,7 @@ import Card from "../global/Card.astro";
>
diff --git a/src/components/ui/NavigationBar.tsx b/src/components/ui/NavigationBar.tsx
index fdb2952..c0c4f61 100644
--- a/src/components/ui/NavigationBar.tsx
+++ b/src/components/ui/NavigationBar.tsx
@@ -22,9 +22,31 @@ export const HoverNavigation = ({
const [hoveredIndex, setHoveredIndex] = useState
(null);
const [activeIndex, setActiveIndex] = useState(null);
const [hamburgerOpen, setHamburgerOpen] = useState(false);
+ const [theme, setTheme] = useState<"light" | "dark">("dark");
const hamburgerRef = useRef(null);
const menuRef = useRef(null);
+ useEffect(() => {
+ setTheme(
+ document.documentElement.dataset.theme === "light"
+ ? "light"
+ : "dark",
+ );
+ }, []);
+
+ const toggleTheme = () => {
+ const nextTheme = theme === "dark" ? "light" : "dark";
+ document.documentElement.dataset.theme = nextTheme;
+ localStorage.setItem("theme", nextTheme);
+ document
+ .querySelector('meta[name="theme-color"]')
+ ?.setAttribute(
+ "content",
+ nextTheme === "dark" ? "#101010" : "#fafafa",
+ );
+ setTheme(nextTheme);
+ };
+
// Track which section is in view
useEffect(() => {
const sectionIds = items.map((item) => {
@@ -106,7 +128,7 @@ export const HoverNavigation = ({
return (
<>
-
+
-
+
+