diff --git a/apps/landing/src/components/HowItWorks.astro b/apps/landing/src/components/HowItWorks.astro deleted file mode 100644 index 6950adc8..00000000 --- a/apps/landing/src/components/HowItWorks.astro +++ /dev/null @@ -1,50 +0,0 @@ ---- -import SectionHeading from "./SectionHeading.astro"; - -const steps = [ - { - number: "01", - title: "Deploy", - description: - "Run a single Docker command. Everything bundled: database, queue, AI models, media tools.", - }, - { - number: "02", - title: "Open", - description: "Navigate to localhost:1349. No accounts needed. No configuration required.", - }, - { - number: "03", - title: "Process", - description: - "Upload files, pick a tool, download results. Or automate everything via the REST API.", - }, -]; ---- - -
- - -
- {steps.map((step, i) => ( -
- - {step.number} - -

{step.title}

-

- {step.description} -

-
- ))} -
-
diff --git a/apps/landing/src/components/ModalityExplorer.astro b/apps/landing/src/components/ModalityExplorer.astro deleted file mode 100644 index 9987c750..00000000 --- a/apps/landing/src/components/ModalityExplorer.astro +++ /dev/null @@ -1,77 +0,0 @@ ---- -import { TOOLS } from "@snapotter/shared"; -import SectionHeading from "./SectionHeading.astro"; - -interface ModalityCard { - id: string; - name: string; - count: number; - icon: string; - color: string; - topTools: string[]; -} - -const modalityMeta: Record = { - image: { name: "Image", icon: "image", color: "#E07832" }, - video: { name: "Video", icon: "video", color: "#3B82F6" }, - audio: { name: "Audio", icon: "headphones", color: "#8B5CF6" }, - document: { name: "Documents", icon: "file-text", color: "#EF4444" }, - file: { name: "Data", icon: "database", color: "#F59E0B" }, -}; - -const modalities: ModalityCard[] = Object.entries(modalityMeta).map(([id, meta]) => { - const tools = TOOLS.filter((t) => t.modality === id); - return { - id, - name: meta.name, - count: tools.length, - icon: meta.icon, - color: meta.color, - topTools: tools.slice(0, 4).map((t) => t.name), - }; -}); - -const svgIcons: Record = { - image: - '', - video: - '', - headphones: - '', - "file-text": - '', - database: - '', -}; ---- - -
- - - -
diff --git a/apps/landing/src/components/TerminalBlock.astro b/apps/landing/src/components/TerminalBlock.astro deleted file mode 100644 index 04a40233..00000000 --- a/apps/landing/src/components/TerminalBlock.astro +++ /dev/null @@ -1,45 +0,0 @@ ---- -interface Props { - command: string; - label?: string; -} - -const { command, label = "terminal" } = Astro.props; ---- - -
- -
- - - - {label} -
- -
- - ${" "} - {command} - - - -
-
- - diff --git a/vitest.config.ts b/vitest.config.ts index a3e1fe76..acbe337f 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -57,10 +57,6 @@ export default defineConfig({ // tests/qa/* are Playwright QA-sweep specs (and .mts harnesses), not // vitest tests; they import @playwright/test and break a bare `vitest run`. "tests/qa/**", - // Stale: the landing app migrated from Next.js to Astro, so these React - // unit tests import @landing/app/* and @landing/components/* modules that - // no longer exist (components are now .astro). Excluded until rewritten. - "tests/unit/landing/**", "**/node_modules/**", "**/dist/**", "**/.{idea,git,cache,output,temp}/**",