diff --git a/src/App.jsx b/src/App.jsx index 1bdef22..1eaf77d 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -6,6 +6,7 @@ import { vscDarkPlus } from 'react-syntax-highlighter/dist/esm/styles/prism'; import Analytics from './components/Analytics'; import NotFound from './pages/NotFound/NotFound'; import Home from './pages/Home/Home'; +import Footer from './components/Footer/Footer'; import './styles/App.css'; export default function App() { @@ -106,6 +107,7 @@ export default function App() { ← Back to Home )} + > ); diff --git a/src/components/Footer/Footer.css b/src/components/Footer/Footer.css new file mode 100644 index 0000000..60f7d1f --- /dev/null +++ b/src/components/Footer/Footer.css @@ -0,0 +1,18 @@ +.site-footer { + margin-top: 4rem; + padding: 2rem 1rem; + border-top: 1px solid #333; + text-align: center; + color: #888; + font-size: 0.9rem; +} + +.footer-content a { + color: #ff7875; + text-decoration: none; +} + +.footer-content a:hover { + color: #ff4d4f; + text-decoration: underline; +} diff --git a/src/components/Footer/Footer.jsx b/src/components/Footer/Footer.jsx new file mode 100644 index 0000000..800d019 --- /dev/null +++ b/src/components/Footer/Footer.jsx @@ -0,0 +1,20 @@ +import './Footer.css'; + +export default function Footer() { + return ( + + ); +}