border-bottom should be configurable and off for transparent

This commit is contained in:
Desmond Grealy
2023-01-01 15:57:19 -08:00
parent 8b7e9bd868
commit 862a0ac3fd
2 changed files with 14 additions and 2 deletions
+2 -1
View File
@@ -54,9 +54,10 @@ function AccountButton() {
}
export function Header(props) {
const borderClass = props.transparent ? "" : props.borderClass ?? "border-b border-gray-100";
return (
<nav>
<Container className="flex justify-evenly py-8 px-10 border-b">
<Container className={`flex justify-evenly py-8 px-10 ${borderClass}`}>
<div className="relative z-10 flex items-center gap-16">
<Link href="/" aria-label="Home" className="flex items-center">
<Image src="/images/logos/logo.svg" className="mx-auto object-fill" width="50" height="50" alt="logo" />