main
parent
413a063668
commit
ba61cd083f
|
@ -1,4 +1,3 @@
|
|||
|
||||
/** @type {import('postcss-load-config').Config} */
|
||||
const config = {
|
||||
plugins: {
|
||||
|
|
|
@ -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]);
|
||||
|
|
Loading…
Reference in New Issue