Skip to content

Commit 57b40e6

Browse files
Update README.md
1 parent 0bd35c3 commit 57b40e6

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,11 @@ Vercel is a cloud platform for deploying and scaling React applications.
5454

5555
The page will automatically reload when you make changes, and any lint errors will be displayed in the console.
5656

57-
6. To build for production use the command:
58-
59-
```
60-
npm run build
61-
```
62-
63-
This command bundles React in production mode and optimizes the build for the best performance. The build is minified, and the filenames include hashes. Once the build process is complete, your app is ready to be deployed.
57+
6. Make sure to follow the directory structure while adding a new **game** or **activity**
58+
- Your game or activity should be created inside a react component, the file for which should be created in `src/pages/games` for games and `src/pages/activities` for activities.
59+
- The css file for your component must be created inside the `src/styles/pages/games` folder for games and `src/styles/pages/activities` for activities.
60+
- To ensure that your created component appears on the website, you must add an entry for your game or activity in the `content.js` file present in `src/data` folder.
61+
- Refer to this [pull request](https://github.com/PEC-CSS/acm-fun/pull/37/files) to get an idea of the changes you need to make. **Do not make any changes other than these unless explicitly required.**
6462

6563
# Contributing
6664

0 commit comments

Comments
 (0)