Initial commit: NestJS NextJS pnpm monorepo
This commit is contained in:
commit
610dcf202b
175 files changed
+25172
No files matched your search
@@ -0,0 +1,30 @@
|
||||
|
||||
import Link from "next/link";
|
||||
import { sites } from "../../_config/sites";
|
||||
import { locationTree } from "../../actions/location.actions";
|
||||
|
||||
import { LocationView } from "../../components/location/location.view";
|
||||
|
||||
|
||||
|
||||
export default async function LocationPage() {
|
||||
|
||||
|
||||
const treeNodes = await locationTree();
|
||||
|
||||
return (
|
||||
<div className="h-screen">
|
||||
<div>
|
||||
<Link href={sites.location.new.url}>{sites.location.new.name}</Link>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<LocationView data={treeNodes}></LocationView>
|
||||
|
||||
</div>
|
||||
|
||||
<Link href={sites.main.url}>Home</Link>
|
||||
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user