Skip to content

Commit bb01114

Browse files
committed
fix(Sponsors): improve dark mode styling, typography, and layout consistency
1 parent 38509ac commit bb01114

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/components/Sponsors/Sponsors.jsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import Link from "../Link/Link.jsx";
99

1010
const Sponsors = () => (
1111
<div className="absolute h-full w-[250px] ml-[-250px] mr-2.5">
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">
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-transparent transition-colors duration-200 top-24">
1313
{/* AG Grid */}
14-
<div className="bg-white dark:bg-gray-800 shadow-lg rounded-lg m-2 transition-transform duration-200 hover:bg-gray-100 dark:hover:bg-gray-700 hover:scale-105">
14+
<div className="bg-white dark:bg-black shadow-lg rounded-lg m-2 transition-transform duration-200 hover:bg-gray-100 dark:hover:bg-gray-700 hover:scale-105 dark:shadow-[0_0_40px_rgba(255,255,255,0.18)]">
1515
<Link to="https://www.ag-grid.com/?utm_source=webpack&utm_medium=banner&utm_campaign=sponsorship">
1616
{/* Light mode */}
1717
<img
@@ -34,7 +34,7 @@ const Sponsors = () => (
3434
</div>
3535

3636
{/* AG Charts */}
37-
<div className="bg-white dark:bg-gray-800 shadow-lg rounded-lg m-2 transition-transform duration-200 hover:bg-gray-100 dark:hover:bg-gray-700 hover:scale-105">
37+
<div className="bg-white dark:bg-black shadow-lg rounded-lg m-2 transition-transform duration-200 hover:bg-gray-100 dark:hover:bg-gray-700 hover:scale-105 dark:shadow-[0_0_40px_rgba(255,255,255,0.18)]">
3838
<Link to="https://charts.ag-grid.com/?utm_source=webpack&utm_medium=banner&utm_campaign=sponsorship">
3939
{/* Light mode */}
4040
<img
@@ -57,9 +57,9 @@ const Sponsors = () => (
5757
</div>
5858

5959
{/* Webpack Sponsor */}
60-
<div className="bg-white dark:bg-gray-800 shadow-lg rounded-lg m-2 flex flex-col items-center transition-transform duration-200">
60+
<div className="m-5 flex flex-col items-center transition-transform duration-200">
6161
<Link to="https://www.ag-grid.com/?utm_source=webpack&utm_medium=banner&utm_campaign=sponsorship">
62-
<div className="text-2xl text-gray-700 dark:text-gray-300 my-4 text-center">
62+
<div className="text-3xl font-normal text-gray-600 dark:text-gray-400 my-4 text-center leading-snug">
6363
Datagrid and Charting for Enterprise Applications
6464
</div>
6565

@@ -73,7 +73,7 @@ const Sponsors = () => (
7373
/>
7474
</div>
7575

76-
<div className="italic text-xl text-gray-700 dark:text-gray-300 my-4 text-center">
76+
<div className="italic text-2xl text-gray-600 dark:text-gray-400 my-4 text-center">
7777
Proud to partner with webpack
7878
</div>
7979
</Link>

0 commit comments

Comments
 (0)