Added About Page
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user