fix(hosting): fix Build POC button visibility
Same issue as Create Site button — bg-teal-600 not in Tailwind purge.
Switched to bg-purple-600 and removed $icon('sparkles') which may
not exist in the icon set.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -45,7 +45,7 @@
|
|||||||
<div class="flex flex-wrap items-end gap-3">
|
<div class="flex flex-wrap items-end gap-3">
|
||||||
<div class="flex-1 min-w-[200px]">
|
<div class="flex-1 min-w-[200px]">
|
||||||
<select x-model="selectedTemplate"
|
<select x-model="selectedTemplate"
|
||||||
class="w-full px-3 py-2 text-sm border border-gray-300 dark:border-gray-600 rounded-lg focus:border-teal-400 focus:outline-none dark:bg-gray-700 dark:text-gray-300">
|
class="w-full px-3 py-2 text-sm border border-gray-300 dark:border-gray-600 rounded-lg focus:border-purple-400 focus:outline-none dark:bg-gray-700 dark:text-gray-300">
|
||||||
<option value="">Select a template...</option>
|
<option value="">Select a template...</option>
|
||||||
<template x-for="t in templates" :key="t.id">
|
<template x-for="t in templates" :key="t.id">
|
||||||
<option :value="t.id" x-text="t.name + ' — ' + t.description"></option>
|
<option :value="t.id" x-text="t.name + ' — ' + t.description"></option>
|
||||||
@@ -53,9 +53,7 @@
|
|||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<button type="button" @click="buildPoc()" :disabled="!selectedTemplate || buildingPoc"
|
<button type="button" @click="buildPoc()" :disabled="!selectedTemplate || buildingPoc"
|
||||||
class="inline-flex items-center px-4 py-2 text-sm font-medium leading-5 text-white transition-colors duration-150 bg-teal-600 border border-transparent rounded-lg hover:bg-teal-700 focus:outline-none disabled:opacity-50">
|
class="inline-flex items-center px-4 py-2 text-sm font-medium leading-5 text-white transition-colors duration-150 bg-purple-600 border border-transparent rounded-lg hover:bg-purple-700 focus:outline-none disabled:opacity-50">
|
||||||
<span x-show="!buildingPoc" x-html="$icon('sparkles', 'w-4 h-4 mr-2')"></span>
|
|
||||||
<span x-show="buildingPoc" x-html="$icon('spinner', 'w-4 h-4 mr-2')"></span>
|
|
||||||
<span x-text="buildingPoc ? 'Building...' : 'Build POC'"></span>
|
<span x-text="buildingPoc ? 'Building...' : 'Build POC'"></span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user