1+ import AGChartsLogoDark from "../../assets/ag-charts-logo-dark.png" ;
12import AGChartsLogo from "../../assets/ag-charts-logo.png" ;
3+ import AGLogoDark from "../../assets/ag-grid-logo-dark.png" ;
24import AGLogo from "../../assets/ag-grid-logo.png" ;
35import WebpackIcon from "../../assets/icon-square-small.svg" ;
46import Link from "../Link/Link.jsx" ;
5- import "../Sponsors/Sponsors.scss" ;
67
78const Sponsors = ( ) => (
8- < div className = "sponsors " >
9- < div className = "sponsors__content " >
10- < div className = "sponsors__link-wrapper " >
9+ < div className = "absolute h-full w-[250px] -ml-[250px] mr-2 " >
10+ < div className = "sticky hidden my-[1.5em] top-[6em] px-[1.5em] pb-[3em] flex-wrap justify-center items-start border-r-2 border-r-[#f2f2f2] overflow-hidden transition-colors duration-[250ms] min-[1525px]:flex " >
11+ < div className = "m-2 rounded-[8px] shadow-[0_3px_10px_0px_rgba(0,0,0,0.2)] transition-transform duration-200 hover:bg-[#f2f2f2] hover:scale-105 dark:bg-[rgb(12,12,12)] dark:shadow-[0_3px_10px_0px_rgba(255,255,255,0.2)] dark:hover:bg-[rgb(50,50,50)] " >
1112 < Link to = "https://www.ag-grid.com/?utm_source=webpack& utm_medium = banner & utm_campaign = sponsorship " >
1213 < img
13- className = "agGridLogo "
14+ className = "block dark:hidden "
1415 src = { AGLogo }
1516 alt = "ag grid"
1617 width = { 220 }
1718 loading = "lazy"
1819 />
20+ < img
21+ className = "hidden dark:block"
22+ src = { AGLogoDark }
23+ alt = "ag grid"
24+ width = { 220 }
25+ loading = "lazy"
26+ />
1927 </ Link >
2028 </ div >
21- < div className = "sponsors__link-wrapper " >
29+ < div className = "m-2 rounded-[8px] shadow-[0_3px_10px_0px_rgba(0,0,0,0.2)] transition-transform duration-200 hover:bg-[#f2f2f2] hover:scale-105 dark:bg-[rgb(12,12,12)] dark:shadow-[0_3px_10px_0px_rgba(255,255,255,0.2)] dark:hover:bg-[rgb(50,50,50)] " >
2230 < Link to = "https://charts.ag-grid.com/?utm_source=webpack& utm_medium = banner & utm_campaign = sponsorship " >
2331 < img
24- className = "agChartsLogo "
32+ className = "block dark:hidden "
2533 src = { AGChartsLogo }
2634 alt = "ag charts"
2735 width = { 220 }
2836 loading = "lazy"
2937 />
38+ < img
39+ className = "hidden dark:block"
40+ src = { AGChartsLogoDark }
41+ alt = "ag charts"
42+ width = { 220 }
43+ loading = "lazy"
44+ />
3045 </ Link >
3146 </ div >
32- < div className = "sponsors__link-wrapper-2" >
47+ < div >
3348 < Link to = "https://www.ag-grid.com/?utm_source=webpack& utm_medium = banner & utm_campaign = sponsorship " >
34- < div className = "sponsors__tagline " >
49+ < div className = "my-4 text-center text-[2em] text-[#535353] dark:text-[#cecece] " >
3550 Datagrid and Charting for Enterprise Applications
3651 </ div >
37- < div className = "sponsors__img__wrapper " >
52+ < div className = "flex justify-center w-full " >
3853 < img
3954 src = { WebpackIcon }
4055 alt = "webpack"
@@ -43,7 +58,9 @@ const Sponsors = () => (
4358 loading = "lazy"
4459 />
4560 </ div >
46- < div className = "sponsors__footer" > Proud to partner with webpack</ div >
61+ < div className = "my-4 text-center text-[1.7em] italic text-[#535353] dark:text-[#cecece]" >
62+ Proud to partner with webpack
63+ </ div >
4764 </ Link >
4865 </ div >
4966 </ div >
0 commit comments