c-code-x / codex-website Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://codex-website-nu.vercel.app
Home Page: https://codex-website-nu.vercel.app
Currently, we have carousel at the index.js, where the left and right navigation to carousel is not functioning.
Possible Solutions are
remove Carousel navigation buttons
else Make buttons functional
Make your changes, send PR only to alpha branch
Follow Contributors.md to achieve the acceptance of PR
I noticed that the logos for Discord, GitHub, Instagram, and YouTube in the footer are currently using PNG format. I propose that we switch these images to SVG format for the following reasons:
The current issue templates in the repository are outdated and insufficient, causing confusion among contributors and hindering the smooth process of opening and resolving issues. The lack of detailed instructions and examples is impeding the quality of issue reports, making it difficult for contributors to provide necessary information.
We need to update the contribution guidelines and issue templates to establish a standardized approach for contributors. The guidelines should cover essential aspects such as PR format, code quality standards, commit message conventions, and general issue reporting guidelines.
Contribution Guidelines:
Issue Templates:
Standardization:
Clarity:
Efficiency:
Assignees: @SaiSantoshPradyumna @breathecode6365
Labels: Documentation, Enhancement, Help Wanted
Clear and concise contribution guidelines should be made so that the contributors are comfortable understanding our organization's goals and guidelines
Please create these documents or markdowns to solve this issue
Please refer these as an example CONTRIBUTING.md ISSUE.md PR.md
This issue is part of the feature #74
here's a simple design for the API call:
GET http://localhost:3000/api/cf-problem-sheet
GET http://localhost:3000/api/cf-problem-sheet?handle=harsha9554&minProblemRating=0&maxProblemRating=1400&numberOfPreviousContests=5
{
"meta": {
"handle": "harsha9554",
"minProblemRating": 0,
"maxProblemRating": 1400,
"numberOfPreviousContests": 5
},
"problems": [
{
"contestId": 1903,
"index": "A",
"name": "Halloumi Boxes",
"type": "PROGRAMMING",
"points": 500,
"rating": 800,
"tags": [
"brute force",
"greedy",
"sortings"
],
"verdict": "NONE",
"URL": "https://codeforces.com/problemset/problem/1903/A"
},
{
"contestId": 1901,
"index": "A",
"name": "Line Trip",
"type": "PROGRAMMING",
"rating": 800,
"tags": [
"greedy",
"math"
],
"points": 0,
"verdict": "NONE",
"URL": "https://codeforces.com/problemset/problem/1901/A"
},
{
"contestId": 1900,
"index": "A",
"name": "Cover in Water",
"type": "PROGRAMMING",
"points": 500,
"rating": 800,
"tags": [
"constructive algorithms",
"greedy",
"implementation",
"strings"
],
"verdict": "NONE",
"URL": "https://codeforces.com/problemset/problem/1900/A"
},
{
"contestId": 1900,
"index": "B",
"name": "Laura and Operations",
"type": "PROGRAMMING",
"points": 1000,
"rating": 900,
"tags": [
"dp",
"math"
],
"verdict": "NONE",
"URL": "https://codeforces.com/problemset/problem/1900/B"
},
{
"contestId": 1901,
"index": "B",
"name": "Chip and Ribbon",
"type": "PROGRAMMING",
"rating": 1100,
"tags": [
"greedy",
"math"
],
"points": 0,
"verdict": "NONE",
"URL": "https://codeforces.com/problemset/problem/1901/B"
},
{
"contestId": 1903,
"index": "B",
"name": "StORage room",
"type": "PROGRAMMING",
"points": 1000,
"rating": 1200,
"tags": [
"bitmasks",
"brute force",
"constructive algorithms",
"greedy"
],
"verdict": "NONE",
"URL": "https://codeforces.com/problemset/problem/1903/B"
},
{
"contestId": 1900,
"index": "C",
"name": "Anji's Binary Tree",
"type": "PROGRAMMING",
"points": 1250,
"rating": 1300,
"tags": [
"dfs and similar",
"dp",
"trees"
],
"verdict": "NONE",
"URL": "https://codeforces.com/problemset/problem/1900/C"
},
{
"contestId": 1903,
"index": "C",
"name": "Theofanis' Nightmare",
"type": "PROGRAMMING",
"points": 1500,
"rating": 1400,
"tags": [
"constructive algorithms",
"dp",
"fft",
"greedy",
"hashing"
],
"verdict": "NONE",
"URL": "https://codeforces.com/problemset/problem/1903/C"
},
{
"contestId": 1901,
"index": "C",
"name": "Add, Divide and Floor",
"type": "PROGRAMMING",
"rating": 1400,
"tags": [
"constructive algorithms",
"greedy",
"math"
],
"points": 0,
"verdict": "NONE",
"URL": "https://codeforces.com/problemset/problem/1901/C"
}
]
}
This design provides a clear structure for the API call, specifying required and optional parameters, along with an example request and response for better understanding. @Jaideep-C
Currently, we have two different pages with the same content. That is the landing page and the root index page.
Those two pages are
pages/index.tsx
pages/LandingPage.tsx
When a user visits our webpage, they are served pages/index.tsx
as the home page, but when they go to an under construction page and try to navigate via the button "go back", they are redirected to pages/LandingPage.tsx
as the homepage in which the title of the page is also broken and not updated.
I think pages/index.tsx
is supposed to be the home page and pages/LandingPage.tsx
is just a refactored component which contains the content of the home page. A possible solution would be to refactor the pages/LandingPage.tsx
to components/LandingPage.tsx
this way we can treat it as a component rather than a page.
Also we need to change the hyperlink <Link href={"/"}><button>Go Back</button></Link>
Here are the issues with the website followed by their detailed description.
On the Members page, the LinkedIn icons do not show the LinkedIn handles for core members Punith, Bharath, Tamanna, Suhith, Surya, and Pradyumana
.
When clicked, the LinkedIn icon displays a broken link. The LinkedIn profiles of members Vishal and Sanjana
are inaccessible
Here's the attachement: https://www.linkedin.com/in/vishal-sharma-67321b1a4
The GitHub icon redirects to the LinkedIn profile instead of the GitHub profile. This issue affects Tamanna
's profile.
On the Members page,the GitHub icon does not display the GitHub handles of members, Bharath, Surya and Pradyumana
.
The Instagram icon fails to display the Instagram handles for members Tushar and Surya
.
Upon interaction, the Instagram icon displays Instagram page link that is broken. Unable to view Instagram handle of member Hilux
.
Here's the attachement: https://www.instagram.com/fokouhilux/
On the Members page, the Instagram icon does not direct to their Instagram profile but instead to their GitHub profile. Wrong profile shown for Pradyumana
.
On the About Us page, the follower counts for YouTube, Instagram, and Discord do not accurately reflect the actual number of followers. The website shows 600 followers on Instagram, 550 on Discord, and 50 on YouTube. But, the real counts are 1001
, 535
, and 63
followers respectively.
Here's the attachment of the page: https://beta-codex-gitam.vercel.app/aboutus
Under the webpage, the link provided for the competitive programming resources does not work under quick links and services. It instead shows that the page is under construction while other resources links work.
https://beta-codex-gitam.vercel.app/underconstruction
The members list on the members page shows a list of roles against their names that do not match current people and their roles in the club.
As fellow members of CodeX, I'm excited to share an idea for our Competitive Programming (CP) group. Picture this: a feature that empowers each one of us to effortlessly create a personalized problem practice sheet directly from Codeforces, focusing on a specific rating range.
Here's why this feature would be a game-changer for our CP group:
Targeted Skill Improvement:
Latest Contest Insights:
Efficient Problem Management:
Customizable Tag Visibility:
Imagine the convenience and efficiency this feature would bring to our CP group members. It's not just a tool; it's a catalyst for our individual growth as competitive programmers.
Let's consider integrating this feature into our website, leveraging the power of the Codeforces public API to take our CP experience to the next level. Your thoughts and feedback on this idea are crucial, so let's discuss and shape the future of our CP group together!
Fetch Problems by Rating Range:
Distinguish Problem Status:
Toggle Problem Tags Visibility:
N/A
High
#Defective Navigation bar
Currently, we have navigation bar component, the issue is, when on small screens like mobile phones, if the page is reloaded, suddenly NAVIGATION bar appears or goes.
##Possibly
Change the logic of NAVIGATION BAR
Check with the State Functionality of the logic
Make your changes, send PR only to alpha branch
Follow Contributors.md to achieve the acceptance of PR
I noticed that there are several sensitive keys exposed in your repository, specifically your YouTube channel ID key, API key, and Discord client key. This is a significant security risk, as malicious users could potentially misuse these keys.
Additionally, I observed that your .env
file is also exposed with keys, and there is no .env.example
file in the repository.
Here are some recommended steps to resolve these issues:
Remove the exposed keys: You should immediately remove the exposed keys from your repository. This includes the YouTube channel ID key, API key, and Discord client key.
Regenerate your keys: After removing the exposed keys, you should regenerate them to ensure that any copies of the old keys are rendered useless.
Use environment variables: Instead of hardcoding your keys into your code, you should use environment variables to store them. This allows you to keep your keys secret and separate from your code.
Add a .env.example
file: To make it easier for others to understand what environment variables are needed, you can add a .env.example
file to your repository. This file should outline all the necessary environment variables without exposing any actual keys.
Remove the .env file from the repository: Your .env
file should not be included in the repository. You can add .env
to your .gitignore
file to ensure it is not accidentally committed.
Please consider making these changes to improve the security of your project.
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.