diff --git a/src/routes/acornmc/vote/index.tsx b/src/routes/acornmc/vote/index.tsx index b8a0403d..81aec100 100644 --- a/src/routes/acornmc/vote/index.tsx +++ b/src/routes/acornmc/vote/index.tsx @@ -1,6 +1,5 @@ import { component$, useVisibleTask$ } from '@builder.io/qwik'; import type { DocumentHead } from '@builder.io/qwik-city'; -import { LoadingIcon } from '@luminescent/ui-qwik'; import Background from '~/components/images/background.png?jsx'; export default component$(() => { @@ -20,7 +19,7 @@ export default component$(() => {

Opening Links - +

); diff --git a/src/routes/resources/animtexture/index.tsx b/src/routes/resources/animtexture/index.tsx index 595e4aa7..483ec0ce 100644 --- a/src/routes/resources/animtexture/index.tsx +++ b/src/routes/resources/animtexture/index.tsx @@ -1,7 +1,7 @@ import { $, component$, useOn, useStore, useVisibleTask$ } from '@builder.io/qwik'; import type { DocumentHead } from '@builder.io/qwik-city'; -import { Button, ButtonAnchor, TextInput, Toggle } from '@luminescent/ui-qwik'; +import { Toggle } from '@luminescent/ui-qwik'; import { inlineTranslate, useSpeak, @@ -62,8 +62,10 @@ export default component$(() => { {t('animtexture.subtitle@@Easily merge textures for resource pack animations')} -
- +
+ + +
{store.frames.map((frame, i) => ( @@ -74,15 +76,14 @@ export default component$(() => { ))}
- { store.textureName = el.value; }}> - {t('animtexture.textureName@@Texture Name')} - +
+ { store.textureName = el.value; }}/> { store.cumulative = el.checked; }} label={t('animtexture.cumulative@@Cumulative (Turn this on if gif frames are broken)')} /> - + diff --git a/src/routes/resources/flags/index.tsx b/src/routes/resources/flags/index.tsx index 9c7a3b4e..4a0207a3 100644 --- a/src/routes/resources/flags/index.tsx +++ b/src/routes/resources/flags/index.tsx @@ -1,7 +1,7 @@ /* eslint-disable qwik/valid-lexical-scope */ import { component$, useStore, useTask$ } from '@builder.io/qwik'; import { routeLoader$, type DocumentHead } from '@builder.io/qwik-city'; -import { Header, Dropdown, TextArea, TextInput, Toggle, DropdownRaw, ButtonAnchor } from '@luminescent/ui-qwik'; +import { Dropdown, Toggle, DropdownRaw } from '@luminescent/ui-qwik'; import { CodeWorkingOutline, CubeOutline, HelpOutline, RefreshCircleOutline, TerminalOutline } from 'qwik-ionicons'; import { inlineTranslate, useSpeak } from 'qwik-speak'; import { getCookies, setCookies } from '~/components/util/SharedUtils'; @@ -140,7 +140,7 @@ export default component$(() => { }, { deep: true }); useTask$(({ track }) => { - isBrowser && setCookies('parsed', store); + if (isBrowser) setCookies('parsed', store); (Object.keys(store) as Array).forEach((key) => { track(() => store[key]); }); @@ -158,14 +158,17 @@ export default component$(() => {
- { - if (el.value.replace(/ /g, '') == '') return; - if (!el.value.endsWith('.jar')) { el.value += '.jar'; } - store.fileName = el.value; - }}> - {t('flags.fileName.label@@File Name')}
- {t('flags.fileName.description@@The name of the file that will be used to start your server.')} -
+
+ + { + if (el.value.replace(/ /g, '') == '') return; + if (!el.value.endsWith('.jar')) { el.value += '.jar'; } + store.fileName = el.value; + }}/> +
{ store.operatingSystem = el.value; @@ -186,8 +189,8 @@ export default component$(() => {
{t('memory.label@@Memory')}
{t('flags.memory.description@@The amount of memory (RAM) to allocate to your server.')} -
-
+
+
| | @@ -196,7 +199,7 @@ export default component$(() => { |
-
+
{store.memory} GB
@@ -221,18 +224,18 @@ export default component$(() => { { store.flags = el.value as keyof typeof flagTypes; }} display={<>}> - + Aikar's Flags - - + + Benchmarked Flags - - + + hilltty's Flags - - + + Obydux's Flags - +
@@ -265,11 +268,11 @@ export default component$(() => {
{/* charlimit={256} */} - + +