defmodule MoonWeb.Pages.Design.CarouselPage do
@moduledoc false
use MoonWeb, :live_view
alias MoonWeb.Components.Anatomy
alias MoonWeb.Components.ComponentPageDescription
alias MoonWeb.Components.ExamplesList
alias MoonWeb.Components.Page
alias MoonWeb.Components.PropsTable
alias MoonWeb.Examples.Design.CarouselExample
data(breadcrumbs, :any,
default: [
%{
to: "/components",
name: "Components"
},
%{
to: "/components/v2/carousel",
name: "Carousel"
}
]
)
def render(assigns) do
~F"""
Carousel is an effective way of displaying multiple images or content in a single space.
It not only helps in saving screen space, but also encourages visitors to focus on important website content and improves the overall visual appeal effectively.
{component_anatomy()}
"""
end
defp component_anatomy do
"""
.........
"""
end
end