mirror of
https://github.com/asimonson1125/asimonson1125.github.io.git
synced 2026-02-25 05:09:49 -06:00
canonical seo
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
<!DOCTYPE html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
|
|||||||
@@ -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/App.css";
|
||||||
import "./assets/css/checkbox.css"
|
import "./assets/css/checkbox.css"
|
||||||
@@ -37,6 +37,7 @@ function App() {
|
|||||||
</Nav>
|
</Nav>
|
||||||
</div>
|
</div>
|
||||||
<Routes>
|
<Routes>
|
||||||
|
<Route exact path='' element={ <Navigate to='/' />} />
|
||||||
<Route exact path="/" element={<Home />}></Route>
|
<Route exact path="/" element={<Home />}></Route>
|
||||||
<Route exact path="/projects" element={<Projects />}></Route>
|
<Route exact path="/projects" element={<Projects />}></Route>
|
||||||
<Route exact path="activities" element={<Activities />}></Route>
|
<Route exact path="activities" element={<Activities />}></Route>
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ export default function AboutMe() {
|
|||||||
name="description"
|
name="description"
|
||||||
content="About Andrew Simonson - learn all about me and the stuff I do, it's real great."
|
content="About Andrew Simonson - learn all about me and the stuff I do, it's real great."
|
||||||
/>
|
/>
|
||||||
|
<link rel="canonical" href="https://asimonson.com/about"></link>
|
||||||
<div className="col">
|
<div className="col">
|
||||||
<div id="aboutMe" data-aos="fade-up">
|
<div id="aboutMe" data-aos="fade-up">
|
||||||
<h2 className="concentratedHead">About Me</h2>
|
<h2 className="concentratedHead">About Me</h2>
|
||||||
|
|||||||
@@ -1,7 +1,14 @@
|
|||||||
import Neon from '../componets/Neon'
|
import Neon from "../componets/Neon";
|
||||||
|
|
||||||
export default function ErrorNotFound() {
|
export default function ErrorNotFound() {
|
||||||
return (
|
return (
|
||||||
<Neon color='#fff'><h1 className='neon'>ERROR 404</h1><br /><h3 className='neon'>URL Not Found</h3></Neon>
|
<>
|
||||||
)
|
<link rel="canonical" href="https://asimonson.com/activities"></link>
|
||||||
|
<Neon color="#fff">
|
||||||
|
<h1 className="neon">ERROR 404</h1>
|
||||||
|
<br />
|
||||||
|
<h3 className="neon">URL Not Found</h3>
|
||||||
|
</Neon>
|
||||||
|
</>
|
||||||
|
);
|
||||||
}
|
}
|
||||||
@@ -1,7 +1,8 @@
|
|||||||
import Neon from '../componets/Neon'
|
import Neon from '../componets/Neon'
|
||||||
|
|
||||||
export default function ErrorNotFound() {
|
export default function ErrorNotFound() {
|
||||||
return (
|
return (<>
|
||||||
|
<link rel="canonical" href="https://asimonson.com/404"></link>
|
||||||
<Neon color='#fff'><h1 className='neon'>ERROR 404</h1><br /><h3 className='neon'>URL Not Found</h3></Neon>
|
<Neon color='#fff'><h1 className='neon'>ERROR 404</h1><br /><h3 className='neon'>URL Not Found</h3></Neon>
|
||||||
)
|
</>)
|
||||||
}
|
}
|
||||||
@@ -16,6 +16,7 @@ export default function Home() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div id="home">
|
<div id="home">
|
||||||
|
<link rel="canonical" href="https://asimonson.com/"></link>
|
||||||
<meta
|
<meta
|
||||||
name="description"
|
name="description"
|
||||||
content="Andrew Simonson's Portfolio Website - Homepage"
|
content="Andrew Simonson's Portfolio Website - Homepage"
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ export default function Projects() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="foreground" onLoad={() => toggle('')}>
|
<div className="foreground" onLoad={() => toggle('')}>
|
||||||
|
<link rel="canonical" href="https://asimonson.com/projects"></link>
|
||||||
<meta
|
<meta
|
||||||
name="description"
|
name="description"
|
||||||
content="Recent projects by Andrew Simonson on his lovely portfolio website :)"
|
content="Recent projects by Andrew Simonson on his lovely portfolio website :)"
|
||||||
|
|||||||
Reference in New Issue
Block a user