Skip to content
This repository was archived by the owner on Apr 21, 2026. It is now read-only.

Commit 87a10f1

Browse files
authored
Merge pull request #81 from BuildersLeague/dev
fixed howupro works
2 parents b318ec1 + b1c0f6f commit 87a10f1

3 files changed

Lines changed: 13 additions & 5 deletions

File tree

next.config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@ import type { NextConfig } from "next";
22
const isNetlify = process.env.IS_NETLIFY === "true";
33

44
const nextConfig: NextConfig = {
5+
6+
// output: "standalone",
7+
8+
9+
510
output: isNetlify ? "export" : undefined,
11+
612
images: {
713
remotePatterns: [
814
{

src/app/page.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import TrustedByExpertsSection from "@/components/TrustedByExpertsSection";
55
import CallToActionPage from "@/components/CallToActionPage";
66
import { TrainingPartner } from "@/components/TrainingPartner";
77
import { Sponsors } from "@/components/Sponsors";
8+
import HowUProWorks from "@/components/HowUProWorks";
89

910
// Server Component - rendered on the server
1011
export default function Home() {
@@ -16,7 +17,8 @@ export default function Home() {
1617
aria-label="U-Pro Soccer homepage"
1718
>
1819
<AnimatedHero />
19-
<AnimatedHowUProWorks />
20+
{/* <AnimatedHowUProWorks /> */}
21+
<HowUProWorks />
2022
<TrustedByExpertsSection />
2123
<TrainingPartner />
2224
<CallToActionPage />

src/components/HowUProWorks.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export default function HowUProWorks(): ReactElement {
4545
description="U-Pro uses your phone's camera and our patent-pending AI
4646
to track real-time biomechanics. No wearables. No setup. Just
4747
hit record."
48-
imgSrc="tracking.png"
48+
imgSrc="/tracking.png"
4949
imgClassName=" lg:block rounded-lg w-full lg:w-[70%] mx-auto "
5050
contentClassName=" flex flex-col h-full gap-2"
5151
/>
@@ -56,7 +56,7 @@ export default function HowUProWorks(): ReactElement {
5656
title="Level Up Skills"
5757
description="Each session adapts to your player's age and level. Earn XP by
5858
completing challenges, improving form, and unlocking new drills."
59-
imgSrc="level_up_skills.svg"
59+
imgSrc="/level_up_skills.svg"
6060
imgClassName=" lg:block mx-auto w-60 lg:w-1/2 "
6161
headerClassName="flex flex-col gap-2 px-6 py-4 text-white w-full lg:w-1/2 justify-start items-center lg:items-start"
6262
contentClassName=" flex flex-col lg:flex-row h-full"
@@ -67,7 +67,7 @@ export default function HowUProWorks(): ReactElement {
6767
<CardDetails
6868
title="Get Rewarded"
6969
description="Badges, cosmetics, leaderboards, and certificates turn training into a game. Kids stay motivated — and proud of their progress."
70-
imgSrc="badges.svg"
70+
imgSrc="/badges.svg"
7171
imgClassName=" lg:block w-[45%]"
7272
imgStyle={{
7373
WebkitMaskImage: `
@@ -92,7 +92,7 @@ export default function HowUProWorks(): ReactElement {
9292
<CardDetails
9393
title="Train Together"
9494
description="Designed for siblings, parents, and teammates to join in. Build healthy habits and memories that last beyond the game."
95-
imgSrc="train_together.jpg"
95+
imgSrc="/train_together.jpg"
9696
imgClassName="rounded-lg block lg:block w-full"
9797
headerClassName="flex flex-col gap-2 px-6 py-4 text-white w-full items-center lg:items-start"
9898
contentClassName="flex flex-col h-full gap-2"

0 commit comments

Comments
 (0)