Skip to content

Commit f753fce

Browse files
enhancement: go lint myself
1 parent d1ffeb9 commit f753fce

File tree

3 files changed

+20
-8
lines changed

3 files changed

+20
-8
lines changed

crowdsec-docs/docusaurus.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ const FOOTER_LINKS = [
162162
href: "https://crowdsec.net/blog/category/tutorial/",
163163
},
164164
{ label: "Academy", href: "https://academy.crowdsec.net/" },
165-
{ label: "Custom GPT", href: "https://chatgpt.com/g/g-682c3a61a78081918417571116c2b563-crowdsec-documentation"}
165+
{ label: "Custom GPT", href: "https://chatgpt.com/g/g-682c3a61a78081918417571116c2b563-crowdsec-documentation" },
166166
],
167167
},
168168
];

crowdsec-docs/src/components/home-page/get-to-know-us.tsx

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,16 @@ const staticData: StaticData[] = [
5454
link: "/u/cti_api/intro",
5555
},
5656
{
57-
icon: () => <ThemedImage sources={{
58-
light: useBaseUrl("/img/icons/OpenAI-black-monoblossom.svg"),
59-
dark: useBaseUrl("/img/icons/OpenAI-white-monoblossom.svg"),
60-
}} className="h-10 w-10" alt="OpenAI logo" />,
57+
icon: () => (
58+
<ThemedImage
59+
sources={{
60+
light: useBaseUrl("/img/icons/OpenAI-black-monoblossom.svg"),
61+
dark: useBaseUrl("/img/icons/OpenAI-white-monoblossom.svg"),
62+
}}
63+
className="h-10 w-10"
64+
alt="OpenAI logo"
65+
/>
66+
),
6167
title: "Custom GPT",
6268
description: "Get help from our custom documentation GPT.",
6369
link: "https://chatgpt.com/g/g-682c3a61a78081918417571116c2b563-crowdsec-documentation",

crowdsec-docs/src/pages/index.tsx

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,20 @@ const HomePageHeader = (): React.JSX.Element => {
2323
</div>
2424
<div className="flex flex-col md:flex-row items-start gap-2">
2525
<Link to="/u/getting_started/intro" className="w-full md:w-auto">
26-
<Button color="primary" className="w-full md:w-auto">Get started</Button>
26+
<Button color="primary" className="w-full md:w-auto">
27+
Get started
28+
</Button>
2729
</Link>
2830
<div className="flex flex-row gap-2 w-full md:w-auto">
2931
<Link to="https://app.crowdsec.net/" className="flex-1 md:flex-none">
30-
<Button variant="secondary" className="w-full md:w-auto"> Explore the Console</Button>
32+
<Button variant="secondary" className="w-full md:w-auto">
33+
Explore the Console
34+
</Button>
3135
</Link>
3236
<Link to="https://killercoda.com/iiamloz/scenario/crowdsec-setup" className="flex-1 md:flex-none">
33-
<Button variant="secondary" className="w-full md:w-auto">Online Sandbox</Button>
37+
<Button variant="secondary" className="w-full md:w-auto">
38+
Online Sandbox
39+
</Button>
3440
</Link>
3541
</div>
3642
</div>

0 commit comments

Comments
 (0)