Welcome! Follow these steps to submit your React project to the WebCraft platform.
Youβll be contributing your project by:
- Forking the WebCraft repository
- Adding your project to the
mentees/folder - Submitting a pull request (PR)
Visit the WebCraft GitHub repository and click "Fork" to create your own copy.
git clone https://github.com/your-username/webcraft-final-website.git
cd webcraft-final-websiteInside the src/mentees/ directory, create a new folder named after your name or username (e.g., Bob/).
mkdir src/mentees/YourNameYour folder should include:
- A React app (can be minimal or fully built)
- A file named
index.jsxthat:- Imports your main component
- Exports project metadata
Example folder structure:
src/
βββ mentees/
βββ Bob/
βββ public/
βββ src/
β βββ App.jsx
βββ index.jsx
In your index.jsx, use the following format:
import BobApp from './App'
export const meta = {
title: 'Analog Clock',
author: 'Bob',
description: 'A React analog clock using CSS and hooks.',
thumbnail: '/assets/thumbnails/clock.png'
}
export default BobAppπ‘ Store your
thumbnailin the main repoβspublic/assets/thumbnails/folder.
git add .
git commit -m "Added Bobβs analog clock project"git push origin mainThen, go to your GitHub fork and open a Pull Request to the original repository's main branch.
- β Use a unique folder name
- β Do not use
meta.json; useindex.jsxfor metadata - πΌοΈ Place your thumbnails in
public/assets/thumbnails/ - π Do not edit files outside your own folder (except for thumbnails)
- π§© Once merged, your project card will appear on the homepage automatically
Open an issue in the GitHub repo or contact a mentor.
Happy Building and Keep Coding!