[service] panel_names 추가 및 서비스중지화면 이미지 경로 변경

This commit is contained in:
jangheon Pyo
2024-05-21 14:29:43 +09:00
parent a72860a92e
commit 345f77b7c2
4 changed files with 5 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ export const panel_names = {
CHECKOUT_PANEL: "checkoutpanel",
THEME_CURATION_PANEL: "themeCurationPanel",
IMAGE_PANEL: "imagepanel",
SERVICE_UNAVAILABLE: "servicepanel",
// error
ERROR_PANEL: "errorpanel",

View File

@@ -41,6 +41,7 @@ import ThemeCurationPanel from "../ThemeCurationPanel/ThemeCurationPanel";
import TrendingNowPanel from "../TrendingNowPanel/TrendingNowPanel";
import WelcomeEventPanel from "../WelcomeEventPanel/WelcomeEventPanel";
import css from "./MainView.module.less";
import ServiceUnavailableNoticePanel from "../ServiceUnavailableNoticePanel/ServiceUnavailableNoticePanel";
const preloadImages = [testImage];
@@ -63,6 +64,7 @@ const panelMap = {
[Config.panel_names.WELCOME_EVENT_PANEL]: WelcomeEventPanel,
[Config.panel_names.THEME_CURATION_PANEL]: ThemeCurationPanel,
[Config.panel_names.IMAGE_PANEL]: ImagePanel,
[Config.panel_names.SERVICE_UNAVAILABLE]: ServiceUnavailableNoticePanel,
};
export default function MainView() {

View File

@@ -7,7 +7,7 @@ import TPanel from "../../components/TPanel/TPanel";
import css from "./ServiceUnavailableNoticePanel.module.less";
import { $L } from "../../utils/helperMethods";
import ServiceLogoImage from "../../../assets/img-service-logo@3x.png";
import ServiceLogoImage from "../../../assets/images/img-service-logo@3x.png";
const Container = SpotlightContainerDecorator(
{ enterTo: "last-focused" },
@@ -18,7 +18,6 @@ export default function ServiceUnavailableNoticePanel() {
const confirmExit = useCallback(() => {
if (typeof window === "object") {
if (window.PalmSystem) {
// gestureRelease();
window.close();
} else if (typeof window === "object") {
window.location.reload();

View File

@@ -7,7 +7,7 @@
color: @COLOR_GRAY08;
width: 100%;
height: 100%;
background: url(../../../assets/img-service-bg@3x.png);
background: url(../../../assets/images/img-service-bg@3x.png);
background-size: 100%;
background-repeat: no-repeat;
background-position: center;