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