Immobilien site 11-05-2026
This commit is contained in:
parent
e198d842ce
commit
6799325f71
28 changed files with 16189 additions and 809 deletions
|
|
@ -1,4 +1,16 @@
|
|||
<div>
|
||||
@if ($syncFromAlpineProject)
|
||||
<div
|
||||
x-effect="
|
||||
if (typeof selectedProject !== 'undefined' && selectedProject) {
|
||||
$wire.$set('projectSlug', selectedProject.slug || '')
|
||||
$wire.$set('projectTitle', selectedProject.title || '')
|
||||
}
|
||||
"
|
||||
class="hidden"
|
||||
aria-hidden="true"></div>
|
||||
@endif
|
||||
|
||||
@if ($success)
|
||||
<div class="flex flex-col items-center text-center py-6 gap-4">
|
||||
<div class="flex items-center justify-center w-16 h-16 rounded-full bg-green-100">
|
||||
|
|
@ -20,7 +32,7 @@
|
|||
<input type="text" id="website_hp" name="website" wire:model="website" tabindex="-1" autocomplete="off">
|
||||
</div>
|
||||
|
||||
@if (!empty($interestOptions))
|
||||
@if ($showInterest && !empty($interestOptions))
|
||||
<div>
|
||||
<label for="interest" class="block text-sm font-medium text-foreground mb-2">{{ __('ui.immobilien_form.interest') }}</label>
|
||||
<div class="grid grid-cols-1">
|
||||
|
|
@ -141,7 +153,7 @@
|
|||
wire:loading.attr="disabled"
|
||||
class="w-full btn-primary-accent"
|
||||
>
|
||||
<span wire:loading.remove>{{ __('ui.immobilien_form.submit') }}</span>
|
||||
<span wire:loading.remove>{{ $submitLabel ?: __('ui.immobilien_form.submit') }}</span>
|
||||
<span wire:loading>{{ __('ui.immobilien_form.sending') }}</span>
|
||||
</button>
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -1,15 +1,12 @@
|
|||
@if (!empty($content) && ($content['enabled'] ?? false))
|
||||
<div x-data="{ dismissed: localStorage.getItem('announcement_dismissed_{{ $content['id'] ?? 'default' }}') === 'true' }"
|
||||
x-show="!dismissed"
|
||||
x-transition:leave="transition ease-in duration-200"
|
||||
x-transition:leave-start="opacity-100 max-h-16"
|
||||
x-transition:leave-end="opacity-0 max-h-0"
|
||||
class="bg-secondary text-secondary-foreground overflow-hidden"
|
||||
id="topbar">
|
||||
<div x-data="{ dismissed: localStorage.getItem('announcement_dismissed_{{ $content['id'] ?? 'default' }}') === 'true' }" x-show="!dismissed" x-transition:leave="transition ease-in duration-200"
|
||||
x-transition:leave-start="opacity-100 max-h-16" x-transition:leave-end="opacity-0 max-h-0"
|
||||
class="bg-primary text-secondary-foreground overflow-hidden" id="topbar">
|
||||
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
||||
<div class="relative flex items-center justify-center gap-x-3 gap-y-1 flex-wrap min-h-10 py-2 pr-8 text-sm">
|
||||
@if (isset($content['badge']))
|
||||
<span class="hidden sm:inline-flex items-center gap-1 px-2 py-0.5 rounded-full text-[10px] font-bold uppercase tracking-wider bg-white/20 shrink-0">
|
||||
<span
|
||||
class="hidden sm:inline-flex items-center gap-1 px-2 py-0.5 rounded-full text-[10px] font-bold uppercase tracking-wider bg-white/20 shrink-0">
|
||||
{{ $content['badge'] }}
|
||||
</span>
|
||||
@endif
|
||||
|
|
@ -22,8 +19,10 @@
|
|||
<a href="{{ $content['link_url'] }}"
|
||||
class="inline-flex items-center gap-1 font-semibold underline underline-offset-2 decoration-white/50 hover:decoration-white transition-colors shrink-0">
|
||||
{{ $content['link_text'] }}
|
||||
<svg class="w-3.5 h-3.5" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M13.5 4.5L21 12m0 0l-7.5 7.5M21 12H3" />
|
||||
<svg class="w-3.5 h-3.5" fill="none" stroke="currentColor" stroke-width="2"
|
||||
viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round"
|
||||
d="M13.5 4.5L21 12m0 0l-7.5 7.5M21 12H3" />
|
||||
</svg>
|
||||
</a>
|
||||
@endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue