This repository has been archived by the owner on Dec 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: integrating aime specific code for demo purpose (#466)
* feat: intagrating aime specific code for demo purpose * feat: image css overirde * feat: adjusting image size + removing last quizz bad behavior * feat: override CSS rules * fix: image display Co-authored-by: Clément <[email protected]>
- Loading branch information
1 parent
b60c1cc
commit 3ac6576
Showing
12 changed files
with
160 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
import {View, Text, StyleSheet, Image, TouchableOpacity} from 'react-native'; | ||
import React from 'react'; | ||
import Colors from '../styles/Color'; | ||
import Styles from '../styles/Styles'; | ||
import img from '../assets/onboardingAime.png'; | ||
|
||
const AimeOnboarding = ({onDone}) => { | ||
return ( | ||
<View style={{flex: 1, height: '100%', paddingVertical: 20}}> | ||
<Text style={styles.title}>Bienvenue sur Aime,</Text> | ||
<Text style={styles.subtitle}> | ||
L'application sur la santé sexuelle qui te permet de mieux comprendre | ||
ton corps et les relations amoureuses en France | ||
</Text> | ||
<Image source={img} style={styles.image} /> | ||
<TouchableOpacity | ||
style={[Styles.tunnelButton, styles.button]} | ||
onPress={onDone}> | ||
<Text style={[Styles.tunnelButtonText, styles.buttonText]}> | ||
Continuer | ||
</Text> | ||
</TouchableOpacity> | ||
</View> | ||
); | ||
}; | ||
|
||
const styles = StyleSheet.create({ | ||
title: { | ||
fontSize: 40, | ||
fontWeight: 'bold', | ||
textAlign: 'center', | ||
color: 'white', | ||
fontFamily: Colors.appTitleFont, | ||
}, | ||
subtitle: { | ||
fontSize: 20, | ||
color: 'white', | ||
textAlign: 'center', | ||
fontFamily: Colors.titleCard, | ||
marginBottom: 30, | ||
}, | ||
button: { | ||
width: 'fit-content', | ||
alignSelf: 'center', | ||
paddingHorizontal: 40, | ||
paddingVertical: 10, | ||
}, | ||
buttonText: { | ||
fontWeight: 'bold', | ||
fontSize: 20, | ||
}, | ||
image: { | ||
marginBottom: 30, | ||
width: '70%', | ||
marginLeft: 'auto', | ||
marginRight: 'auto', | ||
}, | ||
}); | ||
|
||
export default AimeOnboarding; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.