mirror of
https://github.com/vercel/commerce.git
synced 2025-03-28 08:15:54 +00:00
Small visual tweaks. (#1137)
This commit is contained in:
parent
1d5242eef3
commit
0f700e2d07
@ -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 `}
|
||||||
|
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user