diff --git a/app.config.ts b/app.config.ts index 874f426..b517b75 100644 --- a/app.config.ts +++ b/app.config.ts @@ -66,11 +66,12 @@ export default defineAppConfig({ footer: { credits: { - icon: 'IconDocus', - text: 'Docudjeex', + icon: 'dd-icons:logo-short', + text: '', href: 'https://docu.djeex.fr', } } - } + }, + }) diff --git a/assets/dd-icons/logo-short.svg b/assets/dd-icons/logo-short.svg new file mode 100644 index 0000000..36c821e --- /dev/null +++ b/assets/dd-icons/logo-short.svg @@ -0,0 +1,21 @@ + + + + + + + + + \ No newline at end of file diff --git a/nuxt.config.ts b/nuxt.config.ts index 0241fd1..3920fb2 100755 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -25,6 +25,31 @@ export default defineNuxtConfig({ wrapperStyle: true } }, + modules: [ + '@nuxt/icon' + ], + icon: { + customCollections: [ + { + prefix: 'dd-icons', + dir: './assets/dd-icons' + }, + ], + }, + + app: { + head: { + link: [ + { rel: 'icon', type: 'image/x-icon', href: '/img/favicon/favicon.ico' }, + { rel: 'apple-touch-icon', sizes: '180x180', href: '/img/favicon/apple-touch-icon.png' }, + { rel: 'icon', sizes: '192x192', href: '/img/favicon/android-chrome-192x192.png' }, + { rel: 'icon', sizes: '512x512', href: '/img/favicon/android-chrome-512x512.png' }, + { rel: 'icon', type: 'image/png', sizes: '32x32', href: '/img/favicon/favicon-32x32.png' }, + { rel: 'icon', type: 'image/png', sizes: '16x16', href: '/img/favicon/favicon-16x16.png' }, + { rel: 'manifest', href: '/img/favicon/site.webmanifest' } + ] + } + }, compatibilityDate: '2024-10-24' -}) +}) \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 3ad3b12..43f3f84 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,6 +11,7 @@ "@nuxt-themes/docus": "latest", "@nuxt/devtools": "^1.6.0", "@nuxt/eslint-config": "^0.6.1", + "@nuxt/icon": "^1.7.5", "@nuxtjs/plausible": "^1.0.3", "@types/node": "^22.9.0", "eslint": "^9.14.0", @@ -30,6 +31,19 @@ "node": ">=6.0.0" } }, + "node_modules/@antfu/install-pkg": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@antfu/install-pkg/-/install-pkg-0.4.1.tgz", + "integrity": "sha512-T7yB5QNG29afhWVkVq7XeIMBa5U/vs9mX69YqayXypPRmYzUmzwnYltplHmPtZ4HPCn+sQKeXW8I47wCbuBOjw==", + "dev": true, + "dependencies": { + "package-manager-detector": "^0.2.0", + "tinyexec": "^0.3.0" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + } + }, "node_modules/@antfu/utils": { "version": "0.7.10", "resolved": "https://registry.npmjs.org/@antfu/utils/-/utils-0.7.10.tgz", @@ -1254,12 +1268,36 @@ "url": "https://github.com/sponsors/nzakas" } }, + "node_modules/@iconify/collections": { + "version": "1.0.483", + "resolved": "https://registry.npmjs.org/@iconify/collections/-/collections-1.0.483.tgz", + "integrity": "sha512-zBN+RzT6yjgME39Lhr2gQ54yGSvVZevg0rXbNbjc8iXDnBafv34gaMvwv2UB9+xAtaENwg6d9L97Qj2qneLqAg==", + "dev": true, + "dependencies": { + "@iconify/types": "*" + } + }, "node_modules/@iconify/types": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@iconify/types/-/types-2.0.0.tgz", "integrity": "sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==", "dev": true }, + "node_modules/@iconify/utils": { + "version": "2.1.33", + "resolved": "https://registry.npmjs.org/@iconify/utils/-/utils-2.1.33.tgz", + "integrity": "sha512-jP9h6v/g0BIZx0p7XGJJVtkVnydtbgTgt9mVNcGDYwaa7UhdHdI9dvoq+gKj9sijMSJKxUPEG2JyjsgXjxL7Kw==", + "dev": true, + "dependencies": { + "@antfu/install-pkg": "^0.4.0", + "@antfu/utils": "^0.7.10", + "@iconify/types": "^2.0.0", + "debug": "^4.3.6", + "kolorist": "^1.8.0", + "local-pkg": "^0.5.0", + "mlly": "^1.7.1" + } + }, "node_modules/@iconify/vue": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/@iconify/vue/-/vue-4.1.2.tgz", @@ -1846,6 +1884,41 @@ "eslint": "^8.57.0 || ^9.0.0" } }, + "node_modules/@nuxt/icon": { + "version": "1.7.5", + "resolved": "https://registry.npmjs.org/@nuxt/icon/-/icon-1.7.5.tgz", + "integrity": "sha512-9zpcjtCQHY1SanYAXLuErDy30aOJZhhHQ+ctigRcGEdOVLvaHJna8ahN/LWrvlwBv+/s/KKKb6Ycch6hxo7Ljw==", + "dev": true, + "dependencies": { + "@iconify/collections": "^1.0.482", + "@iconify/types": "^2.0.0", + "@iconify/utils": "^2.1.33", + "@iconify/vue": "^4.2.0-dev.2", + "@nuxt/devtools-kit": "^1.6.0", + "@nuxt/kit": "^3.14.159", + "local-pkg": "^0.5.0", + "mlly": "^1.7.3", + "ohash": "^1.1.4", + "pathe": "^1.1.2", + "std-env": "^3.8.0", + "tinyglobby": "^0.2.10" + } + }, + "node_modules/@nuxt/icon/node_modules/@iconify/vue": { + "version": "4.2.0-dev.2", + "resolved": "https://registry.npmjs.org/@iconify/vue/-/vue-4.2.0-dev.2.tgz", + "integrity": "sha512-fHsLaBaegrXyshUR2j9sV4TXkTgRQ9FhQ9PIqWgW/dFTPcMe2uEtUr1H9XQaDTpN8F9chnVqhLH8FT9asTDaSQ==", + "dev": true, + "dependencies": { + "@iconify/types": "^2.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/cyberalien" + }, + "peerDependencies": { + "vue": ">=3" + } + }, "node_modules/@nuxt/kit": { "version": "3.14.159", "resolved": "https://registry.npmjs.org/@nuxt/kit/-/kit-3.14.159.tgz", @@ -13289,6 +13362,12 @@ "integrity": "sha512-XPaBkWQJdsf3pLKJV9p4qN/S+fm2Oj8AIPo1BTUhg5oxkvm9+SVEGFdhyOz7tTdUTfvxMiAs4sp6/eZO2Ew+pw==", "dev": true }, + "node_modules/tinyexec": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-0.3.1.tgz", + "integrity": "sha512-WiCJLEECkO18gwqIp6+hJg0//p23HXp4S+gGtAKu3mI2F2/sXC4FvHvXvB0zJVVaTPhx1/tOwdbRsa1sOBIKqQ==", + "dev": true + }, "node_modules/tinyglobby": { "version": "0.2.10", "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.10.tgz", diff --git a/package.json b/package.json index 861a6be..1713723 100755 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "@nuxt-themes/docus": "latest", "@nuxt/devtools": "^1.6.0", "@nuxt/eslint-config": "^0.6.1", + "@nuxt/icon": "^1.7.5", "@nuxtjs/plausible": "^1.0.3", "@types/node": "^22.9.0", "eslint": "^9.14.0", diff --git a/public/img/favicon/android-chrome-192x192.png b/public/img/favicon/android-chrome-192x192.png new file mode 100644 index 0000000..7fe709a Binary files /dev/null and b/public/img/favicon/android-chrome-192x192.png differ diff --git a/public/img/favicon/android-chrome-512x512.png b/public/img/favicon/android-chrome-512x512.png new file mode 100644 index 0000000..e1a417d Binary files /dev/null and b/public/img/favicon/android-chrome-512x512.png differ diff --git a/public/img/favicon/apple-touch-icon.png b/public/img/favicon/apple-touch-icon.png new file mode 100644 index 0000000..4aac6e3 Binary files /dev/null and b/public/img/favicon/apple-touch-icon.png differ diff --git a/public/img/favicon/favicon-16x16.png b/public/img/favicon/favicon-16x16.png new file mode 100644 index 0000000..11af030 Binary files /dev/null and b/public/img/favicon/favicon-16x16.png differ diff --git a/public/img/favicon/favicon-32x32.png b/public/img/favicon/favicon-32x32.png new file mode 100644 index 0000000..31650cb Binary files /dev/null and b/public/img/favicon/favicon-32x32.png differ diff --git a/public/img/favicon/favicon.ico b/public/img/favicon/favicon.ico new file mode 100644 index 0000000..83ca11d Binary files /dev/null and b/public/img/favicon/favicon.ico differ diff --git a/public/img/favicon/site.webmanifest b/public/img/favicon/site.webmanifest new file mode 100644 index 0000000..45dc8a2 --- /dev/null +++ b/public/img/favicon/site.webmanifest @@ -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"} \ No newline at end of file