mirror of
https://github.com/audacity/audacity.github.io.git
synced 2026-06-01 04:34:23 -05:00
Update ReleaseVideo section styling to match new branding
- Change background to bg-background-medium - Update CTA button styling: accent color, rounded-full, white text - Match button style with primary download and Sign up buttons
This commit is contained in:
@@ -21,7 +21,7 @@ const promoVideo = {
|
||||
videoURL:"https://www.youtube-nocookie.com/embed/UGiJCTu67Ak?autoplay=1",
|
||||
}
|
||||
---
|
||||
<section class="bg-slate-100">
|
||||
<section class="bg-background-medium">
|
||||
<div class="mx-auto px-6 xs:px-12 md:px-8 py-6 md:py-8 lg:py-12 max-w-screen-lg">
|
||||
<div class="flex flex-col md:flex-row gap-12 md:gap-16">
|
||||
<!-- First Video Column -->
|
||||
|
||||
@@ -33,13 +33,11 @@ function FeaturedVideo(props) {
|
||||
<h3 className={`content-center ${textColor}`}>{title}</h3>
|
||||
{CTA && (
|
||||
<a
|
||||
className="py-3 px-4 rounded-md justify-center bg-yellow-300 hover:bg-yellow-400 active:bg-yellow-500 w-fit"
|
||||
className="py-2 px-4 rounded-full justify-center bg-accent text-white hover:opacity-90 transition-opacity w-fit font-semibold"
|
||||
href={ctaURL}
|
||||
onClick={() => handleCTAClick()}
|
||||
>
|
||||
<p className={`text-slate-900 leading-none font-semibold`}>
|
||||
{ctaText}
|
||||
</p>
|
||||
{ctaText}
|
||||
</a>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user