Add favicon for Google Search results #7205

Merged
infinite-persistence merged 1 commit from ip/search.favicon into master 2021-10-01 14:09:02 +02:00
4 changed files with 9 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

View file

@ -13,6 +13,8 @@
<link rel="preload" href="/public/font/v1/700.woff" as="font" type="font/woff" crossorigin /> <link rel="preload" href="/public/font/v1/700.woff" as="font" type="font/woff" crossorigin />
<link rel="preload" href="/public/font/v1/700i.woff" as="font" type="font/woff" crossorigin /> <link rel="preload" href="/public/font/v1/700i.woff" as="font" type="font/woff" crossorigin />
<link rel="shortcut icon" href="/public/favicon-spaceman.png">
<style> <style>
@font-face { @font-face {
font-family: 'Inter'; font-family: 'Inter';

View file

@ -8,7 +8,8 @@ const STATIC_ASSET_PATHS = [
'/public/font/v1/400i.woff', '/public/font/v1/400i.woff',
'/public/font/v1/700.woff', '/public/font/v1/700.woff',
'/public/font/v1/700i.woff', '/public/font/v1/700i.woff',
'/public/favicon.png', '/public/favicon.png', // LBRY icon
'/public/favicon-spaceman.png',
'/public/img/busy.gif', '/public/img/busy.gif',
'/public/img/fileRenderPlaceholder.png', '/public/img/fileRenderPlaceholder.png',
'/public/img/gerbil-happy.png', '/public/img/gerbil-happy.png',

View file

@ -50,6 +50,11 @@ const copyWebpackCommands = [
to: `${DIST_ROOT}/public/favicon.png`, to: `${DIST_ROOT}/public/favicon.png`,
force: true, force: true,
}, },
{
from: `${STATIC_ROOT}/img/favicon-spaceman.png`,
to: `${DIST_ROOT}/public/favicon-spaceman.png`,
force: true,
},
{ {
from: `${STATIC_ROOT}/img/v2-og.png`, from: `${STATIC_ROOT}/img/v2-og.png`,
to: `${DIST_ROOT}/public/v2-og.png`, to: `${DIST_ROOT}/public/v2-og.png`,