chore: fix
This commit is contained in:
@@ -176,7 +176,9 @@ export default function ProductCard({
|
||||
)}
|
||||
{isComingSoon && (
|
||||
<View style={styles.comingSoonOverlay}>
|
||||
<Text style={styles.comingSoonText}>COMMING SOON</Text>
|
||||
<View style={styles.comingSoonBox}>
|
||||
<Text style={styles.comingSoonText}>BIENTÔT DISPONIBLE</Text>
|
||||
</View>
|
||||
</View>
|
||||
)}
|
||||
</View>
|
||||
@@ -477,13 +479,14 @@ const styles = StyleSheet.create({
|
||||
},
|
||||
comingSoonOverlay: {
|
||||
position: "absolute",
|
||||
top: "50%",
|
||||
left: "50%",
|
||||
transform: [
|
||||
{ translateX: -80 },
|
||||
{ translateY: -25 },
|
||||
{ rotate: "-15deg" },
|
||||
],
|
||||
top: 0,
|
||||
left: 0,
|
||||
right: 0,
|
||||
bottom: 0,
|
||||
justifyContent: "center",
|
||||
alignItems: "center",
|
||||
},
|
||||
comingSoonBox: {
|
||||
backgroundColor: "rgba(0,0,0,0.8)",
|
||||
borderWidth: 4,
|
||||
borderColor: "rgba(34,197,94,0.95)",
|
||||
@@ -492,7 +495,7 @@ const styles = StyleSheet.create({
|
||||
},
|
||||
comingSoonText: {
|
||||
color: "rgba(34,197,94,0.95)",
|
||||
fontSize: 24,
|
||||
fontSize: 16,
|
||||
fontWeight: "900",
|
||||
letterSpacing: 2,
|
||||
textTransform: "uppercase",
|
||||
|
||||
Reference in New Issue
Block a user