From e0ac72a9b8547f5c14fc90c39311bafa721c60ee Mon Sep 17 00:00:00 2001 From: sameeranageshwar Date: Sat, 12 Apr 2025 16:57:28 -0400 Subject: [PATCH] pointsguide page --- src/app/(app)/pointsguide/page.tsx | 108 +++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 src/app/(app)/pointsguide/page.tsx diff --git a/src/app/(app)/pointsguide/page.tsx b/src/app/(app)/pointsguide/page.tsx new file mode 100644 index 0000000..62c8ec5 --- /dev/null +++ b/src/app/(app)/pointsguide/page.tsx @@ -0,0 +1,108 @@ +"use client"; + +const tableData = [ + { + drink: "Water", + volume: "8", + caffeine: "n/a", + sugar: "n/a", + points: "100", + bonus: "+15 for >=64oz in day", + }, + { + drink: "Coffee", + volume: "8", + caffeine: "95", + sugar: "?", + points: "50", + bonus: "0 pts after 400mg caffeine", + }, + { + drink: "Coca-Cola", + volume: "8", + caffeine: "34", + sugar: "39", + points: "0", + bonus: "Exceeds sugar", + }, + { + drink: "100% Fruit Juice", + volume: "8", + caffeine: "0", + sugar: "22", + points: "50", + bonus: "0 pts after 30.5g sugar", + }, + { + drink: "Dairy Milk (low-fat)", + volume: "8", + caffeine: "0", + sugar: "12", + points: "50", + bonus: "+0.5 calcium bonus", + }, +]; + +export default function PointsGuidePage() { + return ( +
+

+ Points Guide +

+

+ Learn how many points you receive for each drink! +

+ + +

+ Game Points System: +

+

+ +
+ +
+ + + + + + + + + + + + + + + {tableData.map((row, i) => ( + + + + + + + + + ))} + +
+ Beverage Scoring System +
DrinkVolume (oz)Caffeine (mg)Sugar (g)Points EarnedBonus
{row.drink}{row.volume}{row.caffeine}{row.sugar}{row.points}{row.bonus}
+
+ + + +
+ +
+
+
+ ); +}