diff --git a/assets/components/content-types/news/news-horizontal-listing-gray.twig b/assets/components/content-types/news/news-horizontal-listing-gray.twig new file mode 100644 index 00000000..0867a901 --- /dev/null +++ b/assets/components/content-types/news/news-horizontal-listing-gray.twig @@ -0,0 +1,36 @@ +
diff --git a/assets/components/content-types/news/news-horizontal-listing.twig b/assets/components/content-types/news/news-horizontal-listing.twig new file mode 100644 index 00000000..c02d265d --- /dev/null +++ b/assets/components/content-types/news/news-horizontal-listing.twig @@ -0,0 +1,36 @@ + diff --git a/assets/components/content-types/news/news.yml b/assets/components/content-types/news/news.yml index 90eba901..a7a60881 100644 --- a/assets/components/content-types/news/news.yml +++ b/assets/components/content-types/news/news.yml @@ -1,6 +1,13 @@ title: News name: news variants: + - name: horizontal-listing + title: Horizontal Listing + notes: Don't forget to wrap your card slider with a wrapper that will hide the overflow (`.overflow-hidden` helper class will achieve just that). + - name: horizontal-listing-gray + title: Horizontal Listing with gray background + notes: Don't forget to wrap your card slider with a wrapper that will hide the overflow (`.overflow-hidden` helper class will achieve just that). + wrapper: bg-gray-100 py-4 my-4 - name: highlighted title: Highlighted - name: highlighted-carousel