'use client'
import LocaleSwitch from '@/components/LocaleSwitch'
import { usePathname } from 'next/navigation'

export default function Footer() {
  return (
    <>
      {usePathname() !== '/floor-plan' && (
        <footer>
          <div className="footer-inner flex justify-center">
            <span>COPYRIGHT©2024 Hanwha Japan All Rights Reserved.</span>
            <LocaleSwitch />
          </div>
        </footer>
      )}
    </>
  )
}
