Small visual tweaks. (#1137)

This commit is contained in:
Michael Novotny 2023-08-02 09:04:44 -05:00 committed by GitHub
parent 1d5242eef3
commit 0f700e2d07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ export default async function SearchPage({
return ( return (
<> <>
{searchValue ? ( {searchValue ? (
<p> <p className="mb-4">
{products.length === 0 {products.length === 0
? 'There are no products that match ' ? 'There are no products that match '
: `Showing ${products.length} ${resultsText} for `} : `Showing ${products.length} ${resultsText} for `}

View File

@ -30,12 +30,12 @@ export default async function Navbar() {
</div> </div>
</Link> </Link>
{menu.length ? ( {menu.length ? (
<ul className="hidden text-sm md:flex md:items-center"> <ul className="hidden gap-6 text-sm md:flex md:items-center">
{menu.map((item: Menu) => ( {menu.map((item: Menu) => (
<li key={item.title}> <li key={item.title}>
<Link <Link
href={item.path} href={item.path}
className="mr-3 text-neutral-500 underline-offset-4 hover:text-black hover:underline dark:text-neutral-400 dark:hover:text-neutral-300 lg:mr-8" className="text-neutral-500 underline-offset-4 hover:text-black hover:underline dark:text-neutral-400 dark:hover:text-neutral-300"
> >
{item.title} {item.title}
</Link> </Link>