refactor: simplify Footer component structure

- Removed unnecessary imports and streamlined the Footer component by consolidating content into a single div, enhancing readability and maintainability.
This commit is contained in:
yoosangwook 2025-06-05 10:21:22 +09:00
parent 4ae536cde4
commit 51aa45206f

View File

@ -1,21 +1,10 @@
'use client' 'use client'
import Link from 'next/link'
import Config from '@/config/config.export'
export default function Footer() { export default function Footer() {
return ( return (
<> <>
<footer> <footer>
<div className="footer-inner"> <div className="footer-inner">COPYRIGHT©2025 Hanwha Japan All Rights Reserved </div>
COPYRIGHT©2025 Hanwha Japan All Rights Reserved{' '}
<span>
<Link href="/pdf/suitable">PDF</Link>
</span>
<span>{Config().mode}</span>
<span>{Config().baseUrl}</span>
<span>{process.env.NEXT_PUBLIC_API_URL}</span>
</div>
</footer> </footer>
</> </>
) )