Skip to content

Commit a167f0c

Browse files
authored
Merge pull request #716 from LaurenceJJones/promo-card-bg
fix: fix console promo background since the homepage revamp changes b…
2 parents 0e76ccb + 689ebf0 commit a167f0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crowdsec-docs/src/components/ConsolePromo.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ import Link from "@docusaurus/Link";
33

44
export default function ConsolePromo({ ...props }) {
55
return (
6-
<div className="tw-flex-row tw-flex tw-bg-primary-dark tw-p-4 tw-rounded-xl tw-items-center">
6+
<div className="tw-flex-row tw-flex tw-bg-alpa-primary tw-p-4 tw-rounded-xl tw-items-center">
77
<div className="tw-flex-col tw-flex tw-py-1 tw-pr-4 tw-text-white tw-flex-1 tw-h-full">
88
{!!props.title ? (
99
<h3 className="tw-text-center tw-text-xl sm:tw-text-2xl lg:tw-text-left lg:tw-text-3xl">{props.title}</h3>
1010
) : null}
1111
{!!props.description ? <p className="md:tw-px-4">{props.description}</p> : null}
1212
<Link
1313
to={props.link}
14-
className="tw-px-4 tw-w-full lg:tw-w-1/2 tw-py-2 tw-rounded-lg hover:tw-cursor-pointer tw-bg-secondary tw-text-black hover:tw-text-black tw-text-center"
14+
className="tw-px-4 tw-w-full lg:tw-w-1/2 tw-py-2 tw-rounded-lg hover:tw-cursor-pointer tw-bg-primary tw-text-white tw-text-center"
1515
>
1616
{ props.text ?? "Get Started"}
1717
</Link>

0 commit comments

Comments
 (0)