News active cosmetics

pull/4591/head
Cagatay Civici 2023-10-10 19:58:35 +03:00
parent 81332a54e5
commit b23881718b
2 changed files with 9 additions and 14 deletions

View File

@ -66,24 +66,19 @@
}
}
.landing-news-active {
.landing-header {
top: 2rem;
}
}
.layout-news-active {
.layout-topbar,
.layout-config {
.layout-topbar {
top: 2rem;
}
.layout-sidebar {
top: 7rem;
.layout-sidebar,
.doc-section-nav {
top: 8rem;
}
.layout-content {
padding-top: 7rem;
padding-top: 8rem;
}
.doc-section-label,

View File

@ -14,16 +14,16 @@
<script>
definePageMeta({
layout: "custom",
layout: 'custom'
});
import EventBus from '@/layouts/AppEventBus';
import AppNews from '@/layouts/AppNews';
import HeroSection from './landing/HeroSection';
import AppTopBar from '@/layouts/AppTopBar.vue';
import BlockSection from './landing/BlockSection';
import FeaturesSection from './landing/FeaturesSection';
import FooterSection from './landing/FooterSection';
import HeroSection from './landing/HeroSection';
import TemplateSection from './landing/TemplateSection';
import ThemeSection from './landing/ThemeSection';
import UsersSection from './landing/UsersSection';
@ -90,7 +90,7 @@ export default {
},
computed: {
landingClass() {
return ['landing', { 'layout-dark': this.$appState?.darkTheme, 'layout-light': !this.$appState?.darkTheme, 'landing-news-active': this.$appState?.newsActive }];
return ['landing', { 'layout-dark': this.$appState?.darkTheme, 'layout-light': !this.$appState?.darkTheme, 'layout-news-active': this.$appState?.newsActive }];
}
},
components: {