diff --git a/app.vue b/app.vue index a62b46e..b0fa423 100644 --- a/app.vue +++ b/app.vue @@ -28,14 +28,17 @@ onMounted(() => { - Système Aspect +
+ Accueil + Systeme + Outils +
-
diff --git a/assets/common.css b/assets/common.css index f888fcc..662569a 100644 --- a/assets/common.css +++ b/assets/common.css @@ -47,4 +47,28 @@ .pb-3 { padding-bottom: 3em; +} + +.gap-1 > * +{ + padding-left: .4em; + padding-right: .4em; +} +.gap-1 > *:first-child, .gap-2 > *:first-child, .gap-3 > *:first-child +{ + padding-left: 0; +} +.gap-1 > *:last-child, .gap-2 > *:last-child, .gap-3 > *:last-child +{ + padding-right: 0; +} +.gap-2 > * +{ + padding-left: .8em; + padding-right: .8em; +} +.gap-3 > * +{ + padding-left: 1.2em; + padding-right: 1.2em; } \ No newline at end of file diff --git a/assets/global.css b/assets/global.css index bea9be7..375f911 100644 --- a/assets/global.css +++ b/assets/global.css @@ -44,8 +44,8 @@ --site-name-color: var(--text-normal); --site-name-color-hover: var(--text-muted); --site-name-font: inherit; - --site-name-size: 22px; - --site-name-weight: var(--font-semibold); + --site-name-size: 18px; + --site-name-weight: var(--font-medium); --site-menu-icon-color: var(--text-faint); --site-menu-icon-color-hover: var(--text-normal); --site-menu-icon-size: 24px; @@ -4061,9 +4061,9 @@ body { padding: 40px; } -.is-readable-line-width .not-found-container { +/*.is-readable-line-width .not-found-container { max-width: var(--page-width); -} +}*/ .not-found-title { font-size: var(--h1-size); diff --git a/bun.lockb b/bun.lockb new file mode 100644 index 0000000..b02a11d Binary files /dev/null and b/bun.lockb differ diff --git a/package.json b/package.json new file mode 100644 index 0000000..d2f42c5 --- /dev/null +++ b/package.json @@ -0,0 +1,11 @@ +{ + "devDependencies": { "@nuxt/content": "^2.13.2", "@nuxtjs/color-mode": "^3.4.2", "nuxt": "^3.12.4", "vue": "^3.4.34", "vue-router": "^4.4.0" }, + "patchedDependencies": { + "unstorage@1.10.2": "patches/unstorage@1.10.2.patch", + "@nuxt/content@2.13.2": "patches/@nuxt%2Fcontent@2.13.2.patch" + }, + "dependencies": { + "hast-util-to-html": "^9.0.1", + "remark-breaks": "^4.0.0" + } +} \ No newline at end of file diff --git a/pages/index.vue b/pages/index.vue new file mode 100644 index 0000000..a5d9b7a --- /dev/null +++ b/pages/index.vue @@ -0,0 +1,9 @@ + \ No newline at end of file diff --git a/patches/@nuxt%2Fcontent@2.13.2.patch b/patches/@nuxt%2Fcontent@2.13.2.patch new file mode 100644 index 0000000..b9c7e80 --- /dev/null +++ b/patches/@nuxt%2Fcontent@2.13.2.patch @@ -0,0 +1,17 @@ +diff --git a/dist/runtime/server/storage.js b/dist/runtime/server/storage.js +index b9bb602074f15488fe7ee700bbed281b42b463d9..96382bc576ab0145c854d06d67649b31138e76f4 100644 +--- a/dist/runtime/server/storage.js ++++ b/dist/runtime/server/storage.js +@@ -40,10 +40,10 @@ const contentIgnorePredicate = (key) => { + if (key.startsWith("preview:") || isIgnored(key)) { + return false; + } +- if (invalidKeyCharacters.some((ik) => key.includes(ik))) { ++ /*if (invalidKeyCharacters.some((ik) => key.includes(ik))) { + console.warn(`Ignoring [${key}]. File name should not contain any of the following characters: ${invalidKeyCharacters.join(", ")}`); + return false; +- } ++ }*/ + return true; + }; + export const getContentsIds = async (event, prefix) => { diff --git a/patches/unstorage@1.10.2.patch b/patches/unstorage@1.10.2.patch new file mode 100644 index 0000000..199a280 --- /dev/null +++ b/patches/unstorage@1.10.2.patch @@ -0,0 +1,26 @@ +diff --git a/drivers/github.cjs b/drivers/github.cjs +index 606d742980420c0a60f991803bc1cc4604112f54..322c61f73c85aa7ccaf684d2cf64af5b20a9c579 100644 +--- a/drivers/github.cjs ++++ b/drivers/github.cjs +@@ -21,7 +21,7 @@ module.exports = (0, _utils.defineDriver)(_opts => { + ...defaultOptions, + ..._opts + }; +- const rawUrl = (0, _ufo.joinURL)(opts.cdnURL, opts.repo, opts.branch, opts.dir); ++ const rawUrl = (0, _ufo.joinURL)(opts.cdnURL, opts.repo, 'raw', 'branch', opts.branch, opts.dir); + let files = {}; + let lastCheck = 0; + let syncPromise; +diff --git a/drivers/github.mjs b/drivers/github.mjs +index ae9833dfe933d3d68050ed55d7ca202c4a995d0d..2c6dfd006e5495ed2a4c2a057c7a1a8b50b5659b 100644 +--- a/drivers/github.mjs ++++ b/drivers/github.mjs +@@ -12,7 +12,7 @@ const defaultOptions = { + const DRIVER_NAME = "github"; + export default defineDriver((_opts) => { + const opts = { ...defaultOptions, ..._opts }; +- const rawUrl = joinURL(opts.cdnURL, opts.repo, opts.branch, opts.dir); ++ const rawUrl = joinURL(opts.cdnURL, opts.repo, 'raw', 'branch', opts.branch, opts.dir); + let files = {}; + let lastCheck = 0; + let syncPromise; diff --git a/public/icons/user.svg b/public/icons/user.svg new file mode 100644 index 0000000..b665f14 --- /dev/null +++ b/public/icons/user.svg @@ -0,0 +1 @@ + \ No newline at end of file