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

clean

parent 73b858ad
No related branches found
No related tags found
No related merge requests found
Pipeline #115887 passed
......@@ -24,10 +24,6 @@ watchEffect(() => {
theme.global.name.value = switchTheme.value ? "dark" : "light";
})
// function toggleSwitchTheme() {
// theme.global.name.value = switchTheme.value ? "light" : "dark";
// }
const sections = ref([
{
id: "webservice",
......
<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 />
......
<script setup lang="ts">
const { page } = useContent();
// import { useCustomTheme } from '~/composables/useCustomTheme'
import { useDisplay } from 'vuetify'
const scrollThreshold = ref(200)
const density = ref("prominent")
function onScroll(e) {
const density = ref<'compact' | 'prominent'>("prominent")
function onScroll() {
if (window.scrollY > scrollThreshold.value) {
density.value = "compact"
}
......@@ -15,12 +11,7 @@ function onScroll(e) {
</script>
<template>
<VApp>
<v-main style="min-height: 300px">
<!-- <v-container class="fill-height w-auto" > -->
<!-- <v-card flat max-width="1000" min-height="300" color="transparent">
<v-card-text> -->
<v-container v-scroll="onScroll">
<slot />
<!-- </v-card-text>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment