新建Presentation分类页
This commit is contained in:
parent
067c136fe7
commit
1022b51de3
@ -1,3 +1,4 @@
|
|||||||
|
import "@/public/assets/style.css";
|
||||||
import Banner from "@/components/banner/Banner";
|
import Banner from "@/components/banner/Banner";
|
||||||
import Category from "@/components/sidebar/Category";
|
import Category from "@/components/sidebar/Category";
|
||||||
import { getSiteSettings } from "@/utils/data";
|
import { getSiteSettings } from "@/utils/data";
|
||||||
@ -5,8 +6,8 @@ import { notFound } from 'next/navigation';
|
|||||||
import DynamicListPage from "@/components/common/DynamicListPage";
|
import DynamicListPage from "@/components/common/DynamicListPage";
|
||||||
import { Suspense } from 'react';
|
import { Suspense } from 'react';
|
||||||
import { getPageData } from "@/utils/data";
|
import { getPageData } from "@/utils/data";
|
||||||
import { getLocalPageData } from "@/data/presentation";
|
import Header from "@/components/headers/Header";
|
||||||
import Presentation from "@/components/presentation/Presentation";
|
import Footer from "@/components/footers/Footer";
|
||||||
|
|
||||||
const baseSlug = 'presentation';
|
const baseSlug = 'presentation';
|
||||||
|
|
||||||
@ -89,6 +90,7 @@ export default async function Page({ params, searchParams }) {
|
|||||||
const listColumns = 4;
|
const listColumns = 4;
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
<Header />
|
||||||
<Banner componentName={bannerComponentName} />
|
<Banner componentName={bannerComponentName} />
|
||||||
<div className="wrapper !bg-[#ffffff]">
|
<div className="wrapper !bg-[#ffffff]">
|
||||||
<div className="container py-[4.5rem] xl:!py-24 lg:!py-24 md:!py-24">
|
<div className="container py-[4.5rem] xl:!py-24 lg:!py-24 md:!py-24">
|
||||||
@ -110,6 +112,7 @@ export default async function Page({ params, searchParams }) {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<Footer />
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@ -87,7 +87,22 @@ section.has-dark-background, section.has-dark-background h1, section.has-dark-ba
|
|||||||
/*********************************************
|
/*********************************************
|
||||||
* HEADERS
|
* HEADERS
|
||||||
*********************************************/
|
*********************************************/
|
||||||
|
.reveal h1,
|
||||||
|
.reveal h2,
|
||||||
|
.reveal h3,
|
||||||
|
.reveal h4,
|
||||||
|
.reveal h5,
|
||||||
|
.reveal h6 {
|
||||||
|
margin: var(--r-heading-margin);
|
||||||
|
color: var(--r-heading-color);
|
||||||
|
font-family: var(--r-heading-font);
|
||||||
|
font-weight: var(--r-heading-font-weight);
|
||||||
|
line-height: var(--r-heading-line-height);
|
||||||
|
letter-spacing: var(--r-heading-letter-spacing);
|
||||||
|
text-transform: var(--r-heading-text-transform);
|
||||||
|
text-shadow: var(--r-heading-text-shadow);
|
||||||
|
word-wrap: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
.reveal h1 {
|
.reveal h1 {
|
||||||
font-size: var(--r-heading1-size);
|
font-size: var(--r-heading1-size);
|
||||||
@ -371,11 +386,28 @@ section.has-dark-background, section.has-dark-background h1, section.has-dark-ba
|
|||||||
color: #ffffff !important;
|
color: #ffffff !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.text-white h1,
|
||||||
|
.text-white h2,
|
||||||
|
.text-white h3,
|
||||||
|
.text-white h4,
|
||||||
|
.text-white h5,
|
||||||
|
.text-white h6 {
|
||||||
|
color: #ffffff !important;
|
||||||
|
}
|
||||||
/* 黑色字体 - 适用于浅色背景 */
|
/* 黑色字体 - 适用于浅色背景 */
|
||||||
.text-black {
|
.text-black {
|
||||||
color: #000000 !important;
|
color: #000000 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.text-black h1,
|
||||||
|
.text-black h2,
|
||||||
|
.text-black h3,
|
||||||
|
.text-black h4,
|
||||||
|
.text-black h5,
|
||||||
|
.text-black h6 {
|
||||||
|
color: #000000 !important;
|
||||||
|
}
|
||||||
|
|
||||||
/* 深灰色字体 */
|
/* 深灰色字体 */
|
||||||
.text-gray-dark {
|
.text-gray-dark {
|
||||||
color: #333333 !important;
|
color: #333333 !important;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user