You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
660 B
22 lines
660 B
import ButtonLink from "@/components/elements/button-link" |
|
import { getButtonAppearance } from "utils/button" |
|
|
|
const BottomActions = ({ data }) => { |
|
return ( |
|
<section className="bg-primary-800 py-20 text-center"> |
|
<h2 className="title text-white mb-10">{data.title}</h2> |
|
{/* Buttons row */} |
|
<div className="container flex flex-row justify-center flex-wrap gap-4"> |
|
{data.buttons.map((button) => ( |
|
<ButtonLink |
|
button={button} |
|
appearance={getButtonAppearance(button.type, "dark")} |
|
key={button.id} |
|
/> |
|
))} |
|
</div> |
|
</section> |
|
) |
|
} |
|
|
|
export default BottomActions
|
|
|