Skip to content

Commit

Permalink
mv
Browse files Browse the repository at this point in the history
  • Loading branch information
nlkluth committed Dec 4, 2024
1 parent 2cbbfe6 commit 77fb4bb
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 25 deletions.
27 changes: 27 additions & 0 deletions website/src/components/CalloutBanner.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import React from "react";
import { FaArrowRight } from "react-icons/fa";

const CalloutBanner = () => {
return (
<div className="rounded-xl bg-[#202020] mb-24 w-[65%] m-auto py-6 px-8 border-solid border-[6px] border-[#8F4438] outline outline-[6px] outline-[#FF684F]">
<p className="m-0 text-[var(--ifm-color-primary)] text-xl font-bold">
Like this project? You&apos;ll love working with us.
</p>
<div className="flex flex-col sm:flex-row mt-2.5 items-end justify-between">
<p className="m-0 text-white text-sm mb-6 sm:mb-0">
Contact us to learn more about our full range of services and
offerings.
</p>
<a
className="text-white text-sm font-bold flex items-center justify-between min-w-[100px] gap-1.5 underline underline-offset-4 decoration-2 text-[var(--ifm-color-primary)] hover:text-white"
href="/"
>
Learn More
<FaArrowRight height={40} width={40} scale={5} />
</a>
</div>
</div>
);
};

export default CalloutBanner;
27 changes: 2 additions & 25 deletions website/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<div className="rounded-xl bg-[#202020] mb-24 w-[65%] m-auto py-6 px-8 border-solid border-[6px] border-[#8F4438] outline outline-[6px] outline-[#FF684F]">
<p className="m-0 text-[var(--ifm-color-primary)] text-xl font-bold">
Like this project? You&apos;ll love working with us.
</p>
<div className="flex flex-col sm:flex-row mt-2.5 items-end justify-between">
<p className="m-0 text-white text-sm mb-6 sm:mb-0">
Contact us to learn more about our full range of services and
offerings.
</p>
<a
className="text-white text-sm font-bold flex items-center justify-between min-w-[100px] gap-1.5 underline underline-offset-4 decoration-2 text-[var(--ifm-color-primary)] hover:text-white"
href="/"
>
Learn More
<FaArrowRight height={40} width={40} scale={5} />
</a>
</div>
</div>
);
};
import CalloutBanner from "../components/CalloutBanner";

// eslint-disable-next-line no-undef
export default function Home(): JSX.Element {
Expand All @@ -42,7 +19,7 @@ export default function Home(): JSX.Element {
<LandingFeatures />
<LandingShowcase />
<LandingFeaturedProjects />
<OtherBanner />
<CalloutBanner />
</Layout>
);
}

0 comments on commit 77fb4bb

Please sign in to comment.