feat: musique creation
This commit is contained in:
@@ -158,7 +158,7 @@ export default function LandingPage() {
|
|||||||
<View style={styles.freeCreditsContent}>
|
<View style={styles.freeCreditsContent}>
|
||||||
<View style={styles.freeCreditsTextContainer}>
|
<View style={styles.freeCreditsTextContainer}>
|
||||||
<Text style={styles.freeCreditsTitle}>
|
<Text style={styles.freeCreditsTitle}>
|
||||||
5 crédits offert
|
10 crédits offert
|
||||||
</Text>
|
</Text>
|
||||||
<Text style={styles.freeCreditsSubtitle}>
|
<Text style={styles.freeCreditsSubtitle}>
|
||||||
pour 1 parcours gratuit !
|
pour 1 parcours gratuit !
|
||||||
@@ -232,6 +232,7 @@ const styles = StyleSheet.create({
|
|||||||
borderRadius: 18,
|
borderRadius: 18,
|
||||||
paddingVertical: 14,
|
paddingVertical: 14,
|
||||||
paddingHorizontal: 20,
|
paddingHorizontal: 20,
|
||||||
|
overflow: "hidden"
|
||||||
},
|
},
|
||||||
freeCreditsContent: {
|
freeCreditsContent: {
|
||||||
flexDirection: "row",
|
flexDirection: "row",
|
||||||
|
|||||||
@@ -226,7 +226,7 @@ const GeneratingSong = () => {
|
|||||||
if (callingRef.current) return;
|
if (callingRef.current) return;
|
||||||
callingRef.current = true;
|
callingRef.current = true;
|
||||||
startMusicGeneration()
|
startMusicGeneration()
|
||||||
.catch(() => {})
|
.catch(() => { })
|
||||||
.finally(() => {
|
.finally(() => {
|
||||||
// Keep locked while status transitions to GENERATING; will be prevented by guards
|
// Keep locked while status transitions to GENERATING; will be prevented by guards
|
||||||
global.setTimeout(() => {
|
global.setTimeout(() => {
|
||||||
@@ -298,6 +298,7 @@ const GeneratingSong = () => {
|
|||||||
style={{
|
style={{
|
||||||
marginTop: responsiveHeight(10),
|
marginTop: responsiveHeight(10),
|
||||||
gap: 16,
|
gap: 16,
|
||||||
|
flex: 1, // Added flex: 1 to ensure full height usage
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<BlurView
|
<BlurView
|
||||||
|
|||||||
Reference in New Issue
Block a user