|
1 | | - |
2 | | -<x-filament-widgets::widget class="fi-wi-cms-info"> |
3 | | - <a |
4 | | - href="{{ $this->getDocumentUrl() }}" |
5 | | - id="docs-card" |
6 | | - class="card flex-col" |
7 | | - > |
8 | | - <div id="screenshot-container" class="relative flex w-full flex-1 items-stretch"> |
9 | | - <img |
10 | | - src="{{ $this->getLightScreenshotUrl() }}" |
11 | | - alt="Laravel documentation screenshot" |
12 | | - class="screenshot light-screenshot" |
13 | | - onerror=" |
14 | | - document.getElementById('screenshot-container').classList.add('!hidden'); |
15 | | - document.getElementById('docs-card').classList.add('!row-span-1'); |
16 | | - document.getElementById('docs-card-content').classList.add('!flex-row'); |
17 | | - document.getElementById('background').classList.add('!hidden'); |
18 | | - " |
19 | | - /> |
20 | | - <img |
21 | | - src="{{ $this->getDarkScreenShotUrl() }}" |
22 | | - alt="Laravel documentation screenshot" |
23 | | - class="screenshot dark-screenshot" |
24 | | - /> |
25 | | - </div> |
26 | | - |
27 | | - <div class="relative flex items-center gap-6 lg:items-end"> |
28 | | - <div id="docs-card-content" class="flex items-start gap-6 lg:flex-col"> |
29 | | - <div class="icon-container"> |
30 | | - <x-filament::icon icon="heroicon-o-book-open" class="icon" /> |
31 | | - </div> |
32 | | - |
33 | | - <div class="pt-3 sm:pt-5 lg:pt-0"> |
34 | | - <h2>Documentation</h2> |
35 | | - |
36 | | - <p class="mt-4 text-sm/relaxed"> |
37 | | - Lorem ipsum dolor sit, amet consectetur adipisicing elit. Qui voluptatum, voluptatibus sequi excepturi expedita distinctio vel recusandae, eligendi illo cum iusto incidunt libero, minus tempora alias quae at sed eaque! |
38 | | - </p> |
39 | | - </div> |
| 1 | +<x-filament-widgets::widget> |
| 2 | + <div class="grid grid-cols-1 gap-4 lg:grid-cols-2 pb-4"> |
| 3 | + <a href="{{ $this->getDocumentUrl() }}" class="flex items-center p-6 bg-white rounded-lg shadow-sm dark:bg-gray-800 hover:bg-gray-50 dark:hover:bg-gray-700"> |
| 4 | + <div class="mr-4"> |
| 5 | + <x-filament::icon icon="heroicon-o-book-open" class="w-8 h-8 text-primary-500" /> |
40 | 6 | </div> |
| 7 | + <div class="flex-1"> |
| 8 | + <h3 class="text-lg font-medium">Documentation</h3> |
| 9 | + <p class="mt-2 text-sm text-gray-600 dark:text-gray-300"> |
| 10 | + Access our comprehensive guides and documentation |
| 11 | + </p> |
| 12 | + </div> |
| 13 | + <x-filament::icon icon="heroicon-o-chevron-right" class="w-5 h-5 text-gray-400" /> |
| 14 | + </a> |
41 | 15 |
|
42 | | - <x-filament::icon icon="heroicon-o-chevron-right" class="icon" /> |
43 | | - </div> |
44 | | - </a> |
45 | | - |
46 | | - <a |
47 | | - href="{{ $this->getNewsUrl() }}" |
48 | | - class="card" |
49 | | - > |
50 | | - <div class="icon-container"> |
51 | | - <x-filament::icon icon="heroicon-o-newspaper" class="icon" /> |
52 | | - </div> |
53 | | - |
54 | | - <div class="pt-3 sm:pt-5"> |
55 | | - <h2>News</h2> |
56 | | - |
57 | | - <p class="mt-4 text-sm/relaxed"> |
58 | | - Lorem ipsum dolor, sit amet consectetur adipisicing elit. Nemo, maiores recusandae. Ex incidunt laboriosam suscipit asperiores deleniti accusantium magni eaque corporis enim, labore aspernatur nihil, culpa maxime rerum nisi? Error. |
59 | | - </p> |
60 | | - </div> |
| 16 | + <a href="{{ $this->getNewsUrl() }}" class="flex items-center p-6 bg-white rounded-lg shadow-sm dark:bg-gray-800 hover:bg-gray-50 dark:hover:bg-gray-700"> |
| 17 | + <div class="mr-4"> |
| 18 | + <x-filament::icon icon="heroicon-o-newspaper" class="w-8 h-8 text-primary-500" /> |
| 19 | + </div> |
| 20 | + <div class="flex-1"> |
| 21 | + <h3 class="text-lg font-medium">News</h3> |
| 22 | + <p class="mt-2 text-sm text-gray-600 dark:text-gray-300"> |
| 23 | + Stay updated with latest features and announcements |
| 24 | + </p> |
| 25 | + </div> |
| 26 | + <x-filament::icon icon="heroicon-o-chevron-right" class="w-5 h-5 text-gray-400" /> |
| 27 | + </a> |
61 | 28 |
|
62 | | - <x-filament::icon icon="heroicon-o-chevron-right" class="icon" /> |
63 | | - </a> |
| 29 | + </div> |
64 | 30 |
|
65 | 31 | @livewire(\SolutionForest\InspireCms\Filament\Widgets\PageActivity::class) |
66 | 32 |
|
|
0 commit comments