Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 36 additions & 13 deletions src/components/landing/LandingFooter.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { cn } from "@/lib/utils";
import { FooterLink } from "@/types/landing";
import Image from "next/image";
import Link from "next/link";
Expand All @@ -22,21 +23,36 @@ export function LandingFooter() {
role="contentinfo"
className="border-t border-[var(--color-gray-100)] bg-[var(--color-gray-50)] text-[var(--color-gray-600)]"
>
<div className="mx-auto flex max-w-[128rem] flex-col gap-10 px-12 py-12">
{/* ์ƒ๋‹จ: ์ขŒ์šฐ ์ปฌ๋Ÿผ + ์ค‘์•™ ๋กœ๊ณ  */}
<div className="flex flex-row items-center gap-10 justify-between">
{/* ์ขŒ์ธก: ์ œํ’ˆ ๊ด€๋ จ ๋งํฌ */}
<LandingFooterColumn title="์ œํ’ˆ" links={productLinks} />
<div
className={cn(
"mx-auto flex max-w-[128rem] flex-col gap-10 px-6 py-10",
"md:px-12 md:py-12",
)}
>
<div
className={cn(
"grid grid-cols-[14rem_14rem] grid-rows-[auto_auto] justify-center items-start gap-10 text-center",
"md:grid-cols-3 md:grid-rows-1 md:justify-between md:text-left",
)}
>
{/* ์ œํ’ˆ ์ปฌ๋Ÿผ */}
<div className="col-span-1 row-start-2 justify-self-center md:row-auto md:justify-self-start">
<LandingFooterColumn title="์ œํ’ˆ" links={productLinks} />
</div>

{/* ์ค‘์•™: ๋ธŒ๋žœ๋“œ ๋กœ๊ณ /๋ฌธ๊ตฌ */}
<div className="flex flex-col items-center gap-5">
<Link href="/" aria-label="MyPlanMate ํ™ˆ์œผ๋กœ ์ด๋™" className="flex items-center gap-2">
{/* ๋กœ๊ณ  ๋ธ”๋ก*/}
<div className="col-span-2 row-start-1 flex flex-col items-center gap-4 justify-self-center md:col-span-1 md:row-auto">
<Link
href="/"
aria-label="MyPlanMate ํ™ˆ์œผ๋กœ ์ด๋™"
className="flex items-center justify-center"
>
<Image
src="/images/logo.png"
alt="MyPlanMate ๋กœ๊ณ "
width={150}
height={150}
className="object-contain select-none"
className="object-contain select-none h-[4rem] md:h-[6rem]"
draggable={false}
/>
</Link>
Expand All @@ -45,13 +61,20 @@ export function LandingFooter() {
</p>
</div>

{/* ์šฐ์ธก: ์ง€์›/์ •์ฑ… ๋งํฌ */}
<LandingFooterColumn title="์ง€์›" links={supportLinks} />
{/* ์ง€์› ์ปฌ๋Ÿผ */}
<div className="col-span-1 row-start-2 justify-self-center md:row-auto md:justify-self-end">
<LandingFooterColumn title="์ง€์›" links={supportLinks} />
</div>
</div>

{/* ํ•˜๋‹จ: ๊ตฌ๋ถ„์„  + ์ €์ž‘๊ถŒ */}
<div className="mt-4 border-t border-[var(--color-gray-100)] pt-6">
<div className="flex flex-row items-center justify-between gap-4 ">
<div className={cn("mt-4 border-t border-[var(--color-gray-100)] pt-6")}>
<div
className={cn(
"flex flex-col items-center gap-4 text-center",
"md:flex-row md:items-center md:justify-between md:text-left",
)}
>
<LandingCopyright />
<p className="t-12-r text-[var(--color-gray-400)]">
์„œ๋น„์Šค ๊ด€๋ จ ์•ˆ๋‚ด ๋ฐ ๊ณต์ง€์‚ฌํ•ญ์€ ํ™ˆํŽ˜์ด์ง€๋ฅผ ํ†ตํ•ด ์ œ๊ณต๋ฉ๋‹ˆ๋‹ค.
Expand Down
20 changes: 14 additions & 6 deletions src/components/landing/LandingNavBar.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
// src/components/landing/LandingNavBar.tsx
import { cn } from "@/lib/utils";
import Image from "next/image";
import Link from "next/link";

export function LandingNavBar() {
return (
<nav
className={cn("mx-auto flex h-[9.6rem] max-w-[128rem] items-center justify-between px-12")}
className={cn(
"mx-auto flex h-[6.4rem] max-w-[128rem] items-center justify-between px-6",
"md:h-[9.6rem] md:px-12",
)}
aria-label="Global navigation"
>
{/* ์ขŒ์ธก: ๋กœ๊ณ  (์ด๋ฏธ์ง€) */}
Expand All @@ -16,23 +18,29 @@ export function LandingNavBar() {
alt="MyPlanMate ๋กœ๊ณ "
width={150}
height={150}
className="object-contain select-none"
className={cn("object-contain select-none")}
draggable={false}
/>
</Link>

{/* ์šฐ์ธก: ์–ธ์–ด ํ† ๊ธ€ + ๋กœ๊ทธ์ธ */}
<div className="flex items-center gap-12">
<div className={cn("flex items-center gap-6", "md:gap-12")}>
<button
type="button"
className="t-16-m text-[var(--color-gray-600)] hover:text-[var(--color-gray-900)] cursor-pointer"
className={cn(
"cursor-pointer t-14-m text-[var(--color-gray-600)] hover:text-[var(--color-gray-900)]",
"md: t-16-m",
)}
aria-label="์–ธ์–ด ์ „ํ™˜"
>
ํ•œ๊ตญ์–ด
</button>
<Link
href="/login"
className="t-16-m text-[var(--color-gray-600)] hover:text-[var(--color-gray-900)]"
className={cn(
"t-14-m text-[var(--color-gray-600)] hover:text-[var(--color-gray-900)]",
"md: t-16-m",
)}
aria-label="๋กœ๊ทธ์ธํŽ˜์ด์ง€๋กœ ์ด๋™"
>
๋กœ๊ทธ์ธ
Expand Down