فهرست منبع

feat: update contributors layout to 5 columns per row

- Change README contributors table to display 5 contributors per row
- Update kilocode-landing grid to use lg:grid-cols-5 for 5 columns on large screens
- Maintain responsive design with appropriate breakpoints
Tirumari Jothi 5 ماه پیش
والد
کامیت
ffa5e194c3
2فایلهای تغییر یافته به همراه24 افزوده شده و 15 حذف شده
  1. 22 13
      README.md
  2. 2 2
      scripts/update-contributors.js

+ 22 - 13
README.md

@@ -96,7 +96,10 @@ Thanks to all the contributors who help make Kilo Code better!
         <br />
         <sub><b>kevinvandijk</b></sub>
       </a>
-    </td>    <td align="center">
+    </td>
+  </tr>
+  <tr>
+    <td align="center">
       <a href="https://github.com/daniel-lxs">
         <img src="https://avatars.githubusercontent.com/u/57051444?v=4?size=100" width="100" height="100" alt="daniel-lxs" style="border-radius: 50%;" />
         <br />
@@ -114,16 +117,16 @@ Thanks to all the contributors who help make Kilo Code better!
         <br />
         <sub><b>samhvw8</b></sub>
       </a>
-    </td>    <td align="center">
+    </td>
+  </tr>
+  <tr>
+    <td align="center">
       <a href="https://github.com/hassoncs">
         <img src="https://avatars.githubusercontent.com/u/5104925?v=4?size=100" width="100" height="100" alt="hassoncs" style="border-radius: 50%;" />
         <br />
         <sub><b>hassoncs</b></sub>
       </a>
-    </td>
-  </tr>
-  <tr>
-    <td align="center">
+    </td>    <td align="center">
       <a href="https://github.com/olearycrew">
         <img src="https://avatars.githubusercontent.com/u/6044920?v=4?size=100" width="100" height="100" alt="olearycrew" style="border-radius: 50%;" />
         <br />
@@ -141,7 +144,10 @@ Thanks to all the contributors who help make Kilo Code better!
         <br />
         <sub><b>markijbema</b></sub>
       </a>
-    </td>    <td align="center">
+    </td>
+  </tr>
+  <tr>
+    <td align="center">
       <a href="https://github.com/R00-B0T">
         <img src="https://avatars.githubusercontent.com/u/110429663?v=4?size=100" width="100" height="100" alt="R00-B0T" style="border-radius: 50%;" />
         <br />
@@ -165,7 +171,10 @@ Thanks to all the contributors who help make Kilo Code better!
         <br />
         <sub><b>a8trejo</b></sub>
       </a>
-    </td>    <td align="center">
+    </td>
+  </tr>
+  <tr>
+    <td align="center">
       <a href="https://github.com/MuriloFP">
         <img src="https://avatars.githubusercontent.com/u/50873657?v=4?size=100" width="100" height="100" alt="MuriloFP" style="border-radius: 50%;" />
         <br />
@@ -189,16 +198,16 @@ Thanks to all the contributors who help make Kilo Code better!
         <br />
         <sub><b>canrobins13</b></sub>
       </a>
-    </td>
-  </tr>
-  <tr>
-    <td align="center">
+    </td>    <td align="center">
       <a href="https://github.com/stea9499">
         <img src="https://avatars.githubusercontent.com/u/4163795?v=4?size=100" width="100" height="100" alt="stea9499" style="border-radius: 50%;" />
         <br />
         <sub><b>stea9499</b></sub>
       </a>
-    </td>    <td align="center">
+    </td>
+  </tr>
+  <tr>
+    <td align="center">
       <a href="https://github.com/jr">
         <img src="https://avatars.githubusercontent.com/u/5629?v=4?size=100" width="100" height="100" alt="jr" style="border-radius: 50%;" />
         <br />

+ 2 - 2
scripts/update-contributors.js

@@ -81,8 +81,8 @@ function generateContributorMarkdown(contributors) {
 
     contributorGrid += contributorCell;
 
-    // Start new row every 6 contributors
-    if ((i + 1) % 6 === 0 && i < contributors.length - 1) {
+    // Start new row every 5 contributors
+    if ((i + 1) % 5 === 0 && i < contributors.length - 1) {
       contributorGrid += '\n  </tr>\n  <tr>\n';
     }
   }