Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function Footer() {
const { footer } = useThemeConfig()
const { copyright, links = [], logo = {} } = footer || {}
const logoUrl = useBaseUrl(logo.src)
if (!footer) {
return null
}
return (
<footer>
<div>
{links && links.length > 0 && (
<div></div></div></footer>
function Logo({...props}) {
const {
navbar: {logo = {} as NavbarLogo},
} = useThemeConfig();
const lyftLogoUrl = useBaseUrl('img/navigation/lyft-logo.svg');
const logoImageUrl = useBaseUrl('img/navigation/logo.svg');
return (
<div>
{logoImageUrl != null && (
<>
<img alt="{logo.alt}" src="{logoImageUrl}">
<div>
by
</div>
</div>