메인페이지 리다이렉트 처리
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
NEXT_PUBLIC_SITE_ID = SN
|
||||
NEXT_PUBLIC_PORT = 3002
|
||||
NEXT_PUBLIC_PROXY_HOST = http://localhost:3002
|
||||
#NEXT_PUBLIC_PROXY_HOST = http://sn.hasu.or.kr:3002
|
||||
NEXT_PUBLIC_SERVER_API_URL = http://dev.onasys.co.kr:8000
|
||||
NEXT_PUBLIC_GEOSERVER_URL = http://rsone.iptime.org:10010/geoserver
|
||||
NEXT_PUBLIC_LX_GEOSERVER_URL = http://con.mind-one.co.kr:11306/geoserver #TODO 운영에서 바꿔야 함
|
||||
|
||||
+43
-44
@@ -1,51 +1,50 @@
|
||||
"use client";
|
||||
import { Button } from "@common/components";
|
||||
import Link from "next/link";
|
||||
import { redirect } from "next/navigation";
|
||||
|
||||
export default function Home() {
|
||||
//redirect("/map");
|
||||
redirect("/map");
|
||||
|
||||
return (
|
||||
<div>
|
||||
<div>
|
||||
<h3 className="text-bold mx-4 gap-4 text-2xl">하수관망도</h3>
|
||||
<div className="flex flex-row gap-4 p-4">
|
||||
<Link href={"/map"}>
|
||||
<Button>하수관망도</Button>
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<h3 className="text-bold mx-4 gap-4 text-2xl">운영정보 관리</h3>
|
||||
<div className="flex flex-row gap-4 p-4">
|
||||
<Link href={"/oper/floodPre"}>
|
||||
<Button>도시침수 예방사업</Button>
|
||||
</Link>
|
||||
<Link href={"/oper/oldPp"}>
|
||||
<Button>노후 하수관로 정비사업</Button>
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<h3 className="text-bold mx-4 gap-4 text-2xl">
|
||||
I/I 분석(기초정보 설정)
|
||||
</h3>
|
||||
<div className="flex flex-row gap-4 p-4">
|
||||
<Link href={"/ii/irsetting"}>
|
||||
<Button>침입수 분석</Button>
|
||||
</Link>
|
||||
<Link href={"/ii/rdii"}>
|
||||
<Button>RDII 분석</Button>
|
||||
</Link>
|
||||
<Link href={"/ii/result"}>
|
||||
<Button>침입수 분석 결과</Button>
|
||||
</Link>
|
||||
<Link href={"/ii/rdiiResult"}>
|
||||
<Button>RDII 분석 결과</Button>
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
// return (
|
||||
// <div>
|
||||
// <div>
|
||||
// <h3 className="text-bold mx-4 gap-4 text-2xl">하수관망도</h3>
|
||||
// <div className="flex flex-row gap-4 p-4">
|
||||
// <Link href={"/map"}>
|
||||
// <Button>하수관망도</Button>
|
||||
// </Link>
|
||||
// </div>
|
||||
// </div>
|
||||
// <div>
|
||||
// <h3 className="text-bold mx-4 gap-4 text-2xl">운영정보 관리</h3>
|
||||
// <div className="flex flex-row gap-4 p-4">
|
||||
// <Link href={"/oper/floodPre"}>
|
||||
// <Button>도시침수 예방사업</Button>
|
||||
// </Link>
|
||||
// <Link href={"/oper/oldPp"}>
|
||||
// <Button>노후 하수관로 정비사업</Button>
|
||||
// </Link>
|
||||
// </div>
|
||||
// </div>
|
||||
// <div>
|
||||
// <h3 className="text-bold mx-4 gap-4 text-2xl">
|
||||
// I/I 분석(기초정보 설정)
|
||||
// </h3>
|
||||
// <div className="flex flex-row gap-4 p-4">
|
||||
// <Link href={"/ii/irsetting"}>
|
||||
// <Button>침입수 분석</Button>
|
||||
// </Link>
|
||||
// <Link href={"/ii/rdii"}>
|
||||
// <Button>RDII 분석</Button>
|
||||
// </Link>
|
||||
// <Link href={"/ii/result"}>
|
||||
// <Button>침입수 분석 결과</Button>
|
||||
// </Link>
|
||||
// <Link href={"/ii/rdiiResult"}>
|
||||
// <Button>RDII 분석 결과</Button>
|
||||
// </Link>
|
||||
// </div>
|
||||
// </div>
|
||||
// </div>
|
||||
// );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user