exemples
This commit is contained in:
@@ -448,6 +448,7 @@ const Playbacks = () => {
|
|||||||
onPress={() => setViewMode('charts')}
|
onPress={() => setViewMode('charts')}
|
||||||
accessibilityLabel="Revenir au classement des playbacks"
|
accessibilityLabel="Revenir au classement des playbacks"
|
||||||
>
|
>
|
||||||
|
<Image source={icons.sort} resizeMode="contain" style={styles.backToChartsIcon} />
|
||||||
<Text style={styles.backToChartsText}>Retour au classement</Text>
|
<Text style={styles.backToChartsText}>Retour au classement</Text>
|
||||||
</Pressable>
|
</Pressable>
|
||||||
</View>
|
</View>
|
||||||
@@ -561,17 +562,27 @@ const styles = StyleSheet.create({
|
|||||||
},
|
},
|
||||||
backToCharts: {
|
backToCharts: {
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
top: 32,
|
top: 28,
|
||||||
right: 24,
|
right: 24,
|
||||||
paddingVertical: 8,
|
paddingVertical: 10,
|
||||||
paddingHorizontal: 12,
|
paddingHorizontal: 14,
|
||||||
borderRadius: 12,
|
borderRadius: 999,
|
||||||
backgroundColor: 'rgba(0,0,0,0.55)',
|
backgroundColor: 'rgba(255,255,255,0.92)',
|
||||||
|
borderWidth: 1,
|
||||||
|
borderColor: 'rgba(0,0,0,0.12)',
|
||||||
|
flexDirection: 'row',
|
||||||
|
alignItems: 'center',
|
||||||
|
gap: 8,
|
||||||
zIndex: 20,
|
zIndex: 20,
|
||||||
},
|
},
|
||||||
|
backToChartsIcon: {
|
||||||
|
width: 16,
|
||||||
|
height: 16,
|
||||||
|
tintColor: '#0F0C14',
|
||||||
|
},
|
||||||
backToChartsText: {
|
backToChartsText: {
|
||||||
color: Palette.white,
|
color: '#0F0C14',
|
||||||
fontSize: 12,
|
fontSize: 13,
|
||||||
fontFamily: FONT_FAMILY.InterSemiBold,
|
fontFamily: FONT_FAMILY.InterSemiBold,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import React, { useMemo, useState } from 'react'
|
import React, { useMemo, useState } from 'react'
|
||||||
import { Platform, View } from 'react-native'
|
import { Platform, View } from 'react-native'
|
||||||
import { responsiveHeight } from 'react-native-responsive-dimensions'
|
import { responsiveHeight } from 'react-native-responsive-dimensions'
|
||||||
import { background, icons } from '../../assets'
|
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'
|
||||||
|
|||||||
@@ -1103,16 +1103,18 @@ const styles = StyleSheet.create({
|
|||||||
},
|
},
|
||||||
sectionTag: {
|
sectionTag: {
|
||||||
alignSelf: 'flex-start',
|
alignSelf: 'flex-start',
|
||||||
paddingHorizontal: 12,
|
paddingHorizontal: 14,
|
||||||
paddingVertical: 6,
|
paddingVertical: 6,
|
||||||
borderRadius: 999,
|
borderRadius: 999,
|
||||||
backgroundColor: 'rgba(255,255,255,0.12)',
|
backgroundColor: 'rgba(255,255,255,0.92)',
|
||||||
|
borderWidth: 1,
|
||||||
|
borderColor: 'rgba(0,0,0,0.08)',
|
||||||
},
|
},
|
||||||
sectionTagText: {
|
sectionTagText: {
|
||||||
fontSize: 12,
|
fontSize: 13,
|
||||||
color: Palette.white,
|
color: '#0F0C14',
|
||||||
fontFamily: FONT_FAMILY.InterSemiBold,
|
fontFamily: FONT_FAMILY.InterSemiBold,
|
||||||
letterSpacing: 1,
|
letterSpacing: 0.6,
|
||||||
textTransform: 'uppercase',
|
textTransform: 'uppercase',
|
||||||
},
|
},
|
||||||
blurSection: {
|
blurSection: {
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ const SongStyle = ({
|
|||||||
<View style={{ flex: 1, gap: 10 }}>
|
<View style={{ flex: 1, gap: 10 }}>
|
||||||
<CreateLyricsHeader
|
<CreateLyricsHeader
|
||||||
title={`Quel est le style de ta chanson ?`}
|
title={`Quel est le style de ta chanson ?`}
|
||||||
subTitle="Choisis l'ambiance émotions que tu veux faire passer."
|
subTitle="Quelle ambiance veux-tu pour ta chanson?"
|
||||||
/>
|
/>
|
||||||
<View
|
<View
|
||||||
style={{ flex: 1 }}
|
style={{ flex: 1 }}
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
import { View } from 'react-native'
|
import { StyleSheet, Text, View } from 'react-native'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
import { Palette } from '../../styles'
|
||||||
|
import { FONT_FAMILY } from '../../styles/Fonts'
|
||||||
import CreateLyricsHeader from './components/CreateLyricsHeader'
|
import CreateLyricsHeader from './components/CreateLyricsHeader'
|
||||||
import CustomInput from './components/CustomInput'
|
import CustomInput from './components/CustomInput'
|
||||||
|
|
||||||
@@ -10,6 +12,11 @@ const SpecificityContext = ({ context, setContext }) => {
|
|||||||
title="Spécificité du contexte"
|
title="Spécificité du contexte"
|
||||||
subTitle="Dis-nous en un peu plus pour qu’on puisse mieux t’aider."
|
subTitle="Dis-nous en un peu plus pour qu’on puisse mieux t’aider."
|
||||||
/>
|
/>
|
||||||
|
<View style={styles.exampleCard}>
|
||||||
|
<Text style={styles.exampleText}>
|
||||||
|
Par ex. : précise des noms, des anecdotes, ton humeur...
|
||||||
|
</Text>
|
||||||
|
</View>
|
||||||
<CustomInput
|
<CustomInput
|
||||||
placeholder="Décris le contexte de ta chanson"
|
placeholder="Décris le contexte de ta chanson"
|
||||||
height={283}
|
height={283}
|
||||||
@@ -21,3 +28,20 @@ const SpecificityContext = ({ context, setContext }) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export default SpecificityContext
|
export default SpecificityContext
|
||||||
|
|
||||||
|
const styles = StyleSheet.create({
|
||||||
|
exampleCard: {
|
||||||
|
backgroundColor: Palette.white,
|
||||||
|
borderRadius: 12,
|
||||||
|
paddingHorizontal: 12,
|
||||||
|
paddingVertical: 10,
|
||||||
|
borderWidth: 1,
|
||||||
|
borderColor: 'rgba(0,0,0,0.06)',
|
||||||
|
},
|
||||||
|
exampleText: {
|
||||||
|
fontSize: 14,
|
||||||
|
lineHeight: 20,
|
||||||
|
color: Palette.black,
|
||||||
|
fontFamily: FONT_FAMILY.InterRegular,
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user