Skip to content

Commit

Permalink
added seo meta tags using react helmet
Browse files Browse the repository at this point in the history
  • Loading branch information
devarshishimpi committed Oct 9, 2022
1 parent 3768c62 commit c23bd6a
Show file tree
Hide file tree
Showing 10 changed files with 82 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ A Notes Taking Web App Built With Simplicity.

Please give this repo a ⭐ it really helps us!

Visit At <a href="https://noteslify.vercel.app" target="_blank">noteslify.vercel.app</a> Using v1.0.0 ( Latest v1.1.8-beta, Latest Stable v1.1.0 )
Visit At <a href="https://noteslify.vercel.app" target="_blank">noteslify.vercel.app</a> Using v1.0.0 ( Latest v1.1.8-beta, Latest Stable v1.2.0 )

Our System Statuspage is Available At <a href="https://dvstechlabs.statuspage.io" target="_blank">dvstechlabs.statuspage.io</a>

Expand Down
50 changes: 50 additions & 0 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"react": "^18.2.0",
"react-detect-click-outside": "^1.1.7",
"react-dom": "^18.2.0",
"react-helmet": "^6.1.0",
"react-icons": "^4.4.0",
"react-js-switch": "^1.1.6",
"react-router-dom": "^6.3.0",
Expand Down
1 change: 0 additions & 1 deletion frontend/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="Your Privacy Friendly, Open Source. Notes App." />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<script src="https://kit.fontawesome.com/c2536b674d.js" crossorigin="anonymous"></script>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap" rel="stylesheet">
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/components/Account/Account.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import "react-toastify/dist/ReactToastify.css";
import LoadingBar from "react-top-loading-bar";
import Switch from "react-js-switch";
import GlobalContext from "../../context/GlobalContext";
import {Helmet} from "react-helmet";

const Account = () => {
const [isSwitchOn, setIsSwitchOn] = useState(true);
Expand Down Expand Up @@ -77,6 +78,10 @@ const Account = () => {

return (
<>
<Helmet>
<title>Noteslify | My Account</title>
<meta name="description" content="Manage Your Noteslify Account From Here." />
</Helmet>
<LoadingBar
color="#f11946"
progress={progress}
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/components/Error/ErrorPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@ import Footer from '../LandingPage/Components/Footer/Footer'
import './ErrorPage.css'
import errorImg from '..//../assets/error404.png'
import {Link} from 'react-router-dom'
import {Helmet} from "react-helmet";

const ErrorPage = () => {
return (
<>
<Helmet>
<title>Noteslify | Error 404 Not Found</title>
<meta name="description" content="Noteslify. The page your looking for was not found." />
</Helmet>
<Navbar/>
<div className='errorpage_container'>
<img className="error_banner" src={errorImg} alt="404 error image" />
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/components/ForgotPassword/ForgotPassword.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import './ForgotPassword.css';
import { Link } from 'react-router-dom';
import { ToastContainer, toast } from 'react-toastify';
import 'react-toastify/dist/ReactToastify.css';
import {Helmet} from "react-helmet";

const ForgotPassword = () => {
const [email, setEmail] = useState("");
Expand Down Expand Up @@ -30,6 +31,10 @@ const ForgotPassword = () => {
}
return (
<div>
<Helmet>
<title>Noteslify | Forgot Password</title>
<meta name="description" content="Noteslify. Reset Your Password From Here." />
</Helmet>
<div class="form-wrapper">
<h1>Forgot Password?</h1>
<br></br>
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/components/Login/Login.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import authImg from'../../assets/authentication.svg';
import { Link, useNavigate } from 'react-router-dom';
import { ToastContainer, toast } from 'react-toastify';
import 'react-toastify/dist/ReactToastify.css';
import {Helmet} from "react-helmet";

const Login = () => {
const [username, setUsername] = useState("");
Expand Down Expand Up @@ -83,6 +84,10 @@ const Login = () => {

return (
<>
<Helmet>
<title>Noteslify | Login</title>
<meta name="description" content="Noteslify. Login to your Dashboard and access your files from here." />
</Helmet>
<div className="l-form">
<div className="shape1"></div>
<div className="shape2"></div>
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/components/Notes/Notes.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import NotesContext from '../../context/NotesContext';
import { marked } from 'marked';
import RenderInWindow from './RenderInWindow';
import MarkdownNotes from './MarkdownNotes';
import {Helmet} from "react-helmet";

const Notes = () => {
const [isSwitchOn, setIsSwitchOn] = useState(true);
Expand Down Expand Up @@ -209,6 +210,10 @@ const Notes = () => {

return (
<>
<Helmet>
<title>Noteslify | Dashboard</title>
<meta name="description" content="Noteslify. View your files and dashboard here." />
</Helmet>
<LoadingBar
color='#f11946'
progress={progress}
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/components/RecycleBin/RecycleBin.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import 'react-toastify/dist/ReactToastify.css';
import { useNavigate } from 'react-router-dom';
import { RiInboxUnarchiveLine } from 'react-icons/ri';
import { AiFillDelete } from 'react-icons/ai';
import {Helmet} from "react-helmet";

const RecycleBin = () => {
const [progress, setProgress] = useState(0);
Expand Down Expand Up @@ -92,6 +93,10 @@ const RecycleBin = () => {

return (
<>
<Helmet>
<title>Noteslify | Recycle Bin</title>
<meta name="description" content="Noteslify. Clear Or Restore Your Files from Bin." />
</Helmet>
<LoadingBar
color='#f11946'
progress={progress}
Expand Down

0 comments on commit c23bd6a

Please sign in to comment.