Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sid-kap committed Oct 4, 2023
1 parent 34994a8 commit 0329a45
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions lib/common_elements.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ function HideableNav({ logo, items, currentIndex }) {
}

const children = items.map((item, index) => (
<Link href={item.url} key={item.url} className={classes[index]}>{item.name}</Link>
<Link href={item.url} key={item.url} className={classes[index]}>
{item.name}
</Link>
))

// Note: I had to set the visible nav using media queries and hidden rather than JS if/else
Expand Down Expand Up @@ -113,7 +115,10 @@ function HideableNav({ logo, items, currentIndex }) {
}

const logo = (
<Link href="https://housingdata.app" className="py-1 px-2 font-semibold text-xl tracking-tight">
<Link
href="https://housingdata.app"
className="py-1 px-2 font-semibold text-xl tracking-tight"
>
<span className="text-blue-600">housing</span>
<span className="text-green-600">data</span>
<span className="text-gray-600">.app</span>
Expand Down

0 comments on commit 0329a45

Please sign in to comment.