Skip to content

Commit eb34bc5

Browse files
Merge pull request #176 from Mohit030802/main
footer added on all pages
2 parents a717dc6 + 04cfb41 commit eb34bc5

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

pages/_app.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import '@fontsource/poppins';
99
import '../styles/globals.css';
1010

1111
import type { AppProps } from 'next/app';
12+
import Footer from 'components/Footer';
1213

1314
function MyApp({ Component, pageProps, router }: AppProps) {
1415
return (
@@ -37,6 +38,7 @@ function MyApp({ Component, pageProps, router }: AppProps) {
3738
<DefaultSeo {...SEO} />
3839
<NextNProgress color="#ffd74d" options={{ showSpinner: false }} />
3940
<Component {...pageProps} />
41+
<Footer />
4042
</motion.div>
4143
);
4244
}

pages/contributors.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ export default function Contrubutors({ contributors }: Props) {
4444
))}
4545
</div>
4646
</div>
47-
<Footer />
4847
</div>
4948
);
5049
}

pages/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ const Home: NextPage = () => {
2727

2828
<Header />
2929
<Hero />
30-
<Footer />
3130
</div>
3231
);
3332
};
34-
3533
export default Home;

0 commit comments

Comments
 (0)