Redesign homepage WIP
This commit is contained in:
parent
eb620e9220
commit
ef8c28f274
18 changed files with 697 additions and 437 deletions
|
|
@ -31,10 +31,15 @@ export function LeftNav({ children, className, hideMobile, ...rest }) {
|
|||
);
|
||||
}
|
||||
|
||||
export function RightNav({ children, className, ...rest }) {
|
||||
export function RightNav({ children, className, hideMobile, ...rest }) {
|
||||
return (
|
||||
<div
|
||||
className={classNames(styles.nav, styles.rightNav, className)}
|
||||
className={classNames(
|
||||
styles.nav,
|
||||
styles.rightNav,
|
||||
{ [styles.hideMobile]: hideMobile },
|
||||
className
|
||||
)}
|
||||
{...rest}
|
||||
>
|
||||
{children}
|
||||
|
|
@ -42,9 +47,9 @@ export function RightNav({ children, className, ...rest }) {
|
|||
);
|
||||
}
|
||||
|
||||
export function HeaderLogo() {
|
||||
export function HeaderLogo({ className }) {
|
||||
return (
|
||||
<Link className={styles.headerLogo} to="/">
|
||||
<Link className={classNames(styles.headerLogo, className)} to="/">
|
||||
<Logo />
|
||||
</Link>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue