1- 'use client' ;
2-
3- import React , { useState } from 'react' ;
4- import { motion } from 'framer-motion' ;
5-
6-
1+ "use client"
72
3+ import React , { useState } from "react"
4+ import { motion } from "framer-motion"
85
6+ import CostSavingsTable from "../../components/CostSavingsTable"
97
108// First, let's define the interfaces
119interface Section {
@@ -47,11 +45,17 @@ const Header = () => (
4745 < h1 className = "mb-4 text-5xl font-black uppercase tracking-tight" >
4846 RIGHT TO TRIAL ACT 🧪💊
4947 </ h1 >
50- < p className = "text-xl font-bold" > Faster Cures, Lower Costs, Universal Access 🚀🏥</ p >
48+ < p className = "text-xl font-bold" >
49+ Faster Cures, Lower Costs, Universal Access 🚀🏥
50+ </ p >
5151 </ header >
5252)
5353
54- const Navigation = ( { sections, activeSection, setActiveSection } : NavigationProps ) => (
54+ const Navigation = ( {
55+ sections,
56+ activeSection,
57+ setActiveSection,
58+ } : NavigationProps ) => (
5559 < nav className = "mb-8 flex flex-wrap justify-center gap-4" >
5660 { sections . map ( ( section ) => (
5761 < button
@@ -70,12 +74,14 @@ const Navigation = ({ sections, activeSection, setActiveSection }: NavigationPro
7074)
7175
7276const Card = ( { title, items, bgColor } : CardProps ) => (
73- < div className = { `rounded-lg border-2 border-black ${ bgColor } p-4 shadow-[4px_4px_0px_0px_rgba(0,0,0,1)]` } >
77+ < div
78+ className = { `rounded-lg border-2 border-black ${ bgColor } p-4 shadow-[4px_4px_0px_0px_rgba(0,0,0,1)]` }
79+ >
7480 < h3 className = "mb-4 text-xl font-bold" > { title } </ h3 >
7581 < div className = "grid gap-4 sm:grid-cols-2 lg:grid-cols-4" >
7682 { items . map ( ( item , index ) => (
77- < div
78- key = { index }
83+ < div
84+ key = { index }
7985 className = "rounded-lg border-2 border-black bg-white p-4 shadow-[2px_2px_0px_0px_rgba(0,0,0,1)] transition-transform hover:translate-x-[1px] hover:translate-y-[1px] hover:shadow-none"
8086 >
8187 < div className = "text-center" >
@@ -89,7 +95,9 @@ const Card = ({ title, items, bgColor }: CardProps) => (
8995)
9096
9197const ListCard = ( { title, items, bgColor } : ListCardProps ) => (
92- < div className = { `rounded-lg border-2 border-black ${ bgColor } p-4 shadow-[4px_4px_0px_0px_rgba(0,0,0,1)]` } >
98+ < div
99+ className = { `rounded-lg border-2 border-black ${ bgColor } p-4 shadow-[4px_4px_0px_0px_rgba(0,0,0,1)]` }
100+ >
93101 < h3 className = "mb-4 text-xl font-bold" > { title } </ h3 >
94102 < div className = "grid gap-3 sm:grid-cols-2 lg:grid-cols-3" >
95103 { items . map ( ( item , index ) => (
@@ -113,8 +121,14 @@ const Overview = ({ problems, solutions }: OverviewProps) => (
113121 >
114122 < h2 className = "mb-4 text-3xl font-black" > Overview & Findings 📜 </ h2 >
115123 < h3 className = "mb-2 text-xl font-bold" > Title 🏷️</ h3 >
116- < p className = "mb-4 text-lg" > This Act may be cited as the "Right to Trial Act" 📋</ p >
117- < Card title = "Core Problems This Act Solves 🛠️" items = { problems } bgColor = "bg-red-200" />
124+ < p className = "mb-4 text-lg" >
125+ This Act may be cited as the "Right to Trial Act" 📋
126+ </ p >
127+ < Card
128+ title = "Core Problems This Act Solves 🛠️"
129+ items = { problems }
130+ bgColor = "bg-red-200"
131+ />
118132 < Card title = "The Solution 💡" items = { solutions } bgColor = "bg-green-200" />
119133 < ListCard
120134 title = "Economic Impact 📈"
@@ -137,7 +151,9 @@ const OpenTrialPlatform = () => (
137151 transition = { { duration : 0.5 } }
138152 className = "rounded-lg border-4 border-black bg-white p-6 shadow-[8px_8px_0px_0px_rgba(0,0,0,1)]"
139153 >
140- < h2 className = "mb-4 text-3xl font-black" > Open Source Global Decentralized Trial Platform 🌐💻</ h2 >
154+ < h2 className = "mb-4 text-3xl font-black" >
155+ Open Source Global Decentralized Trial Platform 🌐💻
156+ </ h2 >
141157 < div className = "space-y-4" >
142158 < ListCard
143159 title = "Revolutionary Safety & Efficacy Testing 🔬"
@@ -210,6 +226,9 @@ const OpenTrialPlatform = () => (
210226 ] }
211227 bgColor = "bg-blue-200"
212228 />
229+ < section className = "mt-12" >
230+ < CostSavingsTable />
231+ </ section >
213232 </ div >
214233 </ motion . section >
215234)
@@ -221,7 +240,9 @@ const UniversalAccess = () => (
221240 transition = { { duration : 0.5 } }
222241 className = "rounded-lg border-4 border-black bg-white p-6 shadow-[8px_8px_0px_0px_rgba(0,0,0,1)]"
223242 >
224- < h2 className = "mb-4 text-3xl font-black" > Universal Access to Treatments 🚪</ h2 >
243+ < h2 className = "mb-4 text-3xl font-black" >
244+ Universal Access to Treatments 🚪
245+ </ h2 >
225246 < div className = "space-y-4" >
226247 < ListCard
227248 title = "Breaking Down All Barriers 🧱💥"
@@ -281,11 +302,17 @@ const FinancialIncentives = () => (
281302 bgColor = "bg-green-200"
282303 />
283304 < div className = "rounded-lg border-2 border-black bg-yellow-200 p-4 shadow-[4px_4px_0px_0px_rgba(0,0,0,1)]" >
284- < h3 className = "mb-2 text-xl font-bold" > Healthcare Savings Sharing Program 💰🤝</ h3 >
285- < p className = "mb-2 font-bold text-lg" > Win-Win: Manufacturers and Society Split Healthcare Savings 50/50</ p >
286-
287- < div className = "mb-4 p-3 bg-white rounded-lg border-2 border-black" >
288- < p className = "font-bold mb-2" > Example: Age-Related Disease Prevention 🧬</ p >
305+ < h3 className = "mb-2 text-xl font-bold" >
306+ Healthcare Savings Sharing Program 💰🤝
307+ </ h3 >
308+ < p className = "mb-2 text-lg font-bold" >
309+ Win-Win: Manufacturers and Society Split Healthcare Savings 50/50
310+ </ p >
311+
312+ < div className = "mb-4 rounded-lg border-2 border-black bg-white p-3" >
313+ < p className = "mb-2 font-bold" >
314+ Example: Age-Related Disease Prevention 🧬
315+ </ p >
289316 < ul className = "list-inside list-disc space-y-1" >
290317 < li > Average lifetime healthcare costs: $1.2M per person 📊</ li >
291318 < li > ~80% of costs are from age-related diseases ($960k) 👴</ li >
@@ -294,12 +321,15 @@ const FinancialIncentives = () => (
294321 < li > Total lifetime savings: $750 billion 💰</ li >
295322 < li > Society keeps: $375 billion in savings 🏥</ li >
296323 < li > Manufacturer receives: $375 billion in rewards 🎯</ li >
297- < li > Additional savings from increased productivity and reduced care needs 📈</ li >
324+ < li >
325+ Additional savings from increased productivity and reduced care
326+ needs 📈
327+ </ li >
298328 </ ul >
299329 </ div >
300330
301- < div className = "mb-4 p-3 bg-white rounded-lg border-2 border-black" >
302- < p className = "font-bold mb-2" > Massive Economic Benefits 📊</ p >
331+ < div className = "mb-4 rounded-lg border-2 border-black bg-white p-3 " >
332+ < p className = "mb-2 font-bold " > Massive Economic Benefits 📊</ p >
303333 < ul className = "list-inside list-disc space-y-1" >
304334 < li > Government healthcare costs cut in half 📉</ li >
305335 < li > Patients save thousands on treatment costs 💰</ li >
@@ -310,7 +340,7 @@ const FinancialIncentives = () => (
310340 </ div >
311341
312342 < p className = "mb-2 font-bold" > This creates a virtuous cycle:</ p >
313- < ul className = "list-inside list-disc space-y-1 mb-4 " >
343+ < ul className = "mb-4 list-inside list-disc space-y-1" >
314344 < li > Lower prices → More patients can afford treatment 💫</ li >
315345 < li > More patients → Higher total savings generated 📈</ li >
316346 < li > Higher savings → Bigger rewards for manufacturers 🎯</ li >
@@ -319,7 +349,7 @@ const FinancialIncentives = () => (
319349 </ ul >
320350
321351 < p className = "mb-2 font-bold" > Eligible Treatments Include:</ p >
322- < ul className = "list-inside list-disc space-y-1 mb-4 " >
352+ < ul className = "mb-4 list-inside list-disc space-y-1" >
323353 < li > Age reversal therapies 🧬</ li >
324354 < li > Gene therapies 🧬</ li >
325355 < li > Disease prevention treatments 🛡️</ li >
0 commit comments