Generalize WIP
This commit is contained in:
parent
a3e8b89128
commit
cb7a3a08dc
31 changed files with 657 additions and 106 deletions
19
apps/bridge-frontend/app/(main)/[...segment]/page.tsx
Normal file
19
apps/bridge-frontend/app/(main)/[...segment]/page.tsx
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
// import { List } from "./_components/List";
|
||||
// import { db } from "@/app/_lib/database";
|
||||
// import { serviceConfig } from "@/app/_lib/config";
|
||||
|
||||
type PageProps = {
|
||||
params: {
|
||||
service: string;
|
||||
};
|
||||
};
|
||||
|
||||
export default async function Page({ params: { service } }: PageProps) {
|
||||
console.log({ service });
|
||||
|
||||
return <h1> Nice</h1>;
|
||||
// const config = serviceConfig[service];
|
||||
// const rows = await db.selectFrom(config.table).selectAll().execute();
|
||||
|
||||
// return <List service={service} rows={rows} />;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue