nav bar: dark background, no shadow
This commit is contained in:
parent
41a011a9bb
commit
6eda71286c
|
@ -22,14 +22,7 @@ export function NavBar(props: {
|
||||||
const themeClasses = clsx(darkBackground && 'text-white', hoverClasses)
|
const themeClasses = clsx(darkBackground && 'text-white', hoverClasses)
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<nav
|
<nav className={clsx('w-full p-4 mb-4', className)} aria-label="Global">
|
||||||
className={clsx(
|
|
||||||
'w-full p-4 mb-4 shadow-sm',
|
|
||||||
!darkBackground && 'bg-white',
|
|
||||||
className
|
|
||||||
)}
|
|
||||||
aria-label="Global"
|
|
||||||
>
|
|
||||||
<Row
|
<Row
|
||||||
className={clsx(
|
className={clsx(
|
||||||
'justify-between items-center mx-auto sm:px-4',
|
'justify-between items-center mx-auto sm:px-4',
|
||||||
|
|
|
@ -7,6 +7,7 @@ export function Page(props: { wide?: boolean; children?: any }) {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<NavBar wide={wide} />
|
<NavBar wide={wide} />
|
||||||
|
|
||||||
<div
|
<div
|
||||||
className={clsx(
|
className={clsx(
|
||||||
'w-full px-4 pb-8 mx-auto',
|
'w-full px-4 pb-8 mx-auto',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user