Closed johnmck95 closed 7 months ago
Thanks for the great job @johnmck95 . It looks really good. The only thing i noticed is that the text input changes size when the users starts to type in. it would be great to have a fixed size.
https://github.com/SENG480a-NutriDine/mobile/assets/83256092/8195d5dd-2dd6-4284-9ead-e4b1d0f3f1c8
This PR does 2 things: 1) Sets up in-app routing with
Expo Router
. You will see a newapp/app
folder. Inside this folder, your directory structure will also dictate the URL/page structure. You can jump to other pages usingrouter.push("your/path")
DataSubmission.tsx
page, which is for the admins. It calls a newEnterFoodForm.tsx
component that we can later use for companies to enter their food data..isAdmin
property to decide if the user can see theDataSubmission
page, but for now it is just a button you can click to redirect.Since I am emulating on my physical android device and screenshots are a pain,, here is a quick screen grab from the web application.
Dark Mode:
Light Mode:
Layout Tabs