Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2023-113
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-113
2023-113
Commits
7d5a5c08
Commit
7d5a5c08
authored
May 25, 2023
by
Madusanka-w
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
home page added
parent
6fe58887
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
1 deletion
+34
-1
Weather Analyzer and Crop Reccomender-IT20151874/RP-MobileAPP-FE/components/HomePage.js
...omender-IT20151874/RP-MobileAPP-FE/components/HomePage.js
+34
-1
No files found.
Weather Analyzer and Crop Reccomender-IT20151874/RP-MobileAPP-FE/components/HomePage.js
View file @
7d5a5c08
...
...
@@ -36,7 +36,40 @@ const HomePage = ({ navigation }) => {
return
(
<
ImageBackground
source
=
{
require
(
'
../assets/homepage.jpg
'
)}
style
=
{
styles
.
backgroundImage
}
>
<
View
style
=
{
styles
.
container
}
>
<
TouchableOpacity
style
=
{
styles
.
optionButton
}
onPress
=
{()
=>
handleOptionSelect
(
'
pestDisease
'
)}
>
<
Text
style
=
{
styles
.
optionText
}
>
Pest
and
Disease
<
/Text
>
<
/TouchableOpacity
>
<
TouchableOpacity
style
=
{
styles
.
optionButton
}
onPress
=
{()
=>
handleOptionSelect
(
'
soilData
'
)}
>
<
Text
style
=
{
styles
.
optionText
}
>
Soil
Data
<
/Text
>
<
/TouchableOpacity
>
<
TouchableOpacity
style
=
{
styles
.
optionButton
}
onPress
=
{()
=>
handleOptionSelect
(
'
weatherData
'
)}
>
<
Text
style
=
{
styles
.
optionText
}
>
Weather
Data
<
/Text
>
<
/TouchableOpacity
>
<
TouchableOpacity
style
=
{
styles
.
optionButton
}
onPress
=
{()
=>
handleOptionSelect
(
'
cropRotationPlan
'
)}
>
<
Text
style
=
{
styles
.
optionText
}
>
Crop
Rotation
Plan
<
/Text
>
<
/TouchableOpacity
>
<
/View
>
<
/ImageBackground
>
);
};
...
...
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