-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: add dynamic routeing and based on results in quiz
- Loading branch information
Showing
8 changed files
with
10,922 additions
and
741 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import {Stack} from "expo-router"; | ||
|
||
export default function Layout(){ | ||
return ( | ||
<Stack screenOptions={{headerShown:false}}> | ||
<Stack.Screen name="music"/> | ||
</Stack> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import React, { Component } from "react"; | ||
import { Text, View } from "react-native"; | ||
|
||
export default class index extends Component { | ||
render() { | ||
return ( | ||
<View> | ||
<Text> Music </Text> | ||
</View> | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,12 @@ | ||
export const quizQuestions = [ | ||
{ | ||
question: "How often do you feel sad or down?", | ||
options: ["Never", "Rarely", "Sometimes", "Frequently"], | ||
}, | ||
{ | ||
question: "How often do you have trouble concentrating?", | ||
options: ["Never", "Rarely", "Sometimes", "Frequently"], | ||
}, | ||
{ | ||
question: "How often do you feel overwhelmed by daily tasks?", | ||
options: ["Never", "Rarely", "Sometimes", "Frequently"], | ||
}, | ||
{ | ||
question: "How often do you experience anxiety?", | ||
options: ["Never", "Rarely", "Sometimes", "Frequently"], | ||
}, | ||
{ | ||
question: "How often do you have trouble sleeping?", | ||
options: ["Never", "Rarely", "Sometimes", "Frequently"], | ||
}, | ||
{ | ||
question: "How often do you feel irritable or angry?", | ||
options: ["Never", "Rarely", "Sometimes", "Frequently"], | ||
}, | ||
{ | ||
question: "How often do you feel hopeless about the future?", | ||
options: ["Never", "Rarely", "Sometimes", "Frequently"], | ||
}, | ||
{ | ||
question: "How often do you engage in activities you used to enjoy?", | ||
options: ["Never", "Rarely", "Sometimes", "Frequently"], | ||
}, | ||
{ | ||
question: | ||
"How often do you experience physical symptoms like headaches or stomachaches?", | ||
options: ["Never", "Rarely", "Sometimes", "Frequently"], | ||
}, | ||
{ | ||
question: "How often do you feel disconnected from others?", | ||
options: ["Never", "Rarely", "Sometimes", "Frequently"], | ||
}, | ||
"How often do you feel sad or down?", | ||
"How often do you have trouble concentrating?", | ||
"How often do you feel overwhelmed by daily tasks?", | ||
"How often do you experience anxiety?", | ||
"How often do you have trouble sleeping?", | ||
"How often do you feel irritable or angry?", | ||
"How often do you feel hopeless about the future?", | ||
"How often do you engage in activities you used to enjoy?", | ||
"How often do you experience physical symptoms like headaches or stomachaches?", | ||
"How often do you feel disconnected from others?", | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.