--- 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: