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");
|
||||||
|
|||||||
@@ -372,6 +372,19 @@
|
|||||||
border: 1px solid #90caf9;
|
border: 1px solid #90caf9;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Disabled calendar cell - 강화된 스타일 */
|
||||||
|
.calendar-table td.disabled {
|
||||||
|
color: #ccc;
|
||||||
|
cursor: not-allowed;
|
||||||
|
pointer-events: none;
|
||||||
|
background: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.calendar-table td.disabled:hover {
|
||||||
|
background: none !important;
|
||||||
|
cursor: not-allowed !important;
|
||||||
|
}
|
||||||
|
|
||||||
/* Responsive Design */
|
/* Responsive Design */
|
||||||
@media (max-width: 1199.98px) {
|
@media (max-width: 1199.98px) {
|
||||||
.reservation-container {
|
.reservation-container {
|
||||||
@@ -379,6 +392,7 @@
|
|||||||
gap: 16px;
|
gap: 16px;
|
||||||
padding: 20px 15px;
|
padding: 20px 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.box {
|
.box {
|
||||||
padding: 20px 14px;
|
padding: 20px 14px;
|
||||||
}
|
}
|
||||||
@@ -392,11 +406,11 @@
|
|||||||
height: auto;
|
height: auto;
|
||||||
padding: 20px 15px;
|
padding: 20px 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.box {
|
.box {
|
||||||
min-height: unset;
|
min-height: unset;
|
||||||
min-width: unset;
|
min-width: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 767.98px) {
|
@media (max-width: 767.98px) {
|
||||||
@@ -405,14 +419,17 @@
|
|||||||
padding: 15px;
|
padding: 15px;
|
||||||
gap: 20px;
|
gap: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.box {
|
.box {
|
||||||
padding: 16px 12px;
|
padding: 16px 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.calendar-table th,
|
.calendar-table th,
|
||||||
.calendar-table td {
|
.calendar-table td {
|
||||||
width: 1.8em;
|
width: 1.8em;
|
||||||
height: 1.8em;
|
height: 1.8em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.time-btn {
|
.time-btn {
|
||||||
min-width: 70px;
|
min-width: 70px;
|
||||||
font-size: 0.95em;
|
font-size: 0.95em;
|
||||||
@@ -425,35 +442,29 @@
|
|||||||
padding: 10px;
|
padding: 10px;
|
||||||
gap: 16px;
|
gap: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.box {
|
.box {
|
||||||
padding: 16px 8px;
|
padding: 16px 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.calendar-table th,
|
.calendar-table th,
|
||||||
.calendar-table td {
|
.calendar-table td {
|
||||||
width: 1.5em;
|
width: 1.5em;
|
||||||
height: 1.5em;
|
height: 1.5em;
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.time-btn {
|
.time-btn {
|
||||||
min-width: 60px;
|
min-width: 60px;
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
padding: 6px 0;
|
padding: 6px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.step-title {
|
.step-title {
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.service-item {
|
.service-item {
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.calendar-table td.disabled {
|
|
||||||
color: #ccc;
|
|
||||||
cursor: not-allowed;
|
|
||||||
pointer-events: none;
|
|
||||||
background: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.calendar-table td.disabled:hover {
|
|
||||||
background: none !important;
|
|
||||||
cursor: not-allowed !important;
|
|
||||||
}
|
|
||||||
@@ -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="8720c03a4463520a0bd0979a3a743ff8ef0d8a03" />
|
||||||
|
|
||||||
<title>메이드유</title>
|
<title>메이드유</title>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user