File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed
Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change 1818 </x-slot>
1919
2020 <div class="hero-bg h-full flex justify-center">
21- <x-form :action="uri([CodeController::class, 'submit'])" class="w-full">
22- <x-csrf-token />
23- <div class="grid gap-4 max-full max-w-[66%] mx-auto">
24- <input type="hidden" name="lang" :value="$language" />
25- <label for="code" class="text-xl">Paste your code</label>
26- <textarea name="code" id="code" class="border-2 border-[--primary] w-full p-4 rounded bg-[var(--code-background)] text-[var(--foreground)]" rows="20" autofocus>{{ $code }}</textarea>
27- <div class="flex justify-end">
28- <input type="submit" class="no-primary rounded-md font-medium inline-flex items-center focus:outline-hidden disabled:cursor-not-allowed aria-disabled:cursor-not-allowed disabled:opacity-75 aria-disabled:opacity-75 transition-colors px-4 py-2 gap-2 ring ring-inset ring-(--ui-border-accented) text-(--ui-text) bg-(--ui-bg) hover:bg-(--ui-bg-elevated) disabled:bg-(--ui-bg) aria-disabled:bg-(--ui-bg) focus-visible:ring-2 focus-visible:ring-(--ui-border-inverted)" />
21+ <div class="w-full">
22+ <x-form :action="uri([CodeController::class, 'submit'])">
23+ <x-csrf-token/>
24+ <div class="grid gap-4 max-full max-w-[66%] mx-auto">
25+ <input type="hidden" name="lang" :value="$language"/>
26+ <label for="code" class="text-xl">Paste your code</label>
27+ <textarea name="code" id="code" class="border-2 border-[--primary] w-full p-4 rounded bg-[var(--code-background)] text-[var(--foreground)]" rows="20" autofocus>{{ $code }}</textarea>
28+ <div class="flex justify-end">
29+ <input type="submit" class="no-primary rounded-md font-medium inline-flex items-center focus:outline-hidden disabled:cursor-not-allowed aria-disabled:cursor-not-allowed disabled:opacity-75 aria-disabled:opacity-75 transition-colors px-4 py-2 gap-2 ring ring-inset ring-(--ui-border-accented) text-(--ui-text) bg-(--ui-bg) hover:bg-(--ui-bg-elevated) disabled:bg-(--ui-bg) aria-disabled:bg-(--ui-bg) focus-visible:ring-2 focus-visible:ring-(--ui-border-inverted)"/>
30+ </div>
2931 </div>
30- </div >
31- </x-form >
32+ </x-form >
33+ </div >
3234 </div>
3335</x-base>
You can’t perform that action at this time.
0 commit comments