feat: Add ColorSchemeToggle component to HomePage for theme switching functionality
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
import { AppShellWithMenu } from '../components/Appshell/Appshell';
|
import { AppShellWithMenu } from '../components/Appshell/Appshell';
|
||||||
import { Welcome } from '@/components/Welcome/Welcome';
|
import { Welcome } from '@/components/Welcome/Welcome';
|
||||||
|
import { ColorSchemeToggle } from '@/components/ColorSchemeToggle/ColorSchemeToggle';
|
||||||
|
|
||||||
|
|
||||||
export function HomePage() {
|
export function HomePage() {
|
||||||
return (
|
return (
|
||||||
@@ -12,6 +14,8 @@ export function HomePage() {
|
|||||||
<p>This is the home page content.</p>
|
<p>This is the home page content.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<ColorSchemeToggle></ColorSchemeToggle>
|
||||||
|
|
||||||
</AppShellWithMenu>
|
</AppShellWithMenu>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user