opencodeiiita / grepit-frontend Goto Github PK
View Code? Open in Web Editor NEWA dynamic trivia platform for mastering bash commands, HTML tags, JS keywords, and more!
License: MIT License
A dynamic trivia platform for mastering bash commands, HTML tags, JS keywords, and more!
License: MIT License
Implement an engaging profile page on new route /profile
using Ant Design (antd) components, showcasing key user statistics. Leverage Ant Design's UI library to create a visually appealing layout with components such as username, profile photo, email, and pending rooms.
Ant Design Integration:
Ensure Ant Design is integrated into the project. Install the necessary Ant Design components and import them into the profile page file.
Profile Page Layout:
Create a layout for the profile page using Ant Design components. Utilize components such as Layout, Card, Avatar, and others for a clean and organized design.
User Stats Display:
Display the following user data on the profile page:
Pending Rooms Section:
Implement a section for displaying pending rooms. For each pending room, include the following details:
Update User Profile:
Implement functionality to update user statistics. Provide a user-friendly interface for users to edit their username, upload a new profile photo, and update their email.
NavBar as Layout.Header:
Utilize NavBar component as the Layout.Header for a consistent navigation experience. Customize the navigation bar to include links to different sections of the profile page.
Responsive Design:
Ensure that the profile page is responsive and provides a seamless experience across different devices and screen sizes.
Backend Review:
Understand backend documentation for leaderboard and real-time question endpoints provided in API Documentation and Socket Events.
Frontend Setup:
Ensure frontend project structure is organized and ready for integration.
Utilize Socket Events:
PS: Feel free to reach out on discord incase of any confusion.
Embark on a mission to enhance the visual appeal and consistency of our project by implementing a global theme using Ant Design's (Antd) ConfigProvider
. This task involves seamlessly integrating Antd's styling across the entire application, and converting default React components to Antd components for a streamlined and theme-ready UI.
Implement a global theme using Antd ConfigProvider, ensuring a cohesive and visually pleasing design throughout the project. Convert default React components to Antd components for effortless theme implementation on various pages and components.
Antd ConfigProvider Setup:
Global Theme Integration:
Convert Default React Components:
Theme Implementation:
Claim this task and enhance the project's visual aesthetics with a unified theme. Feel free to reach out if you have any questions or need assistance during the process.
Task Details:
Your mission is to create a custom useAuth hook, a powerful tool for managing user authentication. Here are the specific details:
Craft a useAuth hook that utilizes useContext to determine the login status based on the presence of a special token in localStorage.
When the cherished token exists, let useAuth boldly declare, "Login granted!" with a true value.
In the absence of the token, let it softly murmur, "Not logged in" with a false value.
Ensure graceful handling of scenarios where the token is missingβno crashes allowed.
Customize the hook to be able to seamlessly integrate with your project's existing authentication setup.
Keep the implementation concise and purpose-driven.
Write this dynamic component in src/hooks/useAuth.jsx
.
Feel free to ask regarding any confusion in the given task.
Are you ready to embark on this challenge and unlock the authentication prowess of useAuth for GrepIt? Comment below to claim the task!
#Details
Glass-Morfism resources are updated on Discord.
The best 5 to 6 PRs will get merged.
{
"githubid" = "your id",
"ss link to div" = "link1",
"ss link to code" = "link2"
},
No need to Claim this challenge, It is open to all.
π§ Tasks:
βοΈ Details Matter:
Thank you for contributing to the foundation of Hitch's collaborative journey! π
Comment to claim the issue.
Wrap the profile , quiz page with useAuth
context hook if not authorized, using AntD design Result Component to disallow user to enter that page.
Task Details:
Your task is to create a quizForm component that contains various input boxes. Details are given below
#Details
NOTE: use of antDesign will be appreciated through points.
File Location: Write the component in src/components/quizForm.jsx
Router Placement: Integrate the component into the app router with the path '/quiz' and place it properly at the center.
Comment to Claim for the task.
Find and recommend a cool continuously animating background preferably in dark and blue theme.
Apply this animated bg on Home.jsx and Quiz.jsx and make a pull request on main branch. Best PR will be selected and good ones will be given partial points. Points can increase or decrease based on coolness of the animated bg.
PS: Make sure to not disturb other components while applying it.
As this is a competitive issue, you don't need to claim.
π§ Deadline: 6th Jan 12pm
Grepit is a quizzing platform that is to be built for quizzing and competition with peers. Design a logo for this project that depicts the same idea.
Enter your github account and attach the figma link in the designs.json file.
This issue is open-for-all and there is no need to claim. Work on the issue and submit a PR.
π§ Tasks:
βοΈ Details Matter:
Keep all changes confined to the Sign-in component.
Thanks for contributing to Hitch's collaborative journey! π Feel free to comment to claim the issue.
You aim to make a Card component for the Displaying room link. The reference design is linked below.
Details are as follows ->
the reference design is here. you may add on design from your side too.
component path: src/components/roomLink.jsx
at the time of PR show the ss for the card instead of placing it in any route.
Claim the issue by commenting below.
Review Backend Documentation:
Go through the provided backend documentation thoroughly provided in API Documentation.
Understand the API endpoints, request methods, and required parameters for sign-in and sign-up functionalities.
Integration technique:
Integrate the sign-in & sign-up with backend maintaining tokens in localstorage for remembering user. Fields sent in json body must be verified and tested with the running backend in Live Backend (Let us know if backend is inactive or not responding).
Note
useAuth
context hook must be used to maintain login credentials.
PS: As the contribution period is ending, we expect PRs as soon as possible.
Tasks:
It's time to introduce a leaderboard to our application. Your mission is to craft a responsive leaderboard using the Ant Design UI library. Utilize dummy data, including position, name, UID, and quiz points, integrated seamlessly with Maps and necessary hooks.
major Details:
Your commitment to quality work will be duly rewarded.
Comment to claim this impactful issue
Thank you for your valuable contribution! π
Task Details:
Your task is to create a CreateRoom named component that contains various input boxes. Details are given below.
#Details
File Location: Write the component in src/components/createRoom.jsx
Router Placement: Integrate the component into the app router with the path '/home' and place it properly at the center-left side.
Claim this challenge by commenting below!
π§ Tasks:
Check the various questions type components here
Claim this issue by commenting. Thanks!
Configure the theme in the project using the provided ConfigProvider
in the codebase. Choose appropriate theme colors and adjust them in the theme.ts
file where the theme configuration is defined. Some components require special attention and should be configured individually or by component type rather than token type.
Theme Configuration:
Update the theme.ts file in the codebase to reflect the chosen theme colors. Adjust properties such as primaryColor, secondaryColor, headerBg etc and text based on the identified color scheme.
Component Configuration:
Identify components that require special configuration. For each of these components, ensure that the theme colors are adjusted individually or by component type.
Warning
Avoid using Tailwind CSS for changing colours as it is hard to look for in the codebase when modifying.
Quiz.jsx
Page:You can also provide theme colours ( descriptive
as per material theme standards) in comments or discord and if it looks good on the page, you will get bonus points despite the fact whomsoever this issue has been assigned. It's requested to the assignee to feel free to try out the theme colours suggested by other participants.
In the dynamic world of Grepit, we are excited to introduce a sibling component to the Create Room feature β the Join Room component. Here are the key details for your next task:
π Major Details:
/quizRoom (new route)
section seamlessly.π Implementation Details:
# Component Destination: src/components/joinRoom.jsx
# Route Placement: /home
route, to the right side of the center, adjacent to the Create Room component.
Your dedication to delivering quality work will not go unnoticed.
π Claim Your Contribution:
If you are ready to take on this impactful task, please comment to claim it.
We've got a thrilling task for you β bring GrepIt's vision to life by crafting The Navbar Component. Detailed instructions are provided below.
#Task Details:
Your goal is to make a Navbar with the given Details,
#Details
#Time: 24 hours
Take Reference from this ->
NOTE: The component must be made in src/components/navbar/navbar.jsx and must be placed in app router having path '/home'
comment to claim the issue.
Create the signup/login page, just place, and style the components. You can add a suitable style to the text input fields. You can reference the attached image for the structure of the signup page, a relevant background image will be placed on the left side.
It is recommended to use tailwind css along with antd design for, if unable to do with that, it is acceptable using other techniques, just make sure it is responsive. We are although mainly focussing on desktop design.
Work on here while making relevant components in the components folder.
Task Details:
Your task is to create a User Card component positioned at the top left of the home page. Here are the specific details.
#Details
File Location: Write the component in src/components/UserCard.jsx.
Router Placement: Integrate the component into the app router with the path '/home'.
Ready to tackle this? Comment below to claim the challenge!
Backend Review:
Understand backend documentation for leaderboard and real-time question endpoints provided in API Documentation and Socket Events.
Frontend Setup:
Ensure frontend project structure is organized and ready for integration.
API Configuration:
Set up constants for leaderboard and WebSocket URLs based on backend documentation.
WebSocket for Questions:
Utilize the lifecycle methods
Note
Make sure to handle the errors. Feel free to ask on discord incase of confusion.
Task Details:
File Location: Implement the loader component in src/components/loader.jsx.
To claim this challenge, kindly leave a comment below! Your dedication to this task is much appreciated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.