Skip to content

Commit

Permalink
Merge pull request #19 from pheralb/next
Browse files Browse the repository at this point in the history
🚀 New og image + update seo meta tags.
  • Loading branch information
pheralb committed Jun 12, 2023
2 parents 130cd55 + 71dd335 commit df3bcd5
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div align="center">
<a href="https://react-symbols.vercel.app/">
<img src="website/public/images/og_image.png">
<img src="website/public/images/og.png">
</a>

<p></p>
Expand Down Expand Up @@ -69,7 +69,7 @@ const MyComponent = () => {
export default MyComponent
```

- Config for use the library with [**Remix**](https://remix.run/):
> Config for use the library with [**Remix**](https://remix.run/):
```js
// Add in the remix.config.js:
Expand Down
Binary file added website/public/images/og.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 website/public/images/og_image.png
Binary file not shown.
35 changes: 35 additions & 0 deletions website/src/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,20 @@ import ArrowLeft from "./components/icons/arrowLeft"
// Link CSS:
export const links: LinksFunction = () => [
{ rel: "stylesheet", href: stylesheet },
{
rel: 'preload',
as: 'font',
href: '/fonts/GeneralSans-Variable.woff2',
type: 'font/woff2',
crossOrigin: 'anonymous',
},
{
rel: 'preload',
as: 'font',
href: '/fonts/Hack.woff2',
type: 'font/woff2',
crossOrigin: 'anonymous',
},
{
rel: "apple-touch-icon",
sizes: "180x180",
Expand Down Expand Up @@ -68,6 +82,27 @@ export default function App() {
<head>
<meta charSet="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta name="keywords" content="Symbols, VSCode, Icons, Theme, React, Miguel Solorio" />
<meta property="og:type" content="website" />
<meta property="og:title" content="React-Symbols" />
<meta property="og:description" content="Symbols VSCode Icons Theme by Miguel Solorio, for React." />
<meta name="image" property="og:image" content="https://react-symbols.vercel.app/images/og.png" />
<meta property="og:image:width" content="1894" />
<meta property="og:image:height" content="971" />
<meta property="og:url" content="https://react-symbols.vercel.app/" />
<meta property="og:site_name" content="React-Symbols" />
<meta name="author" content="@pheralb_" />
<meta
name="twitter:image"
content="https://react-symbols.vercel.app/images/og.png"
/>
<meta
name="twitter:card"
content="summary_large_image"
/>
<meta name="twitter:creator" content="@pheralb_" />
<meta name="twitter:site" content="@pheralb_" />
<meta name="twitter:title" content="React-Symbols" />
<Meta />
<Links />
</head>
Expand Down

1 comment on commit df3bcd5

@vercel
Copy link

@vercel vercel bot commented on df3bcd5 Jun 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

react-symbols – ./

react-symbols.vercel.app
react-symbols-pheralb.vercel.app
react-symbols-git-main-pheralb.vercel.app

Please sign in to comment.