diff --git a/.claude/CLAUDE.md b/.claude/CLAUDE.md index 875626817c..0c880342c7 100644 --- a/.claude/CLAUDE.md +++ b/.claude/CLAUDE.md @@ -367,6 +367,23 @@ No `plan` param on the 11ty side — that's only used on the pricing table, whic Every hand-written `` pointing at one of the five destinations has been migrated to these macros — there should be no new ones. A link to a URL outside the five fixed destinations (e.g. `/ai/`) is not part of this system and stays hand-written. +## Icons + +**Stock icons:** use `` or `` (`@iconify-json/heroicons`/`@iconify-json/lucide` are already installed). Always ``, never bare `` — same component, `UIcon` is just the codebase convention. + +`` renders as a masked ``, not an `` — no intrinsic aspect ratio, so give it an explicit size (`w-6 h-6`) rather than `w-full h-full`. + +**FlowFuse's own custom icon art** lives as raw SVGs in `src/_includes/components/icons/*.svg`: +- **Header/nav:** `nuxt/utils/navIcons.ts` + `NavIcon.vue`, which renders a real inline `` — needed because the header's CSS targets `` elements directly, which a `` span doesn't have. +- **Everywhere else:** a one-off SFC under `nuxt/components/icons/` (e.g. `GithubIcon.vue`) with the SVG pasted into the template: + ```vue + + + ``` + Nuxt auto-imports it by folder + filename, used directly like any other component: `` (see `AppFooter.vue`). + ## Naming conventions - All slugs: **kebab-case** diff --git a/nuxt/components/DifferentiatorCards.vue b/nuxt/components/DifferentiatorCards.vue index 7dd1943c3c..62fe5985c4 100644 --- a/nuxt/components/DifferentiatorCards.vue +++ b/nuxt/components/DifferentiatorCards.vue @@ -48,7 +48,7 @@ withDefaults(defineProps<{ :key="diff.heading" class="rounded-lg bg-gradient-to-br from-indigo-50/50 to-red-50/50 p-6 pt-8 flex flex-col gap-4 text-center md:text-left" > - +

{{ diff.heading }}

{{ diff.lead }}

diff --git a/nuxt/pages/index.vue b/nuxt/pages/index.vue index 6414362107..db7096de78 100644 --- a/nuxt/pages/index.vue +++ b/nuxt/pages/index.vue @@ -186,7 +186,7 @@ useSchemaOrg([

- +

@@ -256,7 +256,7 @@ useSchemaOrg([

{{ item.linkText }} - +
@@ -330,7 +330,7 @@ useSchemaOrg([
- +

AI accelerates the build

@@ -338,14 +338,14 @@ useSchemaOrg([
Learn more about FlowFuse AI - +
- +

FlowFuse governs the result

@@ -359,7 +359,7 @@ useSchemaOrg([ PostHog as this one-off style. --> Book a demo - +