diff options
author | Pauline <git@ethanlibs.co> | 2023-12-20 01:58:22 -0500 |
---|---|---|
committer | Pauline <git@ethanlibs.co> | 2023-12-20 01:58:22 -0500 |
commit | 8e85be96a154b371b4cf1fb1924155d96150f949 (patch) | |
tree | 22edab0f259bbdba76d1c8fb790ff2c6cf65db60 /apps/website/src/components/base/CodeBlock.astro | |
parent | 64537e64852193cb735ee4853c0f8d07a5222030 (diff) | |
download | Nexus-8e85be96a154b371b4cf1fb1924155d96150f949.tar.gz Nexus-8e85be96a154b371b4cf1fb1924155d96150f949.tar.bz2 Nexus-8e85be96a154b371b4cf1fb1924155d96150f949.zip |
chore(lint): bump deps and fix linting/format
Diffstat (limited to 'apps/website/src/components/base/CodeBlock.astro')
-rw-r--r-- | apps/website/src/components/base/CodeBlock.astro | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/apps/website/src/components/base/CodeBlock.astro b/apps/website/src/components/base/CodeBlock.astro deleted file mode 100644 index fd2cdd6..0000000 --- a/apps/website/src/components/base/CodeBlock.astro +++ /dev/null @@ -1,21 +0,0 @@ ---- - ---- - -<pre class="flex flex-col bg-gray-800 whitespace-pre border border-gray-50 rounded-2xl text-sm"> - <!-- TODO: un-shit this --> - <code><ca>public</ca> <cb>class</cb> <cc>MyConfig</cc> <cd>{</cd></code> - <code></code> - <code> <ce>@</ce><ca>Switch</ca><cd>(</cd><ca>name</ca> <ce>=</ce> <cf>"Sub Switch"</cf><cd>,</cd> <ca>type</ca> <ce>=</ce> <ca>OptionType</ca><cd>.</cd><cb>SWITCH</cb><cd>)</cd></code> - <code> <cb>public</cb> <cc>static boolean subSwitch</cc> <ce>=</ce> <cg>false</cg><cd>;</cd></code> - <code></code> - <code> <ca>public MyConfig</ca><cd>() {</cd></code> - <code> <cb>super</cb><cd>(</cd><cb>new</cb> <ca>Mod</ca><cd>(</cd><cf>"My Mod"</cf><cd>,</cd> <ca>ModType</ca><cd>.</cd><cb>UTIL_QOL</cb><cd>),</cd> <cf>"config.json"</cf><cd>);</cd></code> - <code></code> - <code> <cb>addDependency</cb><cd>(</cd><cf>"subSwitch"</cf><cd>, ()</cd> <ce>-></ce> <cd>{</cd></code> - <code> // Do stuff here!</code> - <code> <cd>});</cd></code> - <code> <cd>}</cd></code> - <code></code> - <code><cd>}</cd></code> -</pre> |