Skip to content

Commit

Permalink
styling fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthonyp0329 committed May 14, 2024
1 parent 69509c8 commit 73951f4
Show file tree
Hide file tree
Showing 16 changed files with 358 additions and 59 deletions.
Binary file added .DS_Store
Binary file not shown.
11 changes: 9 additions & 2 deletions dfm-sideline-sidekick-app/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,23 @@
},
"assetBundlePatterns": ["**/*"],
"ios": {
"supportsTablet": true
"supportsTablet": true,
"bundleIdentifier": "dfmsidelinesidekickapp"
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon.png",
"backgroundColor": "#ffffff"
}
},
"package": "com.anthonyp0329.dfmsidelinesidekickapp"
},
"web": {
"favicon": "./assets/favicon.png"
},
"extra": {
"eas": {
"projectId": "81d4d973-577a-4924-aa62-1a57fda7e880"
}
}
}
}
2 changes: 2 additions & 0 deletions dfm-sideline-sidekick-app/components/SearchBarComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ const SearchBar: React.FC<SearchBarProps> = ({
value={query}
onChangeText={setQuery}
onFocus={onFocus}
// eslint-disable-next-line jsx-a11y/no-autofocus
autoFocus={isFocused}
onBlur={onBlur}
selectionColor="#909090"
/>
Expand Down
10 changes: 9 additions & 1 deletion dfm-sideline-sidekick-app/components/barStyles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,21 @@ const styles = StyleSheet.create({
flexDirection: "row",
justifyContent: "space-around",
alignItems: "center",
backgroundColor: "#f0f0f0",
backgroundColor: "#ffffff",
padding: 8,
position: "absolute",
bottom: 0,
left: 0,
right: 0,
height: 79,
elevation: 10,

shadowColor: "rgba(0, 0, 0, 0.5)",

// To add shadows for IOS devices
shadowOffset: { width: 0, height: 2 },
shadowOpacity: 1,
shadowRadius: 2,
},
});

Expand Down
6 changes: 3 additions & 3 deletions dfm-sideline-sidekick-app/components/viewAll.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import { ParamListBase, RouteProp } from "@react-navigation/native"; // Import R
import { StackNavigationProp } from "@react-navigation/stack"; // Import StackNavigationProp
import { useFonts } from "expo-font";
import React from "react";
import { Pressable, ScrollView, Text, TouchableOpacity, View } from "react-native";
import Icon from "react-native-vector-icons/FontAwesome";
import { Image, Pressable, ScrollView, Text, TouchableOpacity, View } from "react-native";

import { GeneralPrinciple, MedicalEmergency } from "../functions/DataContext";
import { Bookmark } from "../pages/HomePage";
Expand Down Expand Up @@ -80,7 +79,8 @@ const ViewAll: React.FC<ViewAllProps> = ({ navigation, route }) => {
}}
style={styles.backButtonContainer}
>
<Icon name="chevron-left" size={12} color="#000000" style={styles.backButton} />
{/* eslint-disable-next-line @typescript-eslint/no-unsafe-assignment */}
<Image source={require("../assets/ic_caretleft.png")} />
</TouchableOpacity>
<View style={styles.headerShadowContainer}>
<View style={styles.headerShadow}>
Expand Down
25 changes: 25 additions & 0 deletions dfm-sideline-sidekick-app/eas.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"cli": {
"version": ">= 8.0.0"
},
"build": {
"development": {
"developmentClient": true,
"distribution": "internal",
"env": {
"EXPO_PUBLIC_IP_ADDRESS": "http://100.115.166.152:3001"
}
},
"preview": {
"distribution": "internal"
},
"production": {
"env": {
"EXPO_PUBLIC_IP_ADDRESS": "https://sideline-sidekick-app.web.app"
}
}
},
"submit": {
"production": {}
}
}
Loading

0 comments on commit 73951f4

Please sign in to comment.