diff --git a/website/src/components/CalloutBanner.tsx b/website/src/components/CalloutBanner.tsx new file mode 100644 index 000000000..3cfbf313a --- /dev/null +++ b/website/src/components/CalloutBanner.tsx @@ -0,0 +1,27 @@ +import React from "react"; +import { FaArrowRight } from "react-icons/fa"; + +const CalloutBanner = () => { + return ( +
+

+ Like this project? You'll love working with us. +

+
+

+ Contact us to learn more about our full range of services and + offerings. +

+ + Learn More + + +
+
+ ); +}; + +export default CalloutBanner; diff --git a/website/src/pages/index.tsx b/website/src/pages/index.tsx index e5b360d91..308f371c1 100644 --- a/website/src/pages/index.tsx +++ b/website/src/pages/index.tsx @@ -7,30 +7,7 @@ import { LandingFeatures } from "./_components/landing-features"; import { LandingDemo } from "./_components/landing-demo"; import { LandingShowcase } from "./_components/landing-showcase"; import { LandingBanner } from "./_components/landing-banner"; -import { FaArrowRight } from "react-icons/fa"; - -const OtherBanner = () => { - return ( -
-

- Like this project? You'll love working with us. -

-
-

- Contact us to learn more about our full range of services and - offerings. -

- - Learn More - - -
-
- ); -}; +import CalloutBanner from "../components/CalloutBanner"; // eslint-disable-next-line no-undef export default function Home(): JSX.Element { @@ -42,7 +19,7 @@ export default function Home(): JSX.Element { - + ); }