-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/Team-Blitz-Steady/steady-cl…
- Loading branch information
Showing
3 changed files
with
38 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
"use client"; | ||
|
||
import Image from "next/image"; | ||
import { usePathname } from "next/navigation"; | ||
import CopyRight from "@/images/copyright.svg"; | ||
import { cn } from "@/lib/utils"; | ||
|
||
const Footer = () => { | ||
const pathname = usePathname(); | ||
|
||
return ( | ||
<footer | ||
className={`${cn( | ||
"-bottom-30 flex h-250 w-screen items-center justify-evenly bg-st-gray-50", | ||
pathname === "/" ? "" : "hidden", | ||
)}`} | ||
> | ||
<Image | ||
src={CopyRight} | ||
alt="CopyRight" | ||
width={300} | ||
height={200} | ||
/> | ||
<div className="flex items-center justify-center gap-50"> | ||
<div className="font-bold">이용약관</div> | ||
<div className="font-bold">개인정보처리방침</div> | ||
<div className="font-bold">서비스 소개</div> | ||
</div> | ||
</footer> | ||
); | ||
}; | ||
|
||
export default Footer; |