Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions crowdsec-docs/src/components/ConsolePromo.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ import Link from "@docusaurus/Link";

export default function ConsolePromo({ ...props }) {
return (
<div className="tw-flex-row tw-flex tw-bg-primary-dark tw-p-4 tw-rounded-xl tw-items-center">
<div className="tw-flex-row tw-flex tw-bg-alpa-primary tw-p-4 tw-rounded-xl tw-items-center">
<div className="tw-flex-col tw-flex tw-py-1 tw-pr-4 tw-text-white tw-flex-1 tw-h-full">
{!!props.title ? (
<h3 className="tw-text-center tw-text-xl sm:tw-text-2xl lg:tw-text-left lg:tw-text-3xl">{props.title}</h3>
) : null}
{!!props.description ? <p className="md:tw-px-4">{props.description}</p> : null}
<Link
to={props.link}
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"
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"
>
{ props.text ?? "Get Started"}
</Link>
Expand Down
Loading