diff --git a/docs/src/components/ChallengeFooter.astro b/docs/src/components/ChallengeFooter.astro index f73bcd0..d0a71ae 100644 --- a/docs/src/components/ChallengeFooter.astro +++ b/docs/src/components/ChallengeFooter.astro @@ -1,5 +1,7 @@ --- import VideoButton from './VideoButton.astro' +import ClipboardCopy from './ClipboardCopy.astro' + const {author, challengeNumber, title, blogLink, videoLink, command} = Astro.props.entry.data; @@ -7,14 +9,16 @@ const authorLink = `https://github.com/tomalaforge/angular-challenges/pulls?q=la const authorDescription = `${title} solution author`; const communityLink = `https://github.com/tomalaforge/angular-challenges/pulls?q=label%3A${challengeNumber}+label%3Aanswer`; const communityDescription = `${title} community solutions`; - +const npxCommand = `npx nx serve ${command}`; ---
-{command && +{npxCommand && +Start the project by running: {npxCommand}
+