File tree Expand file tree Collapse file tree 4 files changed +32
-1
lines changed
Expand file tree Collapse file tree 4 files changed +32
-1
lines changed Original file line number Diff line number Diff line change 1+ 'use client' ;
2+
3+ import useTranslate from '@/hooks/useTranslate' ;
4+ import { useMemo } from 'react' ;
5+
6+ const Footer = ( ) => {
7+ const { translate } = useTranslate ( ) ;
8+ const year = useMemo ( ( ) => new Date ( ) . getFullYear ( ) , [ ] ) ;
9+
10+ return (
11+ < footer className = "w-full py-4 border-t border-neutral-100 dark:border-neutral-800" >
12+ < div className = "text-neutral-700 dark:text-neutral-400 text-center" >
13+ < div >
14+ { translate ( 'created' ) } NextJs { translate ( 'and' ) } ❤️
15+ </ div >
16+ < div >
17+ © { year } Derian Pinto. { translate ( 'copyright' ) } .
18+ </ div >
19+ </ div >
20+ </ footer >
21+ ) ;
22+ } ;
23+
24+ export default Footer ;
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import Sidebar from './components/sidebar';
55import AboutMe from './components/about-me' ;
66import Experiences from './components/experiences' ;
77import Skills from './components/skills' ;
8+ import Footer from './components/footer' ;
89
910export default function Home ( ) {
1011 return (
@@ -18,7 +19,7 @@ export default function Home() {
1819 < Skills />
1920 </ div >
2021 </ main >
21- < footer > </ footer >
22+ < Footer / >
2223 </ >
2324 ) ;
2425}
Original file line number Diff line number Diff line change 1010 " If you're looking to take your projects to the next level and benefit from my experience and enthusiasm, I'm here to help."
1111 ],
1212 "readmore" : " Read more" ,
13+ "created" : " Created with" ,
14+ "and" : " and" ,
15+ "copyright" : " All rights reserved" ,
1316 "experiences" : [
1417 {
1518 "title" : " Senior FullStack Developer" ,
Original file line number Diff line number Diff line change 1010 " Si estás buscando elevar tus proyectos al siguiente nivel, de contribuir con mi experiencia y entusiasmo."
1111 ],
1212 "readmore" : " Ver más" ,
13+ "created" : " Creado con" ,
14+ "and" : " y" ,
15+ "copyright" : " Todos los derechos reservados" ,
1316 "experiences" : [
1417 {
1518 "title" : " Desarrollador FullStack - Senior" ,
You can’t perform that action at this time.
0 commit comments