mirror of
https://github.com/felipegcoutinho/openmonetis.git
synced 2026-05-09 11:01:45 +00:00
feat(landing): reformula página inicial e atualiza previews
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 178 KiB After Width: | Height: | Size: 501 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 272 KiB After Width: | Height: | Size: 605 KiB |
File diff suppressed because it is too large
Load Diff
@@ -23,9 +23,10 @@ const navLinks = [
|
|||||||
interface MobileNavProps {
|
interface MobileNavProps {
|
||||||
isPublicDomain: boolean;
|
isPublicDomain: boolean;
|
||||||
isLoggedIn: boolean;
|
isLoggedIn: boolean;
|
||||||
|
triggerClassName?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function MobileNav({ isPublicDomain, isLoggedIn }: MobileNavProps) {
|
export function MobileNav({ isPublicDomain, isLoggedIn, triggerClassName }: MobileNavProps) {
|
||||||
const [open, setOpen] = useState(false);
|
const [open, setOpen] = useState(false);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
@@ -35,8 +36,9 @@ export function MobileNav({ isPublicDomain, isLoggedIn }: MobileNavProps) {
|
|||||||
size="icon"
|
size="icon"
|
||||||
onClick={() => setOpen(true)}
|
onClick={() => setOpen(true)}
|
||||||
aria-label="Abrir menu"
|
aria-label="Abrir menu"
|
||||||
|
className={triggerClassName}
|
||||||
>
|
>
|
||||||
<RiMenuLine size={20} />
|
<RiMenuLine className="size-5" />
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Sheet open={open} onOpenChange={setOpen}>
|
<Sheet open={open} onOpenChange={setOpen}>
|
||||||
|
|||||||
Reference in New Issue
Block a user