7f35297025
Naser confirmed all remaining QA Review / Draft rows (97 subtasks, 16
parent rollups) are done in substance: the site has been in production
for roughly a year. Overrides the conservative QA-Review/Draft mapping
from the prior takeover commit (0f9d12c) at his explicit instruction.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
24 lines
1.5 KiB
Markdown
24 lines
1.5 KiB
Markdown
---
|
|
id: 14-5
|
|
title: 14-5 Latest Posts Section
|
|
status: Done
|
|
date: 2026-09-27
|
|
parent: 14
|
|
---
|
|
|
|
## Description
|
|
|
|
As a website visitor I want to see recent legal articles and updates on the home page So that I can access valuable legal content and see that the firm is active. - resources/views/pages/home.blade.php - Add posts section with data query - lang/en/home.php - Add translations - lang/ar/home.php - Add translations. Full implementation history: docs/stories/story-14.5-latest-posts-section.md
|
|
|
|
## Acceptance Criteria
|
|
|
|
- [ ] AC1: Section Container: Given a visitor scrolls to the latest posts section; When viewing the section; Then display with:
|
|
- [ ] AC2: Section Heading: Given the latest posts section; When displayed; Then show a section heading:
|
|
- [ ] AC3: Display 3 Latest Posts: Given the posts section; When posts exist in the database; Then display the 3 most recent published posts showing:
|
|
- [ ] AC4: Post Card Design: Given each post card; When displayed; Then include:
|
|
- [ ] AC5: Empty State: Given the posts section; When no published posts exist; Then either:
|
|
- [ ] AC6: View All Link: Given the posts section; When posts are displayed; Then show a "View All Articles" / "عرض جميع المقالات" link:
|
|
- [ ] AC7: Grid Layout: Given different screen sizes; When viewing the posts section:
|
|
- [ ] AC8: RTL Support: Given Arabic language is selected; When viewing the posts section; Then cards and text align right-to-left correctly
|
|
- [ ] AC9: Dynamic Data: Given the posts section; When rendered; Then query posts from database:
|