Skip to content

Comments

Changes in Projects#1

Open
abhaychoudhary0211 wants to merge 1 commit intoiamkunal9:mainfrom
abhaychoudhary0211:main
Open

Changes in Projects#1
abhaychoudhary0211 wants to merge 1 commit intoiamkunal9:mainfrom
abhaychoudhary0211:main

Conversation

@abhaychoudhary0211
Copy link

Their is a bug in projects section is that need minimum 2 projects needed or the number of projects are even. The bug is removed and we can now create the page with zero projects and with odd number of projects

Their is a bug in projects section is that need minimum 2 projects needed or the number of projects are even. The bug is removed and we can now create the page with zero projects and with odd number of projects
@iamkunal9 iamkunal9 requested a review from Copilot March 29, 2025 19:10
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request fixes the bug in the projects section that required a minimum of 2 projects or an even number of projects by removing that constraint and adjusting the layout to support zero or an odd number of projects.

  • Removed the even-number check and related loop structure.
  • Introduced a variable (projectCount) to hold the number of projects and adjusted the row generation logic.
  • Added a condition to append an empty cell when the project count is odd, ensuring proper table layout.
Files not reviewed (1)
  • css/main.css: Language not supported

@iamkunal9 iamkunal9 self-assigned this Mar 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants