Skip to content

Commit fc1ae0b

Browse files
committed
chore: wip
1 parent 1faceec commit fc1ae0b

63 files changed

Lines changed: 1181 additions & 1181 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

storage/framework/defaults/resources/components/Dashboard/Auth/Register.stx

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -112,31 +112,31 @@ function handleSubmit(event) {
112112
$emit('submit', { name, email, password, password_confirmation: passwordConfirmation })
113113
}
114114
</script>
115-
<div class="min-h-screen flex items-center justify-center px-4 py-12">
116-
<div class="w-full max-w-sm">
115+
<div class="flex items-center justify-center px-4 py-12 min-h-screen">
116+
<div class="max-w-sm w-full">
117117
<!-- Logo/Brand -->
118-
<div class="text-center mb-8">
119-
<div class="inline-flex items-center justify-center w-12 h-12 rounded-xl bg-gradient-to-br from-blue-500 to-blue-600 shadow-lg shadow-blue-500/25 mb-4">
120-
<svg class="w-7 h-7 text-white" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
118+
<div class="mb-8 text-center">
119+
<div class="inline-flex items-center justify-center mb-4 h-12 w-12 bg-gradient-to-br from-blue-500 to-blue-600 rounded-xl shadow-blue-500/25 shadow-lg">
120+
<svg class="h-7 w-7 text-white" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
121121
<path stroke-linecap="round" stroke-linejoin="round" d="M20 7l-8-4-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10M4 7v10l8 4" />
122122
</svg>
123123
</div>
124-
<h1 class="text-2xl font-semibold text-neutral-900 dark:text-white">
124+
<h1 class="font-semibold text-2xl text-neutral-900 dark:text-white">
125125
{{ title }}
126126
</h1>
127-
<p class="mt-2 text-sm text-neutral-500 dark:text-neutral-400">
127+
<p class="mt-2 text-neutral-500 text-sm dark:text-neutral-400">
128128
{{ subtitle }}
129129
</p>
130130
</div>
131131

132132
<!-- Register Form -->
133-
<div class="bg-white dark:bg-neutral-900 rounded-2xl shadow-xl shadow-black/5 dark:shadow-black/20 border border-neutral-200/60 dark:border-neutral-800 p-6">
133+
<div class="p-6 bg-white dark:bg-neutral-900 border border-neutral-200/60 rounded-2xl dark:border-neutral-800 shadow-black/5 shadow-xl dark:shadow-black/20">
134134
<!-- Error Message -->
135135
@if(error)
136-
<div class="mb-4 p-3 rounded-lg bg-red-50 dark:bg-red-900/20 border border-red-200 dark:border-red-800">
137-
<div class="flex items-center gap-2">
138-
<div class="i-hugeicons-alert-circle w-4 h-4 text-red-600 dark:text-red-400"></div>
139-
<p class="text-sm text-red-600 dark:text-red-400">{{ error }}</p>
136+
<div class="mb-4 p-3 bg-red-50 dark:bg-red-900/20 border border-red-200 rounded-lg dark:border-red-800">
137+
<div class="flex gap-2 items-center">
138+
<div class="h-4 w-4 text-red-600 dark:text-red-400 i-hugeicons-alert-circle"></div>
139+
<p class="text-red-600 text-sm dark:text-red-400">{{ error }}</p>
140140
</div>
141141
</div>
142142
@endif
@@ -188,10 +188,10 @@ function handleSubmit(event) {
188188
@if(password.length > 0)
189189
<div class="mt-2">
190190
<div class="flex gap-1">
191-
<div class="h-1 flex-1 rounded-full" :class="passwordStrength >= 1 ? (passwordStrength <= 1 ? 'bg-red-500' : passwordStrength === 2 ? 'bg-orange-500' : passwordStrength === 3 ? 'bg-yellow-500' : 'bg-green-500') : 'bg-neutral-200 dark:bg-neutral-700'"></div>
192-
<div class="h-1 flex-1 rounded-full" :class="passwordStrength >= 2 ? (passwordStrength === 2 ? 'bg-orange-500' : passwordStrength === 3 ? 'bg-yellow-500' : 'bg-green-500') : 'bg-neutral-200 dark:bg-neutral-700'"></div>
193-
<div class="h-1 flex-1 rounded-full" :class="passwordStrength >= 3 ? (passwordStrength === 3 ? 'bg-yellow-500' : 'bg-green-500') : 'bg-neutral-200 dark:bg-neutral-700'"></div>
194-
<div class="h-1 flex-1 rounded-full" :class="passwordStrength >= 4 ? 'bg-green-500' : 'bg-neutral-200 dark:bg-neutral-700'"></div>
191+
<div class="flex-1 h-1 rounded-full" :class="passwordStrength >= 1 ? (passwordStrength <= 1 ? 'bg-red-500' : passwordStrength === 2 ? 'bg-orange-500' : passwordStrength === 3 ? 'bg-yellow-500' : 'bg-green-500') : 'bg-neutral-200 dark:bg-neutral-700'"></div>
192+
<div class="flex-1 h-1 rounded-full" :class="passwordStrength >= 2 ? (passwordStrength === 2 ? 'bg-orange-500' : passwordStrength === 3 ? 'bg-yellow-500' : 'bg-green-500') : 'bg-neutral-200 dark:bg-neutral-700'"></div>
193+
<div class="flex-1 h-1 rounded-full" :class="passwordStrength >= 3 ? (passwordStrength === 3 ? 'bg-yellow-500' : 'bg-green-500') : 'bg-neutral-200 dark:bg-neutral-700'"></div>
194+
<div class="flex-1 h-1 rounded-full" :class="passwordStrength >= 4 ? 'bg-green-500' : 'bg-neutral-200 dark:bg-neutral-700'"></div>
195195
</div>
196196
<p class="mt-1 text-xs" :class="passwordStrength <= 1 ? 'text-red-500' : passwordStrength === 2 ? 'text-orange-500' : passwordStrength === 3 ? 'text-yellow-600 dark:text-yellow-400' : 'text-green-500'">
197197
{{ passwordStrengthLabel }}
@@ -216,23 +216,23 @@ function handleSubmit(event) {
216216

217217
<!-- Terms Checkbox -->
218218
<div class="mb-6">
219-
<label class="flex items-start gap-2 cursor-pointer">
219+
<label class="flex gap-2 items-start cursor-pointer">
220220
<input
221221
type="checkbox"
222-
class="mt-0.5 w-4 h-4 rounded border-neutral-300 dark:border-neutral-600 text-blue-500 focus:ring-blue-500/40 focus:ring-offset-0 bg-white dark:bg-neutral-800"
222+
class="mt-0.5 h-4 w-4 text-blue-500 bg-white dark:bg-neutral-800 border-neutral-300 rounded dark:border-neutral-600 focus:ring-blue-500/40 focus:ring-offset-0"
223223
:checked="agreeToTerms"
224224
@change="agreeToTerms = $event.target.checked"
225225
:disabled="isLoading"
226226
/>
227-
<span class="text-sm text-neutral-600 dark:text-neutral-400">
227+
<span class="text-neutral-600 text-sm dark:text-neutral-400">
228228
I agree to the
229-
<a href="/terms" class="text-blue-600 hover:text-blue-500 dark:text-blue-400">Terms of Service</a>
229+
<a href="/terms" class="text-blue-600 dark:text-blue-400 hover:text-blue-500">Terms of Service</a>
230230
and
231-
<a href="/privacy" class="text-blue-600 hover:text-blue-500 dark:text-blue-400">Privacy Policy</a>
231+
<a href="/privacy" class="text-blue-600 dark:text-blue-400 hover:text-blue-500">Privacy Policy</a>
232232
</span>
233233
</label>
234234
@if(errors.terms)
235-
<p class="mt-1 text-sm text-red-600 dark:text-red-400">{{ errors.terms }}</p>
235+
<p class="mt-1 text-red-600 text-sm dark:text-red-400">{{ errors.terms }}</p>
236236
@endif
237237
</div>
238238

@@ -255,22 +255,22 @@ function handleSubmit(event) {
255255

256256
<!-- Divider -->
257257
<div class="relative my-6">
258-
<div class="absolute inset-0 flex items-center">
259-
<div class="w-full border-t border-neutral-200 dark:border-neutral-700"></div>
258+
<div class="flex absolute inset-0 items-center">
259+
<div class="w-full border-neutral-200 border-t dark:border-neutral-700"></div>
260260
</div>
261-
<div class="relative flex justify-center text-xs">
262-
<span class="px-2 bg-white dark:bg-neutral-900 text-neutral-400">or continue with</span>
261+
<div class="flex relative justify-center text-xs">
262+
<span class="px-2 text-neutral-400 bg-white dark:bg-neutral-900">or continue with</span>
263263
</div>
264264
</div>
265265

266266
<!-- Social Login -->
267-
<div class="grid grid-cols-2 gap-3">
267+
<div class="grid gap-3 grid-cols-2">
268268
<button
269269
type="button"
270-
class="flex items-center justify-center gap-2 px-4 py-2 text-sm font-medium text-neutral-700 dark:text-neutral-200 bg-white dark:bg-neutral-800 border border-neutral-200 dark:border-neutral-700 rounded-lg hover:bg-neutral-50 dark:hover:bg-neutral-700 transition-colors"
270+
class="flex gap-2 items-center justify-center px-4 py-2 font-medium text-neutral-700 text-sm dark:text-neutral-200 bg-white dark:bg-neutral-800 hover:bg-neutral-50 dark:hover:bg-neutral-700 border border-neutral-200 rounded-lg dark:border-neutral-700 transition-colors"
271271
:disabled="isLoading"
272272
>
273-
<svg class="w-4 h-4" viewBox="0 0 24 24">
273+
<svg class="h-4 w-4" viewBox="0 0 24 24">
274274
<path fill="currentColor" d="M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"/>
275275
<path fill="currentColor" d="M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"/>
276276
<path fill="currentColor" d="M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"/>
@@ -280,10 +280,10 @@ function handleSubmit(event) {
280280
</button>
281281
<button
282282
type="button"
283-
class="flex items-center justify-center gap-2 px-4 py-2 text-sm font-medium text-neutral-700 dark:text-neutral-200 bg-white dark:bg-neutral-800 border border-neutral-200 dark:border-neutral-700 rounded-lg hover:bg-neutral-50 dark:hover:bg-neutral-700 transition-colors"
283+
class="flex gap-2 items-center justify-center px-4 py-2 font-medium text-neutral-700 text-sm dark:text-neutral-200 bg-white dark:bg-neutral-800 hover:bg-neutral-50 dark:hover:bg-neutral-700 border border-neutral-200 rounded-lg dark:border-neutral-700 transition-colors"
284284
:disabled="isLoading"
285285
>
286-
<svg class="w-4 h-4" viewBox="0 0 24 24" fill="currentColor">
286+
<svg class="h-4 w-4" viewBox="0 0 24 24" fill="currentColor">
287287
<path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/>
288288
</svg>
289289
GitHub
@@ -293,9 +293,9 @@ function handleSubmit(event) {
293293

294294
<!-- Login Link -->
295295
@if(showLogin)
296-
<p class="mt-6 text-center text-sm text-neutral-500 dark:text-neutral-400">
296+
<p class="mt-6 text-center text-neutral-500 text-sm dark:text-neutral-400">
297297
Already have an account?
298-
<a href="/login" class="font-medium text-blue-600 hover:text-blue-500 dark:text-blue-400 dark:hover:text-blue-300">
298+
<a href="/login" class="font-medium text-blue-600 dark:text-blue-400 hover:text-blue-500 dark:hover:text-blue-300">
299299
Sign in
300300
</a>
301301
</p>

storage/framework/defaults/resources/components/Dashboard/Avatar.stx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ function getBgColor() {
9898
return name ? bgColors[getBgColorIndex(name)] : 'bg-black/[0.06] text-neutral-500 dark:bg-white/10 dark:text-neutral-400'
9999
}
100100
</script>
101-
<div class="relative inline-flex flex-shrink-0">
101+
<div class="inline-flex relative flex-shrink-0">
102102
@if(src)
103103
<img
104104
src="{{ src }}"
@@ -110,7 +110,7 @@ function getBgColor() {
110110
@if(name)
111111
<span>{{ getInitials(name) }}</span>
112112
@else
113-
<svg class="w-1/2 h-1/2 text-neutral-400" fill="currentColor" viewBox="0 0 20 20">
113+
<svg class="h-1/2 w-1/2 text-neutral-400" fill="currentColor" viewBox="0 0 20 20">
114114
<path fill-rule="evenodd" d="M10 9a3 3 0 100-6 3 3 0 000 6zm-7 9a7 7 0 1114 0H3z" clip-rule="evenodd"></path>
115115
</svg>
116116
@endif

storage/framework/defaults/resources/components/Dashboard/Buttons/AppButton.stx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const buttonString = loading ? loadingText : buttonText
1919
>
2020
@if(loading)
2121
<svg
22-
class="mr-3 h-5 w-5 animate-spin text-white -ml-1"
22+
class="-ml-1 mr-3 h-5 w-5 text-white animate-spin"
2323
xmlns="http://www.w3.org/2000/svg"
2424
fill="none"
2525
viewBox="0 0 24 24"

storage/framework/defaults/resources/components/Dashboard/Buttons/IconButton.stx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ const { to = '', active = false } = defineProps<IconButtonProps>()
1010
href="{{ to }}"
1111
class="bg-primary flex flex-row items-center gap-2 rounded-md p-1 {{ active ? 'dark:bg-neutral-700 bg-neutral-50 dark:text-blue-300 text-gray-600' : '' }}"
1212
>
13-
<div class="relative flex items-center justify-center rounded-md bg-gray-8 p-1">
13+
<div class="flex relative items-center justify-center p-1 bg-gray-8 rounded-md">
1414
<span class="h-6 w-6 text-white"></span>
1515
</div>
1616

17-
<span class="text-gray-8 !text-sm">
17+
<span class="!text-sm text-gray-8">
1818
<slot />
1919
</span>
2020
</a>

0 commit comments

Comments
 (0)