index로 이동 변경
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
package com.madeuhome.common.ctrl;
|
package com.madeuhome.common.ctrl;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
@@ -24,12 +23,13 @@ public class MenuController {
|
|||||||
String requestURI = request.getRequestURI();
|
String requestURI = request.getRequestURI();
|
||||||
|
|
||||||
// 특정 URL 패턴에만 메뉴 추가
|
// 특정 URL 패턴에만 메뉴 추가
|
||||||
if (requestURI.endsWith("Intro.do") || requestURI.startsWith("/index") ) {
|
/*
|
||||||
|
* if (requestURI.endsWith("Intro.do") || requestURI.startsWith("/index") ) {
|
||||||
|
* return menuService.getMenuHierarchy("MAIN"); }
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
return menuService.getMenuHierarchy("MAIN");
|
return menuService.getMenuHierarchy("MAIN");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return new ArrayList<>();
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import jakarta.servlet.http.HttpServletRequest;
|
|||||||
import jakarta.servlet.http.HttpSession;
|
import jakarta.servlet.http.HttpSession;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
|
||||||
|
|
||||||
@Slf4j
|
@Slf4j
|
||||||
@@ -19,16 +19,16 @@ public class WebHomeController extends ManagerDraftAction{
|
|||||||
* @param response
|
* @param response
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@RequestMapping(value="/")
|
@GetMapping("/")
|
||||||
public String homeIntro(HttpSession session,HttpServletRequest request) {
|
public String homeIntro(HttpSession session,HttpServletRequest request) {
|
||||||
|
|
||||||
log.debug("WebHomeController homeIntro START");
|
log.debug("WebHomeController homeIntro START");
|
||||||
|
|
||||||
log.debug("WebHomeController homeIntro END");
|
log.debug("WebHomeController homeIntro END");
|
||||||
return "/intro";
|
return "/index";
|
||||||
}
|
}
|
||||||
|
|
||||||
@RequestMapping(value="/index")
|
@GetMapping("/index")
|
||||||
public String homeIndex(HttpSession session,HttpServletRequest request) {
|
public String homeIndex(HttpSession session,HttpServletRequest request) {
|
||||||
|
|
||||||
log.debug("WebHomeController homeIndex START");
|
log.debug("WebHomeController homeIndex START");
|
||||||
|
|||||||
@@ -385,6 +385,29 @@ body {
|
|||||||
cursor: not-allowed !important;
|
cursor: not-allowed !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.flatpickr-calendar {
|
||||||
|
max-width: 320px;
|
||||||
|
margin: 0 auto;
|
||||||
|
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
|
||||||
|
}
|
||||||
|
|
||||||
|
.flatpickr-day.disabled {
|
||||||
|
color: #ccc !important;
|
||||||
|
background: #f8f9fa;
|
||||||
|
cursor: not-allowed;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flatpickr-day.today {
|
||||||
|
background: #007bff;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.flatpickr-day.selected {
|
||||||
|
background: #28a745;
|
||||||
|
border-color: #28a745;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Responsive Design */
|
/* Responsive Design */
|
||||||
@media (max-width: 1199.98px) {
|
@media (max-width: 1199.98px) {
|
||||||
.reservation-container {
|
.reservation-container {
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
<meta property="og:description" content="설명문구">
|
<meta property="og:description" content="설명문구">
|
||||||
|
|
||||||
<!-- 사이트등록및소유확인 -->
|
<!-- 사이트등록및소유확인 -->
|
||||||
<meta name="naver-site-verification" content="" />
|
<meta name="naver-site-verification" content="194ca1bb5bf1c69ced9c4c9693bef1adacb4acd4" />
|
||||||
|
|
||||||
<title>메이드유</title>
|
<title>메이드유</title>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user