refactor: replace inline banner with dynamic component grid and update CSS layouts

This commit is contained in:
2026-07-17 15:30:44 +07:00
parent fd4ad87a32
commit 49b8d2b2ea
9 changed files with 668 additions and 185 deletions
File diff suppressed because one or more lines are too long
@@ -0,0 +1,37 @@
<div class="cc--component-container cc--news-events">
<div class="c--component c--news-events">
<!-- Phần 2 cột: Tin mới (Trái) và Sự kiện (Phải) -->
<div class="news-events-row">
<div class="news-column">
<h3 class="section-title--news">
TIN TỨC MỚI
</h3>
<div class="news-list">
<!-- Shortcode Tin Tức hiển thị dạng list (tuỳ chỉnh lại limit cho phù hợp) -->
[component:news-grid data-source="posts:tag=news,limit=2,collection=news_posts"]
</div>
</div>
<div class="events-column">
<h3 class="events-title">
SỰ KIỆN
</h3>
<div class="events-widget">
<!-- Shortcode Sự kiện -->
[component:events-list data-source="posts:tag=event,limit=4,collection=event_posts"]
</div>
</div>
</div>
<!-- Header chung (Mobile) -->
<div class="news-events-section__footer">
<a href="/news/news-events" class="news-events-section__cta news-events-section__cta--mobile">
Xem Thêm
</a>
</div>
</div>
</div>
File diff suppressed because one or more lines are too long