"use client"; import React from "react"; import { usePlatformConfig } from "@/shared/contexts/PlatformConfigContext"; import { Theme } from "@/shared/types/system"; import { About as ModernAbout } from "@/components/theme/modern/About"; import { About as ClassicAbout } from "@/components/theme/classic/About"; import { About as CreativeAbout } from "@/components/theme/creative/About"; import { About as TemuAbout } from "@/components/theme/temu/About"; import { Navigation } from "@/shared/components/Navigation"; import { Footer } from "@/shared/components/Footer"; import { NavigationItems } from "@/components/theme/Theme.const"; import { AboutContent } from "@/components/about/AboutContent"; export const AboutThemeSelector: React.FC = () => { const { platformConfig } = usePlatformConfig(); const currentTheme = platformConfig.theme || Theme.DEFAULT; // Render the About page based on the current theme switch (currentTheme) { case Theme.MODERN: return ; case Theme.CLASSIC: return ; case Theme.CREATIVE: return ; case Theme.TEMU: return ; case Theme.DEFAULT: default: return (
); } };