feat: added new page media kit

This commit is contained in:
poyrazavsever
2026-07-18 14:39:18 +03:00
parent 5d46fd1356
commit 67fea16abd
5 changed files with 842 additions and 2 deletions
+3 -1
View File
@@ -37,6 +37,8 @@ export function AppShell({ children }: AppShellProps) {
const [theme, setTheme] = useState<ThemeMode>(getInitialTheme);
const isStandaloneLinksPage =
pathname === "/links" || pathname.startsWith("/links/");
const isStandaloneMediaKitPage =
pathname === "/media-kit" || pathname.startsWith("/media-kit/");
useEffect(() => {
document.documentElement.dataset.poyrazTheme = theme;
@@ -44,7 +46,7 @@ export function AppShell({ children }: AppShellProps) {
localStorage.setItem("poyraz-theme", theme);
}, [theme]);
if (isStandaloneLinksPage) {
if (isStandaloneLinksPage || isStandaloneMediaKitPage) {
return children;
}