fix(ads): remove Yandex branding from banner, use neutral accent styling
This commit is contained in:
@@ -34,18 +34,19 @@ const { class: sizeClass, horizontal } = specs[size];
|
||||
class={`${sizeClass} flex ${horizontal ? "flex-row items-center gap-4 px-6" : "flex-col items-center justify-center gap-3 px-4"} rounded-xl border border-zinc-800 bg-zinc-900/50 hover:border-accent/50 hover:bg-zinc-900 transition-colors duration-200 group`}
|
||||
>
|
||||
<svg
|
||||
class="shrink-0 text-yandex"
|
||||
class="shrink-0 text-accent"
|
||||
width={horizontal ? "32" : "40"}
|
||||
height={horizontal ? "32" : "40"}
|
||||
viewBox="0 0 40 40"
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
stroke="currentColor"
|
||||
stroke-width="2"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
aria-hidden="true"
|
||||
>
|
||||
<circle cx="20" cy="20" r="20" fill="currentColor"></circle>
|
||||
<path
|
||||
d="M22.44 10H19.1c-3.78 0-6.1 2.02-6.1 5.32 0 2.66 1.26 4.24 3.64 5.8L13.5 30h3.38l3.4-8.38-.96-.58c-1.84-1.12-2.72-2.08-2.72-3.92 0-1.94 1.3-3.08 3.44-3.08h1.4V30h3V10z"
|
||||
fill="white"></path>
|
||||
<path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20" />
|
||||
<path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z" />
|
||||
</svg>
|
||||
|
||||
{
|
||||
@@ -60,7 +61,7 @@ const { class: sizeClass, horizontal } = specs[size];
|
||||
</div>
|
||||
<div class="text-xs text-zinc-500 mt-0.5">{ad.sublabel}</div>
|
||||
</div>
|
||||
<span class="shrink-0 text-xs font-semibold text-white bg-yandex px-3 py-1.5 rounded-lg group-hover:bg-yandex-hover transition-colors whitespace-nowrap">
|
||||
<span class="shrink-0 text-xs font-semibold text-white bg-accent px-3 py-1.5 rounded-lg group-hover:bg-accent-hover transition-colors whitespace-nowrap">
|
||||
{ad.cta}
|
||||
</span>
|
||||
</>
|
||||
@@ -75,7 +76,7 @@ const { class: sizeClass, horizontal } = specs[size];
|
||||
</div>
|
||||
<div class="text-xs text-zinc-500 mt-1">{ad.sublabel}</div>
|
||||
</div>
|
||||
<span class="text-xs font-semibold text-white bg-yandex px-4 py-2 rounded-lg group-hover:bg-yandex-hover transition-colors">
|
||||
<span class="text-xs font-semibold text-white bg-accent px-4 py-2 rounded-lg group-hover:bg-accent-hover transition-colors">
|
||||
{ad.ctaMobile}
|
||||
</span>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user