Skip to content

Commit

Permalink
feat: move assets to the root assets folder
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejBudzinskiNG committed Sep 30, 2020
1 parent fd195d6 commit 08601c8
Show file tree
Hide file tree
Showing 21 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions examples/expo/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import AppNavigator from './src/navigation/AppNavigator';

const App = () => {
const [loaded] = useFonts({
'AvertaStd-Semibold': require('./src/assets/fonts/AvertaStd-Semibold.otf'),
'AvertaStd-Regular': require('./src/assets/fonts/AvertaStd-Regular.otf'),
'AvertaStd-Semibold': require('./assets/fonts/AvertaStd-Semibold.otf'),
'AvertaStd-Regular': require('./assets/fonts/AvertaStd-Regular.otf'),
});

if (!loaded) {
Expand Down
Binary file added examples/expo/assets/images/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/expo/assets/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/expo/assets/images/logo@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/expo/assets/images/logo@3x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/expo/assets/images/photosPortraitMe.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions examples/expo/src/assets/data/cards.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ const Brandon = {
cards: cardsDesign,
color: 'rgb(78,15,255)',
labelColor: 'rgb(89,80,249)',
image: require('../images/photosPortraitBrandon.png'),
image: require('../../../assets/images/photosPortraitBrandon.png'),
about:
'Coffee buff. Web enthusiast. Unapologetic student. Gamer. Avid organizer.',
};
Expand All @@ -285,7 +285,7 @@ const Ewa = {
cards: cardsAgile,
color: 'rgb(138,85,192)',
labelColor: 'rgb(163,109,217)',
image: require('../images/photosPortraitEwa.png'),
image: require('../../../assets/images/photosPortraitEwa.png'),
about:
'Wannabe entrepreneur. Reader. Devoted organizer. Social media lover. Analyst.',
};
Expand All @@ -299,7 +299,7 @@ const Jennifer = {
cards: cardsReact,
color: 'rgb(255,94,107)',
labelColor: 'rgb(255,130,140)',
image: require('../images/photosPortraitJennifer.png'),
image: require('../../../assets/images/photosPortraitJennifer.png'),
about: 'Web nerd. Alcohol trailblazer. Organizer. Hipster-friendly explorer.',
};

Expand Down
4 changes: 2 additions & 2 deletions examples/expo/src/screens/HomeScreen/HomeScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default class HomeScreen extends React.Component {
<View style={[styles.headerWrapper, styles.homeScreenHeader]}>
<Image
resizeMode="contain"
source={require('../../assets/images/logo.png')}
source={require('../../../assets/images/logo.png')}
style={styles.logo}
/>
</View>
Expand Down Expand Up @@ -100,7 +100,7 @@ export default class HomeScreen extends React.Component {
<View style={styles.foreground}>
<Animated.View style={{ opacity: imageOpacity }}>
<Animated.Image
source={require('../../assets/images/photosPortraitMe.png')}
source={require('../../../assets/images/photosPortraitMe.png')}
style={[styles.profilePic, { width: imageSize, height: imageSize }]}
/>
</Animated.View>
Expand Down

0 comments on commit 08601c8

Please sign in to comment.