Skip to content

Commit

Permalink
[Frontend] added SEO metadata (#54)
Browse files Browse the repository at this point in the history
- `.gitignore` has been updated with the additions `.idea`
- new files related to the favicon and seo have been added (IMO,
colorful `.png` logo works better for this)
- SEO metadata have been added to `index.html`
  • Loading branch information
retroboydev committed Dec 18, 2023
1 parent bc2fd8d commit 42130e4
Show file tree
Hide file tree
Showing 14 changed files with 268 additions and 33 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ dist
# Stores VSCode versions used for testing VSCode extensions
.vscode-test

.idea

# yarn v2
.yarn/cache
.yarn/unplugged
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/favicon/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions frontend/public/favicon/browserconfig.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/favicon/mstile-150x150.png"/>
<TileColor>#00aba9</TileColor>
</tile>
</msapplication>
</browserconfig>
Binary file added frontend/public/favicon/favicon-16x16.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 added frontend/public/favicon/favicon-32x32.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 added frontend/public/favicon/favicon.ico
Binary file not shown.
Binary file added frontend/public/favicon/mstile-150x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
210 changes: 210 additions & 0 deletions frontend/public/favicon/safari-pinned-tab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions frontend/public/favicon/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "A framework for building safer memecoins.",
"short_name": "Unruggable Meme Framework",
"icons": [
{
"src": "/favicon/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/favicon/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff"
}
Binary file added frontend/public/images/social-hero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
47 changes: 29 additions & 18 deletions frontend/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,36 @@
<html lang="en">
<head>
<meta charset="utf-8" />

<!-- Primary Meta Tags -->
<title>Unruggable Meme Framework</title>
<meta name="title" content="Unruggable Meme Framework" />
<meta name="description" content="A framework for building safer memecoins." />

<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://unruggable.meme/" />
<meta property="og:title" content="Unruggable Meme Framework" />
<meta property="og:description" content="A framework for building safer memecoins." />
<meta property="og:image" content="https://unruggable.meme/images/social-hero.png" />

<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:url" content="https://unruggable.meme/" />
<meta name="twitter:title" content="Unruggable Meme Framework" />
<meta name="twitter:description" content="A framework for building safer memecoins." />
<meta name="twitter:image" content="https://unruggable.meme/images/social-hero.png" />

<link rel="apple-touch-icon" sizes="180x180" href="%PUBLIC_URL%/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="%PUBLIC_URL%/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="%PUBLIC_URL%/favicon/favicon-16x16.png">
<link rel="manifest" href="%PUBLIC_URL%/favicon/site.webmanifest">
<link rel="mask-icon" href="%PUBLIC_URL%/favicon/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#00aba9">
<meta name="theme-color" content="#ffffff">

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />

<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico" />
<link rel="icon" type="image/x-icon" href="%PUBLIC_URL%/favicon.ico">
<!--
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.
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`.
-->
<meta name="theme-color" content="#ff007a" />

<script src="https://unpkg.com/react/umd/react.production.min.js" crossorigin></script>

Expand Down
15 changes: 0 additions & 15 deletions frontend/public/manifest.json

This file was deleted.

0 comments on commit 42130e4

Please sign in to comment.