diff --git a/services/web/app/views/_metadata.pug b/services/web/app/views/_metadata.pug index af35f3d922..09632267bc 100644 --- a/services/web/app/views/_metadata.pug +++ b/services/web/app/views/_metadata.pug @@ -42,9 +42,9 @@ else if settings.overleaf meta(itemprop='image' content=buildImgPath('ol-brand/overleaf_og_logo.png')) meta(name='image' content=buildImgPath('ol-brand/overleaf_og_logo.png')) else - //- the default image for Overleaf Community Edition/Server Pro - meta(itemprop='image' content=buildBaseAssetPath() + 'apple-touch-icon.png') - meta(name='image' content=buildBaseAssetPath() + 'apple-touch-icon.png') + //- the default image for Verso Community Edition + meta(itemprop='image' content=buildBaseAssetPath() + 'og-image.png') + meta(name='image' content=buildBaseAssetPath() + 'og-image.png') //- Keywords if metadata && metadata.keywords @@ -78,14 +78,17 @@ else if settings.overleaf content=buildImgPath('ol-brand/overleaf_og_logo.png') ) else - //- the default image for Overleaf Community Edition/Server Pro + //- the default image for Verso Community Edition meta( name='twitter:image' - content=buildBaseAssetPath() + 'apple-touch-icon.png' + content=buildBaseAssetPath() + 'og-image.png' ) //- Open Graph -//- to do - add og:url +if metadata && metadata.canonicalURL + meta(property='og:url' content=metadata.canonicalURL) +else if typeof currentUrl !== 'undefined' + meta(property='og:url' content=settings.siteUrl + currentUrl) if settings.social && settings.social.facebook && settings.social.facebook.appId meta(property='fb:app_id' content=settings.social.facebook.appId) @@ -104,14 +107,14 @@ else if settings.overleaf content=buildImgPath('ol-brand/overleaf_og_logo.png') ) else - //- the default image for Overleaf Community Edition/Server Pro + //- the default image for Verso Community Edition meta( property='og:image' - content=buildBaseAssetPath() + 'apple-touch-icon.png' + content=buildBaseAssetPath() + 'og-image.png' ) if metadata && metadata.openGraphType - meta(property='og:type' metadata.openGraphType) + meta(property='og:type' content=metadata.openGraphType) else meta(property='og:type' content='website') diff --git a/services/web/public/android-chrome-192x192.png b/services/web/public/android-chrome-192x192.png index 76f3e1d2d6..aad03169de 100644 Binary files a/services/web/public/android-chrome-192x192.png and b/services/web/public/android-chrome-192x192.png differ diff --git a/services/web/public/android-chrome-512x512.png b/services/web/public/android-chrome-512x512.png index d638603391..6140ea57c7 100644 Binary files a/services/web/public/android-chrome-512x512.png and b/services/web/public/android-chrome-512x512.png differ diff --git a/services/web/public/apple-touch-icon.png b/services/web/public/apple-touch-icon.png index f3687da7d6..4ab04888cf 100644 Binary files a/services/web/public/apple-touch-icon.png and b/services/web/public/apple-touch-icon.png differ diff --git a/services/web/public/favicon-16x16.png b/services/web/public/favicon-16x16.png index 57ebc55272..16731a6006 100644 Binary files a/services/web/public/favicon-16x16.png and b/services/web/public/favicon-16x16.png differ diff --git a/services/web/public/favicon-32x32.png b/services/web/public/favicon-32x32.png index f1dcee380a..ceac3cc57a 100644 Binary files a/services/web/public/favicon-32x32.png and b/services/web/public/favicon-32x32.png differ diff --git a/services/web/public/favicon.ico b/services/web/public/favicon.ico index 6551e09600..e77a873c6a 100644 Binary files a/services/web/public/favicon.ico and b/services/web/public/favicon.ico differ diff --git a/services/web/public/favicon.svg b/services/web/public/favicon.svg index 8a436f8de4..919f235ec6 100644 --- a/services/web/public/favicon.svg +++ b/services/web/public/favicon.svg @@ -1,14 +1,13 @@ - + - - + - - - - - - V + + + + + + V diff --git a/services/web/public/mask-favicon.svg b/services/web/public/mask-favicon.svg index fe1b355b89..4a4d762e05 100644 --- a/services/web/public/mask-favicon.svg +++ b/services/web/public/mask-favicon.svg @@ -1,14 +1,4 @@ - - - - - - - - - - - + + + diff --git a/services/web/public/og-image.png b/services/web/public/og-image.png new file mode 100644 index 0000000000..8c9f5be81b Binary files /dev/null and b/services/web/public/og-image.png differ diff --git a/services/web/public/web.sitemanifest.json b/services/web/public/web.sitemanifest.json index a698a6bad6..88c761dfe1 100644 --- a/services/web/public/web.sitemanifest.json +++ b/services/web/public/web.sitemanifest.json @@ -1,5 +1,6 @@ { - "name": "Overleaf", + "name": "Verso", + "short_name": "Verso", "icons": [ { "src": "/android-chrome-192x192.png", @@ -12,7 +13,7 @@ "type": "image/png" } ], - "theme_color": "#1b222c", - "background_color": "#ffffff", + "theme_color": "#0a0a0a", + "background_color": "#0a0a0a", "display": "standalone" }