From a103a097649984988c013452e21f32d45af914fd Mon Sep 17 00:00:00 2001 From: Aaryan Khandelwal Date: Mon, 4 Sep 2023 14:56:11 +0530 Subject: [PATCH 1/3] fix: favicon path --- space/pages/_app.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/space/pages/_app.tsx b/space/pages/_app.tsx index 2995edbbf15..2404a3139fc 100644 --- a/space/pages/_app.tsx +++ b/space/pages/_app.tsx @@ -25,11 +25,11 @@ function MyApp({ Component, pageProps }: AppProps) { - - - + + + - + From 0656c744bb7638f4c089acb7908c12641b00f7a0 Mon Sep 17 00:00:00 2001 From: Aaryan Khandelwal Date: Mon, 4 Sep 2023 14:59:10 +0530 Subject: [PATCH 2/3] chore: add webmanifest file --- space/pages/_app.tsx | 2 +- space/public/site.webmanifest.json | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 space/public/site.webmanifest.json diff --git a/space/pages/_app.tsx b/space/pages/_app.tsx index 2404a3139fc..900b39f61f9 100644 --- a/space/pages/_app.tsx +++ b/space/pages/_app.tsx @@ -28,7 +28,7 @@ function MyApp({ Component, pageProps }: AppProps) { - + diff --git a/space/public/site.webmanifest.json b/space/public/site.webmanifest.json new file mode 100644 index 00000000000..4c32ec6e385 --- /dev/null +++ b/space/public/site.webmanifest.json @@ -0,0 +1,13 @@ +{ + "name": "Plane Space", + "short_name": "Plane Space", + "description": "Plane helps you plan your issues, cycles, and product modules.", + "start_url": ".", + "display": "standalone", + "background_color": "#f9fafb", + "theme_color": "#3f76ff", + "icons": [ + { "src": "/favicon/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png" }, + { "src": "/favicon/android-chrome-512x512.png", "sizes": "512x512", "type": "image/png" } + ] +} From b860724243758c4f7274bdf361d5bacc3e62739b Mon Sep 17 00:00:00 2001 From: sriram veeraghanta Date: Mon, 4 Sep 2023 16:31:28 +0530 Subject: [PATCH 3/3] favicon fixes with nginx --- space/pages/_app.tsx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/space/pages/_app.tsx b/space/pages/_app.tsx index 900b39f61f9..33c137d4161 100644 --- a/space/pages/_app.tsx +++ b/space/pages/_app.tsx @@ -12,6 +12,8 @@ import MobxStoreInit from "lib/mobx/store-init"; // constants import { SITE_NAME, SITE_DESCRIPTION, SITE_URL, TWITTER_USER_NAME, SITE_KEYWORDS, SITE_TITLE } from "constants/seo"; +const prefix = parseInt(process.env.NEXT_PUBLIC_DEPLOY_WITH_NGINX || "0") === 0 ? "/" : "/spaces/"; + function MyApp({ Component, pageProps }: AppProps) { return ( @@ -25,11 +27,11 @@ function MyApp({ Component, pageProps }: AppProps) { - - - - - + + + + +