import { css } from "@linaria/core"; import { Layout } from "ant-design-vue"; import { defineComponent } from "vue"; const { Header, Content, Footer } = Layout; import HeaderComponent from "@/views/website/components/layout/Header"; import FooterComponent from "@/views/website/components/layout/Footer"; import { useArticle, useCategory } from "@/modules"; import { Provider } from "@/components/Provider"; export default defineComponent(() => { const storeCategory = useCategory(); storeCategory.initCategories(); const artStore = useArticle(); artStore.initArticle(); return () => (
); }); const HeaderLayout = css` &.ant-layout-header { /* position: fixed; left: 0; top: 0; z-index: 99; width: 100%; */ height: auto; line-height: 1; padding: 0; background-color: transparent; } `; const ContentLayout = css` &.ant-layout-content { min-height: 100vh; } `; const FooterLayout = css` &.ant-layout-footer { height: auto; line-height: 1; padding: 0; background-color: transparent; } `;