Skip to content

Commit

Permalink
fix: remove unused links
Browse files Browse the repository at this point in the history
  • Loading branch information
ArpaAP committed Aug 6, 2024
1 parent 012e5cb commit e010ead
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
6 changes: 5 additions & 1 deletion apps/web/src/app/board/page.layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ export default function BoardPageLayout({
return (
<MainLayout>
<div className="container mx-auto px-36 py-12">
<div className="text-primary-800 text-3xl font-semibold flex items-center gap-2 pb-4">
<span>게시판</span>
</div>

<div className="grid grid-cols-4 gap-4">
{meals.map((meal) => (
<ArticleCard
Expand All @@ -22,7 +26,7 @@ export default function BoardPageLayout({
user={meal.user}
imageUrl={imageUrls[meal.mealId]}
/>
))}
)) || <div className="">아직 쓴 글이 없습니다!</div>}
</div>
</div>
</MainLayout>
Expand Down
9 changes: 1 addition & 8 deletions apps/web/src/components/MainNavbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,7 @@ export default function MainNavbar() {
</div>

<div className="flex h-full items-center gap-5 px-2 text-sm">
<div className="flex gap-4 items-center text-black/75">
<Link href="/login">
<IconSearch size={20} />
</Link>
<Link href="/notifications">
<IconBell size={20} />
</Link>
</div>
<div className="flex gap-4 items-center text-black/75"></div>
<div className="h-4 border-r border-black/20" />
{session?.user ? (
<Popover className="relative flex items-center">
Expand Down

0 comments on commit e010ead

Please sign in to comment.