diff --git a/examples/nft-quest/README.md b/examples/nft-quest/README.md index 0f59f3ee..16da1531 100644 --- a/examples/nft-quest/README.md +++ b/examples/nft-quest/README.md @@ -4,7 +4,8 @@ A demo of using the ZKsync SDK for smart accounts. ## Getting Started -Run the following (be sure a local node is running, e.g. `era_test_node`): +Run the following (be sure a local node is running, e.g. +`era_test_node`[https://docs.zksync.io/build/zksync-cli/running-a-node]): ```sh # Deploy the ZKsync SSO contracts diff --git a/examples/nft-quest/nuxt.config.ts b/examples/nft-quest/nuxt.config.ts index 55e7fa3e..55129665 100644 --- a/examples/nft-quest/nuxt.config.ts +++ b/examples/nft-quest/nuxt.config.ts @@ -40,8 +40,10 @@ export default defineNuxtConfig({ app: { head: { link: [ - { rel: "icon", type: "image/x-icon", href: "/favicon.ico" }, - { rel: "icon", type: "image/png", href: "/favicon_48x48.png", sizes: "48x48" }, + { rel: "icon", type: "image/x-icon", href: "/favicon.ico", sizes: "32x32" }, + { rel: "icon", type: "image/png", href: "/icon-96x96.png", sizes: "96x96" }, + { rel: "icon", type: "image/svg+xml", href: "/favicon.svg" }, + { rel: "apple-touch-icon", href: "/apple-touch-icon.png" }, ], bodyAttrs: { class: "dark-mode", diff --git a/examples/nft-quest/public/apple-touch-icon.png b/examples/nft-quest/public/apple-touch-icon.png new file mode 100644 index 00000000..8c329a80 Binary files /dev/null and b/examples/nft-quest/public/apple-touch-icon.png differ diff --git a/examples/nft-quest/public/favicon-48x48.png b/examples/nft-quest/public/favicon-48x48.png deleted file mode 100644 index 08faa861..00000000 Binary files a/examples/nft-quest/public/favicon-48x48.png and /dev/null differ diff --git a/examples/nft-quest/public/favicon.ico b/examples/nft-quest/public/favicon.ico index 30feb78a..b4475b03 100644 Binary files a/examples/nft-quest/public/favicon.ico and b/examples/nft-quest/public/favicon.ico differ diff --git a/examples/nft-quest/public/favicon.png b/examples/nft-quest/public/favicon.png deleted file mode 100644 index f18ab501..00000000 Binary files a/examples/nft-quest/public/favicon.png and /dev/null differ diff --git a/examples/nft-quest/public/favicon.svg b/examples/nft-quest/public/favicon.svg index d692db24..f8ab5829 100644 --- a/examples/nft-quest/public/favicon.svg +++ b/examples/nft-quest/public/favicon.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/examples/nft-quest/public/icon-192.png b/examples/nft-quest/public/icon-192.png new file mode 100644 index 00000000..f03ee8c8 Binary files /dev/null and b/examples/nft-quest/public/icon-192.png differ diff --git a/examples/nft-quest/public/icon-512.png b/examples/nft-quest/public/icon-512.png new file mode 100644 index 00000000..5f784bfb Binary files /dev/null and b/examples/nft-quest/public/icon-512.png differ diff --git a/examples/nft-quest/public/icon-96.png b/examples/nft-quest/public/icon-96.png new file mode 100644 index 00000000..dc5ea5ba Binary files /dev/null and b/examples/nft-quest/public/icon-96.png differ diff --git a/examples/nft-quest/public/icon-mask.png b/examples/nft-quest/public/icon-mask.png new file mode 100644 index 00000000..5f784bfb Binary files /dev/null and b/examples/nft-quest/public/icon-mask.png differ diff --git a/examples/nft-quest/public/manifest.webmanifest b/examples/nft-quest/public/manifest.webmanifest new file mode 100644 index 00000000..58972642 --- /dev/null +++ b/examples/nft-quest/public/manifest.webmanifest @@ -0,0 +1,8 @@ +{ + "name": "NFT Quest", + "icons": [ + { "src": "/icon-192.png", "type": "image/png", "sizes": "192x192" }, + { "src": "/icon-mask.png", "type": "image/png", "sizes": "512x512", "purpose": "maskable" }, + { "src": "/icon-512.png", "type": "image/png", "sizes": "512x512" } + ] +} diff --git a/packages/auth-server/nuxt.config.ts b/packages/auth-server/nuxt.config.ts index 84f3d3d7..c3d19925 100644 --- a/packages/auth-server/nuxt.config.ts +++ b/packages/auth-server/nuxt.config.ts @@ -10,9 +10,10 @@ export default defineNuxtConfig({ head: { title: "ZKsync SSO", link: [ - { rel: "icon", type: "image/x-icon", href: "/favicon.ico" }, - { rel: "icon", type: "image/png", href: "/favicon-96x96.png", sizes: "96x96" }, + { rel: "icon", type: "image/x-icon", href: "/favicon.ico", sizes: "32x32" }, + { rel: "icon", type: "image/png", href: "/icon-96x96.png", sizes: "96x96" }, { rel: "icon", type: "image/svg+xml", href: "/favicon.svg" }, + { rel: "apple-touch-icon", href: "/apple-touch-icon.png" }, ], }, }, diff --git a/packages/auth-server/project.json b/packages/auth-server/project.json index ce48317f..6420a3a1 100644 --- a/packages/auth-server/project.json +++ b/packages/auth-server/project.json @@ -8,7 +8,7 @@ "cwd": "packages/auth-server", "command": "PORT=3002 nuxt dev" }, - "dependsOn": [] + "dependsOn": ["^build"] }, "build": { "executor": "nx:run-commands", diff --git a/packages/auth-server/public/apple-touch-icon.png b/packages/auth-server/public/apple-touch-icon.png new file mode 100644 index 00000000..8c329a80 Binary files /dev/null and b/packages/auth-server/public/apple-touch-icon.png differ diff --git a/packages/auth-server/public/favicon-96x96.png b/packages/auth-server/public/favicon-96x96.png deleted file mode 100644 index 2da7d00c..00000000 Binary files a/packages/auth-server/public/favicon-96x96.png and /dev/null differ diff --git a/packages/auth-server/public/favicon.ico b/packages/auth-server/public/favicon.ico index bdc9e5c7..b4475b03 100644 Binary files a/packages/auth-server/public/favicon.ico and b/packages/auth-server/public/favicon.ico differ diff --git a/packages/auth-server/public/favicon.svg b/packages/auth-server/public/favicon.svg index 44dd24a3..f8ab5829 100644 --- a/packages/auth-server/public/favicon.svg +++ b/packages/auth-server/public/favicon.svg @@ -1,4 +1 @@ - - - - \ No newline at end of file + diff --git a/packages/auth-server/public/icon-192.png b/packages/auth-server/public/icon-192.png new file mode 100644 index 00000000..f03ee8c8 Binary files /dev/null and b/packages/auth-server/public/icon-192.png differ diff --git a/packages/auth-server/public/icon-512.png b/packages/auth-server/public/icon-512.png new file mode 100644 index 00000000..5f784bfb Binary files /dev/null and b/packages/auth-server/public/icon-512.png differ diff --git a/packages/auth-server/public/icon-96.png b/packages/auth-server/public/icon-96.png new file mode 100644 index 00000000..dc5ea5ba Binary files /dev/null and b/packages/auth-server/public/icon-96.png differ diff --git a/packages/auth-server/public/icon-mask.png b/packages/auth-server/public/icon-mask.png new file mode 100644 index 00000000..5f784bfb Binary files /dev/null and b/packages/auth-server/public/icon-mask.png differ diff --git a/packages/auth-server/public/manifest.webmanifest b/packages/auth-server/public/manifest.webmanifest new file mode 100644 index 00000000..c00803e9 --- /dev/null +++ b/packages/auth-server/public/manifest.webmanifest @@ -0,0 +1,8 @@ +{ + "name": "ZKsync SSO Auth Server", + "icons": [ + { "src": "/icon-192.png", "type": "image/png", "sizes": "192x192" }, + { "src": "/icon-mask.png", "type": "image/png", "sizes": "512x512", "purpose": "maskable" }, + { "src": "/icon-512.png", "type": "image/png", "sizes": "512x512" } + ] +}