Skip to content

Commit

Permalink
Added box shadow to navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
yamanidev committed Nov 20, 2023
1 parent 205b56c commit e3cb51d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Navbar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
---

<nav class="bg-white">
<nav class="shadow-navbar bg-white">
<div class="mx-auto flex max-w-7xl flex-col px-4 py-6 sm:flex-row">
<a href="/" class="text-center">Logo here</a>
<ul
Expand Down
3 changes: 3 additions & 0 deletions tailwind.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ export default {
},
fontFamily: {
alexandria: ['Alexandria', 'sans-serif']
},
boxShadow: {
navbar: '0px 4px 30px 0px rgba(0, 0, 0, 0.04)'
}
}
},
Expand Down

0 comments on commit e3cb51d

Please sign in to comment.