36 lines
684 B
TypeScript
36 lines
684 B
TypeScript
const slots = [
|
|
{
|
|
key: "slider",
|
|
label: "Homepage slider",
|
|
kind: "list",
|
|
pageKey: "home",
|
|
aspectRatio: "24:41",
|
|
itemCount: null,
|
|
recommendedWidth: 480,
|
|
},
|
|
{
|
|
key: "categories",
|
|
label: "Homepage categories",
|
|
kind: "list",
|
|
pageKey: "home",
|
|
aspectRatio: "272:350",
|
|
itemCount: null,
|
|
recommendedWidth: 272,
|
|
},
|
|
{
|
|
key: "two-banner-below-slider",
|
|
label: "Two banners below slider",
|
|
kind: "list",
|
|
pageKey: "home",
|
|
aspectRatio: "200:169",
|
|
itemCount: 2,
|
|
recommendedWidth: 700,
|
|
},
|
|
] as const;
|
|
|
|
export const dynamic = "force-static";
|
|
|
|
export async function GET() {
|
|
return Response.json({ slots });
|
|
}
|