Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
devajmeireles committed Mar 7, 2024
1 parent 12c50fb commit 14170b9
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 4 deletions.
11 changes: 11 additions & 0 deletions app/Enums/Examples/Form/Input.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,17 @@ class Input
public const PREFIX_SUFFIX = <<<'HTML'
<x-input prefix="https://" label="Domain" />
<x-input suffix="@gmail.com" label="E-mail" />
<!-- or -->
<x-input>
<x-slot:prefix>
Prefix
</x-slot:prefix>
<x-slot:suffix>
Suffix
</x-slot:suffix>
</x-input>
HTML;

public const INVALIDATE = <<<'HTML'
Expand Down
4 changes: 2 additions & 2 deletions resources/views/components/top-bar.blade.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<x-banner :color="['background' => 'bg-pink-900', 'text' => 'text-white']">
The <b class="underline">summer release</b> is here πŸ„πŸ» A new release with lots of new features.
<x-banner :color="['background' => 'bg-pink-900', 'text' => 'text-white']" until="2024-03-31">
The <a href="{{ route('documentation.summer-release') }}" class="underline">summer release is here</a> πŸ– A big release with lots of new features.
</x-banner>
2 changes: 1 addition & 1 deletion resources/views/documentation/summer-release.blade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<x-layout torchlight>
<x-slot:title>
The Summer Release πŸ– (v1.20)
The Summer Release πŸ–
</x-slot:title>
<p class="mt-4 text-gray-600 dark:text-dark-400">
After more than 30 days of work, <b>we present the Summer Release!</b>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/livewire/welcome/form.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
</div>
<div class="col-span-1">
<x-input label="E-mail *"
hint="Use your g-mail"
hint="Use your Gmail"
suffix="@gmail.com"
wire:model="email" />
</div>
Expand Down
19 changes: 19 additions & 0 deletions resources/views/welcome.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,25 @@ class="h-full antialiased"
</dd>
</div>
</dl>
<h2 class="pt-4 flex justify-center text-2xl font-medium text-gray-700 dark:text-gray-300">Date Picker πŸ‘‡πŸ»</h2>
<dl class="grid max-w-xl grid-cols-1 gap-x-8 gap-y-16 lg:max-w-none lg:grid-cols-1">
<div class="flex flex-col">
<dd class="mt-4 text-base leading-7 text-gray-300 space-y-2">
<x-date label="Normal" :value="now()->format('Y-m-d')" format="DD, MMMM, YYYY" />
<x-date label="Range" range :value="[now()->format('Y-m-d'), now()->addWeek()->format('Y-m-d')]" format="DD, MMMM, YYYY" />
<x-date label="Multiple" multiple :value="[now()->format('Y-m-d'), now()->addDay()->format('Y-m-d')]" format="DD, MMMM, YYYY" />
</dd>
</div>
</dl>
<h2 class="pt-4 flex justify-center text-2xl font-medium text-gray-700 dark:text-gray-300">Time Picker πŸ‘‡πŸ»</h2>
<dl class="grid max-w-xl grid-cols-1 gap-x-8 gap-y-16 lg:max-w-none lg:grid-cols-1">
<div class="flex flex-col">
<dd class="mt-4 text-base leading-7 text-gray-300 space-y-2">
<x-time label="Format 12 Hours" :value="now()->format('h:i')" helper />
<x-time label="Format 24 Hours" :value="now()->format('h:i')" format="24" helper />
</dd>
</div>
</dl>
<h2 class="pt-4 flex justify-center text-2xl font-medium text-gray-700 dark:text-gray-300">Select Through API πŸ‘‡πŸ»</h2>
<dl class="grid max-w-xl grid-cols-1 gap-x-8 gap-y-16 lg:max-w-none lg:grid-cols-1">
<div class="flex flex-col">
Expand Down

0 comments on commit 14170b9

Please sign in to comment.