mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
fix(landing): reposition residual meta framing and demote homepage tool count (#471)
Follow-up to #469. Homepage/enterprise/FAQ JSON-LD and meta now say 'file-processing infrastructure' (not 'suite'), and the visible homepage counts (ToolGrid subtitle, Pricing bullet) plus SEO meta say '200+'. Removed the orphaned toolCount/TOOLS references. Leaves the /tools catalog and ToolGrid filter-tab functional counts exact. Admin merge: landing-src-only PR, required matrix contexts path-skip and never report.
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
---
|
||||
// biome-ignore-all lint/correctness/noUnusedImports: Astro template consumes component imports.
|
||||
// biome-ignore-all lint/correctness/noUnusedVariables: Astro template consumes frontmatter values.
|
||||
import { TOOLS } from "@snapotter/shared";
|
||||
import SectionHeading from "./SectionHeading.astro";
|
||||
|
||||
const toolCount = TOOLS.length;
|
||||
|
||||
const checkIcon =
|
||||
'<svg class="h-4 w-4 shrink-0 text-success" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>';
|
||||
---
|
||||
@@ -45,7 +42,7 @@ const checkIcon =
|
||||
|
||||
<ul class="mt-8 space-y-3">
|
||||
{[
|
||||
`All ${toolCount} tools across 5 modalities`,
|
||||
"All 200+ tools across 5 modalities",
|
||||
"Unlimited usage, no rate limits",
|
||||
"Full REST API with OpenAPI docs",
|
||||
"Pipeline automation & batch processing",
|
||||
|
||||
@@ -6,7 +6,6 @@ import * as lucideIcons from "lucide";
|
||||
import type { ModalityFilter, ToolSearchItem } from "../lib/tool-search";
|
||||
import SectionHeading from "./SectionHeading.astro";
|
||||
|
||||
const toolCount = TOOLS.length;
|
||||
const categoryMap = new Map(CATEGORIES.map((c) => [c.id, c]));
|
||||
|
||||
type ToolModality = ToolSearchItem["modality"];
|
||||
@@ -155,7 +154,7 @@ const safeDefaultToolIdsJson = JSON.stringify(defaultToolIds).replace(/</g, "\\u
|
||||
<section class="bg-background-alt px-6 py-20 md:py-28" id="features">
|
||||
<SectionHeading
|
||||
title="One platform. Every file workflow."
|
||||
subtitle={`Search ${toolCount} self-hosted tools by task, format, modality, or workflow.`}
|
||||
subtitle="Search 200+ self-hosted tools by task, format, modality, or workflow."
|
||||
/>
|
||||
|
||||
<div class="mx-auto max-w-6xl">
|
||||
|
||||
Reference in New Issue
Block a user