guofei 2024-10-23 15:23:45 +08:00
parent 413a063668
commit ba61cd083f
2 changed files with 1 additions and 12 deletions

View File

@ -1,4 +1,3 @@
/** @type {import('postcss-load-config').Config} */
const config = {
plugins: {

View File

@ -5,17 +5,7 @@ import Footer from "@/app/components/footer";
import Examples from "../components/Examples";
type CaseType = {
img: string;
};
export type PropsType = {
params: {
lang: string[];
caseList: CaseType[];
};
};
export default async function Home(props: { params: { lang: string[] }; caseList: CaseType[] }) {
export default async function Home(props: { params: { lang: string[] } }) {
const lang = props.params.lang || ["zh"];
const dict = await getDictionary(lang[0]);