source: frontend/src/pages/LandingPage/components/Features.jsx

Last change on this file was 42da64d, checked in by Andrej <asumanovski@โ€ฆ>, 8 weeks ago

Fixed auth issue

  • Property mode set to 100644
File size: 2.5 KB
Lineย 
1import React from "react";
2
3export const Features = () => {
4 const features = [
5 {
6 icon: "๐Ÿ‹๏ธ",
7 title: "Fitness tracking",
8 description:
9 "Log workouts, stay consistent, and see your training trend over time.",
10 },
11 {
12 icon: "โš–๏ธ",
13 title: "Weight & nutrition",
14 description:
15 "Track daily weigh-ins and calories so you always know whatโ€™s working.",
16 },
17 {
18 icon: "๐Ÿ’ฐ",
19 title: "Budgeting",
20 description:
21 "Record income and expenses to stay on top of your money without spreadsheets.",
22 },
23 {
24 icon: "๐Ÿ“ˆ",
25 title: "Investments",
26 description:
27 "Monitor assets and returns to keep a clear view of your portfolio.",
28 },
29 {
30 icon: "โœ…",
31 title: "Daily discipline",
32 description:
33 "Turn intentions into habits with simple daily tasks and check-ins.",
34 },
35 {
36 icon: "๐Ÿ“Š",
37 title: "Insights",
38 description:
39 "See patterns across categories so you can make better decisions faster.",
40 },
41 ];
42
43 return (
44 <section
45 id="features"
46 className="px-[5%] py-16 md:py-24 lg:py-28 bg-base-200"
47 >
48 <div className="mx-auto w-full max-w-6xl">
49 <div className="text-center mb-16 md:mb-20">
50 <p className="font-semibold text-sm md:text-base mb-3 md:mb-4">
51 What you can track
52 </p>
53 <h2 className="font-bold mb-6 text-3xl sm:text-4xl md:text-5xl lg:text-6xl leading-tight">
54 Everything in one dashboard
55 </h2>
56 <p className="max-w-2xl mx-auto text-base md:text-lg opacity-80">
57 Trekr brings your health, habits, and money together, so you donโ€™t
58 lose momentum switching tools.
59 </p>
60 </div>
61
62 <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 md:gap-8">
63 {features.map((feature, index) => (
64 <div
65 key={index}
66 className="card bg-base-100 border border-base-300 hover:shadow-md transition-shadow"
67 >
68 <div className="card-body p-6 md:p-8">
69 <div className="text-4xl md:text-5xl mb-4">{feature.icon}</div>
70 <h3 className="text-xl md:text-2xl font-bold mb-3">
71 {feature.title}
72 </h3>
73 <p className="opacity-80">{feature.description}</p>
74 </div>
75 </div>
76 ))}
77 </div>
78 </div>
79 </section>
80 );
81};
82
83export default Features;
Note: See TracBrowser for help on using the repository browser.