Skip to content

Commit b76fc51

Browse files
committed
yes
1 parent 2a27fd4 commit b76fc51

File tree

3 files changed

+15
-9
lines changed

3 files changed

+15
-9
lines changed

website/astro.config.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ import { passthroughImageService } from "astro/config";
1414
// https://astro.build/config
1515
export default defineConfig({
1616
site: "https://code2prompt.dev",
17+
redirects: {
18+
"/fr": "/",
19+
"/de": "/",
20+
"/es": "/",
21+
"/zh": "/",
22+
"/ja": "/",
23+
"/ru": "/",
24+
},
1725
integrations: [
1826
starlight({
1927
title: "Code2prompt",

website/src/content/docs/de/docs/welcome.mdx

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,11 @@ import { LinkCard } from "@astrojs/starlight/components";
1818

1919
## Schnellstart
2020

21-
<LinkCard title="Loslegen 🚀" href="../../docs/tutorials/getting_started" />
22-
<LinkCard title="Installation 📥" href="../../docs/how_to/install" />
23-
<LinkCard title="Filtern lernen 🔍" href="../../docs/tutorials/learn_filters" />
24-
<LinkCard
25-
title="Vorlagen lernen 📝"
26-
href="../../docs/tutorials/learn_templates"
27-
/>
28-
<LinkCard title="Vision 🔮" href="../../docs/vision" />
21+
<LinkCard title="Loslegen 🚀" href="/docs/tutorials/getting_started" />
22+
<LinkCard title="Installation 📥" href="/docs/how_to/install" />
23+
<LinkCard title="Filtern lernen 🔍" href="/docs/tutorials/learn_filters" />
24+
<LinkCard title="Vorlagen lernen 📝" href="/docs/tutorials/learn_templates" />
25+
<LinkCard title="Vision 🔮" href="/docs/vision" />
2926

3027
`code2prompt` ist ein leistungsstarkes Code-Ingestion-Tool, das entwickelt wurde, um Prompts für Code-Analyse, -Generierung und andere Aufgaben zu erstellen. Es funktioniert, indem es Verzeichnisse durchläuft, eine Baumstruktur aufbaut und Informationen über jede Datei sammelt.
3128

website/src/layouts/BaseLayout.astro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2+
import "/src/styles/global.css";
23
const title = "Code2Prompt";
34
const description =
45
"Transform your codebase into AI-optimized prompts effortlessly.";
5-
import "/src/styles/global.css";
66
---
77

88
<!doctype html>
@@ -12,6 +12,7 @@ import "/src/styles/global.css";
1212
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
1313
<title>{title}</title>
1414
<meta name="description" content={description} />
15+
<meta property="og:image" content="/favicon.svg" />
1516
<link rel="icon" href="/favicon.svg" />
1617
<link rel="sitemap" href="/sitemap-index.xml" />
1718

0 commit comments

Comments
 (0)