File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ import React, { useEffect } from 'react';
33import Link from 'next/link' ;
44import { AiTwotoneHome } from 'react-icons/ai' ;
55import { FaFacebook , FaGithub , FaLinkedin , FaInstagram } from 'react-icons/fa' ;
6- import { GiSelfLove } from 'react-icons/gi' ;
6+ import { MdNotifications } from 'react-icons/md' ;
7+ import Router from 'next/router' ;
78import { useUser } from "../lib/hooks" ;
89
910export default function Layout ( { children } ) {
@@ -21,9 +22,13 @@ export default function Layout({ children }) {
2122 < script src = "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js" > </ script >
2223 </ Head >
2324 < main className = { user ? "#80cbc4 blue lighten-3" : "#80cbc4 teal lighten-3" } >
25+ < div className = "col s12 m12 right-align" style = { { margin :'10px 10px' } } >
26+ < a className = { user ? 'waves-effect waves-light btn-small blue left' : 'waves-effect waves-light btn-small left' } onClick = { ( ) => Router . replace ( "/" ) } > < AiTwotoneHome /> </ a >
27+ < a className = { ! user ? "waves-effect waves-light btn-small modal-trigger" : "waves-effect waves-light btn-small modal-trigger blue" } href = "#modal1" > About</ a >
28+ < i className = "btn-small blue" > < MdNotifications /> </ i >
29+ </ div >
2430 < div className = "container valign-wrapper" >
2531 < div className = "row" >
26- < div className = "col s12 m12 center-align" > < span className = { user ?'waves-effect waves-light btn-small blue' :'waves-effect waves-light btn-small' } > < Link href = "/" > < AiTwotoneHome /> </ Link > </ span > < a className = { ! user ? "waves-effect waves-light btn-small modal-trigger" : "waves-effect waves-light btn-small modal-trigger blue" } href = "#modal1" > About</ a > </ div >
2732 < div className = "col s12 m12" >
2833 { children }
2934 </ div >
You can’t perform that action at this time.
0 commit comments