File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change
1
+ /**
2
+ * Footer of the application.
3
+ */
4
+ const Footer = ( ) => (
5
+ < footer className = "w-full sm:mt-20 mt-2 sm:bottom-0 px-6 mb-28 sm:mb-2 mx-auto text-center bg-white border border-gray-300 rounded-lg shadow" >
6
+ < div className = "p-6" >
7
+ Copyright © { new Date ( ) . getFullYear ( ) } Daniel / w3bdesign
8
+ </ div >
9
+ </ footer >
10
+ ) ;
11
+
12
+ export default Footer ;
13
+
Original file line number Diff line number Diff line change @@ -5,13 +5,15 @@ import Router from 'next/router';
5
5
import NProgress from 'nprogress' ;
6
6
7
7
import Stickynav from 'components/Footer/Stickynav.component' ;
8
+ import Footer from 'components/Footer/Footer.component' ;
8
9
9
10
import 'styles/index.css' ;
10
11
import 'styles/animate.min.css' ;
11
12
import 'nprogress/nprogress.css' ;
12
13
13
14
import client from 'utils/apollo/ApolloClient' ;
14
15
16
+
15
17
Router . events . on ( 'routeChangeStart' , ( ) => NProgress . start ( ) ) ;
16
18
Router . events . on ( 'routeChangeComplete' , ( ) => NProgress . done ( ) ) ;
17
19
Router . events . on ( 'routeChangeError' , ( ) => NProgress . done ( ) ) ;
@@ -20,6 +22,7 @@ const App = ({ Component, pageProps }) => (
20
22
< ApolloProvider client = { client } >
21
23
< AppProvider >
22
24
< Component { ...pageProps } />
25
+ < Footer />
23
26
24
27
< Stickynav />
25
28
</ AppProvider >
You can’t perform that action at this time.
0 commit comments