Merge branch 'homepage-refactoring' into 'dev'

Homepage Refactoring - Pt .3

See merge request rheinsw/website!28
This commit is contained in:
2025-04-16 17:37:41 +00:00
parent 66cdadea16
commit 5c60594a4f
36 changed files with 896 additions and 473 deletions

10
utils/useThemeColors.ts Normal file
View File

@@ -0,0 +1,10 @@
'use client';
import {useContext} from "react";
import {ThemeContext} from "@/components/provider/ThemeProvider";
import {themeColors} from "@/components/Helper/ThemeColors";
export const useThemeColors = () => {
const {theme} = useContext(ThemeContext);
return themeColors[theme];
};