From 1d2a89e0013f0890dd496fa09af66e1a435e6dba Mon Sep 17 00:00:00 2001 From: Peaceultime Date: Tue, 30 Jul 2024 00:17:56 +0200 Subject: [PATCH] Change pages title and add third party legal mentions --- app.vue | 4 ++++ assets/global.css | 3 ++- assets/third-party.md | 7 +++++++ components/content/prose/ProseA.vue | 4 ++-- pages/[...slug].vue | 3 +++ pages/index.vue | 9 +++------ pages/third-party.vue | 28 ++++++++++++++++++++++++++++ pages/user/login.vue | 8 ++++++-- pages/user/profile.vue | 6 ++++-- pages/user/signup.vue | 5 ++++- 10 files changed, 63 insertions(+), 14 deletions(-) create mode 100644 assets/third-party.md create mode 100644 pages/third-party.vue diff --git a/app.vue b/app.vue index eec1b3f..aceab37 100644 --- a/app.vue +++ b/app.vue @@ -57,5 +57,9 @@ onMounted(() => { + diff --git a/assets/global.css b/assets/global.css index 89ad96d..729b509 100644 --- a/assets/global.css +++ b/assets/global.css @@ -3589,7 +3589,7 @@ input[type='number'] { text-align: right; position: fixed; bottom: 16px; - right: 18px; + left: 18px; z-index: var(--layer-status-bar); border-top-left-radius: 6px; } @@ -4136,6 +4136,7 @@ body { background-color: var(--sidebar-left-background); border-right: var(--sidebar-left-border-width) solid var(--sidebar-left-border-color); height: 100%; + padding-bottom: 90px; } .published-container:not(.has-navigation) .site-body-left-column { diff --git a/assets/third-party.md b/assets/third-party.md new file mode 100644 index 0000000..5d44ba0 --- /dev/null +++ b/assets/third-party.md @@ -0,0 +1,7 @@ +### Librairies, framework et outils libres utilisés: +- [Vuejs](https://vuejs.org/) - MIT License - Copyright (c) 2018-present, Yuxi (Evan) You and Vue contributors +- [vue-router](https://router.vuejs.org/) - MIT License - Copyright (c) 2019-present Eduardo San Martin Morote +- [Nuxt](https://nuxt.com/) - MIT License - Copyright (c) 2016-present - Nuxt Team +- [NuxtAuth](https://auth.sidebase.io/) - MIT License - Copyright (c) 2022 SIDESTREAM GmbH + +Le logo a été créé grace aux icones de [Game Icons](https://game-icons.net). \ No newline at end of file diff --git a/components/content/prose/ProseA.vue b/components/content/prose/ProseA.vue index ddc5731..1b5264c 100644 --- a/components/content/prose/ProseA.vue +++ b/components/content/prose/ProseA.vue @@ -2,7 +2,7 @@ import type { MarkdownRoot, ParsedContent, TocLink } from '@nuxt/content/dist/runtime/types'; import type { Canvas, CanvasContent } from '~/types/canvas'; -import { stringifyParsedURL } from 'ufo'; +import { stringifyParsedURL, parseURL } from 'ufo'; interface ParsedContentExtended extends Omit { body: MarkdownRoot | CanvasContent | null; @@ -160,7 +160,7 @@ function hidePreview(e: Event) { - + \ No newline at end of file diff --git a/pages/[...slug].vue b/pages/[...slug].vue index eafcdb3..ee7f12f 100644 --- a/pages/[...slug].vue +++ b/pages/[...slug].vue @@ -1,4 +1,7 @@