import { useState } from 'react';
import styles from './board-banner.module.css';
const totalBanners = 38;
const ImageBanner = () => {
const [imagePath] = useState(() => {
const randomBannerIndex = Math.floor(Math.random() * totalBanners) + 1;
return `assets/banners/banner-${randomBannerIndex}.jpg`;
});
return ;
};
interface BoardBannerProps {
title: string | undefined;
address: string | undefined;
}
const BoardBanner = ({ title, address }: BoardBannerProps) => {
return (