Replace reverse-proxy/iframe approach with @ebook/@community/@navmini imports under /nav /book /community so localhost:3000 serves all three products directly. Co-authored-by: Cursor <cursoragent@cursor.com>
20 lines
514 B
TypeScript
20 lines
514 B
TypeScript
import type { Metadata } from "next";
|
|
import { api } from "@community/lib/api";
|
|
import SiteShell from "@community/components/SiteShell";
|
|
import DigitalJobsClient from "@community/components/DigitalJobsClient";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "远程岗位 · nomadro",
|
|
};
|
|
|
|
export const revalidate = 300;
|
|
|
|
export default async function DigitalJobsPage() {
|
|
const jobs = await api.getDigitalJobs();
|
|
return (
|
|
<SiteShell showFooter>
|
|
<DigitalJobsClient jobs={jobs} />
|
|
</SiteShell>
|
|
);
|
|
}
|