[Index][s]: Update navMenu error

This commit is contained in:
Rising Odegua 2021-05-24 09:17:19 +01:00
parent 539b206262
commit 9eeb90dd59
3 changed files with 5 additions and 9 deletions

View File

@ -13,12 +13,6 @@ const Home: React.FC<{ locale: any; locales: any }> = ({
locales,
}) => {
const { t } = useTranslation();
const navMenu = [
{ title: 'Blog', path: '/blog' },
{ title: 'Search', path: '/search' },
{ title: 'Docs', path: 'http://tech.datopian.com/frontend/' },
{ title: 'GitHub', path: 'https://github.com/datopian/portal' },
];
return (
<>
<div className="container mx-auto">
@ -26,7 +20,7 @@ const Home: React.FC<{ locale: any; locales: any }> = ({
<title>{t(`common:title`)}</title>
<link rel="icon" href="/favicon.ico" />
</Head>
<NavBar logo={'/images/logo.svg'} navMenu={navMenu} />
<NavBar />
<section className="flex justify-center items-center flex-col mt-8 mx-4 lg:flex-row">
<div>
<h1 className="text-4xl mb-3 font-thin">

View File

@ -1,4 +1,6 @@
module.exports = {
purge: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
mode: 'jit',
theme: {
fontSize: {
tiny: 'var(--font-size-small)',

View File

@ -48,11 +48,11 @@ export default function Home({ dataset, specs }) {
</Head>
<section className="m-8" name="key-info">
<section name="key-info">
<KeyInfo descriptor={descriptor} resources={resources} />
</section>
<section className="m-8" name="file-list">
<section name="file-list">
<ResourceInfo resources={resources} />
</section>