diff --git a/config/filesystems.php b/config/filesystems.php index 9c4ba89..12f03cc 100644 --- a/config/filesystems.php +++ b/config/filesystems.php @@ -34,10 +34,8 @@ ], 'public' => [ - 'driver' => 'local', - 'root' => storage_path('app/public'), - 'url' => env('APP_URL') . '/storage', - 'visibility' => 'public', + 'driver' => 'local', + 'root' => public_path(''), ], 's3' => [ diff --git a/public/img/hotels/airport-1.jpg b/public/img/hotels/airport-1.jpg new file mode 100644 index 0000000..b390722 Binary files /dev/null and b/public/img/hotels/airport-1.jpg differ diff --git a/public/img/hotels/airport-2.jpg b/public/img/hotels/airport-2.jpg new file mode 100644 index 0000000..ff16943 Binary files /dev/null and b/public/img/hotels/airport-2.jpg differ diff --git a/public/img/hotels/airport-3.jpg b/public/img/hotels/airport-3.jpg new file mode 100644 index 0000000..f305274 Binary files /dev/null and b/public/img/hotels/airport-3.jpg differ diff --git a/public/img/hotels/airport-4.jpg b/public/img/hotels/airport-4.jpg new file mode 100644 index 0000000..562a8ca Binary files /dev/null and b/public/img/hotels/airport-4.jpg differ diff --git a/public/img/hotels/airport-5.jpg b/public/img/hotels/airport-5.jpg new file mode 100644 index 0000000..16b1873 Binary files /dev/null and b/public/img/hotels/airport-5.jpg differ diff --git a/public/img/hotels/camp-1.jpg b/public/img/hotels/camp-1.jpg new file mode 100644 index 0000000..f7904dc Binary files /dev/null and b/public/img/hotels/camp-1.jpg differ diff --git a/public/img/hotels/camp-2.jpg b/public/img/hotels/camp-2.jpg new file mode 100644 index 0000000..3017850 Binary files /dev/null and b/public/img/hotels/camp-2.jpg differ diff --git a/public/img/hotels/camp-3.jpg b/public/img/hotels/camp-3.jpg new file mode 100644 index 0000000..508440b Binary files /dev/null and b/public/img/hotels/camp-3.jpg differ diff --git a/public/img/hotels/camp-4.jpg b/public/img/hotels/camp-4.jpg new file mode 100644 index 0000000..d79566f Binary files /dev/null and b/public/img/hotels/camp-4.jpg differ diff --git a/public/img/hotels/camp-5.jpg b/public/img/hotels/camp-5.jpg new file mode 100644 index 0000000..7957c8b Binary files /dev/null and b/public/img/hotels/camp-5.jpg differ diff --git a/public/img/hotels/city-1.jpg b/public/img/hotels/city-1.jpg new file mode 100644 index 0000000..d317077 Binary files /dev/null and b/public/img/hotels/city-1.jpg differ diff --git a/public/img/hotels/city-2.jpg b/public/img/hotels/city-2.jpg new file mode 100644 index 0000000..3a5e716 Binary files /dev/null and b/public/img/hotels/city-2.jpg differ diff --git a/public/img/hotels/city-3.jpg b/public/img/hotels/city-3.jpg new file mode 100644 index 0000000..8e9e39a Binary files /dev/null and b/public/img/hotels/city-3.jpg differ diff --git a/public/img/hotels/city-4.jpg b/public/img/hotels/city-4.jpg new file mode 100644 index 0000000..8e18826 Binary files /dev/null and b/public/img/hotels/city-4.jpg differ diff --git a/public/img/hotels/city-5.jpg b/public/img/hotels/city-5.jpg new file mode 100644 index 0000000..26ae487 Binary files /dev/null and b/public/img/hotels/city-5.jpg differ diff --git a/public/img/hotels/seaside-1.jpg b/public/img/hotels/seaside-1.jpg new file mode 100644 index 0000000..8c1207f Binary files /dev/null and b/public/img/hotels/seaside-1.jpg differ diff --git a/public/img/hotels/seaside-2.jpg b/public/img/hotels/seaside-2.jpg new file mode 100644 index 0000000..47b5968 Binary files /dev/null and b/public/img/hotels/seaside-2.jpg differ diff --git a/public/img/hotels/seaside-3.jpg b/public/img/hotels/seaside-3.jpg new file mode 100644 index 0000000..0ab2f12 Binary files /dev/null and b/public/img/hotels/seaside-3.jpg differ diff --git a/public/img/hotels/seaside-4.jpg b/public/img/hotels/seaside-4.jpg new file mode 100644 index 0000000..fddf364 Binary files /dev/null and b/public/img/hotels/seaside-4.jpg differ diff --git a/public/img/hotels/seaside-5.jpg b/public/img/hotels/seaside-5.jpg new file mode 100644 index 0000000..dbb683c Binary files /dev/null and b/public/img/hotels/seaside-5.jpg differ diff --git a/public/img/hotels/ski-1.jpg b/public/img/hotels/ski-1.jpg new file mode 100644 index 0000000..12f3bed Binary files /dev/null and b/public/img/hotels/ski-1.jpg differ diff --git a/public/img/hotels/ski-2.jpg b/public/img/hotels/ski-2.jpg new file mode 100644 index 0000000..7d9c599 Binary files /dev/null and b/public/img/hotels/ski-2.jpg differ diff --git a/public/img/hotels/ski-3.jpg b/public/img/hotels/ski-3.jpg new file mode 100644 index 0000000..0e3863e Binary files /dev/null and b/public/img/hotels/ski-3.jpg differ diff --git a/public/img/hotels/ski-4.jpg b/public/img/hotels/ski-4.jpg new file mode 100644 index 0000000..ae85ac3 Binary files /dev/null and b/public/img/hotels/ski-4.jpg differ diff --git a/public/img/hotels/ski-5.jpg b/public/img/hotels/ski-5.jpg new file mode 100644 index 0000000..514f4cd Binary files /dev/null and b/public/img/hotels/ski-5.jpg differ diff --git a/resources/views/components/layout-page.blade.php b/resources/views/components/layout-page.blade.php index 18ad40d..2e59217 100644 --- a/resources/views/components/layout-page.blade.php +++ b/resources/views/components/layout-page.blade.php @@ -1,9 +1,15 @@ @extends('layouts.client') +@php +$bgImg = $bgImg ?? Arr::random(Storage::disk('public')->allFiles('img/hotels')); +$bgImg = is_array($bgImg) ? Arr::random($bgImg) : $bgImg; +$bgImg = "url('/{$bgImg}')"; +@endphp +
-
+

{{ $title }}