diff --git a/app/Models/Tour.php b/app/Models/Tour.php index fafd649..6f37459 100644 --- a/app/Models/Tour.php +++ b/app/Models/Tour.php @@ -18,6 +18,8 @@ class Tour extends Model public static function featuredTours(){ return Tour::whereHas('countries.continent') ->with('countries.continent') + ->inRandomOrder() + ->limit(4) ->get(); } } diff --git a/resources/js/components/dredgy/ScrollIndicator.vue b/resources/js/components/dredgy/ScrollIndicator.vue index 66a71a9..855d9fb 100644 --- a/resources/js/components/dredgy/ScrollIndicator.vue +++ b/resources/js/components/dredgy/ScrollIndicator.vue @@ -32,8 +32,8 @@ onUnmounted(() => {