public: add Google SEO and restructure deps

This commit is contained in:
rektdeckard
2020-09-14 01:06:37 -04:00
parent b4db1df589
commit 4df0ac7295
2 changed files with 57 additions and 22 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "phosphor-web", "name": "phosphor-web",
"version": "0.1.1", "version": "0.1.2",
"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": {
@@ -21,20 +21,8 @@
"repository": "github:phosphor-icons/phosphor-web", "repository": "github:phosphor-icons/phosphor-web",
"private": false, "private": false,
"dependencies": { "dependencies": {
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"@types/file-saver": "^2.0.1",
"@types/jest": "^24.0.0",
"@types/node": "^12.0.0",
"@types/react": "^16.9.46",
"@types/react-dom": "^16.9.8",
"@types/react-list": "^0.8.5",
"@types/react-virtualized": "^9.21.10",
"@types/tinycolor2": "^1.4.2",
"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",
"phosphor-react": "^0.2.2", "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",
@@ -42,8 +30,7 @@
"react-scripts": "3.4.1", "react-scripts": "3.4.1",
"react-use": "^15.3.2", "react-use": "^15.3.2",
"recoil": "^0.0.10", "recoil": "^0.0.10",
"tinycolor2": "^1.4.1", "tinycolor2": "^1.4.1"
"typescript": "^3.9.6"
}, },
"scripts": { "scripts": {
"analyze": "source-map-explorer 'build/static/js/*.js'", "analyze": "source-map-explorer 'build/static/js/*.js'",
@@ -70,5 +57,19 @@
"last 1 safari version" "last 1 safari version"
] ]
}, },
"devDependencies": {} "devDependencies": {
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"@types/file-saver": "^2.0.1",
"@types/jest": "^24.0.0",
"@types/node": "^12.0.0",
"@types/react": "^16.9.46",
"@types/react-dom": "^16.9.8",
"@types/react-list": "^0.8.5",
"@types/react-virtualized": "^9.21.10",
"@types/tinycolor2": "^1.4.2",
"gh-pages": "^3.1.0",
"typescript": "^3.9.6"
}
} }

View File

@@ -2,6 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<title>Phosphor Icons</title>
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" /> <link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#35313D" /> <meta name="theme-color" content="#35313D" />
@@ -10,27 +11,41 @@
content="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 name="author" content="Tobias Fried" />
<!-- GOOGLE META -->
<meta itemprop="name" content="Phosphor Icons" />
<meta
itemprop="description"
content="A flexible icon family for interfaces, diagrams, presentations — whatever, really."
/>
<meta itemprop="image" content="https://phosphoricons.com/promo.jpg" />
<!-- FACEBOOK META -->
<meta property="og:title" content="Phosphor Icons" /> <meta property="og:title" content="Phosphor Icons" />
<meta property="og:site_name" content="Phosphor Icons" />
<meta <meta
property="og:description" property="og:description"
content="A flexible icon family for interfaces, diagrams, presentations — whatever, really." content="A flexible icon family for interfaces, diagrams, presentations — whatever, really."
/> />
<meta property="og:type" content="website" /> <meta property="og:type" content="website" />
<meta property="og:url" content="%PUBLIC_URL%" /> <meta property="og:url" content="https://phosphoricons.com" />
<meta property="og:image" content="%PUBLIC_URL%/promo.jpg" /> <meta property="og:image" content="https://phosphoricons.com/promo.jpg" />
<meta property="og:image:type" content="image/jpeg" /> <meta property="og:image:type" content="image/jpeg" />
<meta property="og:image:alt" content="Phosphor Icons logo" /> <meta property="og:image:alt" content="Phosphor Icons logo" />
<meta property="og:image:width" content="960" /> <meta property="og:image:width" content="960" />
<meta property="og:image:height" content="590" /> <meta property="og:image:height" content="590" />
<!-- TWITTER META -->
<meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Phosphor Icons" /> <meta name="twitter:title" content="Phosphor Icons" />
<meta <meta
name="twitter:description" name="twitter:description"
content="A flexible icon family for interfaces, diagrams, presentations — whatever, really." content="A flexible icon family for interfaces, diagrams, presentations — whatever, really."
/> />
<meta name="twitter:image" content="%PUBLIC_URL%/assets/promo.jpg" /> <meta name="twitter:image" content="https://phosphoricons.com/promo.jpg" />
<meta name="twitter:site" content="@_phosphoricons" /> <meta name="twitter:site" content="@_phosphoricons" />
<meta name="twitter:creator" content="@_phosphoricons" /> <meta name="twitter:creator" content="@friedtm" />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" /> <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<link <link
rel="icon" rel="icon"
@@ -53,10 +68,29 @@
href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono&display=swap" href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono&display=swap"
rel="stylesheet" rel="stylesheet"
/> />
<title>Phosphor Icons</title>
</head> </head>
<body> <body>
<noscript>You need to enable JavaScript to run this app.</noscript> <noscript>
<div>
<strong>Enable JavaScript to check out Phosphor Icons!</strong>
<p>You can also find us at:</p>
<ul>
<li>
<a href="https://twitter.com/_phoshporicons">@_phosphoricons</a> on
Twitter
</li>
<li>
<a href="mailto:hello@phosphoricons.com">hello@phosphoricons.com</a>
via email
</li>
</ul>
<small>
Phosphor Icons is created by
<a href="https://helenazhang.com">Helena Zhang</a> and
<a href="https://tobiasfried.com">Tobias Fried</a>.
</small>
</div>
</noscript>
<div id="root"></div> <div id="root"></div>
</body> </body>
</html> </html>