diff --git a/src/components/Card.astro b/src/components/Card.astro new file mode 100644 index 0000000..edf2d34 --- /dev/null +++ b/src/components/Card.astro @@ -0,0 +1,39 @@ +--- +const { id, name } = Astro.props; +--- + +
+
+ {`${name} +
+
+

{name}

+

+
+
+ + diff --git a/src/pages/index.astro b/src/pages/index.astro index 2d14107..e857959 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,5 +1,5 @@ --- - +import Card from '../components/Card.astro' --- @@ -8,9 +8,20 @@ - Astro + Ahurac -

Astro

+
+ Électrocardiogramme + :) +
+ +