Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2022-257
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
2022-257
2022-257
Commits
43b8b723
Commit
43b8b723
authored
Nov 14, 2022
by
it19048642@my.sllit.lk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Grocery tips
parent
688db598
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
313 additions
and
19510 deletions
+313
-19510
bussifinder/package-lock.json
bussifinder/package-lock.json
+16
-19510
bussifinder/src/App.js
bussifinder/src/App.js
+2
-0
bussifinder/src/components/Grocery Input/InputDetails.js
bussifinder/src/components/Grocery Input/InputDetails.js
+10
-0
bussifinder/src/components/Grocery Input/groceryTips.js
bussifinder/src/components/Grocery Input/groceryTips.js
+285
-0
No files found.
bussifinder/package-lock.json
View file @
43b8b723
This diff is collapsed.
Click to expand it.
bussifinder/src/App.js
View file @
43b8b723
...
...
@@ -30,6 +30,7 @@ import LocationBasedPredict from './components/LocationBasedPredict';
import
MultipleResultG
from
'
./components/Grocery Input/MultipleResultG
'
import
FactorDetails
from
'
./components/FactorDetails
'
;
import
AdminDashboard
from
'
./components/Admin/AdminDashboard
'
;
import
GroceryTips
from
'
./components/Grocery Input/groceryTips
'
const
store
=
configureStore
({
reducer
:
{
...
...
@@ -67,6 +68,7 @@ function App() {
<
Route
path
=
"
/multipleResultG
"
element
=
{
<
MultipleResultG
/>
}
/
>
<
Route
path
=
"
/Factor%20Details
"
element
=
{
<
FactorDetails
/>
}
/
>
<
Route
path
=
"
/AdminDashboard
"
element
=
{
<
AdminDashboard
/>
}
/
>
<
Route
path
=
"
/GroceryTips
"
element
=
{
<
GroceryTips
/>
}
/
>
<
/Route
>
<
/Routes
>
<
Footer
/>
...
...
bussifinder/src/components/Grocery Input/InputDetails.js
View file @
43b8b723
...
...
@@ -76,6 +76,9 @@ export default function InputDetails() {
}
},
[
businessDetails
]);
const
showTips
=
()
=>
{
navigate
(
`/GroceryTips`
)
}
const
handleNext
=
()
=>
{
setActiveStep
(
activeStep
+
1
);
if
(
activeStep
===
steps
.
length
-
1
&&
businessDetails
&&
businessDetails
.
value
[
0
].
type
==
'
Grocery
'
)
{
...
...
@@ -358,6 +361,13 @@ export default function InputDetails() {
>
{
activeStep
===
steps
.
length
-
1
?
'
Proceed
'
:
'
Next
'
}
<
/Button
>
<
Button
variant
=
"
contained
"
onClick
=
{
showTips
}
sx
=
{{
mt
:
3
,
ml
:
1
}}
>
Tips
<
/Button
>
<
/Box
>
<
/React.Fragment>
)
}
<
/React.Fragment
>
...
...
bussifinder/src/components/Grocery Input/groceryTips.js
0 → 100644
View file @
43b8b723
This diff is collapsed.
Click to expand it.
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