Added About Page

This commit is contained in:
2025-09-18 13:30:44 +10:00
parent b9e1f6827a
commit 56950a3fec
2 changed files with 4 additions and 2 deletions

View File

@@ -18,6 +18,8 @@ class Tour extends Model
public static function featuredTours(){ public static function featuredTours(){
return Tour::whereHas('countries.continent') return Tour::whereHas('countries.continent')
->with('countries.continent') ->with('countries.continent')
->inRandomOrder()
->limit(4)
->get(); ->get();
} }
} }

View File

@@ -32,8 +32,8 @@ onUnmounted(() => {
<style scoped> <style scoped>
/* wrapper: centering + fade transition */ /* wrapper: centering + fade transition */
.scroll-indicator-fade { .scroll-indicator-fade {
position: absolute; position: fixed;
bottom: 2rem; bottom: 2dvh;
left: 50%; left: 50%;
transform: translateX(-50%); /* keep horizontal centering here */ transform: translateX(-50%); /* keep horizontal centering here */
transition: opacity 0.3s ease; transition: opacity 0.3s ease;