diff --git a/src/components/talk-card.astro b/src/components/talk-card.astro new file mode 100644 index 0000000..75b15a3 --- /dev/null +++ b/src/components/talk-card.astro @@ -0,0 +1,77 @@ +--- +interface Props { + title: string; + date: string; + location: string; + linkUri: string; + linkLabel: string; +} + +const { title, date, location, linkUri, linkLabel } = Astro.props; +--- + +
+ + +

{title}

+ + +
+
+ + + + {date} +
+
+ + +
+
+ + + + {location} +
+
+ + + +
+ + + + + {linkLabel} +
+
+
diff --git a/src/components/talks.astro b/src/components/talks.astro new file mode 100644 index 0000000..1f25b76 --- /dev/null +++ b/src/components/talks.astro @@ -0,0 +1,58 @@ +--- +import TalkCard from "./talk-card.astro"; +--- + +
+

Talks

+

+ Giving a talk is the opportunity to share what I know, and helps me + reduce my fear of public speaking. +

+ +
+ + + + + + +
+
diff --git a/src/pages/index.astro b/src/pages/index.astro index 5d600ed..791f2ee 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -3,14 +3,16 @@ import Page from "../layouts/page.astro"; import Hero from "../components/hero.astro"; import Whoami from "../components/whoami.astro"; import Www from "../components/www.astro"; +import Talks from "../components/talks.astro"; ---
-
+
+