diff --git a/.env.example b/.env.example index 8ce7cfc6..e6f433a8 100644 --- a/.env.example +++ b/.env.example @@ -2,7 +2,7 @@ # Required environment variables NEXT_PUBLIC_BASE_URL= # e.g. https://kan.bn -BETTER_AUTH_SECRET= # Random 32+ char string (can gen with: openssl rand -base64 24 | tr -dc 'a-zA-Z0-9' | head -c 32) +BETTER_AUTH_SECRET= # Random 32+ char string (can gen with: openssl rand -base64 26 | tr -dc 'a-zA-Z0-9' | head -c 32) # Fill if you want to use an external database POSTGRES_URL= # e.g. postgresql://kan:your_password@your_host:5432/kan diff --git a/apps/web/public/icon-512.png b/apps/web/public/icon-512.png new file mode 100644 index 00000000..8c5d9cc1 Binary files /dev/null and b/apps/web/public/icon-512.png differ diff --git a/apps/web/public/manifest.json b/apps/web/public/manifest.json new file mode 100644 index 00000000..3073ecb2 --- /dev/null +++ b/apps/web/public/manifest.json @@ -0,0 +1,39 @@ +{ + "background_color": "#000000", + "categories": [ + "business", + "productivity", + "utilities" + ], + "description": "The open source Trello alternative.", + "display": "standalone", + "icons": [ + { + "sizes": "512x512", + "src": "/icon-512.png", + "type": "image/png", + "purpose": "any" + } + ], + "id": "/", + "screenshots": [ + { + "sizes": "1624x1561", + "src": "/screenshot-wide.png", + "type": "image/png", + "form_factor": "wide" + }, + { + "sizes": "1290x2796", + "src": "/screenshot-narrow.png", + "type": "image/png", + "form_factor": "narrow" + } + ], + "orientation": "portrait-primary", + "name": "Kan.bn | The open source alternative to Trello", + "scope": "/", + "short_name": "Kan.bn", + "start_url": "/", + "theme_color": "#000000" +} diff --git a/apps/web/public/screenshot-narrow.png b/apps/web/public/screenshot-narrow.png new file mode 100644 index 00000000..2f7a1b52 Binary files /dev/null and b/apps/web/public/screenshot-narrow.png differ diff --git a/apps/web/public/screenshot-wide.png b/apps/web/public/screenshot-wide.png new file mode 100644 index 00000000..b7f432af Binary files /dev/null and b/apps/web/public/screenshot-wide.png differ diff --git a/apps/web/src/components/PageHead.tsx b/apps/web/src/components/PageHead.tsx index dcc7c5a7..8807a09e 100644 --- a/apps/web/src/components/PageHead.tsx +++ b/apps/web/src/components/PageHead.tsx @@ -8,6 +8,7 @@ export const PageHead = ({ title }: { title: string }) => { name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> + ); };