diff --git a/index.ts b/index.ts index bc549c4..6dc73af 100644 --- a/index.ts +++ b/index.ts @@ -3,7 +3,8 @@ import CallToAction from "./src/blocks/CallToAction.astro"; import Hero from "./src/blocks/Hero.astro" // Components +import Banner from "./src/Banner.astro" import Image from "./src/Image.astro"; // Export -export {CallToAction, Image, Hero} \ No newline at end of file +export {Banner, CallToAction, Image, Hero} \ No newline at end of file diff --git a/src/Banner.astro b/src/Banner.astro new file mode 100644 index 0000000..f6a2be9 --- /dev/null +++ b/src/Banner.astro @@ -0,0 +1,48 @@ +--- +const { + Title, + Message, + Type, + Link +} = Astro.props +--- + + +

{Title}

+

{Message}

+
+ + \ No newline at end of file