Commit 8f1944d
Copilot/add date added field (#62)
* Initial plan
* Add dateAdded field and implement recently added sorting with segmented button controls
- Add dateAdded field to all markdown files (derived from git commit dates)
- Implement gridByDate() for sorting by most recent additions
- Replace single toggle button with segmented control (Alphabetical, Platform, Recently Added)
- Add CSS styling for segmented button group with active states
- Generate grid-by-date.html partial for recently added view
- State is retained when navigating back from project/tag pages via history
Co-authored-by: teggr <837787+teggr@users.noreply.github.com>
* Separate sort buttons from hero section and make alphabetical default
- Move sort button group out of hero-left section into dedicated sort-controls-section
- Position sort buttons between hero and project grid for better visual hierarchy
- Remove github-cta-container wrapper, place Contribute button directly under title
- Change default sort from Platform to Alphabetical
- Update indexPage to show gridAlphabeticalContent by default
- Add CSS for .sort-controls-section with centered layout and spacing
- Update hero-left .github-cta styles without container wrapper
- All three sort options tested and working correctly
Co-authored-by: teggr <837787+teggr@users.noreply.github.com>
* Fix mobile responsiveness: stack sort buttons vertically and center contribute button
- Add mobile responsive styles for .sort-button-group (max-width 640px)
- Stack buttons vertically with flex-direction: column
- Set max-width: 320px for better mobile presentation
- Update .sort-btn for mobile with full width and left-aligned content
- Increase vertical padding for easier tap targets
- Center .hero-left .github-cta button on mobile (max-width 768px)
- Display as block with 100% width and centered text
- Desktop layout remains unchanged
- All button functionality tested and working correctly
Co-authored-by: teggr <837787+teggr@users.noreply.github.com>
* Center title and contribute button in hero-left container
- Add text-align: center to .hero-left on large screens (≥1024px)
- Centers both title and contribute button within hero-left container
- Add text-align: center to .hero-left on mobile/tablet (≤768px)
- Centers both title and contribute button on smaller screens
- Maintain responsive behavior across all viewport sizes
- Button remains inline-block on desktop, block on mobile
Co-authored-by: teggr <837787+teggr@users.noreply.github.com>
* Update dateAdded field for multiple UI frameworks to reflect new dates
* Add instructions for generating thumbnails and rebuilding the site
* Refactor thumbnail name generation logic for consistency
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: teggr <837787+teggr@users.noreply.github.com>1 parent 179649e commit 8f1944d
15 files changed
Lines changed: 29 additions & 31 deletions
File tree
- .github/skills/capture-screenshot
- images
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
148 | 170 | | |
149 | 171 | | |
150 | 172 | | |
| |||
251 | 273 | | |
252 | 274 | | |
253 | 275 | | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
| 276 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | | - | |
| 244 | + | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
| 247 | + | |
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
| |||
Loading
Loading
Loading
Loading
Loading
Loading
Loading
0 commit comments