Skip to content

Commit

Permalink
improved SEO
Browse files Browse the repository at this point in the history
  • Loading branch information
NwinNwin committed Feb 11, 2024
1 parent 8cd7a37 commit f49b0f2
Show file tree
Hide file tree
Showing 4 changed files with 87 additions and 38 deletions.
125 changes: 87 additions & 38 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -1,43 +1,92 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<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="Web site created using create-react-app"
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
<head>
<style>
@media (min-resolution: 120dpi) {
html {
font-size: 14px;
}
}
@media (min-resolution: 144dpi) {
html {
font-size: 12px;
}
}
</style>

Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>ZotnFound</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
<!-- HTML Meta Tags -->
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no, user-scalable=no, viewport-fit=cover"
/>
<meta name="theme-color" content="#0266B3" /> <!-- Updated color scheme -->
<meta
name="keywords"
content="UCI,Anteater,lost and found,lost,found,find items,recover,ucipd,university,zotnfound"
/>
<meta name="description" content="A platform for UCI students to effortlessly locate and recover lost or found items." />

You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
<!-- Opengraph/Facebook Meta Tags -->
<meta property="og:url" content="https://zotnfound.com/" />
<meta property="og:type" content="website" />
<meta property="og:title" content="ZotNFound" />
<meta property="og:description" content="A platform for UCI students to effortlessly locate and recover lost or found items." />
<meta property="og:image" content="https://zotnfound.com/logo.png" />

To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>
<!-- Twitter Meta Tags -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://zotnfound.com/" />
<meta property="twitter:title" content="ZotNFound" />
<meta
property="twitter:description"
content="A platform for UCI students to effortlessly locate and recover lost or found items."
/>
<meta property="twitter:image" content="https://zotnfound.com/logo.png" />

<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico" />
<link rel="stylesheet" href="%PUBLIC_URL%/google_font_roboto_300_400_500_700.css" />
<link
rel="stylesheet"
href="https://unpkg.com/[email protected]/dist/leaflet.css"
integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ=="
crossorigin=""
/>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/leaflet.locatecontrol/dist/L.Control.Locate.min.css"
/>

<title>ZotNFound</title>
<!-- Global site tag (gtag.js) - Google Analytics -->

<!-- console.log for recruitment -->
<script>
console.log(
'%cInterested in contributing to ZotNFound?\n - Check out the project on GitHub: https://github.com/icssc/ZotNFound-frontend\n',
'color: #0266B3; font-size: 15px'
);
</script>

<!-- Start Single Page Apps for GitHub Pages -->
<script type="text/javascript">
(function (l) {
if (l.search[1] === '/') {
var decoded = l.search
.slice(1)
.split('&')
.map(function (s) {
return s.replace(/~and~/g, '&');
})
.join('?');
window.history.replaceState(null, null, l.pathname.slice(0, -1) + decoded + l.hash);
}
})(window.location);
</script>
<!-- End Single Page Apps for GitHub Pages -->
</head>
<body style="overflow: hidden">
<noscript> You need to enable JavaScript to run this app. </noscript>
<div id="root" style="height: 100vh; position: fixed; top: 0
Binary file added public/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/logo192.png
Binary file not shown.
Binary file removed public/logo512.png
Binary file not shown.

0 comments on commit f49b0f2

Please sign in to comment.