feat: completely remove pricing page, style Launch Studio button with dimmer sky-blue palette, and make sparkle icon white
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
import { Metadata } from 'next';
|
||||
import { getPageConfig, getAllApps } from '@/lib/config/loader';
|
||||
import { SectionRenderer } from '@/components/sections/SectionRenderer';
|
||||
import { notFound } from 'next/navigation';
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'Pricing & In-App Purchases | CRE Innovations',
|
||||
description: 'Understand how free web tries and app-specific pricing work. No cross-app subscriptions or web wallets.',
|
||||
};
|
||||
|
||||
export default function PricingPage() {
|
||||
const page = getPageConfig('pricing');
|
||||
if (!page) notFound();
|
||||
|
||||
const apps = getAllApps();
|
||||
const context = { page, apps, locale: 'en' };
|
||||
|
||||
return (
|
||||
<div>
|
||||
{page.sections.map((section) => (
|
||||
<SectionRenderer key={section.id} section={section} context={context} />
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -9,7 +9,6 @@ export default function sitemap(): MetadataRoute.Sitemap {
|
||||
'',
|
||||
'/tools',
|
||||
'/apps',
|
||||
'/pricing',
|
||||
'/trust',
|
||||
'/privacy',
|
||||
'/terms',
|
||||
|
||||
@@ -629,20 +629,20 @@ function ToolCard({
|
||||
</Link>
|
||||
</div>
|
||||
|
||||
{/* Action Button: Eye-catchy, luminous studio CTA with radiant gradient */}
|
||||
{/* Action Button: Professional, dimmer sky blue studio CTA */}
|
||||
<div>
|
||||
<Link
|
||||
href={`/tools/${tool.slug}`}
|
||||
className="w-full h-11 inline-flex items-center justify-between pl-4 pr-2.5 rounded-xl bg-gradient-to-r from-sky-500 via-blue-600 to-indigo-600 hover:from-sky-400 hover:via-blue-500 hover:to-indigo-500 text-white font-sans font-semibold text-sm transition-all duration-200 border border-white/25 shadow-[0_2px_12px_-2px_rgba(14,165,233,0.35),0_1px_3px_rgba(0,0,0,0.1)] hover:shadow-[0_4px_20px_-2px_rgba(14,165,233,0.5)] active:scale-[0.985] group/btn"
|
||||
className="w-full h-11 inline-flex items-center justify-between pl-4 pr-2.5 rounded-xl bg-gradient-to-r from-sky-600 via-sky-600 to-blue-600 hover:from-sky-500 hover:via-sky-500 hover:to-blue-500 text-white font-sans font-semibold text-sm transition-all duration-200 border border-sky-400/25 shadow-[0_2px_8px_-2px_rgba(2,132,199,0.22),0_1px_2px_rgba(0,0,0,0.06)] hover:shadow-[0_4px_16px_-2px_rgba(2,132,199,0.35)] active:scale-[0.985] group/btn"
|
||||
aria-label={`Open interactive studio for ${toolName}`}
|
||||
>
|
||||
<span className="inline-flex items-center gap-2">
|
||||
<Sparkles className="w-4 h-4 text-amber-300 group-hover/btn:rotate-12 transition-transform duration-300 flex-shrink-0" />
|
||||
<Sparkles className="w-4 h-4 text-white group-hover/btn:rotate-12 transition-transform duration-300 flex-shrink-0" />
|
||||
<span className="tracking-tight font-medium text-white">
|
||||
Launch Studio
|
||||
</span>
|
||||
</span>
|
||||
<span className="w-7 h-7 rounded-lg bg-white/20 border border-white/25 flex items-center justify-center text-white group-hover/btn:bg-white/30 group-hover/btn:translate-x-0.5 transition-all flex-shrink-0 shadow-xs">
|
||||
<span className="w-7 h-7 rounded-lg bg-white/15 border border-white/20 flex items-center justify-center text-white group-hover/btn:bg-white/25 group-hover/btn:translate-x-0.5 transition-all flex-shrink-0 shadow-xs">
|
||||
<ArrowRight className="w-3.5 h-3.5" aria-hidden="true" />
|
||||
</span>
|
||||
</Link>
|
||||
|
||||
@@ -45,11 +45,6 @@ export function Footer({ config, currentLocale }: FooterProps) {
|
||||
Native mobile applications
|
||||
</Link>
|
||||
</li>
|
||||
<li>
|
||||
<Link href="/pricing" className="text-muted hover:text-ink transition-colors">
|
||||
Pricing & plans
|
||||
</Link>
|
||||
</li>
|
||||
<li>
|
||||
<Link href="/catalog-manager" className="text-muted hover:text-ink transition-colors inline-flex items-center gap-1">
|
||||
<span>Catalogue inspector</span>
|
||||
|
||||
Reference in New Issue
Block a user