diff --git a/apps/common/hooks/useCurrentApp.tsx b/apps/common/hooks/useCurrentApp.tsx index 11cfebe7c..81694f759 100644 --- a/apps/common/hooks/useCurrentApp.tsx +++ b/apps/common/hooks/useCurrentApp.tsx @@ -1,4 +1,5 @@ import {useMemo} from 'react'; +import landingManifest from 'public/apps/landing-manifest.json'; import homeManifest from 'public/manifest.json'; import {VaultsHeader} from '@vaults/components/header/VaultsHeader'; import {AppName, APPS} from '@common/components/Apps'; @@ -25,6 +26,11 @@ export function useCurrentApp({pathname}: NextRouter): TCurrentApp { '/vaults': { ...APPS[AppName.VAULTS], header: + }, + '/landing': { + name: 'Home', + manifest: landingManifest, + menu: [] } }; diff --git a/public/apps/landing-manifest.json b/public/apps/landing-manifest.json new file mode 100644 index 000000000..c539bc770 --- /dev/null +++ b/public/apps/landing-manifest.json @@ -0,0 +1,35 @@ +{ + "name": "Yearn Vaults", + "short_name": "Vaults", + "description": "The defi way to earn on crypto", + "iconPath": "./favicons/favicon.svg", + "locale": "en-US", + "uri": "https://yearn.fi/landing/", + "og": "https://yearn.fi/apps/landing-og.png", + "twitter": "@iearnfinance", + "github": "https://github.com/yearn/yearn.fi", + "icons": [ + { + "src": "./favicons/android-icon-192x192.png", + "sizes": "192x192", + "type": "image/png", + "purpose": "any maskable" + }, + { + "src": "./favicons/android-icon-144x144.png", + "sizes": "144x144", + "type": "image/png" + }, + { + "src": "./favicons/android-icon-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#000000", + "background_color": "#000000", + "title_color": "#ffffff", + "start_url": "/", + "display": "standalone", + "orientation": "portrait" +} diff --git a/public/apps/landing-og.png b/public/apps/landing-og.png new file mode 100644 index 000000000..985e8210d Binary files /dev/null and b/public/apps/landing-og.png differ