diff --git a/assets/images/placeholder.png b/assets/images/placeholder.png new file mode 100644 index 0000000..108cd6c Binary files /dev/null and b/assets/images/placeholder.png differ diff --git a/src/navigation/mainTabNav.tsx b/src/navigation/mainTabNav.tsx deleted file mode 100644 index 50d6ab9..0000000 --- a/src/navigation/mainTabNav.tsx +++ /dev/null @@ -1,21 +0,0 @@ -import * as React from 'react'; -import { createBottomTabNavigator } from '@react-navigation/bottom-tabs'; -import HealingResources from '@/screens/HealingResources'; -import Home from '@/screens/Home'; -import LegalRights from '@/screens/LegalRights/LegalRightsScreen'; -import SeekHelp from '@/screens/SeekHelp'; - -const Tab = createBottomTabNavigator(); - -export default function MainTabNav() { - return ( - <> - - - - - - - - ); -} diff --git a/src/screens/HealingResources/HopeHealingGuide/CustomDrawer.tsx b/src/screens/HealingResources/HopeHealingGuide/CustomDrawer.tsx deleted file mode 100644 index e69de29..0000000 diff --git a/src/screens/HealingResources/HopeHealingGuide/index.tsx b/src/screens/HealingResources/HopeHealingGuide/index.tsx index 83e9be9..c10d40d 100644 --- a/src/screens/HealingResources/HopeHealingGuide/index.tsx +++ b/src/screens/HealingResources/HopeHealingGuide/index.tsx @@ -1,6 +1,7 @@ import React, { useState } from 'react'; -import { StyleSheet, Text, TouchableOpacity, View } from 'react-native'; +import { Text, TouchableOpacity, View } from 'react-native'; import { createDrawerNavigator } from '@react-navigation/drawer'; +import styles from './styles'; type RootDrawerParamList = { ChapterOne: undefined; @@ -13,7 +14,7 @@ type RootDrawerParamList = { function ChapterOne() { return ( - + Content of Chapter 1 ); @@ -21,7 +22,7 @@ function ChapterOne() { function ChapterTwo() { return ( - + Chapter 2 ); @@ -29,7 +30,7 @@ function ChapterTwo() { function ChapterThree() { return ( - + Chapter 3 ); @@ -37,7 +38,7 @@ function ChapterThree() { function SectionOne() { return ( - + Subsection 1 of Chapter 1 ); @@ -45,7 +46,7 @@ function SectionOne() { function SectionTwo() { return ( - + Subsection 2 of Chapter 1 ); @@ -113,13 +114,3 @@ export default function HopeHealingGuide() { ); } - -const styles = StyleSheet.create({ - drawerLabelText: { - fontWeight: 'bold', - }, - subsectionLabelText: { - color: '#666', - paddingLeft: 30, - }, -}); diff --git a/src/screens/HealingResources/HopeHealingGuide/styles.ts b/src/screens/HealingResources/HopeHealingGuide/styles.ts new file mode 100644 index 0000000..ae0e3e0 --- /dev/null +++ b/src/screens/HealingResources/HopeHealingGuide/styles.ts @@ -0,0 +1,16 @@ +import { StyleSheet } from 'react-native'; + +export default StyleSheet.create({ + drawerItem: { + flex: 1, + alignItems: 'center', + justifyContent: 'center', + }, + drawerLabelText: { + fontWeight: 'bold', + }, + subsectionLabelText: { + color: '#666', + paddingLeft: 30, + }, +});