feat: enhance Carousel component with dynamic data and new TNews type

This commit is contained in:
Ardeman
2025-02-04 00:51:59 +08:00
parent 7b498173fe
commit a0f37af772
8 changed files with 113 additions and 4 deletions
+10
View File
@@ -0,0 +1,10 @@
export type TNews = {
title: string
description: string
type: 'hero' | 'grid'
items: {
title: string
content: string
image: string
}[]
}