Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

Refactor tools page structure and enhance tool categorization

Bill Yangba70783b4b59
diff --git a/docs/src/app/(home)/tools/page.tsx b/docs/src/app/(home)/tools/page.tsx
index 1116f8cef..ff48de07b 100644
--- a/docs/src/app/(home)/tools/page.tsx
+++ b/docs/src/app/(home)/tools/page.tsx
@@ -26,22 +26,13 @@ export const metadata = {
"Free calculators and AI-powered tools for marketers. UTM builder, CTR calculator, ROI calculator, SEO generators, and more.",
};
-const tools = [
- {
- href: "/tools/utm-builder",
- icon: LinkIcon,
- title: "UTM Builder",
- description:
- "Create trackable campaign URLs with UTM parameters. Perfect for tracking your marketing campaigns across different channels.",
- category: "Campaign Tools",
- },
+const calculators = [
{
href: "/tools/ctr-calculator",
icon: MousePointerClick,
title: "CTR Calculator",
description:
"Calculate your click-through rate and compare it to industry benchmarks. See how your campaigns perform against the competition.",
- category: "Analytics",
},
{
href: "/tools/marketing-roi-calculator",
@@ -49,7 +40,6 @@ const tools = [
title: "Marketing ROI Calculator",
description:
"Calculate ROI, ROAS, and profit margins for your marketing campaigns. Make data-driven decisions about your ad spend.",
- category: "Analytics",
},
{
href: "/tools/bounce-rate-calculator",
@@ -57,7 +47,6 @@ const tools = [
title: "Bounce Rate Calculator",
description:
"Calculate your website's bounce rate and compare it to industry benchmarks. See how well you're keeping visitors engaged.",
- category: "Analytics",
},
{
href: "/tools/sample-size-calculator",
@@ -65,7 +54,6 @@ const tools = [
title: "A/B Test Sample Size Calculator",
description:
"Calculate how many visitors you need for statistically significant A/B test results. Never run underpowered tests again.",
- category: "Analytics",
},
{
href: "/tools/traffic-value-calculator",
@@ -73,7 +61,6 @@ const tools = [
title: "Traffic Value Calculator",
description:
"Estimate the monetary value of your website traffic. Understand what each visitor is worth to your business.",
- category: "Analytics",
},
{
href: "/tools/page-speed-calculator",
@@ -81,55 +68,6 @@ const tools = [
title: "Page Speed Impact Calculator",
description:
"Calculate how page load time affects your conversions and revenue. See the real cost of a slow website.",
- category: "Analytics",
- },
- {
- href: "/tools/funnel-visualizer",
- icon: Activity,
- title: "Funnel Visualizer",
- description:
- "Visualize your conversion funnel step-by-step. Input visitor counts at each stage and see where you're losing customers.",
- category: "Analytics",
- },
- {
- href: "/tools/analytics-detector",
- icon: Search,
- title: "Analytics Platform Detector",
- description:
- "Discover what analytics and tracking tools any website is using. Analyze privacy implications and data collection practices.",
- category: "AI-Powered",
- },
- {
- href: "/tools/seo-title-generator",
- icon: Type,
- title: "SEO Title Generator",
- description:
- "Generate optimized, click-worthy title tags for your pages using AI. Get multiple variations tailored to your topic and keywords.",
- category: "AI-Powered SEO",
- },
- {
- href: "/tools/meta-description-generator",
- icon: FileText,
- title: "Meta Description Generator",
- description:
- "Create compelling meta descriptions that boost click-through rates. AI-powered variations optimized for search engines.",
- category: "AI-Powered SEO",
- },
- {
- href: "/tools/og-tag-generator",
- icon: Share2,
- title: "Open Graph Tag Generator",
- description:
- "Generate optimized Open Graph tags for social media sharing. Get perfect previews on Facebook, Twitter, and LinkedIn.",
- category: "AI-Powered SEO",
- },
- {
- href: "/tools/privacy-policy-builder",
- icon: FileText,
- title: "Privacy Policy Builder",
- description:
- "Generate a customized privacy policy for your website. Answer a few questions and get a compliant privacy policy instantly.",
- category: "Legal",
},
{
href: "/tools/cost-per-acquisition-calculator",
@@ -137,7 +75,6 @@ const tools = [
title: "Cost Per Acquisition (CPA) Calculator",
description:
"Calculate your customer acquisition costs and compare against industry benchmarks to optimize your marketing ROI.",
- category: "Analytics",
},
{
href: "/tools/retention-rate-calculator",
@@ -145,7 +82,6 @@ const tools = [
title: "Retention Rate Calculator",
description:
"Calculate customer retention rates and compare against industry benchmarks to improve customer loyalty and reduce churn.",
- category: "Analytics",
},
{
href: "/tools/conversion-rate-calculator",
@@ -153,7 +89,6 @@ const tools = [
title: "Conversion Rate Calculator",
description:
"Calculate conversion rates and compare against industry benchmarks to optimize your marketing funnel and maximize ROI.",
- category: "Analytics",
},
{
href: "/tools/cost-per-mille-calculator",
@@ -161,7 +96,6 @@ const tools = [
title: "CPM Calculator (Cost Per Mille)",
description:
"Calculate cost per thousand impressions and compare across advertising platforms to optimize your media spend.",
- category: "Analytics",
},
{
href: "/tools/customer-lifetime-value-calculator",
@@ -169,7 +103,6 @@ const tools = [
title: "Customer Lifetime Value (CLV) Calculator",
description:
"Calculate customer lifetime value with retention analysis and profit margins to optimize acquisition spending and maximize long-term revenue.",
- category: "Analytics",
},
{
href: "/tools/cost-per-lead-calculator",
@@ -177,7 +110,6 @@ const tools = [
title: "Cost Per Lead (CPL) Calculator",
description:
"Calculate cost per lead and compare across marketing channels to optimize your lead generation strategy and maximize ROI.",
- category: "Analytics",
},
{
href: "/tools/cost-per-view-calculator",
@@ -185,10 +117,83 @@ const tools = [
title: "Cost Per View (CPV) Calculator",
description:
"Calculate cost per view for video ads and compare across platforms to optimize your video advertising strategy and maximize engagement.",
- category: "Analytics",
},
];
+const aiPoweredTools = [
+ {
+ href: "/tools/analytics-detector",
+ icon: Search,
+ title: "Analytics Platform Detector",
+ description:
+ "Discover what analytics and tracking tools any website is using. Analyze privacy implications and data collection practices.",
+ },
+ {
+ href: "/tools/seo-title-generator",
+ icon: Type,
+ title: "SEO Title Generator",
+ description:
+ "Generate optimized, click-worthy title tags for your pages using AI. Get multiple variations tailored to your topic and keywords.",
+ },
+ {
+ href: "/tools/meta-description-generator",
+ icon: FileText,
+ title: "Meta Description Generator",
+ description:
+ "Create compelling meta descriptions that boost click-through rates. AI-powered variations optimized for search engines.",
+ },
+ {
+ href: "/tools/og-tag-generator",
+ icon: Share2,
+ title: "Open Graph Tag Generator",
+ description:
+ "Generate optimized Open Graph tags for social media sharing. Get perfect previews on Facebook, Twitter, and LinkedIn.",
+ },
+ {
+ href: "/tools/privacy-policy-builder",
+ icon: FileText,
+ title: "Privacy Policy Builder",
+ description:
+ "Generate a customized privacy policy for your website. Answer a few questions and get a compliant privacy policy instantly.",
+ },
+];
+
+const otherTools = [
+ {
+ href: "/tools/utm-builder",
+ icon: LinkIcon,
+ title: "UTM Builder",
+ description:
+ "Create trackable campaign URLs with UTM parameters. Perfect for tracking your marketing campaigns across different channels.",
+ },
+ {
+ href: "/tools/funnel-visualizer",
+ icon: Activity,
+ title: "Funnel Visualizer",
+ description:
+ "Visualize your conversion funnel step-by-step. Input visitor counts at each stage and see where you're losing customers.",
+ },
+];
+
+function ToolCard({ tool }: { tool: { href: string; icon: any; title: string; description: string } }) {
+ const Icon = tool.icon;
+ return (
+ <Link
+ href={tool.href}
+ className="group bg-white/50 dark:bg-neutral-900/50 border border-neutral-200 dark:border-neutral-800 rounded-xl p-6 transition-all hover:border-emerald-500/40 dark:hover:border-emerald-500/30 hover:-translate-y-1 duration-300"
+ >
+ <div className="w-12 h-12 rounded-xl bg-gradient-to-br from-emerald-500/30 to-emerald-600/20 dark:from-emerald-500/20 dark:to-emerald-600/10 border border-emerald-500/40 dark:border-emerald-500/30 shadow-md shadow-emerald-500/20 dark:shadow-emerald-500/10 flex items-center justify-center mb-6 group-hover:scale-110 transition-transform duration-300">
+ <Icon className="w-6 h-6 text-emerald-600 dark:text-emerald-400" />
+ </div>
+ <h2 className="text-xl font-semibold text-neutral-900 dark:text-white mb-2">{tool.title}</h2>
+ <p className="text-sm text-neutral-600 dark:text-neutral-300 mb-4">{tool.description}</p>
+ <div className="flex items-center text-emerald-600 dark:text-emerald-400 text-sm font-medium group-hover:translate-x-1 transition-transform duration-300">
+ Try it now →
+ </div>
+ </Link>
+ );
+}
+
export default function ToolsPage() {
return (
<div className="min-h-screen">
@@ -202,27 +207,43 @@ export default function ToolsPage() {
</p>
</div>
- {/* Tools Grid */}
- <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
- {tools.map(tool => {
- const Icon = tool.icon;
- return (
- <Link
- key={tool.href}
- href={tool.href}
- className="group bg-white/50 dark:bg-neutral-900/50 border border-neutral-200 dark:border-neutral-800 rounded-xl p-8 transition-all hover:border-emerald-500/40 dark:hover:border-emerald-500/30 hover:-translate-y-1 duration-300"
- >
- <div className="w-12 h-12 rounded-xl bg-gradient-to-br from-emerald-500/30 to-emerald-600/20 dark:from-emerald-500/20 dark:to-emerald-600/10 border border-emerald-500/40 dark:border-emerald-500/30 shadow-md shadow-emerald-500/20 dark:shadow-emerald-500/10 flex items-center justify-center mb-6 group-hover:scale-110 transition-transform duration-300">
- <Icon className="w-6 h-6 text-emerald-600 dark:text-emerald-400" />
- </div>
- <h2 className="text-xl font-semibold text-neutral-900 dark:text-white mb-2">{tool.title}</h2>
- <p className="text-sm text-neutral-600 dark:text-neutral-300 mb-4">{tool.description}</p>
- <div className="flex items-center text-emerald-600 dark:text-emerald-400 text-sm font-medium group-hover:translate-x-1 transition-transform duration-300">
- Try it now →
- </div>
- </Link>
- );
- })}
+ {/* Calculators Section */}
+ <div className="mb-16">
+ <div className="flex items-center gap-3 mb-8">
+ <Calculator className="w-6 h-6 text-emerald-600 dark:text-emerald-400" />
+ <h2 className="text-2xl font-bold text-neutral-900 dark:text-white">Calculators</h2>
+ </div>
+ <div className="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-2">
+ {calculators.map(tool => (
+ <ToolCard key={tool.href} tool={tool} />
+ ))}
+ </div>
+ </div>
+
+ {/* AI-Powered Tools Section */}
+ <div className="mb-16">
+ <div className="flex items-center gap-3 mb-8">
+ <Sparkles className="w-6 h-6 text-emerald-600 dark:text-emerald-400" />
+ <h2 className="text-2xl font-bold text-neutral-900 dark:text-white">AI-Powered Tools</h2>
+ </div>
+ <div className="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3gap-2">
+ {aiPoweredTools.map(tool => (
+ <ToolCard key={tool.href} tool={tool} />
+ ))}
+ </div>
+ </div>
+
+ {/* Other Tools Section */}
+ <div>
+ <div className="flex items-center gap-3 mb-8">
+ <Activity className="w-6 h-6 text-emerald-600 dark:text-emerald-400" />
+ <h2 className="text-2xl font-bold text-neutral-900 dark:text-white">Other Tools</h2>
+ </div>
+ <div className="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-2">
+ {otherTools.map(tool => (
+ <ToolCard key={tool.href} tool={tool} />
+ ))}
+ </div>
</div>
</div>
</div>