summaryrefslogtreecommitdiff
path: root/examples/portfolio/src/components
diff options
context:
space:
mode:
authorGravatar Erika <3019731+Princesseuh@users.noreply.github.com> 2022-10-12 09:48:29 -0300
committerGravatar GitHub <noreply@github.com> 2022-10-12 09:48:29 -0300
commitf604ef6c694e88bcf2f22ce97a33bf131074326f (patch)
treec5579e65fb4c6c0ba854933998e5993137a9c0ce /examples/portfolio/src/components
parent640ce72d336101ff3bc02a596373ddbf1713e5db (diff)
downloadastro-f604ef6c694e88bcf2f22ce97a33bf131074326f.tar.gz
astro-f604ef6c694e88bcf2f22ce97a33bf131074326f.tar.zst
astro-f604ef6c694e88bcf2f22ce97a33bf131074326f.zip
Run astro check on all examples in CI (#5022)
* Run astro check on all examples in CI * Output stderr * Build Astro before running checks * Making things faster + colors * Fix errors inside examples * Add congrats message * Revert unentional change to tsconfigs * Remove more unneeded changes
Diffstat (limited to 'examples/portfolio/src/components')
-rw-r--r--examples/portfolio/src/components/PortfolioPreview.astro7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/portfolio/src/components/PortfolioPreview.astro b/examples/portfolio/src/components/PortfolioPreview.astro
index 3d0a91522..bf59f100f 100644
--- a/examples/portfolio/src/components/PortfolioPreview.astro
+++ b/examples/portfolio/src/components/PortfolioPreview.astro
@@ -1,4 +1,11 @@
---
+import type { MarkdownInstance } from 'astro';
+import type { Project } from '../types';
+
+interface Props {
+ project: MarkdownInstance<Project>
+}
+
const { frontmatter, url } = Astro.props.project;
---