--- import { blog, utils } from "@/config"; interface Props { percent: number; } const { percent } = Astro.props; const prongs = Math.round(utils.getRandom(blog.background.sun.prongs)); --- { new Array(prongs) .fill(0) .map((_, i) => ( )) }