Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web App Manifest - Save as desktop or mobile app #3632

Merged
merged 2 commits into from
Aug 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added website/public/images/logos/logo_192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions website/public/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "Open Assistant",
"short_name": "Open Assistant",
"description": "Open Assistant is a project meant to give everyone access to a great chat based large language model.",
"start_url": "/",
"display": "standalone",
"background_color": "#ffffff",
"theme_color": "#3182CE",
"icons": [
{
"src": "/images/logos/logo.png",
"sizes": "512x512",
"type": "image/png"
},
{
"src": "/images/logos/logo_192x192.png",
"sizes": "192x192",
"type": "image/png"
}
]
}
1 change: 1 addition & 0 deletions website/src/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export default function Document() {
return (
<Html className="h-full antialiased" lang="en">
<Head>
<link rel="manifest" href="/manifest.json" />
<link rel="shortcut icon" type="image/png" href="/images/logos/favicon.png" />
</Head>
<body className="flex h-full flex-col">
Expand Down