import { Image } from '@components/common/Image.js'; import React from 'react'; interface BannerProps { bannerWidget: { src: string; alignment: string; width: string; height: string; alt: string; }; } export default function Banner({ bannerWidget: { src, alignment, width, height, alt } }: BannerProps) { // Parse tailwind classes for alignment const alignmentClass = alignment === 'left' ? 'justify-start' : alignment === 'center' ? 'justify-center' : 'justify-end'; return (