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:
parent
4ae536cde4
commit
51aa45206f
@ -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>
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user