新建Presentation分类页

This commit is contained in:
jingrow 2025-09-04 01:01:18 +08:00
parent 067c136fe7
commit 1022b51de3
3 changed files with 38 additions and 3 deletions

View File

@ -1,3 +1,4 @@
import "@/public/assets/style.css";
import Banner from "@/components/banner/Banner";
import Category from "@/components/sidebar/Category";
import { getSiteSettings } from "@/utils/data";
@ -5,8 +6,8 @@ import { notFound } from 'next/navigation';
import DynamicListPage from "@/components/common/DynamicListPage";
import { Suspense } from 'react';
import { getPageData } from "@/utils/data";
import { getLocalPageData } from "@/data/presentation";
import Presentation from "@/components/presentation/Presentation";
import Header from "@/components/headers/Header";
import Footer from "@/components/footers/Footer";
const baseSlug = 'presentation';
@ -89,6 +90,7 @@ export default async function Page({ params, searchParams }) {
const listColumns = 4;
return (
<>
<Header />
<Banner componentName={bannerComponentName} />
<div className="wrapper !bg-[#ffffff]">
<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>
<Footer />
</>
);
} else {

View File

@ -87,7 +87,22 @@ section.has-dark-background, section.has-dark-background h1, section.has-dark-ba
/*********************************************
* 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 {
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;
}
.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6 {
color: #ffffff !important;
}
/* 黑色字体 - 适用于浅色背景 */
.text-black {
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 {
color: #333333 !important;