Skip to content

Commit

Permalink
make the header/nav more responsive [I don't have any idea how to mak…
Browse files Browse the repository at this point in the history
…e it look good and responsive]
  • Loading branch information
nuexq committed Mar 4, 2024
1 parent c523c2c commit 9dc7bb2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/layouts/header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function Navigation() {
const { theme } = useTheme();

return (
<nav className="flex items-center gap-6">
<nav className="flex items-center gap-2 sm:gap-6">
<DonateToPalestine />
<NavLinks
logo={theme === 'dark' ? githubLogoDark : githubLogoLight}
Expand All @@ -60,9 +60,9 @@ function Navigation() {
function DonateToPalestine() {
return (
<Button variant="outline" asChild>
<a className='space-x-2 flex items-center' href="https://donate.unrwa.org/gaza/~my-donation?_cv=1" target='_blank' rel='noopener noreferrer'>
<a className='sm:space-x-2 sm:flex sm:items-center' href="https://donate.unrwa.org/gaza/~my-donation?_cv=1" target='_blank' rel='noopener noreferrer'>
<img className="size-4" src={palestineSvg} alt="Palestine" />
<span>Donate Now</span>
<span className='hidden sm:block'>Donate Now</span>
</a>
</Button>
)
Expand Down

0 comments on commit 9dc7bb2

Please sign in to comment.