| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- <template>
- <NuxtLayout>
- <v-app>
- <a id="top" />
- <div class="content-wrapper">
- <div class="body">
- <header>
- <Topbar />
- </header>
- <NuxtPage />
- <BackToTheTop />
- </div>
- <Footer />
- </div>
- </v-app>
- </NuxtLayout>
- </template>
- <script setup lang="ts">
- const route = useRoute()
- useHead(() => ({
- link: [
- {
- rel: 'canonical',
- href: 'https://sauvagerie.fr' + route.path,
- },
- ],
- }))
- </script>
- <style lang="scss">
- html {
- scroll-behavior: smooth;
- height: 100%;
- overflow-x: hidden;
- }
- body {
- min-height: 100%;
- padding: 0;
- margin: 0;
- }
- .v-application {
- background: url('/images/photos/20250624_220653.jpg') no-repeat center center fixed !important;
- background-size: cover !important;
- color: rgb(var(--v-theme-on-background)) !important;
- font-family: Inter, sans-serif;
- min-height: 100vh;
- padding: 20px 0 0 0; /* Removed padding to allow footer to extend to the edges */
- box-sizing: border-box;
- }
- .content-wrapper {
- display: flex;
- flex-direction: column;
- min-height: calc(100vh - 20px); /* Account for top padding of v-application */
- }
- .body {
- padding: 28px;
- display: flex;
- flex-direction: column;
- flex: 1;
- margin: 20px 15% 20px 15%; /* Reduced bottom margin since footer is not fixed anymore */
- background-color: rgba(var(--v-theme-card-background), 0.65);
- border-radius: 12px;
- box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
- backdrop-filter: blur(5px);
- border: 1px solid rgba(255, 255, 255, 0.3);
- @media (max-width: 1600px) {
- margin: 20px 6% 20px 6%; /* Reduced bottom margin */
- }
- @media (max-width: 600px) {
- margin: 20px 3% 20px 3%; /* Reduced bottom margin */
- padding: 16px;
- }
- }
- .topbar-container {
- padding: 32px 0;
- border-bottom: solid 1px rgba(var(--v-theme-on-background), 0.2);
- margin-bottom: 3rem;
- position: sticky;
- top: 0;
- background-color: rgb(var(--v-theme-card-background));
- backdrop-filter: blur(5px);
- z-index: 1000;
- }
- :deep(h2) {
- margin: 48px 0 24px 0;
- padding-bottom: 9px;
- border-bottom: solid 1px rgba(var(--v-theme-on-background), 0.2);
- @media (max-width: 600px) {
- margin: 24px 0;
- }
- }
- .v-footer {
- max-height: 36px;
- display: flex;
- flex-direction: row;
- justify-content: center;
- border-top: rgb(var(--v-theme-on-surface));
- font-size: 12px;
- margin-top: 20px; /* Add some space between content and footer */
- a {
- color: rgb(var(--v-theme-on-background));
- }
- span {
- margin: 0 24px;
- }
- }
- </style>
|