Skip to content

Commit baf9ef0

Browse files
committed
format the code
1 parent a1ea140 commit baf9ef0

4 files changed

Lines changed: 63 additions & 53 deletions

File tree

biome.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,24 @@
1313
"indentStyle": "space",
1414
"indentWidth": 2,
1515
"lineWidth": 80,
16-
"includes": ["**", "!source.generated.ts", "!worker-configuration.d.ts"]
16+
"includes": [
17+
"**",
18+
"!source.generated.ts",
19+
"!worker-configuration.d.ts",
20+
"!cloudflare-env.d.ts"
21+
]
1722
},
1823
"linter": {
1924
"enabled": true,
2025
"rules": {
2126
"recommended": true
2227
},
23-
"includes": ["**", "!source.generated.ts", "!worker-configuration.d.ts"]
28+
"includes": [
29+
"**",
30+
"!source.generated.ts",
31+
"!worker-configuration.d.ts",
32+
"!cloudflare-env.d.ts"
33+
]
2434
},
2535
"javascript": {
2636
"formatter": {

content/api-reference/meta.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,23 @@
1515
".../auth/getSiteSetup",
1616
".../auth/siteSetup",
1717

18-
"---Posts---",
19-
"...posts/filterPosts",
20-
"...posts/postBySlug",
21-
"...posts/createPost",
22-
"...posts/updatePost",
23-
"...posts/deletePost",
18+
"---Posts---",
19+
"...posts/filterPosts",
20+
"...posts/postBySlug",
21+
"...posts/createPost",
22+
"...posts/updatePost",
23+
"...posts/deletePost",
2424

25-
"---Votes---",
26-
"...votes/addVoteToPost",
27-
"...votes/removeVoteFromPost",
25+
"---Votes---",
26+
"...votes/addVoteToPost",
27+
"...votes/removeVoteFromPost",
2828

2929
"---Boards---",
3030
"...boards/filterBoards",
3131

32-
"---Roadmaps---",
33-
"...roadmaps/filterRoadmaps",
34-
"...roadmaps/roadmapByUrl",
35-
"...roadmaps/searchRoadmaps"
32+
"---Roadmaps---",
33+
"...roadmaps/filterRoadmaps",
34+
"...roadmaps/roadmapByUrl",
35+
"...roadmaps/searchRoadmaps"
3636
]
3737
}

content/docs/meta.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
"resources/ecosystem",
1111
"resources/architecture",
1212
"resources/support",
13-
"---Miscellaneous---",
13+
"---Miscellaneous---",
1414
"[HandHelping][Contributing](https://github.com/logchimp/logchimp/blob/master/CONTRIBUTING.md)",
15-
"miscellaneous/faq",
16-
"miscellaneous/security-policy"
15+
"miscellaneous/faq",
16+
"miscellaneous/security-policy"
1717
],
1818
"defaultOpen": true
1919
}

src/components/sidebar/tabs.tsx

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -3,42 +3,42 @@ import type { DocsLayoutProps } from "fumadocs-ui/layouts/docs";
33
import { BookIcon, MapIcon, BracesIcon } from "lucide-react";
44

55
export const tabs: NonNullable<DocsLayoutProps["sidebar"]>["tabs"] = [
6-
{
7-
title: "Documentation",
8-
description: "Setup your LogChimp",
9-
url: "/docs",
10-
icon: (
11-
<DropdownItem>
12-
<BookIcon />
13-
</DropdownItem>
14-
),
15-
},
16-
{
17-
title: "Guide",
18-
description: "Get started with LogChimp",
19-
url: "/guide",
20-
icon: (
21-
<DropdownItem>
22-
<MapIcon />
23-
</DropdownItem>
24-
),
25-
},
26-
{
27-
title: "API Reference",
28-
description: "Reference for the API",
29-
url: "/api-reference",
30-
icon: (
31-
<DropdownItem>
32-
<BracesIcon />
33-
</DropdownItem>
34-
),
35-
},
6+
{
7+
title: "Documentation",
8+
description: "Setup your LogChimp",
9+
url: "/docs",
10+
icon: (
11+
<DropdownItem>
12+
<BookIcon />
13+
</DropdownItem>
14+
),
15+
},
16+
{
17+
title: "Guide",
18+
description: "Get started with LogChimp",
19+
url: "/guide",
20+
icon: (
21+
<DropdownItem>
22+
<MapIcon />
23+
</DropdownItem>
24+
),
25+
},
26+
{
27+
title: "API Reference",
28+
description: "Reference for the API",
29+
url: "/api-reference",
30+
icon: (
31+
<DropdownItem>
32+
<BracesIcon />
33+
</DropdownItem>
34+
),
35+
},
3636
];
3737

3838
function DropdownItem({ children }: PropsWithChildren) {
39-
return (
40-
<div className="[&_svg]:size-full rounded-lg size-full max-md:border max-md:p-1.5">
41-
{children}
42-
</div>
43-
);
39+
return (
40+
<div className="[&_svg]:size-full rounded-lg size-full max-md:border max-md:p-1.5">
41+
{children}
42+
</div>
43+
);
4444
}

0 commit comments

Comments
 (0)