feat(pricing): enlarge and brighten free-models banner title
This commit is contained in:
1 parent
96b2966388
commit
cdb81b8e9d
2 files changed
+16
-11
No files matched your search
@@ -56,15 +56,15 @@ export function FreeModelsBanner(props: FreeModelsBannerProps) {
|
||||
className='pointer-events-none absolute inset-0 bg-[radial-gradient(ellipse_60%_80%_at_20%_50%,oklch(0.8_0.16_95/12%)_0%,transparent_70%),radial-gradient(ellipse_50%_80%_at_80%_50%,oklch(0.9_0.16_100/10%)_0%,transparent_70%)]'
|
||||
/>
|
||||
<div className='relative flex flex-wrap items-center justify-between gap-3'>
|
||||
<div className='flex min-w-0 items-center gap-2.5'>
|
||||
<Sparkles aria-hidden className='free-banner-shine-dot size-5 shrink-0' />
|
||||
<div className='flex min-w-0 items-center gap-3'>
|
||||
<Sparkles aria-hidden className='free-banner-shine-dot size-7 shrink-0' />
|
||||
<div className='min-w-0'>
|
||||
<p className='flex items-center gap-1.5 text-sm font-bold sm:text-base'>
|
||||
<p className='flex items-center gap-2 text-xl leading-tight font-extrabold sm:text-3xl'>
|
||||
<span className='free-banner-shine-text'>
|
||||
{t("Today's Free Models")}
|
||||
</span>
|
||||
<span
|
||||
className='bg-muted text-muted-foreground rounded-md px-1.5 py-0.5 text-[11px] font-semibold'
|
||||
className='bg-muted text-muted-foreground self-center rounded-md px-2 py-0.5 text-xs font-semibold sm:text-sm'
|
||||
aria-label={t('{{count}} free models available', {
|
||||
count: freeModels.length,
|
||||
})}
|
||||
@@ -73,7 +73,7 @@ export function FreeModelsBanner(props: FreeModelsBannerProps) {
|
||||
</span>
|
||||
</p>
|
||||
<p
|
||||
className='text-muted-foreground mt-0.5 truncate text-xs sm:text-[13px]'
|
||||
className='text-muted-foreground mt-1 truncate text-xs sm:text-[13px]'
|
||||
title={names + suffix}
|
||||
>
|
||||
{names}
|
||||
|
||||
@@ -744,7 +744,7 @@ For commercial licensing, please contact support@quantumnous.com
|
||||
@keyframes free-banner-glow {
|
||||
0%,
|
||||
100% {
|
||||
opacity: 0.55;
|
||||
opacity: 0.6;
|
||||
}
|
||||
50% {
|
||||
opacity: 1;
|
||||
@@ -755,17 +755,22 @@ For commercial licensing, please contact support@quantumnous.com
|
||||
background: linear-gradient(
|
||||
100deg,
|
||||
oklch(0.75 0.13 85) 0%,
|
||||
oklch(0.95 0.17 95) 20%,
|
||||
oklch(0.85 0.16 75) 40%,
|
||||
oklch(0.98 0.18 100) 60%,
|
||||
oklch(0.75 0.13 85) 80%
|
||||
oklch(0.95 0.17 95) 15%,
|
||||
oklch(0.85 0.16 75) 35%,
|
||||
oklch(0.99 0.19 105) 55%,
|
||||
oklch(0.95 0.17 95) 70%,
|
||||
oklch(0.75 0.13 85) 90%
|
||||
);
|
||||
background-size: 200% auto;
|
||||
background-clip: text;
|
||||
-webkit-background-clip: text;
|
||||
color: transparent;
|
||||
animation: free-banner-shine 3s linear infinite;
|
||||
filter: drop-shadow(0 0 8px oklch(0.8 0.16 95 / 45%));
|
||||
filter: drop-shadow(0 0 14px oklch(0.8 0.16 95 / 60%));
|
||||
}
|
||||
.free-banner-shine-text::selection {
|
||||
color: oklch(0.3 0.06 90);
|
||||
background: oklch(0.9 0.15 95);
|
||||
}
|
||||
|
||||
.free-banner-shine-dot {
|
||||
|
||||
Reference in new issue
Block a user