Change pages title and add third party legal mentions
This commit is contained in:
parent
efdfa92775
commit
1d2a89e001
4
app.vue
4
app.vue
|
|
@ -57,5 +57,9 @@ onMounted(() => {
|
||||||
<LeftComponent />
|
<LeftComponent />
|
||||||
<NuxtPage />
|
<NuxtPage />
|
||||||
</div>
|
</div>
|
||||||
|
<div class="site-footer">
|
||||||
|
<p>Copyright Peaceultime - 2024</p>
|
||||||
|
<NuxtLink href="/third-party">Applications tierces et crédits</NuxtLink>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -3589,7 +3589,7 @@ input[type='number'] {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 16px;
|
bottom: 16px;
|
||||||
right: 18px;
|
left: 18px;
|
||||||
z-index: var(--layer-status-bar);
|
z-index: var(--layer-status-bar);
|
||||||
border-top-left-radius: 6px;
|
border-top-left-radius: 6px;
|
||||||
}
|
}
|
||||||
|
|
@ -4136,6 +4136,7 @@ body {
|
||||||
background-color: var(--sidebar-left-background);
|
background-color: var(--sidebar-left-background);
|
||||||
border-right: var(--sidebar-left-border-width) solid var(--sidebar-left-border-color);
|
border-right: var(--sidebar-left-border-width) solid var(--sidebar-left-border-color);
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
padding-bottom: 90px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.published-container:not(.has-navigation) .site-body-left-column {
|
.published-container:not(.has-navigation) .site-body-left-column {
|
||||||
|
|
|
||||||
|
|
@ -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).
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
import type { MarkdownRoot, ParsedContent, TocLink } from '@nuxt/content/dist/runtime/types';
|
import type { MarkdownRoot, ParsedContent, TocLink } from '@nuxt/content/dist/runtime/types';
|
||||||
import type { Canvas, CanvasContent } from '~/types/canvas';
|
import type { Canvas, CanvasContent } from '~/types/canvas';
|
||||||
|
|
||||||
import { stringifyParsedURL } from 'ufo';
|
import { stringifyParsedURL, parseURL } from 'ufo';
|
||||||
|
|
||||||
interface ParsedContentExtended extends Omit<ParsedContent, 'body'> {
|
interface ParsedContentExtended extends Omit<ParsedContent, 'body'> {
|
||||||
body: MarkdownRoot | CanvasContent | null;
|
body: MarkdownRoot | CanvasContent | null;
|
||||||
|
|
@ -160,7 +160,7 @@ function hidePreview(e: Event) {
|
||||||
</div>
|
</div>
|
||||||
</Teleport>
|
</Teleport>
|
||||||
</template>
|
</template>
|
||||||
<a v-bind="$attrs" v-else>
|
<a v-bind="$attrs" :href="href" :target="target" v-else>
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
</a>
|
</a>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
|
<Head>
|
||||||
|
<Title>Inconnu</Title>
|
||||||
|
</Head>
|
||||||
<div class="site-body-center-column">
|
<div class="site-body-center-column">
|
||||||
<div class="render-container">
|
<div class="render-container">
|
||||||
<div class="not-found-container">
|
<div class="not-found-container">
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,7 @@
|
||||||
<script setup lang="ts">
|
|
||||||
definePageMeta({
|
|
||||||
title: 'Accueil',
|
|
||||||
})
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
<Head>
|
||||||
|
<Title>Accueil</Title>
|
||||||
|
</Head>
|
||||||
<div class="site-body-center-column">
|
<div class="site-body-center-column">
|
||||||
<div class="render-container">
|
<div class="render-container">
|
||||||
<div class="not-found-container">
|
<div class="not-found-container">
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,28 @@
|
||||||
|
<script setup lang="ts">
|
||||||
|
const data = `### 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éé grâce aux icones de [Game Icons](https://game-icons.net).`;
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<Head>
|
||||||
|
<Title>Tierces parties et crédits</Title>
|
||||||
|
</Head>
|
||||||
|
<div style="margin-left: var(--sidebar-left-width)" class="site-body-center-column">
|
||||||
|
<div class="render-container">
|
||||||
|
<div class="render-container-inner">
|
||||||
|
<div class="publish-renderer">
|
||||||
|
<div class="markdown-preview-view markdown-rendered node-insert-event hide-title">
|
||||||
|
<div class="markdown-preview-sizer markdown-preview-section" style="padding-bottom: 0px;">
|
||||||
|
<MDC :value="data" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
definePageMeta({
|
definePageMeta({
|
||||||
title: 'Se connecter',
|
title: '',
|
||||||
auth: {
|
auth: {
|
||||||
unauthenticatedOnly: true,
|
unauthenticatedOnly: true,
|
||||||
navigateAuthenticatedTo: '/user/profile'
|
navigateAuthenticatedTo: '/user/profile'
|
||||||
|
|
@ -8,4 +8,8 @@ definePageMeta({
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template></template>
|
<template>
|
||||||
|
<Head>
|
||||||
|
<Title>Se connecter</Title>
|
||||||
|
</Head>
|
||||||
|
</template>
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
definePageMeta({
|
definePageMeta({
|
||||||
title: 'Votre profil',
|
|
||||||
auth: {
|
auth: {
|
||||||
unauthenticatedOnly: false,
|
unauthenticatedOnly: false,
|
||||||
navigateAuthenticatedTo: '/user/login'
|
navigateAuthenticatedTo: '/user/login'
|
||||||
|
|
@ -12,6 +11,9 @@ const { data } = useAuth();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
<Head>
|
||||||
|
<Title>Votre profil</Title>
|
||||||
|
</Head>
|
||||||
<div class="site-body-center-column">
|
<div class="site-body-center-column">
|
||||||
<div class="render-container">
|
<div class="render-container">
|
||||||
<div class="not-found-container">
|
<div class="not-found-container">
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
definePageMeta({
|
definePageMeta({
|
||||||
title: 'S\'inscrire',
|
title: '',
|
||||||
auth: {
|
auth: {
|
||||||
unauthenticatedOnly: true,
|
unauthenticatedOnly: true,
|
||||||
navigateAuthenticatedTo: '/user/profile'
|
navigateAuthenticatedTo: '/user/profile'
|
||||||
|
|
@ -19,6 +19,9 @@ function connect() {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
<Head>
|
||||||
|
<Title>S'inscrire</Title>
|
||||||
|
</Head>
|
||||||
<!--<div class="site-body-center-column">
|
<!--<div class="site-body-center-column">
|
||||||
<div class="render-container">
|
<div class="render-container">
|
||||||
<div v-if="status === 'unauthenticated'" class="not-found-container">
|
<div v-if="status === 'unauthenticated'" class="not-found-container">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue