diff --git a/src/components/Banner.astro b/src/components/Banner.astro new file mode 100644 index 000000000..da5822489 --- /dev/null +++ b/src/components/Banner.astro @@ -0,0 +1,11 @@ +--- +interface Props { + text: string; +} + +const { text } = Astro.props as Props; +--- + +
+

+

diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index ed0dcfc87..1a12bd4fe 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -1,6 +1,7 @@ --- import "../../assets/css/tailwind.pcss"; +import Banner from "../components/Banner.astro"; import Navbar from "../components/Navbar.astro"; export interface Props { @@ -60,6 +61,10 @@ const canonicalURL = new URL(Astro.url.pathname, Astro.site).toString().replace(
+ {false && ( + Register now for my Drupal automated testing workshop →"} /> + )} +