[테마부분의 에너지 라벨 노출]

- 에너지 라벨 목업데이터 제거 및 받아와서 데이터 노출되도록 처리
 - 에너지 라벨 관련 처리. max-height: 800px로 제한.
This commit is contained in:
junghoon86.park
2025-12-17 16:36:03 +09:00
parent d933ca6bb7
commit 349688092c
3 changed files with 9 additions and 3 deletions

View File

@@ -248,6 +248,7 @@ export default function ThemeContents({
handleItemFocus?.(index);
}}
onMouseEnter={() => Spotlight.focus(spotlightItemId)}
euEnrgLblInfos={euEnrgLblInfos}
/>
);
},

View File

@@ -51,6 +51,7 @@ export default function ThemeItemCard({
spotlightId,
dataSpotlightDefault,
onFocused,
euEnrgLblInfos
}) {
const dispatch = useDispatch();
const [isFocused, setIsFocused] = useState(false);
@@ -211,9 +212,9 @@ export default function ThemeItemCard({
))}
</div>
)} */}
{/* {mockEnergyLabel && mockEnergyLabel.length > 0 && (
{euEnrgLblInfos && euEnrgLblInfos.length > 0 && (
<div className={css.energyLabels}>
{mockEnergyLabel.map((label, labelIndex) => (
{euEnrgLblInfos.map((label, labelIndex) => (
<SpottableTemp
key={labelIndex}
spotlightDisabled={Boolean(!cursorVisible)}
@@ -228,7 +229,7 @@ export default function ThemeItemCard({
</SpottableTemp>
))}
</div>
)} */}
)}
</div>
</SpottableDiv>
{(() => {

View File

@@ -220,3 +220,7 @@
}
}
}
.energyImage {
max-height:800px;
}