diff --git a/assets/config/now.json b/assets/config/now.json index a1b23b9..f437910 100644 --- a/assets/config/now.json +++ b/assets/config/now.json @@ -2039,7 +2039,7 @@ "setIdx": 0, "setId": 2, "iconIdx": 97 - } + }, ], "height": 1024, "metadata": { "name": "icomoon" }, diff --git a/assets/imgs/MauiThumbnail.jpeg b/assets/imgs/MauiThumbnail.jpeg new file mode 100644 index 0000000..1958bcb Binary files /dev/null and b/assets/imgs/MauiThumbnail.jpeg differ diff --git a/assets/imgs/SanDiegoSkyline.jpg b/assets/imgs/SanDiegoSkyline.jpg new file mode 100644 index 0000000..074458f Binary files /dev/null and b/assets/imgs/SanDiegoSkyline.jpg differ diff --git a/assets/imgs/SanDiegoThumbnail.jpg b/assets/imgs/SanDiegoThumbnail.jpg new file mode 100644 index 0000000..3c7e803 Binary files /dev/null and b/assets/imgs/SanDiegoThumbnail.jpg differ diff --git a/assets/imgs/SantaTeresaThumbnail.jpeg b/assets/imgs/SantaTeresaThumbnail.jpeg new file mode 100644 index 0000000..857c56c Binary files /dev/null and b/assets/imgs/SantaTeresaThumbnail.jpeg differ diff --git a/assets/imgs/surf-background.png b/assets/imgs/surf-background.png new file mode 100644 index 0000000..365ee1f Binary files /dev/null and b/assets/imgs/surf-background.png differ diff --git a/assets/imgs/surf-nomad-logo.png b/assets/imgs/surf-nomad-logo.png new file mode 100644 index 0000000..f0af2e4 Binary files /dev/null and b/assets/imgs/surf-nomad-logo.png differ diff --git a/assets/imgs/taghazoutThumbnail.png b/assets/imgs/taghazoutThumbnail.png new file mode 100644 index 0000000..e09ccd8 Binary files /dev/null and b/assets/imgs/taghazoutThumbnail.png differ diff --git a/components/Card.js b/components/Card.js index 8d8253a..5defbee 100644 --- a/components/Card.js +++ b/components/Card.js @@ -51,7 +51,8 @@ class Card extends React.Component { {item.subtitle} @@ -60,6 +61,58 @@ class Card extends React.Component { ) : ( )} + {item.popularity ? ( + + + Popularity: {item.popularity} + + + ) : ( + + )} + {item.cost ? ( + + + Wallet damage: {item.cost} + + + ) : ( + + )} + {item.bestSeason ? ( + + + Season: {item.bestSeason} + + + ) : ( + + )} + {item.skillLevel ? ( + + + Skill level: {item.skillLevel} + + + ) : ( + + )} {item.description ? ( ); + case "Surf Buddies": + return ( + + ); + case "Your Trips": + return ( + + ); + case "Destinations": + return ( + + ); case "Components": return ( - + + (
), + backgroundColor: "#FFFFFF" + }}/> + + ); +} + function ArticlesStack(props) { return ( @@ -178,8 +190,9 @@ function AppStack(props) { fontWeight: "normal" } }} - initialRouteName="Home" + initialRouteName="Destinations" > + diff --git a/screens/Destinations.js b/screens/Destinations.js new file mode 100644 index 0000000..9765a49 --- /dev/null +++ b/screens/Destinations.js @@ -0,0 +1,77 @@ +import React from "react"; +import { StyleSheet, Dimensions, ScrollView, Keyboard } from "react-native"; +import { Block, theme, Text } from "galio-framework"; + +import { Card, Button } from "../components"; +import articles from "../constants/articles"; +import destinations from "../constants/destinations"; +import Input from '../components/Input'; +import Icon from '../components/Icon'; + +const { width } = Dimensions.get("screen"); + +class Home extends React.Component { + renderArticles = () => { + return ( + + + + + + + + + + + + ); + }; + + render() { + return ( + + + {this.renderSearch()} + + {this.renderArticles()} + + ); + } + renderSearch = () => { + const { navigation } = this.props; + return ( + {Keyboard.dismiss(); navigation.navigate('Pro')}} + iconContent={ + + } + /> + ); + }; +} + +const styles = StyleSheet.create({ + home: { + width: width + }, + destinations: { + width: width - theme.SIZES.BASE * 2, + paddingVertical: theme.SIZES.BASE, + paddingHorizontal: 2, + fontFamily: 'montserrat-regular' + + } +}); + +export default Home; diff --git a/screens/Onboarding.js b/screens/Onboarding.js index 70b0a16..e60c97e 100644 --- a/screens/Onboarding.js +++ b/screens/Onboarding.js @@ -16,12 +16,12 @@ export default class Onboarding extends React.Component { - + @@ -29,30 +29,30 @@ export default class Onboarding extends React.Component { style={{ fontFamily: 'montserrat-regular', bottom: 50, position: 'absolute', letterSpacing: 2, paddingHorizontal: 20, textAlign: 'center' }} - color="white" + color="black" size={44} > - Now UI - React Native + Surf + Nomad - + - Designed by + Plan your epic surf trip - + /> */} - Coded by + - + /> */} navigation.navigate('App')} > - GET STARTED + GO SURFING