Add skeleton loader for MobileMenu

This commit is contained in:
Anton Gunnarsson
2024-11-14 13:44:58 +01:00
parent 4c6d72a402
commit ef825d85aa
2 changed files with 19 additions and 1 deletions

View File

@@ -93,3 +93,20 @@ export default function MobileMenu({
</>
)
}
export function MobileMenuSkeleton() {
const intl = useIntl()
return (
<button
type="button"
disabled
className={styles.hamburger}
aria-label={intl.formatMessage({
id: "Open menu",
})}
>
<span className={styles.bar} />
</button>
)
}