Helmet Implemented

react-helmet added
This commit is contained in:
2024-01-25 04:06:17 -05:00
parent 1e22f70065
commit be2354b67d
10 changed files with 50 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
{ {
"files": { "files": {
"main.css": "/static/css/main.c2038ece.css", "main.css": "/static/css/main.c2038ece.css",
"main.js": "/static/js/main.7355b937.js", "main.js": "/static/js/main.1463bb52.js",
"static/js/787.264b71c2.chunk.js": "/static/js/787.264b71c2.chunk.js", "static/js/787.264b71c2.chunk.js": "/static/js/787.264b71c2.chunk.js",
"static/media/MytwitchBanner.png": "/static/media/MytwitchBanner.7e6d238fe1f72356cd5a.png", "static/media/MytwitchBanner.png": "/static/media/MytwitchBanner.7e6d238fe1f72356cd5a.png",
"static/media/Tokyo-Ghoul-Wallpaper-For-PC.jpg": "/static/media/Tokyo-Ghoul-Wallpaper-For-PC.3a4eb3e1677a0231dbb6.jpg", "static/media/Tokyo-Ghoul-Wallpaper-For-PC.jpg": "/static/media/Tokyo-Ghoul-Wallpaper-For-PC.3a4eb3e1677a0231dbb6.jpg",
@@ -11,11 +11,11 @@
"static/media/BannerTemplate.jpg": "/static/media/BannerTemplate.38f33cb86bf8410cc9b2.jpg", "static/media/BannerTemplate.jpg": "/static/media/BannerTemplate.38f33cb86bf8410cc9b2.jpg",
"index.html": "/index.html", "index.html": "/index.html",
"main.c2038ece.css.map": "/static/css/main.c2038ece.css.map", "main.c2038ece.css.map": "/static/css/main.c2038ece.css.map",
"main.7355b937.js.map": "/static/js/main.7355b937.js.map", "main.1463bb52.js.map": "/static/js/main.1463bb52.js.map",
"787.264b71c2.chunk.js.map": "/static/js/787.264b71c2.chunk.js.map" "787.264b71c2.chunk.js.map": "/static/js/787.264b71c2.chunk.js.map"
}, },
"entrypoints": [ "entrypoints": [
"static/css/main.c2038ece.css", "static/css/main.c2038ece.css",
"static/js/main.7355b937.js" "static/js/main.1463bb52.js"
] ]
} }

View File

@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>React App</title><script defer="defer" src="/static/js/main.7355b937.js"></script><link href="/static/css/main.c2038ece.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html> <!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>React App</title><script defer="defer" src="/static/js/main.1463bb52.js"></script><link href="/static/css/main.c2038ece.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>

File diff suppressed because one or more lines are too long

View File

@@ -1,3 +1,9 @@
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/
/** /**
* @license React * @license React
* react-dom.production.min.js * react-dom.production.min.js

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

28
package-lock.json generated
View File

@@ -17,6 +17,7 @@
"@testing-library/user-event": "^13.5.0", "@testing-library/user-event": "^13.5.0",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
"react-helmet": "^6.1.0",
"react-router-dom": "^6.11.0", "react-router-dom": "^6.11.0",
"react-scripts": "5.0.1", "react-scripts": "5.0.1",
"serve": "^14.2.0", "serve": "^14.2.0",
@@ -15160,6 +15161,25 @@
"resolved": "https://registry.npmjs.org/react-error-overlay/-/react-error-overlay-6.0.11.tgz", "resolved": "https://registry.npmjs.org/react-error-overlay/-/react-error-overlay-6.0.11.tgz",
"integrity": "sha512-/6UZ2qgEyH2aqzYZgQPxEnz33NJ2gNsnHA2o5+o4wW9bLM/JYQitNP9xPhsXwC08hMMovfGe/8retsdDsczPRg==" "integrity": "sha512-/6UZ2qgEyH2aqzYZgQPxEnz33NJ2gNsnHA2o5+o4wW9bLM/JYQitNP9xPhsXwC08hMMovfGe/8retsdDsczPRg=="
}, },
"node_modules/react-fast-compare": {
"version": "3.2.2",
"resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.2.tgz",
"integrity": "sha512-nsO+KSNgo1SbJqJEYRE9ERzo7YtYbou/OqjSQKxV7jcKox7+usiUVZOAC+XnDOABXggQTno0Y1CpVnuWEc1boQ=="
},
"node_modules/react-helmet": {
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/react-helmet/-/react-helmet-6.1.0.tgz",
"integrity": "sha512-4uMzEY9nlDlgxr61NL3XbKRy1hEkXmKNXhjbAIOVw5vcFrsdYbH2FEwcNyWvWinl103nXgzYNlns9ca+8kFiWw==",
"dependencies": {
"object-assign": "^4.1.1",
"prop-types": "^15.7.2",
"react-fast-compare": "^3.1.1",
"react-side-effect": "^2.1.0"
},
"peerDependencies": {
"react": ">=16.3.0"
}
},
"node_modules/react-is": { "node_modules/react-is": {
"version": "17.0.2", "version": "17.0.2",
"resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz",
@@ -15275,6 +15295,14 @@
} }
} }
}, },
"node_modules/react-side-effect": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/react-side-effect/-/react-side-effect-2.1.2.tgz",
"integrity": "sha512-PVjOcvVOyIILrYoyGEpDN3vmYNLdy1CajSFNt4TDsVQC5KpTijDvWVoR+/7Rz2xT978D8/ZtFceXxzsPwZEDvw==",
"peerDependencies": {
"react": "^16.3.0 || ^17.0.0 || ^18.0.0"
}
},
"node_modules/react-transition-group": { "node_modules/react-transition-group": {
"version": "4.4.5", "version": "4.4.5",
"resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.5.tgz", "resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-4.4.5.tgz",

View File

@@ -12,6 +12,7 @@
"@testing-library/user-event": "^13.5.0", "@testing-library/user-event": "^13.5.0",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
"react-helmet": "^6.1.0",
"react-router-dom": "^6.11.0", "react-router-dom": "^6.11.0",
"react-scripts": "5.0.1", "react-scripts": "5.0.1",
"serve": "^14.2.0", "serve": "^14.2.0",

View File

@@ -1,4 +1,5 @@
import "./App.css"; import "./App.css";
import {Helmet} from "react-helmet";
import Navbar from "./components/Navbar"; import Navbar from "./components/Navbar";
import Footer from "./components/Footer"; import Footer from "./components/Footer";
import Home from "./pages/Home"; import Home from "./pages/Home";
@@ -10,6 +11,12 @@ import { BrowserRouter as Router, Routes, Route } from "react-router-dom";
function App() { function App() {
return ( return (
<div className="App"> <div className="App">
<Helmet>
<meta charSet="utf-8" />
<title>Eh Chad Services</title>
<link rel="canonical" href="http://ehchadservices.com/" />
<meta name="description" content="Testing Website" />
</Helmet>
<Router> <Router>
<Navbar /> <Navbar />
<Routes> <Routes>