Skip to content

Commit

Permalink
This is the Start, of something new, it feels so right, to be here wi…
Browse files Browse the repository at this point in the history
…th you, oh, and now looking in your eyes, i feel in my heaaaart, the start of something new
  • Loading branch information
CodexAdrian committed Nov 3, 2021
1 parent ce022bb commit 628b918
Show file tree
Hide file tree
Showing 11 changed files with 842 additions and 36 deletions.
6 changes: 6 additions & 0 deletions .idea/jsLibraryMappings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

54 changes: 35 additions & 19 deletions App.tsx
Original file line number Diff line number Diff line change
@@ -1,22 +1,38 @@
import { StatusBar } from 'expo-status-bar';
import React from 'react';
import { StyleSheet, Text, View } from 'react-native';
// @ts-ignore
import seal from './assets/Wordmark.png';
// @ts-ignore
import roofImg from './assets/Roof.jpeg';
import {createBottomTabNavigator} from "@react-navigation/bottom-tabs";
import HomePage from "./pages/HomePage";
import {NavigationContainer} from "@react-navigation/native";
import {Foundation} from "@expo/vector-icons";

export default function App() {
return (
<View style={styles.container}>
<Text>Open up App.tsx to start working on your app!</Text>
<Text>Hello World!</Text>
<StatusBar style="auto" />
</View>
);
}
const Tab = createBottomTabNavigator()

export default () => {
return (
<NavigationContainer>
<Tab.Navigator screenOptions={({route}) => ({
tabBarActiveTintColor: "#F64867",
tabBarInactiveTintColor: "#423E57",
headerShown: false,
tabBarIcon: ({focused, color, size}) => {
let iconName;
if(route.name == 'Home') iconName = 'home';
// @ts-ignore
return <Foundation name={iconName} size={size} color={color}/>
},
tabBarStyle: {
backgroundColor: "#1b1829",
shadowOpacity: 0,
borderTopWidth: 0,
elevation: 0
}
})}>
<Tab.Screen name = {"Home"} component = {HomePage}/>
</Tab.Navigator>
</NavigationContainer>

const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff',
alignItems: 'center',
justifyContent: 'center',
},
});
);
}
Binary file added assets/Roof.jpeg
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 assets/Seal_Small.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 assets/Wordmark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 628b918

Please sign in to comment.