Cleanup - removed old files

This commit is contained in:
Martin Bauer
2020-09-03 19:06:31 +02:00
parent 2d56390808
commit 3679f652ad
14 changed files with 78 additions and 288 deletions

View File

@@ -1,56 +0,0 @@
import React from "react";
import {
View,
ImageBackground,
Text,
TouchableOpacity,
StyleSheet,
} from "react-native";
import EntypoIcon from "react-native-vector-icons/Entypo";
function ImageHeader(props) {
return (
<View style={imageHeaderStyles.container}>
<ImageBackground
source={props.image}
resizeMode="cover"
style={{ flex: 1 }}
>
<View style={imageHeaderStyles.row}>
<TouchableOpacity onPress={() => props.navigation.goBack()}>
<EntypoIcon name="chevron-left" style={imageHeaderStyles.icon}></EntypoIcon>
</TouchableOpacity>
<Text style={imageHeaderStyles.text}>{props.text}</Text>
</View>
</ImageBackground>
</View >
)
}
const imageHeaderStyles = StyleSheet.create({
container: {
flex: 1,
minHeight: 175,
maxHeight: 175,
height: 175,
width: "100%",
},
row: {
paddingTop: 30,
flexDirection: "row",
},
icon: {
color: "white",
fontSize: 40,
paddingRight: 10,
paddingLeft: 10,
},
text: {
color: "white",
fontSize: 30,
},
});
export default ImageHeader;

View File

@@ -8,11 +8,11 @@ import {
TouchableOpacity,
RefreshControl,
} from "react-native";
import themeColors from './themeColors';
import themeColors from '../components/themeColors';
import EntypoIcon from "react-native-vector-icons/Entypo";
import AntDesignIcon from "react-native-vector-icons/AntDesign";
import FaIcon from "react-native-vector-icons/FontAwesome5";
import ImageHeader from "./ImageHeader";
import ImageHeader from "../components/ImageHeader";
import { SwipeListView } from 'react-native-swipe-list-view';
import { connect } from 'react-redux';
import request from '../utility/PromiseRequest';

View File

@@ -7,7 +7,7 @@ import {
Text,
TouchableOpacity,
} from "react-native";
import themeColors from './themeColors';
import themeColors from '../components/themeColors';
import MaterialIcon from "react-native-vector-icons/MaterialCommunityIcons";
import EntypoIcon from "react-native-vector-icons/Entypo";

View File

@@ -4,17 +4,14 @@ import {
View,
StatusBar,
TextInput,
ImageBackground,
Text,
TouchableOpacity,
SafeAreaView,
Slider,
Switch,
} from "react-native";
import themeColors from './themeColors';
import themeColors from '../components/themeColors';
import MaterialIcon from "react-native-vector-icons/MaterialCommunityIcons";
import EntypoIcon from "react-native-vector-icons/Entypo";
import ImageHeader from "./ImageHeader";
import ImageHeader from "../components/ImageHeader";
// ---------------------------------------------------------------------------------------------

View File

@@ -1,13 +1,12 @@
import React, { Component } from "react";
import React from "react";
import {
StyleSheet,
View,
StatusBar,
Text,
TouchableOpacity,
SafeAreaView
TouchableOpacity
} from "react-native";
import themeColors from './themeColors';
import themeColors from '../components/themeColors';
import EntypoIcon from "react-native-vector-icons/Entypo";
import { connect } from 'react-redux';

View File

@@ -1,26 +0,0 @@
// https://flatuicolors.com/palette/defo
const themeColors = {
'TURQUOISE': "rgb(26, 188, 156)",
"EMERALD": "rgb(46, 204, 113)",
"PETER RIVER" : "rgb(52, 152, 219)",
"AMETHYST" : "rgb(155, 89, 182)",
"WET ASPHALT" : "rgb(52, 73, 94)",
"GREEN SEA" : "rgb(22, 160, 133)",
"NEPHRITIS" : "rgb(39, 174, 96)",
"BELIZE HOLE" : "rgb(41, 128, 185)",
"WISTERIA" : "rgb(142, 68, 173)",
"MIDNIGHT BLUE" : "rgb(44, 62, 80)",
"SUN FLOWER" : "rgb(241, 196, 15)",
"CARROT" : "rgb(230, 126, 34)",
"ALIZARIN" : "rgb(231, 76, 60)",
"CLOUDS" : "rgb(236, 240, 241)",
"CONCRETE" : "rgb(149, 165, 166)",
"ORANGE" : "rgb(243, 156, 18)",
"PUMPKIN" : "rgb(211, 84, 0)",
"POMEGRANATE" : "rgb(192, 57, 43)",
"SILVER" : "rgb(189, 195, 199)",
"ASBESTOS" : "rgb(127, 140, 141)",
};
export default themeColors;