Merge pull request #2436 from lbryio/gangster

Add basic OG tags
This commit is contained in:
Sean Yesmunt 2019-04-18 15:02:05 -04:00 committed by GitHub
commit a5438fe315
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 3 deletions

View file

@ -21,8 +21,7 @@ export default function SearchPage(props: Props) {
const urlParams = new URLSearchParams(search);
const urlQuery = urlParams.get('q');
const isValid = isURIValid(urlQuery);
console.log({ isValid });
console.log({ urlQuery });
let uri;
let isChannel;
let label;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 656 KiB

After

Width:  |  Height:  |  Size: 855 KiB

View file

@ -1,8 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>lbry.tv</title>
<meta charset="utf-8" />
<meta property="og:url" content="https://beta.lbry.tv" />
<meta property="og:title" content="LBRY On The Web" />
<meta property="og:description" content="All your favorite LBRY content in your browser." />
<meta property="og:image" content="/og.png" />
</head>
<body>

View file

@ -52,6 +52,10 @@ const webConfig = {
from: `${STATIC_ROOT}/img/favicon.ico`,
to: `${DIST_ROOT}/web/favicon.ico`,
},
{
from: `${STATIC_ROOT}/img/og.png`,
to: `${DIST_ROOT}/web/og.png`,
},
{
from: `${WEB_PLATFORM_ROOT}/server.js`,
to: `${DIST_ROOT}/web/server.js`,