help texts

This commit is contained in:
2025-10-13 13:48:32 +02:00
parent 4c90ce7b6e
commit 1893645de3
7 changed files with 49 additions and 7 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 MiB

After

Width:  |  Height:  |  Size: 9.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 569 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.5 MiB

After

Width:  |  Height:  |  Size: 709 KiB

@@ -490,8 +490,9 @@ const styles = StyleSheet.create({
}, },
cardWrapper: { cardWrapper: {
flex: 1, flex: 1,
width: "100%", width: "60%",
justifyContent: "flex-start", justifyContent: "center",
alignSelf: "center",
zIndex: 1, zIndex: 1,
}, },
dotsWrapperBase: { dotsWrapperBase: {
+1 -1
View File
@@ -6,7 +6,7 @@ import { background } from "../../assets";
import GradientButton from "../../components/GradientButton"; import GradientButton from "../../components/GradientButton";
import MusicLandHeader from "../../components/MusicLandHeader"; import MusicLandHeader from "../../components/MusicLandHeader";
import { OTHER_OBJECTIVE_OPTION, OTHER_STYLE_OPTION } from "../../data/data"; import { OTHER_OBJECTIVE_OPTION, OTHER_STYLE_OPTION } from "../../data/data";
import useLayoutType, { isWeb } from "../../hooks/useLayoutType"; import useLayoutType from "../../hooks/useLayoutType";
import Page from "../../layouts/Page"; import Page from "../../layouts/Page";
import { Routes } from "../../navigation"; import { Routes } from "../../navigation";
import { goBack, navigate } from "../../navigation/NavigationService"; import { goBack, navigate } from "../../navigation/NavigationService";
+1 -2
View File
@@ -3,9 +3,9 @@ import React, { useEffect, useRef, useState } from "react";
import { Image, Platform, Text, View } from "react-native"; import { Image, Platform, Text, View } from "react-native";
import useMinuit from "react-native-minuit/src/hooks/useMinuit.js"; import useMinuit from "react-native-minuit/src/hooks/useMinuit.js";
import { ai } from "../../assets"; import { ai } from "../../assets";
import alert from "../../components/Alert";
import GradientButton from "../../components/GradientButton"; import GradientButton from "../../components/GradientButton";
import ProgressBar from "../../components/ProgressBar"; import ProgressBar from "../../components/ProgressBar";
import alert from "../../components/Alert";
import firebase from "../../config/firebase"; import firebase from "../../config/firebase";
import { Routes } from "../../navigation"; import { Routes } from "../../navigation";
import { navigate } from "../../navigation/NavigationService"; import { navigate } from "../../navigation/NavigationService";
@@ -55,7 +55,6 @@ const CreatingLyrics = ({ active, config, selections }) => {
const run = async () => { const run = async () => {
try { try {
setCalled(true); setCalled(true);
await setIsLoading(true);
console.log("🚀 [CreatingLyrics] Lancement de la génération", { console.log("🚀 [CreatingLyrics] Lancement de la génération", {
platform: Platform.OS, platform: Platform.OS,
}); });
+44 -2
View File
@@ -1,5 +1,5 @@
import React, { useCallback, useMemo, useRef, useState } from "react"; import React, { useCallback, useMemo, useRef, useState } from "react";
import { ScrollView, View } from "react-native"; import { ScrollView, StyleSheet, Text, View } from "react-native";
import useMinuit from "react-native-minuit/src/hooks/useMinuit.js"; import useMinuit from "react-native-minuit/src/hooks/useMinuit.js";
import { background } from "../../assets"; import { background } from "../../assets";
import BorderGradientButton from "../../components/BorderGradientButton"; import BorderGradientButton from "../../components/BorderGradientButton";
@@ -13,7 +13,8 @@ import Page from "../../layouts/Page";
import { Routes } from "../../navigation"; import { Routes } from "../../navigation";
import { navigate } from "../../navigation/NavigationService"; import { navigate } from "../../navigation/NavigationService";
import { useUser } from "../../providers/UserDataProvider"; import { useUser } from "../../providers/UserDataProvider";
import { gutters } from "../../styles"; import { Palette, gutters } from "../../styles";
import { FONT_FAMILY } from "../../styles/Fonts";
import CustomInput from "./components/CustomInput"; import CustomInput from "./components/CustomInput";
const Lyrics = ({ navigation }) => { const Lyrics = ({ navigation }) => {
@@ -287,6 +288,26 @@ const Lyrics = ({ navigation }) => {
flexGrow: 1, flexGrow: 1,
}} }}
> >
<View style={styles.headerContainer}>
<Text style={styles.headerTitle}>Proposition de paroles</Text>
<Text style={styles.instructions}>
Relis attentivement la proposition générée avant de valider.
</Text>
<Text style={styles.instructions}>
<Text style={styles.instructionsHighlight}>
Personnalisation :
</Text>{" "}
modifie le titre et chaque section pour que les paroles te
ressemblent.
</Text>
<Text style={styles.instructions}>
<Text style={styles.instructionsHighlight}>
Nouvelle génération :
</Text>{" "}
appuie sur "Générer d'autres paroles" si tu souhaites une
autre suggestion.
</Text>
</View>
<CustomInput <CustomInput
label="Titre" label="Titre"
placeholder="Titre" placeholder="Titre"
@@ -359,3 +380,24 @@ const Lyrics = ({ navigation }) => {
}; };
export default Lyrics; export default Lyrics;
const styles = StyleSheet.create({
headerContainer: {
gap: 8,
paddingHorizontal: 2,
},
headerTitle: {
color: Palette.white,
fontFamily: FONT_FAMILY.InterSemiBold,
fontSize: 20,
},
instructions: {
color: Palette.white,
fontFamily: FONT_FAMILY.InterRegular,
fontSize: 14,
lineHeight: 20,
},
instructionsHighlight: {
fontFamily: FONT_FAMILY.InterSemiBold,
},
});