diff --git a/examples/catalog/components/home/Footer.tsx b/examples/catalog/components/home/Footer.tsx new file mode 100644 index 00000000..9428a191 --- /dev/null +++ b/examples/catalog/components/home/Footer.tsx @@ -0,0 +1,62 @@ +const Footer: React.FC = () => { + const navigation = { + main: [ + { name: 'Blog', href: '/blog' }, + { name: 'Search', href: '/search' }, + { name: 'Docs', href: '/docs' }, + ], + social: [ + { + name: 'GitHub', + href: 'https://github.com/datopian/portal.js', + icon: ( + props // eslint-disable-line + ) => ( + + + + ), + }, + ], + }; + + return ( + + ); +}; + +export default Footer; diff --git a/examples/catalog/pages/index.tsx b/examples/catalog/pages/index.tsx index 579c4278..118aedab 100644 --- a/examples/catalog/pages/index.tsx +++ b/examples/catalog/pages/index.tsx @@ -7,6 +7,7 @@ import { loadNamespaces } from './_app'; import useTranslation from 'next-translate/useTranslation'; import NavBar from '../components/home/Nav'; import Hero from '../components/home/Hero'; +import Footer from '../components/home/Footer'; const Home: React.FC<{ locale: any; locales: any }> = ({ locale, @@ -23,6 +24,7 @@ const Home: React.FC<{ locale: any; locales: any }> = ({ +