www_veda2/web/components/carousel/model.v

25 lines
338 B
Coq
Raw Normal View History

2024-10-07 15:28:39 +00:00
module carousel
@[heap]
pub struct Carousel {
pub mut:
items []Item
}
pub struct Item {
pub mut:
title string
subtitle string
description string
background_image string
button_primary Button
button_secondary Button
}
pub struct Button {
pub mut:
text string
url string
}