Skip to content

Commit

Permalink
fix(fe): adjust margin
Browse files Browse the repository at this point in the history
  • Loading branch information
jimin9038 committed Dec 31, 2024
1 parent 282b581 commit eb389e6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions frontend/app/(main)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ export default async function Home() {
// })
// .json()
return (
<div>
<>
<section className="flex w-full max-w-6xl flex-col border-b-2 border-r-gray-500 lg:flex-row">
<div className="h-30 mt-6 w-full border-r-2 border-r-gray-100 lg:w-1/2 lg:pr-6">
<BigArticle article={mainArticle}></BigArticle>
Expand Down Expand Up @@ -265,6 +265,6 @@ export default async function Home() {
<SmallBanner banner={Sub5Banner}></SmallBanner>
</div>
</section>
</div>
</>
)
}
10 changes: 4 additions & 6 deletions frontend/components/ui/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,13 @@ export default async function Header() {
return (
<header className="border-b-gray grid h-16 w-full max-w-6xl place-items-center border-b bg-white">
<div
className={
'navbar flex w-full max-w-7xl items-center justify-between gap-5'
}
className={'navbar w-full max-w-6xl items-center justify-between gap-5'}
>
<div className="flex w-1/2 min-w-fit items-center justify-between gap-4 pr-20">
<div className="flex w-full min-w-fit items-center justify-between gap-4">
<Link href="/">
<Image src={Logo} alt="CEO TIME" width={180} className="min-w-40" />
<Image src={Logo} alt="CEO TIME" width={150} className="min-w-40" />
</Link>
<nav className="flex gap-4 whitespace-nowrap capitalize">
<nav className="flex gap-3 whitespace-nowrap capitalize">
<NavLink href="/articles/1" text="CEO" />
<NavLink href="/articles/12" text="CEO&Leadership" />
<NavLink href="/articles/2" text="C-LEVEL" />
Expand Down

0 comments on commit eb389e6

Please sign in to comment.