ref: separate footer to improve maintainability
This commit is contained in:
parent
078b11afff
commit
799ec4e537
@ -9,6 +9,7 @@ import Projects from './pages/projects';
|
|||||||
import { HashRouter } from 'react-router-dom';
|
import { HashRouter } from 'react-router-dom';
|
||||||
import '@fontsource-variable/red-hat-display';
|
import '@fontsource-variable/red-hat-display';
|
||||||
import Skills from './pages/skills';
|
import Skills from './pages/skills';
|
||||||
|
import Footer from './components/Footer';
|
||||||
|
|
||||||
function App() {
|
function App() {
|
||||||
return (
|
return (
|
||||||
@ -35,10 +36,7 @@ function App() {
|
|||||||
<Projects />
|
<Projects />
|
||||||
</section>
|
</section>
|
||||||
</HashRouter>
|
</HashRouter>
|
||||||
<footer>
|
<Footer />
|
||||||
<p>© 2025 GivFNZ</p>
|
|
||||||
<p>Version: 1.1.11</p>
|
|
||||||
</footer>
|
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
8
src/components/Footer/index.tsx
Normal file
8
src/components/Footer/index.tsx
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
export default function Footer() {
|
||||||
|
return (
|
||||||
|
<footer>
|
||||||
|
<p>© 2025 GivFNZ</p>
|
||||||
|
<p>Version: 1.1.12</p>
|
||||||
|
</footer>
|
||||||
|
)
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user