--- const { data } = Astro.props; const movie = { ...data, poster_path: data.poster_path ? 'https://image.tmdb.org/t/p/w500/' + data.poster_path : 'https://via.placeholder.com/500x750', vote_average: (data.vote_average * 10).toFixed(2) + '%', release_date: new Date(data.release_date).toLocaleDateString('en-us', { year: 'numeric', month: 'long', day: 'numeric', }), genres: data.genres.map((g: any) => g.name).join(', '), crew: data.credits.crew.slice(0, 3), cast: data.credits.cast.slice(0, 5).map((c: any) => ({ ...c, profile_path: c.profile_path ? 'https://image.tmdb.org/t/p/w300/' + c.profile_path : 'https://via.placeholder.com/300x450', })), images: data.images.backdrops.slice(0, 9), }; ---
{movie.overview}