Import configuration module in Footer component to display current mode

This commit is contained in:
yoosangwook 2025-05-29 18:35:44 +09:00
parent 7c610c8487
commit 42238db254

View File

@ -1,5 +1,6 @@
'use client' 'use client'
import LocaleSwitch from '@/components/LocaleSwitch' import LocaleSwitch from '@/components/LocaleSwitch'
import Config from '@/config/config.export'
import { usePathname } from 'next/navigation' import { usePathname } from 'next/navigation'
export default function Footer() { export default function Footer() {
@ -10,6 +11,7 @@ export default function Footer() {
<div className="footer-inner flex justify-center"> <div className="footer-inner flex justify-center">
<span>COPYRIGHT©2024 Hanwha Japan All Rights Reserved.</span> <span>COPYRIGHT©2024 Hanwha Japan All Rights Reserved.</span>
<LocaleSwitch /> <LocaleSwitch />
{Config().mode}
</div> </div>
</footer> </footer>
)} )}