import Text from '@/components/ui/text'; import { footerMenusQuery } from '@/lib/sanity/queries'; import { clientFetch } from '@/lib/sanity/sanity.client'; import LocaleSwitcher from 'components/ui/locale-switcher/locale-switcher'; import Logo from 'components/ui/logo/logo'; import Link from 'next/link'; import CopyRight from './copyright'; interface FooterProps { locale: string; } export default async function Footer({ locale }: FooterProps) { const params = { locale: locale }; const footerMenus = await clientFetch(footerMenusQuery, params); return ( ); }