-
-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathhome.blade.php
221 lines (217 loc) · 15.4 KB
/
home.blade.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
<x-layouts.app :title="__('Dashboard')">
<div class="bg-gray-50 py-16">
<div class="text-center mb-10">
<h2 class="text-2xl font-bold leading-tight text-gray-900 mb-6">
Countdown to your next trip
</h2>
<x-countdown :expires="new Carbon\Carbon('2021-05-21')" class="max-w-xl mx-auto grid grid-cols-4 gap-10 px-4 sm:px-6 text-xs text-gray-500 leading-5 text-center">
<div>
<span class="days text-lg md:text-3xl font-noway-medium" x-text="timer.days">
{{ $component->days() }}
</span><br>
<span class="text-gray uppercase">Days</span>
</div>
<div>
<span class="hours text-lg md:text-3xl font-noway-medium" x-text="timer.hours">
{{ $component->hours() }}
</span><br>
<span class="text-gray uppercase">Hours</span>
</div>
<div>
<span class="minutes text-lg md:text-3xl font-noway-medium" x-text="timer.minutes">
{{ $component->minutes() }}
</span><br>
<span class="text-gray uppercase">Minutes</span>
</div>
<div>
<span class="seconds text-lg md:text-3xl font-noway-medium" x-text="timer.seconds">
{{ $component->seconds() }}
</span><br>
<span class="text-gray uppercase">Seconds</span>
</div>
</x-countdown>
</div>
<main>
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 mt-8">
<div class="sm:grid sm:grid-cols-2 sm:gap-10">
<div>
<h2 class="text-2xl font-bold leading-tight text-gray-900">
Your Destinations
</h2>
<div class="flex flex-col mt-6">
<div class="-my-2 py-2 overflow-x-auto sm:-mx-6 sm:px-6 lg:-mx-8 lg:px-8">
<div class="align-middle inline-block min-w-full shadow overflow-hidden rounded-lg border-b border-gray-200">
<table class="min-w-full">
<tbody>
<tr class="bg-white">
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 font-medium text-gray-900">
Berlin
</td>
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 text-gray-500">
Germany
</td>
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 text-gray-500">
<x-carbon :date="new Carbon\Carbon('2021-05-21')" human />
</td>
<td class="px-6 py-4 whitespace-no-wrap text-right text-sm leading-5 font-medium">
<a href="#" class="text-indigo-600 hover:text-indigo-900">
<x-heroicon-o-trash class="inline h-5 w-5" />
</a>
</td>
</tr>
<tr class="bg-gray-50">
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 font-medium text-gray-900">
Barcelona
</td>
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 text-gray-500">
Spain
</td>
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 text-gray-500">
<x-carbon :date="new Carbon\Carbon('2021-06-14')" human />
</td>
<td class="px-6 py-4 whitespace-no-wrap text-right text-sm leading-5 font-medium">
<a href="#" class="text-indigo-600 hover:text-indigo-900">
<x-heroicon-o-trash class="inline h-5 w-5" />
</a>
</td>
</tr>
<tr class="bg-white">
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 font-medium text-gray-900">
Sydney
</td>
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 text-gray-500">
Australia
</td>
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 text-gray-500">
<x-carbon :date="new Carbon\Carbon('2021-07-22')" human />
</td>
<td class="px-6 py-4 whitespace-no-wrap text-right text-sm leading-5 font-medium">
<a href="#" class="text-indigo-600 hover:text-indigo-900">
<x-heroicon-o-trash class="inline h-5 w-5" />
</a>
</td>
</tr>
<tr class="bg-gray-50">
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 font-medium text-gray-900">
Los Angeles
</td>
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 text-gray-500">
United States
</td>
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 text-gray-500">
<x-carbon :date="new Carbon\Carbon('2021-09-10')" human />
</td>
<td class="px-6 py-4 whitespace-no-wrap text-right text-sm leading-5 font-medium">
<a href="#" class="text-indigo-600 hover:text-indigo-900">
<x-heroicon-o-trash class="inline h-5 w-5" />
</a>
</td>
</tr>
<tr class="bg-white">
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 font-medium text-gray-900">
Paris
</td>
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 text-gray-500">
France
</td>
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 text-gray-500">
<x-carbon :date="new Carbon\Carbon('2021-10-25')" human />
</td>
<td class="px-6 py-4 whitespace-no-wrap text-right text-sm leading-5 font-medium">
<a href="#" class="text-indigo-600 hover:text-indigo-900">
<x-heroicon-o-trash class="inline h-5 w-5" />
</a>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="mt-6 sm:mt-0">
<h2 class="text-2xl font-bold leading-tight text-gray-900">
Popular Destinations
</h2>
<div class="flex flex-col mt-6">
<div class="-my-2 py-2 overflow-x-auto sm:-mx-6 sm:px-6 lg:-mx-8 lg:px-8">
<div class="align-middle inline-block min-w-full shadow overflow-hidden rounded-lg border-b border-gray-200">
<table class="min-w-full">
<tbody>
<tr class="bg-white">
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 font-medium text-gray-900">
London
</td>
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 text-gray-500">
United Kingdom
</td>
<td class="px-6 py-4 whitespace-no-wrap text-right text-sm leading-5 font-medium">
<a href="#" class="text-indigo-600 hover:text-indigo-900">
<x-heroicon-o-plus class="inline h-5 w-5" />
</a>
</td>
</tr>
<tr class="bg-gray-50">
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 font-medium text-gray-900">
New York
</td>
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 text-gray-500">
United States
</td>
<td class="px-6 py-4 whitespace-no-wrap text-right text-sm leading-5 font-medium">
<a href="#" class="text-indigo-600 hover:text-indigo-900">
<x-heroicon-o-plus class="inline h-5 w-5" />
</a>
</td>
</tr>
<tr class="bg-white">
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 font-medium text-gray-900">
Tokio
</td>
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 text-gray-500">
Japan
</td>
<td class="px-6 py-4 whitespace-no-wrap text-right text-sm leading-5 font-medium">
<a href="#" class="text-indigo-600 hover:text-indigo-900">
<x-heroicon-o-plus class="inline h-5 w-5" />
</a>
</td>
</tr>
<tr class="bg-gray-50">
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 font-medium text-gray-900">
Los Angeles
</td>
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 text-gray-500">
United States
</td>
<td class="px-6 py-4 whitespace-no-wrap text-right text-sm leading-5 font-medium">
<a href="#" class="text-indigo-600 hover:text-indigo-900">
<x-heroicon-o-plus class="inline h-5 w-5" />
</a>
</td>
</tr>
<tr class="bg-white">
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 font-medium text-gray-900">
Rome
</td>
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 text-gray-500">
Italy
</td>
<td class="px-6 py-4 whitespace-no-wrap text-right text-sm leading-5 font-medium">
<a href="#" class="text-indigo-600 hover:text-indigo-900">
<x-heroicon-o-plus class="inline h-5 w-5" />
</a>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<x-mapbox theme="light-v10" class="rounded-lg shadow-lg h-96 mt-6" :markers="[[13.4105300, 52.5243700], [2.3488000, 48.8534100]]"/>
</div>
</main>
</div>
</x-layouts.app>