Skip to content

Commit 1ffbf93

Browse files
committed
Fix footer
1 parent 35d05fa commit 1ffbf93

3 files changed

Lines changed: 13 additions & 20 deletions

File tree

docusaurus.config.js

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,7 @@ module.exports = {
3232
},
3333
footer: {
3434
style: 'dark',
35-
links: [
36-
{
37-
title: 'Docs',
38-
items: [
39-
{
40-
label: 'Docs',
41-
to: 'docs/start',
42-
},
43-
],
44-
}
45-
],
35+
links: [],
4636
copyright: `Copyright © ${new Date().getFullYear()} Arkadiusz Kondas. Built with Docusaurus.`,
4737
},
4838
prism: {

src/pages/index.js

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,12 @@
88
import React from 'react';
99
import classnames from 'classnames';
1010
import Link from '@docusaurus/Link';
11+
import Footer from '@theme/Footer';
1112
import LayoutProvider from '@theme/Layout/Provider';
1213
import ColorModeToggle from '@theme/Navbar/ColorModeToggle';
1314
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
1415
import useBaseUrl from '@docusaurus/useBaseUrl';
1516
import styles from './styles.module.css';
16-
import FooterCopyright from '@theme/Footer/Copyright';
17-
import FooterLayout from '@theme/Footer/Layout';
1817

1918
const features = [
2019
{
@@ -118,12 +117,16 @@ function Home() {
118117
<img className={styles.codeExampleImage} src='img/without-munus.webp' alt='Without munus' />
119118
<img className={styles.codeExampleImage} src='img/with-munus.webp' alt='With munus' />
120119
</div>
120+
<Link
121+
className={
122+
'button button--outline button--primary button--lg'
123+
}
124+
to={useBaseUrl('docs/start')}>
125+
See more...
126+
</Link>
121127
</div>
122128
</main>
123-
<FooterLayout
124-
style={style}
125-
copyright={copyright && <FooterCopyright copyright={copyright} />}
126-
/>
129+
<Footer/>
127130
</LayoutProvider>
128131
);
129132
}

src/pages/styles.module.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@
3131
filter: drop-shadow(0px 14px 30px #00000090);
3232
}
3333

34-
.hero__logo {
34+
.heroLogo {
3535
width: 6rem;
3636
}
3737

38-
.hero__title {
38+
.heroTitle {
3939
font-size: 3rem!important;
4040
}
4141

42-
.hero__subtitle {
42+
.heroSubtitle {
4343
font-size: 1.5rem!important;
4444
}
4545

0 commit comments

Comments
 (0)