diff --git a/src/components/AIQueryInterface.astro b/src/components/AIQueryInterface.astro index e69de29..b1ad746 100644 --- a/src/components/AIQueryInterface.astro +++ b/src/components/AIQueryInterface.astro @@ -0,0 +1,556 @@ +--- +// src/components/AIQueryInterface.astro +import { promises as fs } from 'fs'; +import { load } from 'js-yaml'; +import path from 'path'; + +// Load tools data for tool details +const yamlPath = path.join(process.cwd(), 'src/data/tools.yaml'); +const yamlContent = await fs.readFile(yamlPath, 'utf8'); +const data = load(yamlContent) as any; +const tools = data.tools; +const phases = data.phases.filter((phase: any) => phase.id !== 'collaboration-general'); +--- + +
+ + + + \ No newline at end of file diff --git a/src/components/ToolFilters.astro b/src/components/ToolFilters.astro index a43d717..6fe2b62 100644 --- a/src/components/ToolFilters.astro +++ b/src/components/ToolFilters.astro @@ -108,9 +108,23 @@ const sortedTags = Object.entries(tagFrequency) -