--- import { Image } from "astro:assets"; import "swiper/css"; import "swiper/css/navigation"; import "swiper/css/pagination"; import { Icon } from "astro-icon/components"; const isHebrew = Astro.currentLocale === "he"; const { images, class: className } = Astro.props; ---
{ images.map((image) => (
{image.text && (
{image.text}
)} {image.text} {image.text_alt && (
{image.text_alt}
)}
)) }
{isHebrew && } {!isHebrew && }
{isHebrew && } {!isHebrew && }