Files
dusuniot/src/routes/solution.index.tsx
T

25 lines
944 B
TypeScript

/**
* # 路由 方案归档 /solution/
* 原站 Elementor archive-posts 归档一比一复刻(SolutionArchive 组件,第 1 页)。
*/
import { createFileRoute } from "@tanstack/react-router";
import { SolutionArchive, loadSolutionArchive } from "~/components/website/SolutionArchive";
export const Route = createFileRoute("/solution/")({
loader: () => loadSolutionArchive({ data: 1 }),
head: () => ({
meta: [
{ title: "IoT Gateways & Devices Solution - DusunIoT" },
{ name: "description", content: "Dusun IoT hardware solutions for smart home, smart apartment, energy storage, vehicle IoT, retail, building and more." },
],
links: [{ rel: "canonical", href: "https://www.dusuniot.com/solution/" }],
}),
component: SolutionArchivePage,
});
/** # 组件 方案归档页(第 1 页) */
function SolutionArchivePage() {
const data = Route.useLoaderData();
return <SolutionArchive data={data} />;
}