Skip to content
Snippets Groups Projects
Commit a6fb863c authored by Moritz Stückler's avatar Moritz Stückler :cowboy:
Browse files

fix: carousel disappearing

parent 4c44f148
No related branches found
No related tags found
1 merge request!38fix: carousel disappearing
Pipeline #7709 passed
......@@ -48,7 +48,7 @@ const data = trimmedArticlesAndEvents.map((data) => {
return {
title: data.frontmatter.title,
description: data.frontmatter.teaser,
type: data.frontmatter.type,
type: data.frontmatter.type.toLowerCase() === "article" ? "light" : "dark",
image: {
src: data.frontmatter.headerImage,
alt: data.frontmatter.headerImageAlt,
......@@ -76,7 +76,6 @@ export interface Props {
fullBleed?: boolean;
}
console.log("Items", data);
---
<Carousel
......
......@@ -113,7 +113,5 @@ export const mapCaptions = (
};
});
console.log("imageUrlsResult", imageUrlsResult);
return imageUrlsResult;
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment