File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ export const Footer = () => {
9090
9191 < section className = "container pb-14 text-center" >
9292 < h3 >
93- © 2025 { ' ' }
93+ © 2026 { ' ' }
9494 < a
9595 rel = "noreferrer noopener"
9696 target = "_blank"
Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ exports[`Footer component using Snapshot renders correctly 1`] = `
149149 class = " container pb-14 text-center"
150150 >
151151 <h3 >
152- © 2025
152+ © 2026
153153 <a
154154 class = " text-red transition-all border-secondary hover:border-b-2"
155155 rel = " noreferrer noopener"
Original file line number Diff line number Diff line change @@ -23,6 +23,12 @@ export const ReportChart: React.FC<ReportChartProps> = ({
2323} ) => {
2424 const [ isExporting , setIsExporting ] = useState ( false ) ;
2525
26+ const isDark =
27+ typeof document !== 'undefined' &&
28+ document . documentElement . classList . contains ( 'dark' ) ;
29+
30+ const labelColor = isDark ? '#ffffff' : '#111111' ;
31+
2632 const handleCSVExport = ( ) => {
2733 exportReportToCSV ( data , title ) ;
2834 } ;
@@ -90,19 +96,19 @@ export const ReportChart: React.FC<ReportChartProps> = ({
9096 dataKey = "completed"
9197 fill = "#E776CB"
9298 name = "Completed"
93- label = { { position : 'top' , fill : 'white' , fontSize : 12 } }
99+ label = { { position : 'top' , fill : labelColor , fontSize : 12 } }
94100 />
95101 < Bar
96102 dataKey = "ongoing"
97103 fill = "#5FD9FA"
98104 name = "Ongoing"
99- label = { { position : 'top' , fill : 'white' , fontSize : 12 } }
105+ label = { { position : 'top' , fill : labelColor , fontSize : 12 } }
100106 />
101107 < Bar
102108 dataKey = "overdue"
103109 fill = "#F33434"
104110 name = "Overdue"
105- label = { { position : 'top' , fill : 'white' , fontSize : 12 } }
111+ label = { { position : 'top' , fill : labelColor , fontSize : 12 } }
106112 />
107113 </ BarChart >
108114 </ ResponsiveContainer >
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ export const Footer = () => {
8888
8989 < section className = "container pb-14 text-center" >
9090 < h3 >
91- © 2025 { ' ' }
91+ © 2026 { ' ' }
9292 < a
9393 rel = "noreferrer noopener"
9494 target = "_blank"
Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ exports[`Footer component using Snapshot renders correctly 1`] = `
149149 class = " container pb-14 text-center"
150150 >
151151 <h3 >
152- © 2025
152+ © 2026
153153 <a
154154 class = " text-red transition-all border-secondary hover:border-b-2"
155155 rel = " noreferrer noopener"
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import '../App.css';
1010
1111export const LandingPage = ( ) => {
1212 return (
13- < >
13+ < div className = "overflow-x-hidden" >
1414 < Navbar />
1515 < Hero />
1616 < About />
@@ -19,6 +19,6 @@ export const LandingPage = () => {
1919 < FAQ />
2020 < Footer />
2121 < ScrollToTop />
22- </ >
22+ </ div >
2323 ) ;
2424} ;
Original file line number Diff line number Diff line change 22
33exports [` LandingPage Component using Snapshot renders landing page correctly: landing-page 1` ] = `
44<DocumentFragment >
5- <div >
6- Mocked Navbar
7- </div >
8- <div >
9- Mocked Hero
10- </div >
11- <div >
12- Mocked About
13- </div >
14- <div >
15- Mocked HowItWorks
16- </div >
17- <div >
18- Mocked Contact
19- </div >
20- <div >
21- Mocked FAQ
22- </div >
23- <div >
24- Mocked Footer
25- </div >
26- <div >
27- Mocked ScrollToTop
5+ <div
6+ class = " overflow-x-hidden"
7+ >
8+ <div >
9+ Mocked Navbar
10+ </div >
11+ <div >
12+ Mocked Hero
13+ </div >
14+ <div >
15+ Mocked About
16+ </div >
17+ <div >
18+ Mocked HowItWorks
19+ </div >
20+ <div >
21+ Mocked Contact
22+ </div >
23+ <div >
24+ Mocked FAQ
25+ </div >
26+ <div >
27+ Mocked Footer
28+ </div >
29+ <div >
30+ Mocked ScrollToTop
31+ </div >
2832 </div >
2933</DocumentFragment >
3034` ;
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ const TableRow = React.forwardRef<
5858 < tr
5959 ref = { ref }
6060 className = { cn (
61- 'border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted' ,
61+ 'border-b transition-colors hover:dark: bg-muted/50 hover:bg-black/15 data-[state=selected]:bg-muted' ,
6262 className
6363 ) }
6464 { ...props }
You can’t perform that action at this time.
0 commit comments