Skip to content

Commit

Permalink
default icon
Browse files Browse the repository at this point in the history
  • Loading branch information
arily committed Apr 29, 2024
1 parent 60b0be0 commit 3220373
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 3 deletions.
6 changes: 6 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ export default defineNuxtConfig({
meta: [
{ name: 'apple-mobile-web-app-status-bar-style', content: 'black-translucent' },
],
link: [
{ rel: 'apple-touch-icon', sizes: '180x180', href: '/apple-touch-icon.png' },
{ rel: 'icon', type: 'image/png', sizes: '32x32', href: '/favicon-32x32.png' },
{ rel: 'icon', type: 'image/png', sizes: '16x16', href: '/favicon-16x16.png' },
{ rel: 'manifest', href: '/site.manifest' },
],
bodyAttrs: {
// @ts-expect-error it's fine
tabindex: '-1',
Expand Down
Binary file added src/public/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/public/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/public/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/public/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/public/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/public/favicon.ico
100755 → 100644
Binary file not shown.
Binary file removed src/public/icon.png
Binary file not shown.
1 change: 1 addition & 0 deletions src/public/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}
3 changes: 0 additions & 3 deletions src/store/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,6 @@ export const useSession = defineStore('session', {
return true
}
catch (err) {
// if (err instanceof TRPCClientError) {
// console.log(err.shape.code === TRPC_ERROR_CODES_BY_KEY.NOT_FOUND)
// }
this.$reset()
return false
}
Expand Down

0 comments on commit 3220373

Please sign in to comment.