diff --git a/web/frontend/app/features/breweries/components/BeerListCard.tsx b/web/frontend/app/features/breweries/components/BeerListCard.tsx new file mode 100644 index 00000000..70ea4cdf --- /dev/null +++ b/web/frontend/app/features/breweries/components/BeerListCard.tsx @@ -0,0 +1,42 @@ +import { Link } from 'react-router'; +import StarRating from './StarRating'; +import type { FillerBeer } from '../utils/filler-brewery-detail'; + +interface BeerListCardProps { + beers: FillerBeer[]; +} + +const BeerListCard = ({ beers }: BeerListCardProps) => ( +
+ + {formatBreweryAddress(brewery.location)} +
+ )} ++ {brewery.description} +
+{comment.text}
+ ++ {value + ? `You rated this ${value} of 5. Tap the same star to clear.` + : 'Tap a star to rate this brewery.'} +
+