Skip to content

Commit

Permalink
removed changes to app.js
Browse files Browse the repository at this point in the history
  • Loading branch information
PiXlRAM committed Feb 10, 2024
1 parent c7d1d21 commit 841ac52
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 9 deletions.
9 changes: 0 additions & 9 deletions dfm-sideline-sidekick-app/App.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
import { Roboto_400Regular, Roboto_700Bold } from "@expo-google-fonts/roboto";
import { useFonts } from "expo-font";
import { StatusBar } from "expo-status-bar";
import { StyleSheet, Text, View } from "react-native";

export default function App() {
const [fontsLoaded] = useFonts({
"Roboto-Regular": Roboto_400Regular,
"Roboto-Bold": Roboto_700Bold,
});
if (!fontsLoaded) {
return <Text>Loading...</Text>;
}
return (
// eslint-disable-next-line @typescript-eslint/no-use-before-define
<View style={styles.container}>
Expand Down
9 changes: 9 additions & 0 deletions dfm-sideline-sidekick-app/pages/EmergencyCare.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { Roboto_400Regular, Roboto_700Bold } from "@expo-google-fonts/roboto";
import { useFonts } from "expo-font";
import { Text, TouchableOpacity, View } from "react-native";
import AntIcon from "react-native-vector-icons/AntDesign";

Expand All @@ -6,6 +8,13 @@ import BulletPoint from "../components/BulletPoint";
import styles from "./generalPrinciplesStyles";

const EmergencyCare = () => {
const [fontsLoaded] = useFonts({
"Roboto-Regular": Roboto_400Regular,
"Roboto-Bold": Roboto_700Bold,
});
if (!fontsLoaded) {
return <Text>Loading...</Text>;
}
return (
<View style={styles.container}>
<TouchableOpacity>
Expand Down
9 changes: 9 additions & 0 deletions dfm-sideline-sidekick-app/pages/generalPrinciples.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { Roboto_400Regular, Roboto_700Bold } from "@expo-google-fonts/roboto";
import { useFonts } from "expo-font";
import { Text, TouchableOpacity, View } from "react-native";
import AntIcon from "react-native-vector-icons/AntDesign";

Expand All @@ -6,6 +8,13 @@ import BulletPoint from "../components/BulletPoint";
import styles from "./generalPrinciplesStyles";

const GeneralPrinciples = () => {
const [fontsLoaded] = useFonts({
"Roboto-Regular": Roboto_400Regular,
"Roboto-Bold": Roboto_700Bold,
});
if (!fontsLoaded) {
return <Text>Loading...</Text>;
}
return (
<View style={styles.container}>
<TouchableOpacity>
Expand Down

0 comments on commit 841ac52

Please sign in to comment.