From ec09997e0c6b644c98985f1b4748ed39259555c3 Mon Sep 17 00:00:00 2001 From: Andrew Simonson Date: Fri, 27 Jan 2023 13:14:20 -0600 Subject: [PATCH] canonical seo --- public/index.html | 2 +- src/App.js | 3 ++- src/pages/AboutMe.js | 1 + src/pages/Activities.js | 17 ++++++++++++----- src/pages/Error.js | 5 +++-- src/pages/Home.js | 1 + src/pages/Projects.js | 1 + 7 files changed, 21 insertions(+), 9 deletions(-) diff --git a/public/index.html b/public/index.html index 266187f..9433416 100644 --- a/public/index.html +++ b/public/index.html @@ -1,4 +1,4 @@ - + diff --git a/src/App.js b/src/App.js index 11ad1dd..278e4a7 100644 --- a/src/App.js +++ b/src/App.js @@ -1,4 +1,4 @@ -import { Route, Link, Routes, BrowserRouter as Router } from "react-router-dom"; +import { Route, Link, Routes, BrowserRouter as Router, Navigate } from "react-router-dom"; import "./assets/css/App.css"; import "./assets/css/checkbox.css" @@ -37,6 +37,7 @@ function App() { + } /> }> }> }> diff --git a/src/pages/AboutMe.js b/src/pages/AboutMe.js index 6bd4f8c..59a1679 100644 --- a/src/pages/AboutMe.js +++ b/src/pages/AboutMe.js @@ -26,6 +26,7 @@ export default function AboutMe() { name="description" content="About Andrew Simonson - learn all about me and the stuff I do, it's real great." /> +

About Me

diff --git a/src/pages/Activities.js b/src/pages/Activities.js index e9023a1..43a737b 100644 --- a/src/pages/Activities.js +++ b/src/pages/Activities.js @@ -1,7 +1,14 @@ -import Neon from '../componets/Neon' +import Neon from "../componets/Neon"; export default function ErrorNotFound() { - return ( -

ERROR 404


URL Not Found

- ) -} \ No newline at end of file + return ( + <> + + +

ERROR 404

+
+

URL Not Found

+
+ + ); +} diff --git a/src/pages/Error.js b/src/pages/Error.js index e9023a1..46163c2 100644 --- a/src/pages/Error.js +++ b/src/pages/Error.js @@ -1,7 +1,8 @@ import Neon from '../componets/Neon' export default function ErrorNotFound() { - return ( + return (<> +

ERROR 404


URL Not Found

- ) + ) } \ No newline at end of file diff --git a/src/pages/Home.js b/src/pages/Home.js index f047931..72ba298 100644 --- a/src/pages/Home.js +++ b/src/pages/Home.js @@ -16,6 +16,7 @@ export default function Home() { return (
+ toggle('')}> +