Skip to content

Commit

Permalink
fix: navbar border
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Setch <[email protected]>
  • Loading branch information
setchy committed Nov 4, 2024
1 parent ddbfccb commit 2b766ac
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/components/Navbar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const isHomepage = currentPathname === '/';
<nav class:list={["py-8 px-8", isHomepage && "bg-gray-100"]}>
<div class="container max-w-5xl lg:mx-auto">
<div
class="bg-gray-navbar rounded-lg flex items-center justify-between px-8 lg:px-12 py-4 lg:py-6"
class="bg-navbar rounded-lg flex items-center justify-between px-8 lg:px-12 py-4 lg:py-6"
>
<div class="flex items-center flex-shrink-0 text-white mr-6">
<a href="/" aria-label="Gitify">
Expand All @@ -28,7 +28,7 @@ const isHomepage = currentPathname === '/';
class={`py-1.5 lg:py-2 px-2 lg:px-3 font-light ${
currentPathname === item.path
? "border rounded-lg border-white text-white"
: "text-gray-200"
: "text-white"
} hover:text-gray-300`}
>
{item.name}
Expand Down
2 changes: 1 addition & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const siteMetadata = {
},
{
name: 'FAQ',
path: '/faq',
path: '/faq/',
},
],
};
Expand Down
4 changes: 1 addition & 3 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ const config: Config = {
theme: {
extend: {
colors: {
gray: {
navbar: '#24292e',
},
navbar: '#24292e',
},
keyframes: {
'accordion-down': {
Expand Down

0 comments on commit 2b766ac

Please sign in to comment.