Skip to content

Commit

Permalink
feat: 러쉬, 컬렉션 메뉴 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
thewoowon committed Jun 23, 2024
1 parent 6b4ee4a commit 10588bb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions components/layout/navbar/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@ const pages = [
name: "아티클",
link: "/",
},
{
name: "러쉬",
link: "/rush",
},
{
name: "컬렉션",
link: "/collection",
},
];

export { pages };
2 changes: 1 addition & 1 deletion components/layout/navbar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const Navbar = () => {
<header className="z-[9999] sticky top-0 flex w-full h-header justify-between items-center px-6 bg-background">
<div className="flex h-full gap-[60px]">
<LogoWithText />
<nav className="hidden tablet:flex gap-2 h-full items-center">
<nav className="hidden tablet:flex gap-12 h-full items-center">
{pages.map(({ name, link }) => {
return (
<Link key={name} className="font-semibold text-[#F8F9FE]" href={link}>
Expand Down

0 comments on commit 10588bb

Please sign in to comment.