Rebrand Hub+Flux
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (push) Waiting to run

This commit is contained in:
Kevin Adametz 2026-05-20 15:44:15 +02:00
parent 0a3e52d603
commit 9b47296cea
130 changed files with 9357 additions and 3345 deletions

View file

@ -76,42 +76,45 @@ new #[Layout('components.layouts.app')] class extends Component
@include('partials.settings-heading')
<x-settings.layout :heading="__('Profile')" :subheading="__('Update your name and email address')">
<form wire:submit="updateProfileInformation" class="my-6 w-full space-y-6">
<form wire:submit="updateProfileInformation" class="w-full space-y-5">
<flux:input wire:model="name" :label="__('Name')" type="text" required autofocus autocomplete="name" />
<div>
<flux:input wire:model="email" :label="__('Email')" type="email" required autocomplete="email" />
@if (auth()->user() instanceof \Illuminate\Contracts\Auth\MustVerifyEmail &&! auth()->user()->hasVerifiedEmail())
<div>
<flux:text class="mt-4">
@if (auth()->user() instanceof \Illuminate\Contracts\Auth\MustVerifyEmail && ! auth()->user()->hasVerifiedEmail())
<div class="mt-3 px-4 py-3 rounded-[5px] border text-[12.5px] flex items-start gap-3
bg-[color:var(--color-warn-soft)] border-[color:var(--color-warn)]/30 text-[color:var(--color-ink-2)]">
<flux:icon.exclamation-triangle class="size-[16px] flex-shrink-0 mt-0.5 text-[color:var(--color-accent-deep)]" />
<div class="flex-1">
{{ __('Your email address is unverified.') }}
<flux:link class="text-sm cursor-pointer" wire:click.prevent="resendVerificationNotification">
<button type="button"
wire:click.prevent="resendVerificationNotification"
class="underline underline-offset-2 decoration-[color:var(--color-hub)]/40 hover:decoration-[color:var(--color-hub)] text-[color:var(--color-hub)] cursor-pointer">
{{ __('Click here to re-send the verification email.') }}
</flux:link>
</flux:text>
</button>
@if (session('status') === 'verification-link-sent')
<flux:text class="mt-2 font-medium !dark:text-green-400 !text-green-600">
{{ __('A new verification link has been sent to your email address.') }}
</flux:text>
@endif
@if (session('status') === 'verification-link-sent')
<div class="mt-2 text-[color:var(--color-gain-deep)] font-medium">
{{ __('A new verification link has been sent to your email address.') }}
</div>
@endif
</div>
</div>
@endif
</div>
<div class="flex items-center gap-4">
<div class="flex items-center justify-end">
<flux:button variant="primary" type="submit" class="w-full">{{ __('Save') }}</flux:button>
</div>
<div class="flex items-center gap-4 pt-2 border-t border-[color:var(--color-bg-rule)]">
<flux:button variant="primary" type="submit">{{ __('Save') }}</flux:button>
<x-action-message class="me-3" on="profile-updated">
{{ __('Saved.') }}
<x-action-message on="profile-updated">
<span class="text-[12px] text-[color:var(--color-gain-deep)]">{{ __('Saved.') }}</span>
</x-action-message>
</div>
</form>
<livewire:settings.delete-user-form />
<div class="mt-8 pt-6 border-t border-[color:var(--color-bg-rule)]">
<livewire:settings.delete-user-form />
</div>
</x-settings.layout>
</section>