Skip to content

Commit

Permalink
🎉 feat: first commit
Browse files Browse the repository at this point in the history
Co-authored-by: Jônatas A. <[email protected]>
Co-authored-by: Luiz <[email protected]>
Co-authored-by: herick lima <[email protected]>
  • Loading branch information
4 people committed Mar 2, 2022
1 parent 81bc702 commit fbbc4e2
Show file tree
Hide file tree
Showing 44 changed files with 11,849 additions and 104 deletions.
4 changes: 4 additions & 0 deletions .expo-shared/assets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"12bb71342c6255bbf50437ec8f4441c083f47cdb74bd89160c15e4f43e52a1cb": true,
"40b842e832070c58deac6aa9e08fa459302ee3f9da492c7e77d93d2fbf4a56fd": true
}
116 changes: 13 additions & 103 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,104 +1,14 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# Next.js build output
.next

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and *not* Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port
.expo/
dist/
npm-debug.*
*.jks
*.p8
*.p12
*.key
*.mobileprovision
*.orig.*
web-build/

# macOS
.DS_Store
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"typescript.tsdk": "node_modules/typescript/lib"
}
32 changes: 32 additions & 0 deletions App.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import { useState } from "react";
import { StatusBar } from "expo-status-bar";
import { StyleSheet, Text, View } from "react-native";
import * as Font from "expo-font";
import AppLoading from "expo-app-loading";
import Routes from "./navigation";

const fecthFonts = () => {
return Font.loadAsync({
"Ubuntu-Regular": require("./assets/fonts/Ubuntu-Regular.ttf"),
"Ubuntu-Bold": require("./assets/fonts/Ubuntu-Bold.ttf"),
"Ubuntu-Light": require("./assets/fonts/Ubuntu-Light.ttf"),
"Ubuntu-Medium": require("./assets/fonts/Ubuntu-Medium.ttf"),
"Ubuntu-Italic": require("./assets/fonts/Ubuntu-Italic.ttf"),
});
};

export default function App() {
const [fontLoaded, setFontLoaded] = useState(false);

if (!fontLoaded) {
return (
<AppLoading
startAsync={fecthFonts}
onFinish={() => setFontLoaded(true)}
onError={console.warn}
/>
);
}

return <Routes />;
}
1 change: 0 additions & 1 deletion README.md

This file was deleted.

32 changes: 32 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"expo": {
"name": "ballerini-dev-meet",
"slug": "ballerini-dev-meet",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": true
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon.png",
"backgroundColor": "#FFFFFF"
}
},
"web": {
"favicon": "./assets/favicon.png"
}
}
}
4 changes: 4 additions & 0 deletions assets/Arrows/Arrow-Orange.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions assets/Arrows/Arrow-White.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 33 additions & 0 deletions assets/CDN/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
const arrowWhite =
"https://res.cloudinary.com/dcy5jian9/image/upload/v1646193820/Arrow-White_vapvlb.png";
const arrowOrange =
"https://res.cloudinary.com/dcy5jian9/image/upload/v1646193820/Arrow-Orange_s7p9mz.png";
const programingTerminal =
"https://res.cloudinary.com/dcy5jian9/image/upload/v1646193811/Programing-Terminal_nzshuy.png";
const laptopProgrammingCode =
"https://res.cloudinary.com/dcy5jian9/image/upload/v1646193820/laptop-programming-code_gfx4wn.png";
const iPhoneXWhite =
"https://res.cloudinary.com/dcy5jian9/image/upload/v1646193820/iPhone-X-White_ko6ugi.png";
const iPhoneXOrange =
"https://res.cloudinary.com/dcy5jian9/image/upload/v1646193831/iPhone-X-Orange_lhiend.png";
const hierarchy =
"https://res.cloudinary.com/dcy5jian9/image/upload/v1646193827/hierarchy_irdi1y.png";
const person =
"https://res.cloudinary.com/dcy5jian9/image/upload/v1646193820/person_x5ciqo.png";
const LOGO =
"https://res.cloudinary.com/dcy5jian9/image/upload/v1646193827/LOGO_j4qmf4.png";
const Pattern =
"https://res.cloudinary.com/dcy5jian9/image/upload/v1646193820/Pattern_j85dll.png";

export {
arrowOrange,
arrowWhite,
programingTerminal,
laptopProgrammingCode,
iPhoneXWhite,
iPhoneXOrange,
hierarchy,
person,
LOGO,
Pattern,
};
6 changes: 6 additions & 0 deletions assets/Components/Programing-Terminal.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions assets/Components/hierarchy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions assets/Components/iPhone-X-Orange.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions assets/Components/iPhone-X-White.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions assets/Components/laptop-programming-code.svg
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/fonts/Ubuntu-Bold.ttf
Binary file not shown.
Binary file added assets/fonts/Ubuntu-BoldItalic.ttf
Binary file not shown.
Binary file added assets/fonts/Ubuntu-Italic.ttf
Binary file not shown.
Binary file added assets/fonts/Ubuntu-Light.ttf
Binary file not shown.
Binary file added assets/fonts/Ubuntu-LightItalic.ttf
Binary file not shown.
Binary file added assets/fonts/Ubuntu-Medium.ttf
Binary file not shown.
Binary file added assets/fonts/Ubuntu-MediumItalic.ttf
Binary file not shown.
Binary file added assets/fonts/Ubuntu-Regular.ttf
Binary file not shown.
Binary file added assets/loadingPage/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 assets/loadingPage/Pattern.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/person.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = function(api) {
api.cache(true);
return {
presets: ['babel-preset-expo'],
};
};
50 changes: 50 additions & 0 deletions components/navbar/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
import { Text, View, Image, TouchableHighlight } from "react-native";
import styles from "./styles";
import { useRoute, useNavigation } from "@react-navigation/native";

const Navbar = () => {
const navigation = useNavigation();

return (
<View style={styles.container}>
<TouchableHighlight
onPress={() => {
navigation.navigate("EventPage" as any);
}}
>
<View>
<Text>Event</Text>
</View>
</TouchableHighlight>
<TouchableHighlight
onPress={() => {
navigation.navigate("LoadingPage" as any);
}}
>
<View>
<Text>LoadingPage</Text>
</View>
</TouchableHighlight>
<TouchableHighlight
onPress={() => {
navigation.navigate("EventPage" as any);
}}
>
<View>
<Text>EventPage</Text>
</View>
</TouchableHighlight>
<TouchableHighlight
onPress={() => {
navigation.navigate("ChooseEvent" as any);
}}
>
<View>
<Text>ChooseEvent</Text>
</View>
</TouchableHighlight>
</View>
);
};

export default Navbar;
11 changes: 11 additions & 0 deletions components/navbar/styles.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { StyleSheet } from "react-native";

const styles = StyleSheet.create({
container: {
display: "flex",
flexDirection: "row",
justifyContent: "space-between",
},
});

export default styles;
10 changes: 10 additions & 0 deletions imagesCDN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Arrow-White: https://res.cloudinary.com/dcy5jian9/image/upload/v1646193820/Arrow-White_vapvlb.png
Arrow-Orange: https://res.cloudinary.com/dcy5jian9/image/upload/v1646193820/Arrow-Orange_s7p9mz.png
Programing-Terminal: https://res.cloudinary.com/dcy5jian9/image/upload/v1646193811/Programing-Terminal_nzshuy.png
laptop-programming-code: https://res.cloudinary.com/dcy5jian9/image/upload/v1646193820/laptop-programming-code_gfx4wn.png
iPhone-X-White: https://res.cloudinary.com/dcy5jian9/image/upload/v1646193820/iPhone-X-White_ko6ugi.png
iPhone-X-Orange: https://res.cloudinary.com/dcy5jian9/image/upload/v1646193831/iPhone-X-Orange_lhiend.png
hierarchy: https://res.cloudinary.com/dcy5jian9/image/upload/v1646193827/hierarchy_irdi1y.png
person: https://res.cloudinary.com/dcy5jian9/image/upload/v1646193820/person_x5ciqo.png
LOGO: https://res.cloudinary.com/dcy5jian9/image/upload/v1646193827/LOGO_j4qmf4.png
Pattern: https://res.cloudinary.com/dcy5jian9/image/upload/v1646193820/Pattern_j85dll.png
8 changes: 8 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
declare module "*.png" {
const value: any;
export = value;
}
declare module "*.svg" {
const value: any;
export = value;
}
25 changes: 25 additions & 0 deletions navigation/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { NavigationContainer } from "@react-navigation/native";
import { createNativeStackNavigator } from "@react-navigation/native-stack";

import { ChooseEvent, EventPage, Home, LoadingPage } from "../views";

const Stack = createNativeStackNavigator();

function Routes() {
return (
<NavigationContainer>
<Stack.Navigator
screenOptions={{
headerShown: false,
}}
>
<Stack.Screen name="Home" component={Home} />
<Stack.Screen name="LoadingPage" component={LoadingPage} />
<Stack.Screen name="EventPage" component={EventPage} />
<Stack.Screen name="ChooseEvent" component={ChooseEvent} />
</Stack.Navigator>
</NavigationContainer>
);
}

export default Routes;
Loading

0 comments on commit fbbc4e2

Please sign in to comment.