remove category image
This commit is contained in:
@@ -95,25 +95,10 @@ export function MenuList({ data, categoryRefs }: MenuListProps) {
|
|||||||
}}
|
}}
|
||||||
style={{ marginBottom: "1rem" }}
|
style={{ marginBottom: "1rem" }}
|
||||||
>
|
>
|
||||||
{!isDesktop && (
|
|
||||||
<ImageWithFallback
|
|
||||||
src={category.image || "/default.png"}
|
|
||||||
fallbackSrc="/default.png"
|
|
||||||
alt={category.name}
|
|
||||||
width="100%"
|
|
||||||
height={130}
|
|
||||||
className={styles.categoryMenuItemImage}
|
|
||||||
loadingContainerStyle={{
|
|
||||||
width: "100%",
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
)}
|
|
||||||
<ProTitle
|
<ProTitle
|
||||||
style={{
|
style={{
|
||||||
fontSize: "1.25rem",
|
fontSize: "1.25rem",
|
||||||
fontWeight: "bold",
|
fontWeight: "bold",
|
||||||
marginBottom: "1rem",
|
|
||||||
textAlign: "center",
|
|
||||||
color: themeName === "dark" ? "#fff" : "#000044",
|
color: themeName === "dark" ? "#fff" : "#000044",
|
||||||
}}
|
}}
|
||||||
level={5}
|
level={5}
|
||||||
|
|||||||
Reference in New Issue
Block a user