forked from t3-oss/create-t3-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.astro
25 lines (22 loc) · 747 Bytes
/
index.astro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
import IndexPage from "../../../components/docs/indexPage.astro";
import { type Frontmatter, SIDEBAR } from "../../../config";
import { getLanguageFromURL } from "../../../languages";
import Layout from "../../../layouts/docs.astro";
const frontmatter: Frontmatter = {
title: "Korzystanie z technologii",
layout: "docs",
description:
"Naucz się, jak korzystać z poszczególnych technologii w T3 Stacku.",
};
const lang = getLanguageFromURL(Astro.url.pathname);
const sidebarEntries = SIDEBAR[lang]["Usage"]!;
const files = await Astro.glob("./*.{md,mdx,astro}");
---
<Layout frontmatter={frontmatter} headings={[]}>
<IndexPage
frontmatter={frontmatter}
sidebarEntries={sidebarEntries}
files={files}
/>
</Layout>