mirror of
https://github.com/netbirdio/docs.git
synced 2026-04-16 15:36:36 +00:00
fix logos
This commit is contained in:
@@ -5,12 +5,12 @@ export function Logo(props) {
|
||||
return (
|
||||
<div>
|
||||
{router.route.startsWith('/docs') && <img src='/img/logo/logo-docs.svg' alt="some file" height='200'
|
||||
width='180' className="dark:hidden"/> ||
|
||||
<img src='/img/logo/logo-docs-dark.svg' alt="some file" height='200'
|
||||
width='180' className="dark:hidden"/>}
|
||||
{router.route.startsWith('/docs') && <img src='/img/logo/logo-docs-dark.svg' alt="some file" height='200'
|
||||
width='180' className="hidden dark:block"/>}
|
||||
{router.route.startsWith('/ipa') && <img src='/img/logo/logo-api.svg' alt="some file" height='200'
|
||||
width='180' className="dark:hidden"/> ||
|
||||
<img src='/img/logo/logo-api-dark.svg' alt="some file" height='200'
|
||||
width='180' className="dark:hidden"/>}
|
||||
{router.route.startsWith('/ipa') && <img src='/img/logo/logo-api-dark.svg' alt="some file" height='200'
|
||||
width='180' className="hidden dark:block"/>}
|
||||
</div>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user