public: update OpenGraph and other SEO tags

This commit is contained in:
rektdeckard
2020-09-13 20:55:14 -04:00
parent ce453c5dd6
commit 1d862e6587
3 changed files with 49 additions and 32 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "phosphor-web", "name": "phosphor-web",
"version": "0.1.0", "version": "0.1.1",
"license": "GPL-3.0", "license": "GPL-3.0",
"homepage": "https://phosphor-icons.github.io/phosphor-web", "homepage": "https://phosphor-icons.github.io/phosphor-web",
"author": { "author": {
@@ -19,7 +19,7 @@
"UX" "UX"
], ],
"repository": "github:phosphor-icons/phosphor-web", "repository": "github:phosphor-icons/phosphor-web",
"private": true, "private": false,
"dependencies": { "dependencies": {
"@testing-library/jest-dom": "^4.2.4", "@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2", "@testing-library/react": "^9.3.2",
@@ -35,7 +35,7 @@
"file-saver": "^2.0.2", "file-saver": "^2.0.2",
"framer-motion": "^2.1.0", "framer-motion": "^2.1.0",
"gh-pages": "^3.1.0", "gh-pages": "^3.1.0",
"phosphor-react": "^0.2.1", "phosphor-react": "^0.2.2",
"react": "^17.0.0-rc.0", "react": "^17.0.0-rc.0",
"react-dom": "^17.0.0-rc.0", "react-dom": "^17.0.0-rc.0",
"react-dropdown-select": "^4.4.2", "react-dropdown-select": "^4.4.2",

View File

@@ -7,39 +7,56 @@
<meta name="theme-color" content="#35313D" /> <meta name="theme-color" content="#35313D" />
<meta <meta
name="description" name="description"
content="Phosphor is a flexible icon family for interfaces, diagrams, presentations — whatever, really." content="A flexible icon family for interfaces, diagrams, presentations — whatever, really."
/> />
<meta name="author" content="Tobias Fried" />
<meta property="og:title" content="Phosphor Icons" />
<meta
property="og:description"
content="A flexible icon family for interfaces, diagrams, presentations — whatever, really."
/>
<meta property="og:type" content="website" />
<meta property="og:url" content="%PUBLIC_URL%" />
<meta property="og:image" content="%PUBLIC_URL%/promo.jpg" />
<meta property="og:image:type" content="image/jpeg" />
<meta property="og:image:alt" content="Phosphor Icons logo" />
<meta property="og:image:width" content="960" />
<meta property="og:image:height" content="590" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Phosphor Icons" />
<meta
name="twitter:description"
content="A flexible icon family for interfaces, diagrams, presentations — whatever, really."
/>
<meta name="twitter:image" content="%PUBLIC_URL%/assets/promo.jpg" />
<meta name="twitter:site" content="@_phosphoricons" />
<meta name="twitter:creator" content="@_phosphoricons" />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" /> <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<!-- <link
manifest.json provides metadata used when your web app is installed on a rel="icon"
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/ type="image/png"
--> sizes="32x32"
href="%PUBLIC_URL%/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="%PUBLIC_URL%/favicon-16x16.png"
/>
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" /> <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<!-- <link
Notice the use of %PUBLIC_URL% in the tags above. href="https://fonts.googleapis.com/css2?family=Manrope:wght@400;600&display=swap"
It will be replaced with the URL of the `public` folder during the build. rel="stylesheet"
Only files inside the `public` folder can be referenced from the HTML. />
<link
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono&display=swap"
work correctly both with client-side routing and a non-root public URL. rel="stylesheet"
Learn how to configure a non-root public URL by running `npm run build`. />
-->
<link href="https://fonts.googleapis.com/css2?family=Manrope:wght@400;600&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono&display=swap" rel="stylesheet">
<title>Phosphor Icons</title> <title>Phosphor Icons</title>
</head> </head>
<body> <body>
<noscript>You need to enable JavaScript to run this app.</noscript> <noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div> <div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body> </body>
</html> </html>

View File

@@ -1,6 +1,6 @@
{ {
"short_name": "React App", "short_name": "Phosphor Icons",
"name": "Create React App Sample", "name": "Phosphor Icons",
"icons": [ "icons": [
{ {
"src": "favicon.ico", "src": "favicon.ico",
@@ -20,6 +20,6 @@
], ],
"start_url": ".", "start_url": ".",
"display": "standalone", "display": "standalone",
"theme_color": "#000000", "theme_color": "#35313D",
"background_color": "#ffffff" "background_color": "#ffffff"
} }