[hotpicks]데이터없을시 노출되는 화면 적용

This commit is contained in:
junghoon86.park
2024-08-14 11:27:34 +09:00
parent fe320eabaa
commit 1a7740a9b0
2 changed files with 34 additions and 1 deletions

View File

@@ -1,7 +1,17 @@
import React from "react";
import Spottable from "@enact/spotlight/Spottable";
import NoDataImg from "../../../../../assets/images/img-my-info-billing@3x.png";
import CustomImage from "../../../../components/CustomImage/CustomImage";
import css from "../NoDataType/NoDataType.module.less";
export default function NoDataType() {
return <></>;
const SpottableComponent = Spottable("div");
return (
<SpottableComponent className={css.NoDataType}>
<CustomImage delay={0} animationSpeed="fast" src={NoDataImg} />
<span>There are no themes available</span>
</SpottableComponent>
);
}

View File

@@ -0,0 +1,23 @@
@import "../../../../style/CommonStyle.module.less";
@import "../../../../style/utils.module.less";
.NoDataType {
display: flex;
.size(@w:100%, @h:1080px);
align-items: center;
text-align: center;
flex-direction: column;
justify-content: center;
> img {
.size(@w:360px, @h:180px);
flex: none;
display: inline-block;
}
> span {
flex: none;
font-size: 36px;
font-weight: bold;
color: #a3a3a3;
display: block;
}
}