--- import VideoButton from './VideoButton.astro'; import ClipboardCopy from './ClipboardCopy.astro'; import { getEntry } from 'astro:content'; const { lang } = Astro.props; const { author, challengeNumber, title, blogLink, videoLink, command } = Astro.props.entry.data; const { data } = await getEntry('i18n', lang); const authorLink = `https://github.com/tomalaforge/angular-challenges/pulls?q=label%3A${challengeNumber}+label%3A"answer+author"`; const communityLink = `https://github.com/tomalaforge/angular-challenges/pulls?q=label%3A${challengeNumber}+label%3Aanswer+sort%3Areactions-%2B1-desc`; const npxCommand = `npx nx serve ${command}`; ---
{command && }
❖ {data['challenge.footer.communityAnswers']}* ▶︎ {data['challenge.footer.authorAnswer']} {blogLink && {data['challenge.footer.blogPost']} } {videoLink && }