You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/website/src/components/features-section.astro
+13-44Lines changed: 13 additions & 44 deletions
Original file line number
Diff line number
Diff line change
@@ -1,46 +1,13 @@
1
1
---
2
2
import { Icon } from"@iconify/react";
3
3
4
-
const title ="Everything you need, out of the box";
5
-
const description ="Explainer gives you the tools to focus on your content, not your tooling.";
6
-
7
4
const features = [
8
-
{
9
-
icon: "mdi:language-markdown",
10
-
title: "Markdown & MDX",
11
-
description:
12
-
"Write content in Markdown or MDX with custom components, directives, and JSX support.",
13
-
},
14
-
{
15
-
icon: "mdi:flash-outline",
16
-
title: "Lightning fast",
17
-
description:
18
-
"Static site generation for instant page loads. Zero JavaScript shipped by default.",
19
-
},
20
-
{
21
-
icon: "mdi:code-braces",
22
-
title: "Rich code blocks",
23
-
description:
24
-
"Dual-theme syntax highlighting, line diffs, focus mode, and 60+ language icons.",
25
-
},
26
-
{
27
-
icon: "mdi:magnify",
28
-
title: "Built-in search",
29
-
description:
30
-
"Command palette search so your readers find any page instantly.",
31
-
},
32
-
{
33
-
icon: "mdi:search-web",
34
-
title: "SEO ready",
35
-
description:
36
-
"Auto-generated OG thumbnails, sitemap, robots.txt, and RSS feed.",
37
-
},
38
-
{
39
-
icon: "mdi:theme-light-dark",
40
-
title: "Dark mode",
41
-
description:
42
-
"Full light and dark theme support with system preference detection.",
43
-
},
5
+
{ icon: "mdi:language-markdown", titleKey: "features.markdown.title", descKey: "features.markdown.description", title: "Markdown & MDX", description: "Write content in Markdown or MDX with custom components, directives, and JSX support." },
6
+
{ icon: "mdi:flash-outline", titleKey: "features.fast.title", descKey: "features.fast.description", title: "Lightning fast", description: "Static site generation for instant page loads. Zero JavaScript shipped by default." },
7
+
{ icon: "mdi:code-braces", titleKey: "features.code.title", descKey: "features.code.description", title: "Rich code blocks", description: "Dual-theme syntax highlighting, line diffs, focus mode, and 60+ language icons." },
8
+
{ icon: "mdi:magnify", titleKey: "features.search.title", descKey: "features.search.description", title: "Built-in search", description: "Command palette search so your readers find any page instantly." },
9
+
{ icon: "mdi:search-web", titleKey: "features.seo.title", descKey: "features.seo.description", title: "SEO ready", description: "Auto-generated OG thumbnails, sitemap, robots.txt, and RSS feed." },
10
+
{ icon: "mdi:theme-light-dark", titleKey: "features.darkMode.title", descKey: "features.darkMode.description", title: "Dark mode", description: "Full light and dark theme support with system preference detection." },
Copy file name to clipboardExpand all lines: apps/website/src/components/highlights-section.astro
+14-40Lines changed: 14 additions & 40 deletions
Original file line number
Diff line number
Diff line change
@@ -1,39 +1,11 @@
1
1
---
2
2
import { Icon } from"@iconify/react";
3
3
4
-
const title ="Why Explainer?";
5
-
const description =
6
-
"Built for developers who care about their users' experience.";
7
-
8
4
const highlights = [
9
-
{
10
-
icon: "mdi:rocket-launch",
11
-
title: "Ship docs in minutes, not days",
12
-
description:
13
-
"Clone the repo, write your Markdown, deploy. No complex setup, no build pipeline to configure. Your documentation is live before your coffee gets cold.",
14
-
span: 4,
15
-
},
16
-
{
17
-
icon: "mdi:palette-swatch-variant",
18
-
title: "Your brand, your way",
19
-
description:
20
-
"Tailwind CSS design tokens let you match your documentation to your product identity with a few CSS variable changes.",
21
-
span: 2,
22
-
},
23
-
{
24
-
icon: "mdi:puzzle-outline",
25
-
title: "Extensible by design",
26
-
description:
27
-
"Drop in React, Vue, or Svelte components directly in your Markdown. Build interactive examples, live demos, and API playgrounds.",
28
-
span: 2,
29
-
},
30
-
{
31
-
icon: "mdi:chart-line",
32
-
title: "Built for growth",
33
-
description:
34
-
"From a single getting-started guide to hundreds of pages — the architecture scales with your project. Multi-collection docs, versioning-ready structure, and automatic navigation.",
35
-
span: 4,
36
-
},
5
+
{ icon: "mdi:rocket-launch", titleKey: "highlights.ship.title", descKey: "highlights.ship.description", title: "Ship docs in minutes, not days", description: "Clone the repo, write your Markdown, deploy. No complex setup, no build pipeline to configure. Your documentation is live before your coffee gets cold.", span: 4 },
6
+
{ icon: "mdi:palette-swatch-variant", titleKey: "highlights.brand.title", descKey: "highlights.brand.description", title: "Your brand, your way", description: "Tailwind CSS design tokens let you match your documentation to your product identity with a few CSS variable changes.", span: 2 },
7
+
{ icon: "mdi:puzzle-outline", titleKey: "highlights.extensible.title", descKey: "highlights.extensible.description", title: "Extensible by design", description: "Drop in React, Vue, or Svelte components directly in your Markdown. Build interactive examples, live demos, and API playgrounds.", span: 2 },
8
+
{ icon: "mdi:chart-line", titleKey: "highlights.growth.title", descKey: "highlights.growth.description", title: "Built for growth", description: "From a single getting-started guide to hundreds of pages — the architecture scales with your project. Multi-collection docs, versioning-ready structure, and automatic navigation.", span: 4 },
0 commit comments