feat: redesign Launch Studio button on tools page with substantial height, sapphire gradient, frosted arrow container, and enhanced ergonomics
This commit is contained in:
@@ -610,8 +610,8 @@ function ToolCard({
|
|||||||
{/* Image Dominant Preview Frame */}
|
{/* Image Dominant Preview Frame */}
|
||||||
<ToolCardImage tool={tool} toolName={toolName} />
|
<ToolCardImage tool={tool} toolName={toolName} />
|
||||||
|
|
||||||
{/* Info Area: Title only (just a little bigger) and Direct Action Button */}
|
{/* Info Area: Title and Direct Action Button */}
|
||||||
<div className="mt-3 flex-1 flex flex-col justify-between space-y-2.5">
|
<div className="mt-3.5 flex-1 flex flex-col justify-between space-y-3">
|
||||||
<div>
|
<div>
|
||||||
{/* Tool Title */}
|
{/* Tool Title */}
|
||||||
<Link href={`/tools/${tool.slug}`} className="block">
|
<Link href={`/tools/${tool.slug}`} className="block">
|
||||||
@@ -621,18 +621,20 @@ function ToolCard({
|
|||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Action Button Row: Highly Visible Prominent Primary Button */}
|
{/* Action Button: Substantial, polished, professional studio CTA */}
|
||||||
<div className="pt-2 border-t border-rule">
|
<div>
|
||||||
<Link
|
<Link
|
||||||
href={`/tools/${tool.slug}`}
|
href={`/tools/${tool.slug}`}
|
||||||
className="w-full inline-flex items-center justify-between px-3 py-2 rounded-xl bg-ink hover:bg-accent text-paper-hi font-display font-bold text-xs transition-all duration-200 shadow-xs hover:shadow-md group/btn active:scale-98"
|
className="w-full h-11 inline-flex items-center justify-between pl-4 pr-2.5 rounded-xl bg-gradient-to-r from-accent via-blue-600 to-indigo-600 hover:from-accent-hi hover:via-blue-700 hover:to-indigo-700 text-white font-sans font-semibold text-sm transition-all duration-200 border border-white/20 shadow-[0_4px_14px_-2px_rgba(37,99,235,0.3)] hover:shadow-[0_6px_22px_-2px_rgba(37,99,235,0.45)] active:scale-[0.985] group/btn"
|
||||||
aria-label={`Open interactive studio for ${toolName}`}
|
aria-label={`Open interactive studio for ${toolName}`}
|
||||||
>
|
>
|
||||||
<span className="flex items-center gap-1.5">
|
<span className="inline-flex items-center gap-2">
|
||||||
<Sparkles className="w-3.5 h-3.5 text-accent group-hover/btn:text-white transition-colors" />
|
<Sparkles className="w-4 h-4 text-white/90 group-hover/btn:rotate-12 transition-transform duration-300 flex-shrink-0" />
|
||||||
<span>Launch Studio</span>
|
<span className="tracking-tight font-medium">Launch Studio</span>
|
||||||
|
</span>
|
||||||
|
<span className="w-7 h-7 rounded-lg bg-white/15 border border-white/10 flex items-center justify-center group-hover/btn:bg-white/25 group-hover/btn:translate-x-0.5 transition-all flex-shrink-0">
|
||||||
|
<ArrowRight className="w-3.5 h-3.5 text-white" aria-hidden="true" />
|
||||||
</span>
|
</span>
|
||||||
<ArrowRight className="w-3.5 h-3.5 text-paper-hi group-hover/btn:translate-x-0.5 transition-transform" aria-hidden="true" />
|
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user