|
Last change
on this file since 42da64d was 42da64d, checked in by Andrej <asumanovski@…>, 8 weeks ago |
|
Fixed auth issue
|
-
Property mode
set to
100644
|
|
File size:
1.4 KB
|
| Line | |
|---|
| 1 | import { Button } from "@relume_io/relume-ui";
|
|---|
| 2 | import { HowItWorksDefaults } from "./HowItWorks.defaults.jsx";
|
|---|
| 3 |
|
|---|
| 4 | export const HowItWorks = (props) => {
|
|---|
| 5 | const { tagline, heading, description, buttons, image } = {
|
|---|
| 6 | ...HowItWorksDefaults,
|
|---|
| 7 | ...props,
|
|---|
| 8 | };
|
|---|
| 9 | return (
|
|---|
| 10 | <section id="relume" className="px-[5%] py-16 md:py-24 lg:py-28">
|
|---|
| 11 | <div className="mx-auto w-full max-w-6xl">
|
|---|
| 12 | <div className="grid grid-cols-1 gap-y-12 md:grid-cols-2 md:items-center md:gap-x-12 lg:gap-x-20">
|
|---|
| 13 | <div className="text-center md:text-left">
|
|---|
| 14 | <p className="mb-3 font-semibold md:mb-4">{tagline}</p>
|
|---|
| 15 | <h1 className="rb-5 mb-5 font-bold text-4xl sm:text-5xl md:mb-6 md:text-6xl lg:text-7xl leading-tight">
|
|---|
| 16 | {heading}
|
|---|
| 17 | </h1>
|
|---|
| 18 | <p className="text-sm sm:text-base md:text-lg opacity-80">
|
|---|
| 19 | {description}
|
|---|
| 20 | </p>
|
|---|
| 21 | <div className="mt-6 flex flex-wrap items-center gap-4 md:mt-8">
|
|---|
| 22 | {buttons.map((button, index) => (
|
|---|
| 23 | <Button key={index} {...button}>
|
|---|
| 24 | {button.title}
|
|---|
| 25 | </Button>
|
|---|
| 26 | ))}
|
|---|
| 27 | </div>
|
|---|
| 28 | </div>
|
|---|
| 29 | <div>
|
|---|
| 30 | <img
|
|---|
| 31 | src={image.src}
|
|---|
| 32 | className="w-full rounded-2xl object-cover"
|
|---|
| 33 | alt={image.alt}
|
|---|
| 34 | />
|
|---|
| 35 | </div>
|
|---|
| 36 | </div>
|
|---|
| 37 | </div>
|
|---|
| 38 | </section>
|
|---|
| 39 | );
|
|---|
| 40 | };
|
|---|
| 41 |
|
|---|
| 42 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.