Skip to content

Commit 3c405ed

Browse files
committed
add: jetbrains install
1 parent d4dfeb0 commit 3c405ed

File tree

2 files changed

+66
-2
lines changed

2 files changed

+66
-2
lines changed

src/assets/images/jetbrains.svg

+41
Loading

src/pages/index.astro

+25-2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import Tooltip from "../components/common/Tooltip.astro";
99
import { Image } from "astro:assets";
1010
import vsCodeImg from "~/assets/images/vscode.svg";
1111
import neovimImg from "~/assets/images/neovim.svg";
12+
import jetbrainsImg from "~/assets/images/jetbrains.svg";
1213
1314
import "../scss/fonts/_Prompt.scss";
1415
@@ -179,6 +180,9 @@ const annotationCount = annotationsPage
179180
<button value="neovim-install" class="neovim" tabindex="0">
180181
<Image src={neovimImg} alt="Neovim" />
181182
</button>
183+
<button value="jetbrains-install" class="jetbrains" tabindex="0">
184+
<Image src={jetbrainsImg} alt="JetBrains" />
185+
</button>
182186
<button value="other-install" class="other" tabindex="0"
183187
><Icon name="question" group="solid" /></button
184188
>
@@ -258,6 +262,22 @@ const annotationCount = annotationsPage
258262
</ol>
259263
</div>
260264
</div>
265+
<div id="jetbrains-install">
266+
<h3>JetBrains</h3>
267+
<p>
268+
Install the <ExternalLink
269+
url="https://plugins.jetbrains.com/plugin/22315-sumnekolua"
270+
>
271+
SumnekoLua
272+
</ExternalLink> plugin from the JetBrains Marketplace!
273+
</p>
274+
<p>
275+
See <ExternalLink
276+
url="https://www.jetbrains.com/help/idea/managing-plugins.html"
277+
>JetBrains docs</ExternalLink
278+
> for instructions on installing plugins.
279+
</p>
280+
</div>
261281
<div id="other-install">
262282
<h3>Other</h3>
263283
<p>
@@ -563,7 +583,7 @@ exec &quot;&lt;path-to-directory&gt;/bin/lua-language-server&quot; &quot;$@&quot
563583

564584
.install-tabs {
565585
display: grid;
566-
grid-template-columns: 1fr 1fr 1fr;
586+
grid-template-columns: repeat(4, 1fr);
567587
justify-items: center;
568588
position: relative;
569589
width: 100%;
@@ -590,8 +610,11 @@ exec &quot;&lt;path-to-directory&gt;/bin/lua-language-server&quot; &quot;$@&quot
590610
&.neovim {
591611
--brand-primary: #78e027;
592612
}
613+
&.jetbrains {
614+
--brand-primary: #fb0240;
615+
}
593616
&.other {
594-
--brand-primary: #ff158e;
617+
--brand-primary: #ffdc15;
595618
}
596619

597620
&:hover {

0 commit comments

Comments
 (0)