summaryrefslogtreecommitdiff
path: root/components/layout/Footer.tsx
blob: 61a5a06b638926a6d622ae807b22892e02348605 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
'use client'

import { siteConfig } from "@/config/site"
import { usePathname } from "next/navigation"

export function SiteFooter() {
  const pathname = usePathname()
  const isDataRoom = pathname?.includes('data-room')

  return (
    <footer className="border-grid border-t py-6 md:px-8 md:py-0">
      <div className="container-wrapper">
        <div className="container py-4">
          <div className="text-balance text-center text-sm leading-loose text-muted-foreground md:text-left">
            {isDataRoom 
              ? "Data Room - 삼성중공업 데이터룸"
              : "enterprise Vendor Co-work Platform - 삼성중공업 전사벤더협업플랫폼"
            }
          </div>
        </div>
      </div>
    </footer>
  )
}