Skip to content
Snippets Groups Projects
Commit f5128a7b authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

add layout article-no-toc

parent 644769df
Branches
No related tags found
No related merge requests found
Pipeline #112614 passed
<script setup lang="ts">
const { surround } = useContent();
</script>
<template>
<v-row justify="space-between">
<v-col v-for="(surroundPage, i) in surround" :key="surroundPage?._id" :cols="mobile ? '12' : 'auto'">
<v-btn v-if="surroundPage" :prepend-icon="i === 0 ? 'mdi-arrow-left' : undefined"
:append-icon="i === 1 ? 'mdi-arrow-right' : undefined" :block="mobile ? true : false" variant="outlined"
color="primary" :to="surroundPage?._path">{{ surroundPage?.title }}</v-btn>
</v-col>
</v-row>
</template>
\ No newline at end of file
--- ---
title: List of defense systems title: List of defense systems
layout: article layout: article-no-toc
--- ---
......
--- ---
layout: article layout: article-no-toc
navigation: false navigation: false
--- ---
\ No newline at end of file
<script setup lang="ts">
const { page } = useContent();
// import { useCustomTheme } from '~/composables/useCustomTheme'
import { useDisplay } from 'vuetify'
// const { isDark } = useCustomTheme()
const { mobile } = useDisplay()
</script>
<template>
<VApp>
<v-main style="min-height: 300px">
<v-container>
<slot />
<EditGitlab />
<NavPrevNext />
</v-container>
<Footer></Footer>
</v-main>
<NavNavbar />
<nav-back-to-top />
</VApp>
</template>
<style scoped>
#app-footer {
border-top: 1px solid rgba(var(--v-border-color), var(--v-border-opacity));
}
</style>
...@@ -24,14 +24,7 @@ console.log(next) ...@@ -24,14 +24,7 @@ console.log(next)
<!-- </v-card-text> <!-- </v-card-text>
</v-card> --> </v-card> -->
<EditGitlab /> <EditGitlab />
<v-row justify="space-between"> <NavPrevNext />
<v-col v-for="(surroundPage, i) in [prev, next]" :key="surroundPage?._id" :cols="mobile ? '12' : 'auto'">
<v-btn v-if="surroundPage" :prepend-icon="i === 0 ? 'mdi-arrow-left' : undefined"
:append-icon="i === 1 ? 'mdi-arrow-right' : undefined" :block="mobile ? true : false" variant="outlined"
color="primary" :to="surroundPage?._path">{{ surroundPage?.title }}</v-btn>
</v-col>
</v-row>
</v-container> </v-container>
<Footer></Footer> <Footer></Footer>
</v-main> </v-main>
......
...@@ -53,11 +53,6 @@ const systems = computed(() => { ...@@ -53,11 +53,6 @@ const systems = computed(() => {
</script> </script>
<template> <template>
<v-card flat color="transparent"> <v-card flat color="transparent">
<v-card-title>List systems</v-card-title> <ListSystems :headers="headers" :systems="systems" :height="height - 405"></ListSystems>
<ListSystems
:headers="headers"
:systems="systems"
:height="height - 405"
></ListSystems>
</v-card> </v-card>
</template> </template>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment