Changeset ff01f66
- Timestamp:
- 02/10/26 14:14:56 (5 months ago)
- Branches:
- master
- Children:
- 8c01a1f
- Parents:
- 5c20c64
- Location:
- frontend/src/pages/LandingPage
- Files:
-
- 4 edited
-
LandingPage.jsx (modified) (2 diffs)
-
components/Benefits.jsx (modified) (1 diff)
-
components/Hero.jsx (modified) (1 diff)
-
components/NavbarLanding.jsx (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
frontend/src/pages/LandingPage/LandingPage.jsx
r5c20c64 rff01f66 3 3 import Hero from "./components/Hero"; 4 4 import Footer from "./components/Footer"; 5 import { Faq } from "./components/Faq";6 5 import { HowItWorks } from "./components/HowItWorks"; 7 6 import { Who } from "./components/Who"; 8 7 import { Faq } from "./components/Faq"; 8 import Features from "./components/Features"; 9 import Benefits from "./components/Benefits"; 9 10 const LandingPage = () => { 10 11 return ( … … 14 15 <HowItWorks /> 15 16 <Who /> 17 <Features /> 18 <Benefits /> 16 19 <Faq /> 17 20 <Footer /> -
frontend/src/pages/LandingPage/components/Benefits.jsx
r5c20c64 rff01f66 60 60 {benefits.map((benefit, index) => ( 61 61 <div key={index} className="flex gap-4 md:gap-6"> 62 <div className=" flex-shrink-0">62 <div className="shrink-0"> 63 63 <div className="flex items-center justify-center h-12 w-12 md:h-16 md:w-16 rounded-full bg-primary text-white font-bold text-lg md:text-xl"> 64 64 {benefit.number} -
frontend/src/pages/LandingPage/components/Hero.jsx
r5c20c64 rff01f66 37 37 </p> 38 38 <Link 39 className="btn btn-primary "39 className="btn btn-primary !text-white" 40 40 to={isAuthed ? "/dashboard" : "/register"} 41 41 > -
frontend/src/pages/LandingPage/components/NavbarLanding.jsx
r5c20c64 rff01f66 27 27 28 28 return ( 29 <div className="navbar bg- neutralshadow-sm">29 <div className="navbar bg-primary text-primary-content shadow-sm"> 30 30 <div className="navbar-start"> 31 <Link className="btn btn-ghost" aria-label="Trekr home" to="/"> 31 <Link 32 className="btn btn-ghost text-primary-content" 33 aria-label="Trekr home" 34 to="/" 35 > 32 36 <img src={logo} alt="Trekr" className="h-12 w-auto rounded-2xl" /> 33 37 </Link> … … 36 40 {isAuthed ? ( 37 41 <div className="flex items-center gap-2 mr-6"> 38 <Link className="btn btn-primary" to="/dashboard"> 42 <Link 43 className="btn btn-outline border-primary-content text-primary-content" 44 to="/dashboard" 45 > 39 46 Dashboard 40 47 </Link> 41 <button className="btn btn-outline" onClick={onLogout}> 48 <button 49 className="btn btn-outline border-primary-content text-primary-content" 50 onClick={onLogout} 51 > 42 52 Logout 43 53 </button> … … 45 55 ) : ( 46 56 <Link 47 className="btn b g-black text-green-200 border-black hover:bg-black/90 hover:border-blackpx-8 mr-6"57 className="btn btn-tertiary text-blue-200! px-8 mr-6" 48 58 to="/login" 49 59 >
Note:
See TracChangeset
for help on using the changeset viewer.
