Design: footer, home 디자인 수정

This commit is contained in:
jhynsoo 2024-10-08 10:45:28 +09:00
parent e93129a1b8
commit 24e194c221
3 changed files with 18 additions and 24 deletions

View File

@ -1,24 +1,18 @@
import * as React from 'react';
import { cn } from '@/lib/utils';
import { Link } from 'react-router-dom';
export interface FooterProps extends React.HTMLAttributes<HTMLDivElement> {}
export default function Footer({ className, ...props }: FooterProps) {
export default function Footer() {
return (
<footer
className={cn('mt-[100px] border-t border-gray-200 bg-gray-100', className)}
{...props}
>
<div className="container py-10">
<div className="flex flex-col items-start gap-5">
<div className="relative">
<div className="font-heading text-lg text-gray-600 md:text-xl">WorLabel</div>
<p className="font-body-small mt-2 text-gray-500">Copyright © 2024 WorLabel All rights reserved</p>
<footer className="select-none bg-gray-100">
<div className="container py-8 text-gray-400">
<div className="body-small flex flex-col items-start gap-5">
<div>
<div className="heading">WorLabel</div>
<span>Copyright © 2024 WorLabel. All rights reserved.</span>
</div>
<div className="inline-flex items-center gap-4">
<div className="font-body-small text-gray-500"> </div>
<div className="h-4 w-px bg-gray-400" />
<div className="font-body-small text-gray-500"> </div>
<div className="inline-flex items-center gap-2">
<Link to="#"> </Link>
<span className="h-3 w-px rounded bg-gray-400" />
<Link to="#"> </Link>
</div>
</div>
</div>

View File

@ -15,7 +15,7 @@ export default function PageLayout() {
</main>
</Suspense>
</div>
<Footer className="mt-0" />
<Footer />
</div>
</>
);

View File

@ -9,16 +9,16 @@ export default function Home() {
const { accessToken } = useAuthStore();
return (
<div className="flex h-full w-full flex-col items-center justify-center bg-gray-50">
<div className="flex h-full w-full flex-col items-center justify-center break-keep bg-gray-50 px-10">
<div className="text-center">
<p className="text-5xl font-semibold leading-[60px] text-black">
<span className="text-primary"> </span>
<p className="text-5xl font-semibold leading-[1.2] text-gray-900">
<span className="font-bold text-primary"> </span>
<br />
<span className="text-primary">WorLabel</span>
<span className="font-bold text-primary">WorLabel</span>
</p>
</div>
<div className="mt-4 text-center">
<p className="text-xl font-light leading-[28px] text-black">
<p className="body font-light leading-[28px] text-gray-500">
WorLabel로 .
<br />
.