- Timestamp:
- 05/13/26 00:35:13 (8 weeks ago)
- Branches:
- master
- Children:
- 447c39f
- Parents:
- a8381b1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
frontend/src/pages/LandingPage/components/HowItWorks.jsx
ra8381b1 r42da64d 1 1 import { Button } from "@relume_io/relume-ui"; 2 import { RxChevronRight } from "react-icons/rx";2 import { HowItWorksDefaults } from "./HowItWorks.defaults.jsx"; 3 3 4 4 export const HowItWorks = (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 <div >13 <div className="text-center md:text-left"> 14 14 <p className="mb-3 font-semibold md:mb-4">{tagline}</p> 15 <h1 className="rb-5 mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl">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 16 {heading} 17 17 </h1> 18 <p className="md:text-md">{description}</p> 18 <p className="text-sm sm:text-base md:text-lg opacity-80"> 19 {description} 20 </p> 19 21 <div className="mt-6 flex flex-wrap items-center gap-4 md:mt-8"> 20 22 {buttons.map((button, index) => ( … … 28 30 <img 29 31 src={image.src} 30 className="w-full object-cover"32 className="w-full rounded-2xl object-cover" 31 33 alt={image.alt} 32 34 /> … … 38 40 }; 39 41 40 export const HowItWorksDefaults = { 41 tagline: "How it works", 42 heading: "Log it. Track it. Improve it.", 43 description: 44 "Log what matters to your goals — workouts, weight/calories, budgets, investments, and daily tasks. Trekr gives you a clear view of trends over time so you can stay consistent and keep moving forward.", 45 buttons: [ 46 { title: "Start free", variant: "secondary" }, 47 { 48 title: "See a quick overview", 49 variant: "link", 50 size: "link", 51 iconRight: <RxChevronRight />, 52 }, 53 ], 54 image: { 55 src: "https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1600&q=80", 56 alt: "Progress and goals overview on a laptop", 57 }, 58 }; 42
Note:
See TracChangeset
for help on using the changeset viewer.
