Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
EmidWife-New
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2023-24-005
EmidWife-New
Commits
65e31de5
Commit
65e31de5
authored
May 16, 2024
by
Devin B
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feature_additional_infromation
parent
2be5b4f1
Changes
11
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
598 additions
and
99 deletions
+598
-99
src/constants/routes.js
src/constants/routes.js
+1
-0
src/navigations/SkinNavigator.js
src/navigations/SkinNavigator.js
+2
-0
src/screens/home/skin/AdditionalSymptoms2.js
src/screens/home/skin/AdditionalSymptoms2.js
+1
-1
src/screens/home/skin/AdditionalSymptoms3.js
src/screens/home/skin/AdditionalSymptoms3.js
+2
-2
src/screens/home/skin/AdditionalSymptoms4.js
src/screens/home/skin/AdditionalSymptoms4.js
+119
-48
src/screens/home/skin/AdditionalSymptoms5.js
src/screens/home/skin/AdditionalSymptoms5.js
+130
-46
src/screens/home/skin/SkinUploader.js
src/screens/home/skin/SkinUploader.js
+1
-1
src/screens/home/skin/information1.js
src/screens/home/skin/information1.js
+341
-0
src/screens/home/skin/skinassets/Vectorw.jpg
src/screens/home/skin/skinassets/Vectorw.jpg
+0
-0
src/screens/home/skin/skinassets/youtube.png
src/screens/home/skin/skinassets/youtube.png
+0
-0
src/services/auth/index.js
src/services/auth/index.js
+1
-1
No files found.
src/constants/routes.js
View file @
65e31de5
...
...
@@ -35,4 +35,5 @@ export default {
SKIN_VIDEO3
:
'
Skin_Video3
'
,
SKIN_VIDEO4
:
'
Skin_Video4
'
,
SKIN_VIDEO5
:
'
Skin_Video5
'
,
SKIN_INFO
:
'
skin_info
'
};
src/navigations/SkinNavigator.js
View file @
65e31de5
...
...
@@ -9,6 +9,7 @@ import AdditionalSymptoms2 from '../screens/home/skin/AdditionalSymptoms2';
import
AdditionalSymptoms3
from
'
../screens/home/skin/AdditionalSymptoms3
'
;
import
AdditionalSymptoms4
from
'
../screens/home/skin/AdditionalSymptoms4
'
;
import
AdditionalSymptoms5
from
'
../screens/home/skin/AdditionalSymptoms5
'
;
import
Additionalinformation
from
'
../screens/home/skin/information1
'
;
import
{
COLORS
,
ROUTES
}
from
"
../constants
"
const
Stack
=
createStackNavigator
();
...
...
@@ -28,6 +29,7 @@ function SkinNavigator() {
<
Stack
.
Screen
name
=
{
ROUTES
.
SKIN_VIDEO3
}
component
=
{
AdditionalSymptoms3
}
/
>
<
Stack
.
Screen
name
=
{
ROUTES
.
SKIN_VIDEO4
}
component
=
{
AdditionalSymptoms4
}
/
>
<
Stack
.
Screen
name
=
{
ROUTES
.
SKIN_VIDEO5
}
component
=
{
AdditionalSymptoms5
}
/
>
<
Stack
.
Screen
name
=
{
ROUTES
.
SKIN_INFO
}
component
=
{
Additionalinformation
}
/
>
...
...
src/screens/home/skin/AdditionalSymptoms2.js
View file @
65e31de5
...
...
@@ -62,7 +62,7 @@ const AdditionalSymptomsScreen = ({ navigation }) => {
const
handleSubmit
=
()
=>
{
// Checking for specific symptoms that lead to SKIN_RISK
const
skinRiskSymptoms
=
[
'
symptom3
'
,
'
symptom
4
'
,
'
symptom4
'
,
'
symptom10
'
,
'
symptom8
'
,
'
symptom6
'
];
const
skinRiskSymptoms
=
[
'
symptom3
'
,
'
symptom
5
'
,
'
symptom4
'
];
const
toSkinRisk
=
skinRiskSymptoms
.
some
(
symptom
=>
selectedSymptoms
[
symptom
]);
// Navigate based on condition
...
...
src/screens/home/skin/AdditionalSymptoms3.js
View file @
65e31de5
...
...
@@ -57,7 +57,7 @@ const AdditionalSymptomsScreen = ({ navigation }) => {
const
handleSubmit
=
()
=>
{
// Checking for specific symptoms that lead to SKIN_RISK
const
skinRiskSymptoms
=
[
'
symptom3
'
,
'
symptom
4
'
,
'
symptom4
'
,
'
symptom10
'
,
'
symptom8
'
,
'
symptom6
'
];
const
skinRiskSymptoms
=
[
'
symptom3
'
,
'
symptom
5
'
];
const
toSkinRisk
=
skinRiskSymptoms
.
some
(
symptom
=>
selectedSymptoms
[
symptom
]);
// Navigate based on condition
...
...
@@ -106,7 +106,7 @@ const AdditionalSymptomsScreen = ({ navigation }) => {
<
SafeAreaView
style
=
{
styles
.
container
}
>
<
ScrollView
style
=
{
styles
.
scrollContainer
}
contentContainerStyle
=
{
styles
.
contentContainer
}
>
<
View
style
=
{
styles
.
topContainer
}
>
<
Text
style
=
{
styles
.
topicText
}
>
Cytomegaloviru
s
Additional
Symptoms
<
/Text
>
<
Text
style
=
{
styles
.
topicText
}
>
Herpe
s
Additional
Symptoms
<
/Text
>
<
View
style
=
{
styles
.
videoBox
}
>
<
View
style
=
{
styles
.
videoDescriptionBox
}
>
<
Text
style
=
{
styles
.
descriptionText
}
>
...
...
src/screens/home/skin/AdditionalSymptoms4.js
View file @
65e31de5
This diff is collapsed.
Click to expand it.
src/screens/home/skin/AdditionalSymptoms5.js
View file @
65e31de5
This diff is collapsed.
Click to expand it.
src/screens/home/skin/SkinUploader.js
View file @
65e31de5
...
...
@@ -143,7 +143,7 @@ const Camera = ({ navigation }) => {
<
Button
title
=
"
Continue for more information
"
style
=
{
styles
.
nextButton
}
onPress
=
{()
=>
navigation
.
navigate
(
ROUTES
.
SKIN_
VIDEO2
)}
onPress
=
{()
=>
navigation
.
navigate
(
ROUTES
.
SKIN_
INFO
)}
/
>
<
/View
>
<
/View
>
...
...
src/screens/home/skin/information1.js
0 → 100644
View file @
65e31de5
This diff is collapsed.
Click to expand it.
src/screens/home/skin/skinassets/Vectorw.jpg
0 → 100644
View file @
65e31de5
195 KB
src/screens/home/skin/skinassets/youtube.png
0 → 100644
View file @
65e31de5
9.82 KB
src/services/auth/index.js
View file @
65e31de5
import
axios
from
"
axios
"
;
const
BASE_PATH
=
'
http://1
0.0.2.2:8070
/api/mother
'
;
const
BASE_PATH
=
'
http://1
6.16.97.48
/api/mother
'
;
import
AsyncStorage
from
'
@react-native-async-storage/async-storage
'
;
//signIn API Call
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment