feat(3d): complete site-wide autonomous and interactive 3d cinematic typography overhaul

This commit is contained in:
2026-11-03 17:08:23 +05:30
parent c764ffca14
commit 6cba2256b4
14 changed files with 340 additions and 72 deletions
+5 -5
View File
@@ -23,9 +23,9 @@ export function AppCardsSection({
<section className="py-20 sm:py-28 bg-[#F5F2EB] border-y border-slate-900/[0.08]">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
{(title || subtitle) && (
<div className="text-center max-w-3xl mx-auto mb-16 space-y-3">
<div className="text-center max-w-3xl mx-auto mb-16 space-y-3 preserve-3d">
{title && (
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-display font-black text-slate-900 tracking-tight">
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-display font-black text-slate-900 tracking-tight text-3d-chiseled">
{resolveLocalised(title, locale)}
</h2>
)}
@@ -41,7 +41,7 @@ export function AppCardsSection({
{apps.map((app) => (
<div
key={app.id}
className="bg-white rounded-3xl p-7 border border-slate-900/[0.08] shadow-cream-sm hover:shadow-cream-md hover:border-blue-400 hover:-translate-y-1 transition-all duration-300 flex flex-col justify-between"
className="bg-white rounded-3xl p-7 border border-slate-900/[0.08] shadow-cream-sm hover:shadow-cream-md hover:border-blue-400 hover:-translate-y-1 transition-all duration-300 flex flex-col justify-between preserve-3d"
>
<div>
{/* Header: Icon & Rating */}
@@ -50,7 +50,7 @@ export function AppCardsSection({
<Smartphone className="w-6 h-6" />
</div>
{showRating && (
<div className="flex items-center gap-1.5 bg-amber-50 border border-amber-200 px-3 py-1.5 rounded-full text-xs font-bold text-amber-800 shadow-sm">
<div className="badge-3d flex items-center gap-1.5 bg-amber-50 border border-amber-200 px-3 py-1.5 rounded-full text-xs font-bold text-amber-800 shadow-sm">
<Star className="w-3.5 h-3.5 fill-amber-400 text-amber-400" />
<span>{app.rating.value}</span>
<span className="text-[10px] text-amber-600 font-normal">({(app.rating.count / 1000).toFixed(1)}k)</span>
@@ -58,7 +58,7 @@ export function AppCardsSection({
)}
</div>
<h3 className="text-xl font-display font-bold text-slate-900">
<h3 className="text-xl font-display font-bold text-slate-900 text-3d-chiseled">
{resolveLocalised(app.name, locale)}
</h3>
<p className="mt-1 text-xs text-blue-600 font-bold tracking-wide">