'use client';
import React from 'react';
import { useFocusRing } from 'react-aria';
import { VisuallyHidden } from '../index.js';
import {
BOMMultibrandSmallLogo,
BSAMultibrandSmallLogo,
STGMultibrandSmallLogo,
SymbolProps,
WBCMultibrandSmallLogo,
} from '../symbol/index.js';
import { styles as footerStyles } from './footer.styles.js';
import { type FooterProps } from './footer.types.js';
const LOGO_MAP = {
wbc: {
logo: (props: SymbolProps) => ,
},
stg: {
logo: (props: SymbolProps) => ,
},
bom: {
logo: (props: SymbolProps) => ,
},
bsa: {
logo: (props: SymbolProps) => ,
},
} as const;
export function Footer({
brand,
logoLink = '#',
logoAssistiveText,
hideLogo = false,
offsetSidebar = false,
srOnlyText,
className,
children,
...props
}: FooterProps) {
const { isFocusVisible, focusProps } = useFocusRing();
const styles = footerStyles({ offsetSidebar, isFocusVisible });
const Logo = LOGO_MAP[brand].logo;
return (
);
}