11import AGChartsLogo from "../../assets/ag-charts-logo.png" ;
2+ import AGChartsLogoDark from "../../assets/ag-charts-logo-dark.png" ;
23import AGLogo from "../../assets/ag-grid-logo.png" ;
4+ import AGLogoDark from "../../assets/ag-grid-logo-dark.png" ;
35import WebpackIcon from "../../assets/icon-square-small.svg" ;
46import Link from "../Link/Link.jsx" ;
5- // Tailwind CSS is now used for styling. Custom SCSS removed.
7+
8+ // Tailwind CSS is used for styling
69
710const Sponsors = ( ) => (
811 < div className = "absolute h-full w-[250px] ml-[-250px] mr-2.5" >
9- < div className = "sticky hidden xl:flex flex-wrap justify-center items-start border-r-2 border-gray-200 my-6 py-0 px-6 pb-12 overflow-hidden bg-white dark:bg-gray-900 transition-colors duration-250 top-24" >
12+ < div className = "sticky hidden xl:flex flex-wrap justify-center items-start border-r-2 border-gray-200 my-6 px-6 pb-12 overflow-hidden bg-white dark:bg-gray-900 transition-colors duration-200 top-24" >
13+ { /* AG Grid */ }
1014 < div className = "bg-gray-900 dark:bg-gray-800 shadow-lg rounded-lg m-2 transition-transform duration-200 hover:bg-gray-700 hover:scale-105" >
1115 < Link to = "https://www.ag-grid.com/?utm_source=webpack& utm_medium = banner & utm_campaign = sponsorship " >
16+ { /* Light mode */ }
1217 < img
13- className = "dark:content-[url('../../assets/ag-grid-logo-dark.png')]"
1418 src = { AGLogo }
1519 alt = "ag grid"
1620 width = { 220 }
1721 loading = "lazy"
22+ className = "block dark:hidden"
23+ />
24+
25+ { /* Dark mode */ }
26+ < img
27+ src = { AGLogoDark }
28+ alt = "ag grid dark"
29+ width = { 220 }
30+ loading = "lazy"
31+ className = "hidden dark:block"
1832 />
1933 </ Link >
2034 </ div >
35+
36+ { /* AG Charts */ }
2137 < div className = "bg-gray-900 dark:bg-gray-800 shadow-lg rounded-lg m-2 transition-transform duration-200 hover:bg-gray-700 hover:scale-105" >
2238 < Link to = "https://charts.ag-grid.com/?utm_source=webpack& utm_medium = banner & utm_campaign = sponsorship " >
39+ { /* Light mode */ }
2340 < img
24- className = "dark:content-[url('../../assets/ag-charts-logo-dark.png')]"
2541 src = { AGChartsLogo }
2642 alt = "ag charts"
2743 width = { 220 }
2844 loading = "lazy"
45+ className = "block dark:hidden"
46+ />
47+
48+ { /* Dark mode */ }
49+ < img
50+ src = { AGChartsLogoDark }
51+ alt = "ag charts dark"
52+ width = { 220 }
53+ loading = "lazy"
54+ className = "hidden dark:block"
2955 />
3056 </ Link >
3157 </ div >
58+
59+ { /* Webpack Sponsor */ }
3260 < div className = "bg-gray-900 dark:bg-gray-800 shadow-lg rounded-lg m-2 flex flex-col items-center transition-transform duration-200 hover:bg-gray-700 hover:scale-105" >
3361 < Link to = "https://www.ag-grid.com/?utm_source=webpack& utm_medium = banner & utm_campaign = sponsorship " >
3462 < div className = "text-2xl text-gray-700 dark:text-gray-300 my-4 text-center" >
3563 Datagrid and Charting for Enterprise Applications
3664 </ div >
65+
3766 < div className = "flex justify-center w-full" >
3867 < img
3968 src = { WebpackIcon }
@@ -43,6 +72,7 @@ const Sponsors = () => (
4372 loading = "lazy"
4473 />
4574 </ div >
75+
4676 < div className = "italic text-xl text-gray-700 dark:text-gray-300 my-4 text-center" >
4777 Proud to partner with webpack
4878 </ div >
0 commit comments