task1_yael - #1
Conversation
omrirz
left a comment
There was a problem hiding this comment.
General comments:
- please change "asstst" directory to "assets".
- please create a subdirectory in assets for icons and a subdirectory for images. we don't want a big mess of files.
- please change file names to a consistent pattern. You now have "components/service_card.tsx" (which is snake case) and "components/contactForm.tsx" (which is camel case). change all of the files to be kebab case e.g. "service-card.tsx", "contact-form.tsx", etc.
- You deleted the pages/index.tsx which had valuable components and was holding the home page structure, you should bring it back and use it instead of the changes you did to _app.tsx. See my comment about it below.
| <Layout pageProps={pageProps}> | ||
| <Component {...pageProps} /> | ||
| </Layout> | ||
| <> |
There was a problem hiding this comment.
this _app.tsx file is a file for all the pages in the app so now we can't create more pages since you hardcoded those components for the entire app.
You should revert this file and use the pages/index.tsx for the homepage.
| @@ -0,0 +1,16 @@ | |||
| // an simple endpoint for getting current list | |||
| }, | ||
| ) | ||
|
|
||
| const addMutation = useMutation((value) => fetch(`/api/data?add=${value}`), { |
|
I have a server error: |
|
@yael-dangor you sure you have all the necessary environment variables like in .env.example? |
|
Do i need a token? |




No description provided.