Skip to content

Commit 292473c

Browse files
committed
style(support): redesign sponsor button
1 parent 6c8cf34 commit 292473c

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/components/Support/Support.jsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,10 +285,12 @@ export default class Support extends Component {
285285

286286
<div className="w-full mt-4">
287287
<a
288-
className="inline-block py-[0.4em] px-[1em] uppercase text-[#175d96] border border-[#175d96] rounded-4xl transition-all duration-[250ms] hover:border-[#2f78c4] hover:bg-[#2f78c4] hover:text-white hover:shadow-[0_8px_18px_rgba(47,120,196,0.28)] dark:text-[#4fa8ff] dark:border-[#4fa8ff] dark:hover:border-[#4fa8ff] dark:hover:bg-[#2f78c4] dark:hover:text-white"
288+
className="inline-flex items-center rounded-2xl bg-[#68c8fb] p-[5px] transition-all duration-200 hover:bg-[#7bd0ff]"
289289
href="https://opencollective.com/webpack#support"
290290
>
291-
Become a {rank === "backer" ? "backer" : "sponsor"}
291+
<span className="inline-flex items-center rounded-[1.05rem] bg-gradient-to-b from-[#1f4f82] to-[#173b66] px-6 py-2.5 text-xs font-black tracking-[0.08em] text-slate-50 uppercase shadow-[inset_0_2px_0_rgba(255,255,255,0.08),inset_0_0_0_3px_rgba(10,31,56,0.85),0_1px_0_rgba(255,255,255,0.06)]">
292+
Become a {rank === "backer" ? "backer" : "sponsor"}
293+
</span>
292294
</a>
293295
</div>
294296
</div>

0 commit comments

Comments
 (0)