Skip to content

Commit

Permalink
Fixing navbar dropdown and links in main section
Browse files Browse the repository at this point in the history
  • Loading branch information
Urbano authored and Urbano committed Sep 17, 2024
1 parent d5c1fd4 commit 94d8ef7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export default function Home() {
Finance that fell in love with computer science when I took{' '}
<a
href="https://cs50.harvard.edu/x/2023/"
className="text-blue-600 hover:font-medium"
className="text-black underline underline-offset-4 hover:font-medium"
>
CS50x
</a>
Expand All @@ -164,7 +164,7 @@ export default function Home() {
In 2019 I started working as Teaching Fellow with the{' '}
<a
href="https://mdcthereporter.com/the-idea-center-to-offer-computer-science-masterclass-cs50x-miami/"
className="text-blue-600 hover:font-medium"
className="text-black underline underline-offset-4 hover:font-medium"
>
CS50x
</a>{' '}
Expand All @@ -177,7 +177,7 @@ export default function Home() {
In 2021 I got my first role as a software engineer with{' '}
<a
href="https://gohopscotch.com/"
className="text-blue-600 hover:font-medium"
className="text-black underline underline-offset-4 hover:font-medium"
>
Hopscotch
</a>{' '}
Expand Down
3 changes: 2 additions & 1 deletion components/navbar/Navbar.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

.dropdownContainer {
position: absolute;
border: 1px solid black;
top: 64px;
z-index: 10;
visibility: visible;
Expand Down Expand Up @@ -90,7 +91,7 @@
}

.dropdownContainer {
width: calc(100svw - 80px);
width: calc(100svw - 106px);
padding: 10px 26px 0 26px;
}
}
Expand Down
2 changes: 1 addition & 1 deletion components/navbar/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ const Navbar: FC<NavbarProps> = ({}) => {
<div
className={cn(
styles.dropdownContainer,
'flex flex-col px-10 w-full pt-3 bg-blue-50',
'flex flex-col px-10 w-full pt-3 bg-white',
!dropdownVisible && styles.disabled
)}
>
Expand Down

0 comments on commit 94d8ef7

Please sign in to comment.