Changeset 42da64d for frontend/src/pages/LandingPage/components/Who.jsx
- Timestamp:
- 05/13/26 00:35:13 (8 weeks ago)
- Branches:
- master
- Children:
- 447c39f
- Parents:
- a8381b1
- File:
-
- 1 edited
-
frontend/src/pages/LandingPage/components/Who.jsx (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
frontend/src/pages/LandingPage/components/Who.jsx
ra8381b1 r42da64d 1 1 import { Button } from "@relume_io/relume-ui"; 2 import { RxChevronRight } from "react-icons/rx";2 import { WhoDefaults } from "./Who.defaults.jsx"; 3 3 4 4 export const Who = (props) => { … … 9 9 return ( 10 10 <section id="relume" className="px-[5%] py-16 md:py-24 lg:py-28"> 11 <div className=" container">11 <div className="mx-auto w-full max-w-6xl"> 12 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 13 <div className="order-2 md:order-1"> 14 14 <img 15 15 src={image.src} 16 className="w-full object-cover"16 className="w-full rounded-2xl object-cover" 17 17 alt={image.alt} 18 18 /> 19 19 </div> 20 <div className="order-1 lg:order-2 ">20 <div className="order-1 lg:order-2 text-center md:text-left"> 21 21 <p className="mb-3 font-semibold md:mb-4">{tagline}</p> 22 <h2 className="rb-5 mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl">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"> 23 23 {heading} 24 24 </h2> 25 <p className="md:text-md">{description}</p> 25 <p className="text-sm sm:text-base md:text-lg opacity-80"> 26 {description} 27 </p> 26 28 <div className="mt-6 flex flex-wrap gap-4 md:mt-8"> 27 29 {buttons.map((button, index) => ( … … 38 40 }; 39 41 40 export const WhoDefaults = {41 tagline: "Who it's for",42 heading: "Anyone working on themselves",43 description:44 "Whether you're training regularly, trying to manage weight and nutrition, organizing your budget, tracking investments, or building discipline — Trekr brings your key habits and metrics together in one place.",45 buttons: [46 { title: "Create an account", variant: "secondary" },47 {48 title: "Learn more",49 variant: "link",50 size: "link",51 iconRight: <RxChevronRight />,52 },53 ],54 image: {55 src: "https://images.unsplash.com/photo-1554284126-aa88f22d8b74?auto=format&fit=crop&w=1600&q=80",56 alt: "Planning habits and routine",57 },58 };
Note:
See TracChangeset
for help on using the changeset viewer.
