Merge branch 'WORK-LPA'
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
# Conflicts: # LeftOvers/App.tsx # LeftOvers/screens/IngredientSelection.tsx # LeftOvers/screens/RecipeDetails.tsx # LeftOvers/screens/RecipeSuggestion.tsxpull/20/head
commit
0750f52c57
@ -1,69 +1,25 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import {StyleSheet, View } from 'react-native';
|
import {StyleSheet, View, SafeAreaView, ScrollView, Text} from 'react-native';
|
||||||
import ProfileModification from './components/ProfileModification';
|
import HomePage from './screens/HomePage';
|
||||||
import ValidateButton from './components/ValidateButton';
|
import Profiles from './screens/Profiles';
|
||||||
import { LinearGradient } from 'expo-linear-gradient';
|
import ModifyProfile from './screens/ModifyProfile';
|
||||||
|
import CreateProfile from './screens/CreateProfile';
|
||||||
|
import FiltersSelection from './screens/FiltersSelection';
|
||||||
import RecipeSuggestion from './screens/RecipeSuggestion';
|
import RecipeSuggestion from './screens/RecipeSuggestion';
|
||||||
import RecipeDetails from './screens/RecipeDetails';
|
import RecipeDetails from './screens/RecipeDetails';
|
||||||
import IngredientSelection from './screens/IngredientSelection';
|
import IngredientSelection from './screens/IngredientSelection';
|
||||||
|
import {SafeAreaProvider} from 'react-native-safe-area-context';
|
||||||
|
import {LinearGradient} from 'expo-linear-gradient';
|
||||||
|
|
||||||
export default function App() {
|
export default function App(props) {
|
||||||
const all = [{value: "Mussels"}, {value: "Skimmed Milk"}, {value: "Nuts"}]
|
return(
|
||||||
const die = [{value: "Dairy free"}, {value: "Gluten free"}, {value: "Porkless"}, {value: "Vegan"}, {value: "Vegetarian"}, {value: "Pescatarian"}]
|
//<HomePage/>
|
||||||
const ingredient = [{value: "Chocolate"}, {value: "Skimmed Milk"}, {value: "Eggs"}, , {value: "Farine"}]
|
//<Profiles/>
|
||||||
const ustensils = [{value: "Bol"}, {value: "Fouet"}, {value: "Casserole"}]
|
//<ModifyProfile/>
|
||||||
const steps = [{value: "Chauffer chocolat"},
|
//<CreateProfile/>
|
||||||
{value: "1. Casser oeuf"},
|
//<FiltersSelection/>
|
||||||
{value: "2. Melanger la farine, le lait et les oeufs"},
|
//<RecipeSuggestion/>
|
||||||
{value: "3. Battre fort"},
|
//<RecipeDetails/>
|
||||||
{value: "4. Voler la montre de Louison"},
|
<IngredientSelection/>
|
||||||
{value: "5. Melanger avec le chocolat"},
|
|
||||||
{value: "6. Mettre au four"},
|
|
||||||
]
|
|
||||||
|
|
||||||
function generateList() {
|
|
||||||
const list = [];
|
|
||||||
list.push("Meat");
|
|
||||||
list.push("Meat");
|
|
||||||
list.push("Meat");
|
|
||||||
list.push("Meat");
|
|
||||||
list.push("Teat");
|
|
||||||
list.push("Meat");
|
|
||||||
list.push("Meat");
|
|
||||||
list.push("Meat");
|
|
||||||
return list;
|
|
||||||
}
|
|
||||||
|
|
||||||
const ingredients = generateList();
|
|
||||||
|
|
||||||
return (
|
|
||||||
<IngredientSelection listIngredient={ingredients}></IngredientSelection>
|
|
||||||
/*<RecipeSuggestion list={ingredients} diets={die} allergy={all}></RecipeSuggestion>*/
|
|
||||||
/*<RecipeDetails ingredient={ingredient}
|
|
||||||
ustensils={ustensils}
|
|
||||||
steps={steps}
|
|
||||||
title="Chocolat Cake"
|
|
||||||
number="63"
|
|
||||||
duree="30 minutes"
|
|
||||||
></RecipeDetails>*/
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
const styles = StyleSheet.create({
|
|
||||||
container: {
|
|
||||||
flex: 1,
|
|
||||||
backgroundColor: '#3F3C42',
|
|
||||||
alignItems: 'center',
|
|
||||||
justifyContent: 'center',
|
|
||||||
},
|
|
||||||
linearGradient: {
|
|
||||||
//height: 844,
|
|
||||||
//width: 390,
|
|
||||||
flex: 1,
|
|
||||||
padding: 10,
|
|
||||||
paddingTop: 0,
|
|
||||||
//backgroundColor: "#59BDCD",
|
|
||||||
//alignItems: 'center',
|
|
||||||
//justifyContent: 'flex-start',
|
|
||||||
},
|
|
||||||
});
|
|
@ -0,0 +1,50 @@
|
|||||||
|
import React from 'react';
|
||||||
|
import {StyleSheet,Pressable, Text, View, Image} from 'react-native';
|
||||||
|
import Separator from '../components/Separator';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
interface foodElementTextProps {
|
||||||
|
title: string
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
export default function FoodElementTextSimple(props: foodElementTextProps) {
|
||||||
|
return (
|
||||||
|
<Pressable style={styles.button}>
|
||||||
|
<View style={styles.container}>
|
||||||
|
<View style={styles.view}>
|
||||||
|
<Text style={styles.text}>{props.title}</Text>
|
||||||
|
</View>
|
||||||
|
</View>
|
||||||
|
</Pressable>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
const styles = StyleSheet.create({
|
||||||
|
button: {
|
||||||
|
alignItems: 'center',
|
||||||
|
justifyContent: 'center',
|
||||||
|
width: "80%",
|
||||||
|
borderRadius: 5,
|
||||||
|
backgroundColor: '#E3DEC9',
|
||||||
|
},
|
||||||
|
text: {
|
||||||
|
fontSize: 10,
|
||||||
|
fontWeight: 'bold',
|
||||||
|
padding : "2%",
|
||||||
|
color: 'black',
|
||||||
|
},
|
||||||
|
view: {
|
||||||
|
alignItems: 'flex-start',
|
||||||
|
justifyContent: 'center',
|
||||||
|
},
|
||||||
|
container: {
|
||||||
|
width: "100%",
|
||||||
|
borderRadius: 5,
|
||||||
|
borderWidth: 1,
|
||||||
|
borderColor: '#3F3C42',
|
||||||
|
flexDirection: 'column',
|
||||||
|
justifyContent: 'center',
|
||||||
|
},
|
||||||
|
});
|
@ -1,27 +1,19 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { Appbar } from 'react-native-paper';
|
import { Appbar } from 'react-native-paper';
|
||||||
|
|
||||||
interface TopBarProps{
|
interface ParameterTopBarProps{
|
||||||
source : string
|
onEventIngredient: () => void
|
||||||
firstImage : string
|
onEventFilter: () => void
|
||||||
lastImage : string
|
colorIngredients: string
|
||||||
}
|
colorFilters: string
|
||||||
|
}
|
||||||
|
|
||||||
export default function ParameterTopBar(props : any) {
|
|
||||||
|
|
||||||
const goFilter = () =>{
|
|
||||||
props.onEventFilter('Hello');
|
|
||||||
}
|
|
||||||
|
|
||||||
const goIngredients = () =>{
|
|
||||||
props.onEventIngredient('Hello');
|
|
||||||
}
|
|
||||||
|
|
||||||
|
export default function ParameterTopBar(props : ParameterTopBarProps) {
|
||||||
return (
|
return (
|
||||||
<Appbar.Header style={{backgroundColor: '#F2F0E4', justifyContent: 'center'}} >
|
<Appbar.Header style={{backgroundColor: '#F2F0E4', height: "10%", justifyContent: "center", borderTopLeftRadius: 20, borderTopRightRadius: 20,}}>
|
||||||
<Appbar.Action icon="magnify" onPress={goIngredients} />
|
<Appbar.Action icon="magnify" onPress={props.onEventIngredient} color={props.colorIngredients}/>
|
||||||
<Appbar.Action icon="dots-vertical" onPress={goFilter} />
|
<Appbar.Action icon="dots-vertical" onPress={props.onEventFilter} color={props.colorFilters}/>
|
||||||
</Appbar.Header>
|
</Appbar.Header>
|
||||||
);
|
);
|
||||||
}
|
}
|
@ -1,128 +1,133 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import {View, StyleSheet, Text, Image, Pressable, ScrollView} from 'react-native';
|
import {View, StyleSheet, Text, Image, Pressable, ScrollView, useWindowDimensions} from 'react-native';
|
||||||
import {SafeAreaProvider} from 'react-native-safe-area-context';
|
import {SafeAreaProvider} from 'react-native-safe-area-context';
|
||||||
import TopBar from '../components/TopBar';
|
import TopBar from '../components/TopBar';
|
||||||
import {Searchbar} from 'react-native-paper';
|
import {Searchbar} from 'react-native-paper';
|
||||||
|
import {LinearGradient} from 'expo-linear-gradient';
|
||||||
import brochette from '../assets/images/brochette.png';
|
import brochette from '../assets/images/brochette.png';
|
||||||
import FoodElementText from '../components/FoodElementText';
|
import FoodElementText from '../components/FoodElementText';
|
||||||
import CustomButton from '../components/CustomButton';
|
import CustomButton from '../components/CustomButton';
|
||||||
import plus from '../assets/images/plus.png';
|
import plus from '../assets/images/plus_small.png';
|
||||||
import moins from '../assets/images/minus.png';
|
import minus from '../assets/images/minus.png';
|
||||||
import meat from '../assets/images/meat_icon.png';
|
import meat from '../assets/images/meat_icon.png';
|
||||||
import vegetable from '../assets/images/vegetable_icon.png';
|
import vegetable from '../assets/images/vegetable_icon.png';
|
||||||
import fruit from '../assets/images/fruit_icon.png';
|
import fruit from '../assets/images/fruit_icon.png';
|
||||||
|
|
||||||
|
|
||||||
export default function IngredientSelection(props) {
|
export default function IngredientSelection(props) {
|
||||||
|
|
||||||
const [searchQuery, setSearchQuery] = React.useState('');
|
const [searchQuery, setSearchQuery] = React.useState('');
|
||||||
|
|
||||||
const onChangeSearch = query => setSearchQuery(query);
|
const onChangeSearch = query => setSearchQuery(query);
|
||||||
|
const ingredientList = [{title: "Steak"}, {title: "Sheep Ribs"}, {title: "Rabbit Thigh"}, {title: "Ham"}, {title: "Cream (Liquid)"}, {title: "Pepper Bell"}]
|
||||||
|
const availableList = [{title: "Tomato"}, {title: "Lemon"}, {title: "Strawberry"}, {title: "Rice"}, {title: "Flour"}]
|
||||||
|
|
||||||
type ItemProps = {value: string}
|
type ItemProps = {value: string}
|
||||||
|
|
||||||
const AvailaibleItem = ({value}: ItemProps) => (
|
const AvailableItem = ({value}: any) => (
|
||||||
<><View style={styles.horizontalAlignement}>
|
<>
|
||||||
<FoodElementText title={value} />
|
<View style={styles.horizontalAlignment}>
|
||||||
<Pressable>
|
<FoodElementText title={value.title}/>
|
||||||
<Image source={plus} style={{ width: 20, height: 20 }} />
|
<Pressable>
|
||||||
</Pressable>
|
<Image source={plus} style={{width: 20, height: 20, resizeMode: "contain", marginRight: "3%"}}/>
|
||||||
</View><View style={{ height: 30 }}></View></>
|
</Pressable>
|
||||||
)
|
</View>
|
||||||
|
<View style={{height: 20}}/>
|
||||||
|
</>
|
||||||
|
)
|
||||||
|
|
||||||
const ChooseItem = ({value}: ItemProps) => (
|
const ChooseItem = ({value}: any) => (
|
||||||
<><View style={styles.horizontalAlignement}>
|
<>
|
||||||
<FoodElementText title={value} />
|
<View style={styles.horizontalAlignment}>
|
||||||
<Pressable>
|
<FoodElementText title={value.title}/>
|
||||||
<Image source={moins} style={{ width: 20, height: 20 }} />
|
<Pressable>
|
||||||
</Pressable>
|
<Image source={minus} style={{width: 20, height: 20, resizeMode: "contain", marginRight: "3%"}}/>
|
||||||
</View><View style={{ height: 30 }}></View></>
|
</Pressable>
|
||||||
)
|
</View>
|
||||||
|
<View style={{height: 20}}/>
|
||||||
|
</>
|
||||||
|
)
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<SafeAreaProvider>
|
<SafeAreaProvider style={{flex: 1}}>
|
||||||
<TopBar title="Ingredient selection" />
|
<TopBar title="Ingredient selection"/>
|
||||||
<View style={styles.page}>
|
<ScrollView>
|
||||||
|
<LinearGradient colors={['#2680AA', '#59BDCD']} style={[styles.linearGradient, {minHeight: useWindowDimensions().height}]}>
|
||||||
<View style={styles.element}>
|
<View style={{marginTop: "6%"}}/>
|
||||||
<View style={[styles.horizontalAlignement, {justifyContent: 'center'}]}>
|
<View style={styles.element}>
|
||||||
<Pressable>
|
<View style={[styles.horizontalAlignment, {justifyContent: 'center'}]}>
|
||||||
<Image source={meat} style={{ width: 30, height: 30 }} />
|
<Pressable>
|
||||||
</Pressable>
|
<Image source={meat} style={{width: 30, height: 30, resizeMode: "contain"}}/>
|
||||||
<Pressable>
|
</Pressable>
|
||||||
<Image source={vegetable} style={{ width: 30, height: 30 }} />
|
<View style={{marginHorizontal: "1%"}}/>
|
||||||
</Pressable>
|
<Pressable>
|
||||||
<Pressable>
|
<Image source={vegetable} style={{width: 30, height: 30, resizeMode: "contain"}}/>
|
||||||
<Image source={fruit} style={{ width: 30, height: 30 }} />
|
</Pressable>
|
||||||
</Pressable>
|
<View style={{marginHorizontal: "1%"}}/>
|
||||||
</View>
|
<Pressable>
|
||||||
<View>
|
<Image source={fruit} style={{width: 30, height: 30, resizeMode: "contain"}}/>
|
||||||
<Searchbar
|
</Pressable>
|
||||||
placeholder="Search"
|
</View>
|
||||||
onChangeText={onChangeSearch}
|
<View>
|
||||||
value={searchQuery}
|
<Searchbar
|
||||||
style={{margin: 10,
|
placeholder="Search"
|
||||||
backgroundColor: '#F2F0E4',
|
onChangeText={onChangeSearch}
|
||||||
borderWidth : 1,
|
value={searchQuery}
|
||||||
borderColor: "#ACA279",
|
style={{margin: "3%",
|
||||||
borderRadius: 15,
|
backgroundColor: '#F2F0E4',
|
||||||
height: 50,
|
borderWidth : 1,
|
||||||
}}/>
|
borderColor: "#ACA279",
|
||||||
</View>
|
borderRadius: 15,
|
||||||
<View style={{ flex: 1}} >
|
}}/>
|
||||||
<ScrollView contentContainerStyle={{ alignItems: 'center', height: 300}}>
|
</View>
|
||||||
{props.listIngredient.map((source, index) => (
|
<View style={{flex: 1}}>
|
||||||
<AvailaibleItem key={index} value={source}></AvailaibleItem>
|
<ScrollView>
|
||||||
))}
|
{ingredientList.map((title, index) => (
|
||||||
</ScrollView>
|
<AvailableItem key={index} value={title}></AvailableItem>
|
||||||
</View>
|
))}
|
||||||
<View style={{ height: 20 }}></View>
|
</ScrollView>
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
<View style={[styles.element, {marginTop: 40}]}>
|
|
||||||
<View style={[styles.horizontalAlignement, {justifyContent: "flex-start", marginLeft: 10}]}>
|
|
||||||
<Text style={{fontSize: 20, color: '#ACA279'}}>Available</Text>
|
|
||||||
</View>
|
</View>
|
||||||
|
<View style={{marginTop: "6%"}}/>
|
||||||
<View style={{ height: 5 }}></View>
|
<View style={styles.element}>
|
||||||
|
<View style={[styles.horizontalAlignment, {justifyContent: "flex-start", marginLeft: "5%"}]}>
|
||||||
<View style={{ flex: 1}} >
|
<Text style={{fontSize: 20, color: '#ACA279'}}>Available</Text>
|
||||||
<ScrollView contentContainerStyle={{ alignItems: 'center', height: 150}}>
|
</View>
|
||||||
{props.listIngredient.map((source, index) => (
|
<View style={{flex: 1}}>
|
||||||
<ChooseItem key={index} value={source}></ChooseItem>
|
<ScrollView>
|
||||||
))}
|
{availableList.map((title, index) => (
|
||||||
</ScrollView>
|
<ChooseItem key={index} value={title}></ChooseItem>
|
||||||
</View>
|
))}
|
||||||
<View style={{ height: 20 }}></View>
|
</ScrollView>
|
||||||
</View>
|
</View>
|
||||||
|
</View>
|
||||||
<View style={{ height: 15 }}></View>
|
<View style={{marginTop: "8%"}}></View>
|
||||||
<CustomButton title="Find a recipe"/>
|
<CustomButton title="Find a recipe"/>
|
||||||
</View>
|
<View style={{marginBottom: "20%"}}></View>
|
||||||
</SafeAreaProvider>
|
</LinearGradient>
|
||||||
|
</ScrollView>
|
||||||
|
</SafeAreaProvider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
const styles = StyleSheet.create({
|
const styles = StyleSheet.create({
|
||||||
page: {
|
linearGradient: {
|
||||||
flex: 1,
|
width: "100%",
|
||||||
backgroundColor: '#59BDCD',
|
flex: 1,
|
||||||
alignItems: 'center',
|
padding: "3%",
|
||||||
display: 'flex',
|
paddingTop: 0,
|
||||||
flexWrap: 'wrap',
|
alignItems: "center",
|
||||||
padding: 20,
|
justifyContent: "flex-start",
|
||||||
},
|
},
|
||||||
|
|
||||||
element: {
|
element: {
|
||||||
|
width: "100%",
|
||||||
backgroundColor:'#F2F0E4',
|
backgroundColor:'#F2F0E4',
|
||||||
borderRadius: 30,
|
borderRadius: 30,
|
||||||
},
|
},
|
||||||
horizontalAlignement: {
|
horizontalAlignment: {
|
||||||
display: 'flex',
|
width: "100%",
|
||||||
height: 30,
|
|
||||||
width: 350,
|
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
justifyContent: 'space-around',
|
justifyContent: 'space-around',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
marginTop: 15,
|
marginTop: "3%",
|
||||||
}
|
}
|
||||||
});
|
});
|
@ -1,71 +1,93 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { View, StyleSheet, Text} from 'react-native';
|
import {View, StyleSheet, ScrollView, useWindowDimensions, Text} from 'react-native';
|
||||||
import { SafeAreaProvider } from 'react-native-safe-area-context';
|
import {SafeAreaProvider } from 'react-native-safe-area-context';
|
||||||
|
import {LinearGradient} from 'expo-linear-gradient';
|
||||||
import TopBar from '../components/TopBar';
|
import TopBar from '../components/TopBar';
|
||||||
import RecipeElementReduce from '../components/RecipeElementReduce';
|
import RecipeElementReduce from '../components/RecipeElementReduce';
|
||||||
import AllergiesTab from '../components/AllergiesTab';
|
import ListWithoutSelect from '../components/ListWithoutSelect';
|
||||||
|
import ValidateButton from '../components/ValidateButton';
|
||||||
|
|
||||||
export default function RecipeDetails(props) {
|
export default function RecipeDetails(props) {
|
||||||
|
const ing = [{value: "Chocolate"}, {value: "Milk"}, {value: "Eggs"}, {value: "Flour"}]
|
||||||
|
const ute = [{value: "Spoon (3cl)"}, {value: "Whisk"}, {value: "Oven"}]
|
||||||
|
const ste = [
|
||||||
|
{value: "1. Break the eggs and whisk them. Add the flour."},
|
||||||
|
{value: "2. Melt the chocolate in the microwave. Add it to the eggs."},
|
||||||
|
{value: "3. Put the cake in the oven. 40 minutes, 180 degrees."},
|
||||||
|
{value: "4. Clean the utensils."}
|
||||||
|
]
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<SafeAreaProvider>
|
<SafeAreaProvider>
|
||||||
<TopBar title="Recipe Detail"/>
|
<TopBar title="Recipe Detail"/>
|
||||||
<View style={styles.page}>
|
<ScrollView>
|
||||||
<RecipeElementReduce
|
<LinearGradient colors={['#2680AA', '#59BDCD']} style={[styles.linearGradient, {minHeight: useWindowDimensions().height}]}>
|
||||||
title={props.title}
|
<View style={{marginTop: "6%"}}>
|
||||||
number={props.number}
|
<RecipeElementReduce title="Meat Stick" number="63" duration="15 minutes"/>
|
||||||
duree={props.duree}/>
|
</View>
|
||||||
|
<View style={styles.separator}/>
|
||||||
<View style={{height: 20}}></View>
|
<View style={styles.background}>
|
||||||
|
<View style={styles.filterBar}>
|
||||||
<View style={styles.element}>
|
<Text style={styles.filters}>Preparation</Text>
|
||||||
<View style={[styles.horizontalAlignement, {justifyContent: "flex-start", marginLeft: 10}]}>
|
</View>
|
||||||
<Text style={{fontSize: 20, color: '#ACA279'}}>Preparation</Text>
|
<ListWithoutSelect title="Ingredients" content={ing}></ListWithoutSelect>
|
||||||
</View>
|
<View style={{marginTop: "3%"}}/>
|
||||||
<View style={{margin: 20}}>
|
<ListWithoutSelect title="Utensils" content={ute}></ListWithoutSelect>
|
||||||
<AllergiesTab title="Ingredient" content={props.ingredient}></AllergiesTab>
|
<View style={{marginTop: "3%"}}/>
|
||||||
<View style={{height: 5}}></View>
|
</View>
|
||||||
<AllergiesTab title="Ustensils" content={props.ustensils}></AllergiesTab>
|
<View style={styles.separator}/>
|
||||||
</View>
|
<View style={styles.background}>
|
||||||
</View >
|
<View style={styles.filterBar}>
|
||||||
|
<Text style={styles.filters}>Cooking</Text>
|
||||||
<View style={{height: 20}}></View>
|
</View>
|
||||||
|
<ListWithoutSelect title="Steps" content={ste}></ListWithoutSelect>
|
||||||
<View style={styles.element}>
|
<View style={{marginTop: "3%"}}/>
|
||||||
<View style={[styles.horizontalAlignement, {justifyContent: "flex-start", marginLeft: 10}]}>
|
</View>
|
||||||
<Text style={{fontSize: 20, color: '#ACA279'}}>Cooking</Text>
|
<View style={{marginBottom: "20%"}}/>
|
||||||
</View>
|
</LinearGradient>
|
||||||
<View style={{margin: 20}}>
|
</ScrollView>
|
||||||
<AllergiesTab title="Steps" content={props.steps}></AllergiesTab>
|
|
||||||
</View>
|
|
||||||
</View>
|
|
||||||
|
|
||||||
</View>
|
|
||||||
</SafeAreaProvider>
|
</SafeAreaProvider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
const styles = StyleSheet.create({
|
const styles = StyleSheet.create({
|
||||||
page: {
|
linearGradient: {
|
||||||
flex: 1,
|
width: "100%",
|
||||||
backgroundColor: '#59BDCD',
|
flex: 1,
|
||||||
alignItems: 'center',
|
alignItems: "center",
|
||||||
display: 'flex',
|
justifyContent: "flex-start"
|
||||||
flexWrap: 'wrap',
|
},
|
||||||
padding: 20,
|
separator: {
|
||||||
|
marginTop: "6%",
|
||||||
|
},
|
||||||
|
|
||||||
|
background: {
|
||||||
|
flexDirection: 'column',
|
||||||
|
alignItems: 'center',
|
||||||
|
justifyContent: 'center',
|
||||||
|
borderRadius: 20,
|
||||||
|
backgroundColor: '#F2F0E4',
|
||||||
|
padding: "3%",
|
||||||
|
marginHorizontal: "3%",
|
||||||
|
},
|
||||||
|
|
||||||
|
filterBar: {
|
||||||
|
flexDirection: "row",
|
||||||
|
width: "85%",
|
||||||
|
paddingTop: "3%",
|
||||||
|
paddingBottom: "2%",
|
||||||
|
alignItems: "flex-end",
|
||||||
|
justifyContent: "center",
|
||||||
|
},
|
||||||
|
filters: {
|
||||||
|
fontSize: 20,
|
||||||
|
color: '#ACA279',
|
||||||
|
flex: 1,
|
||||||
},
|
},
|
||||||
element: {
|
nbSelected: {
|
||||||
backgroundColor:'#F2F0E4',
|
fontSize: 11,
|
||||||
borderRadius: 30,
|
color: "#3F3C42",
|
||||||
|
textAlign: "right",
|
||||||
},
|
},
|
||||||
horizontalAlignement: {
|
|
||||||
display: 'flex',
|
|
||||||
height: 30,
|
|
||||||
width: 350,
|
|
||||||
flexDirection: 'row',
|
|
||||||
justifyContent: 'space-around',
|
|
||||||
alignItems: 'center',
|
|
||||||
marginTop: 10,
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {},
|
||||||
|
"extends": "expo/tsconfig.base"
|
||||||
|
}
|
Loading…
Reference in new issue