File tree 6 files changed +44
-8
lines changed
6 files changed +44
-8
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,10 @@ export default {
17
17
isAboutUsPage () {
18
18
return this .$route .name === ' AboutUs' ;
19
19
},
20
+
21
+ isNotFound () {
22
+ return this .$route .name === ' not-found' ;
23
+ },
20
24
}
21
25
};
22
26
</script >
@@ -26,10 +30,10 @@ export default {
26
30
<header >
27
31
<AppHeader />
28
32
</header >
29
- <main :class =" [ !isAboutUsPage && !isApartmentShowPage ? 'mt-[500px]' : '']" >
33
+ <main :class =" [ !isAboutUsPage && !isApartmentShowPage && !isNotFound ? 'mt-[500px] mb-[250px ]' : '']" >
30
34
<AppMain />
31
35
</main >
32
- <footer :class = " {'mt-[100px]' : !isAboutUsPage} " >
36
+ <footer >
33
37
<AppFooter />
34
38
</footer >
35
39
</template >
Original file line number Diff line number Diff line change @@ -21,15 +21,18 @@ export default {
21
21
isAboutUsPage () {
22
22
return this .$route .name === ' AboutUs' ;
23
23
},
24
+ isNotFound () {
25
+ return this .$route .name === ' not-found' ;
26
+ },
24
27
},
25
28
};
26
29
</script >
27
30
28
31
<template >
29
- <div v-if =" !isAboutUsPage" class =" h-[800px] w-full relative overflow-hidden" >
32
+ <div v-if =" !isAboutUsPage && !isNotFound " class =" h-[800px] w-full relative overflow-hidden" >
30
33
<!-- Sfondo -->
31
34
<div
32
- class =" absolute top-0 left-0 right-0 bottom-0 w-full h-full bg-cover bg-center transition-all duration-500 ease-in-out"
35
+ class =" absolute top-0 left-0 right-0 bottom-0 w-full h-[ full] bg-cover bg-center transition-all duration-500 ease-in-out"
33
36
:style =" {
34
37
backgroundImage: `url('/images/Jumbo.jpg')`,
35
38
backgroundPosition: '50% 40%'
Original file line number Diff line number Diff line change @@ -67,7 +67,6 @@ export default {
67
67
<!-- Logo -->
68
68
<div class =" text-[#EDEEF0] text-2xl w-14 h-10 font-bold" >
69
69
<router-link to =" /" class =" transition-all ease-in-out duration-300 hover:opacity-70 flex items-center" >
70
- <img src =" /images/logo.png" alt =" Logo" class =" h-full object-cover" >
71
70
<span >MilanBnB</span >
72
71
</router-link >
73
72
</div >
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ export default {
48
48
this .tomtomAxios
49
49
axios
50
50
.get (url, {
51
- credentials: ' omit '
51
+ credentials: ' include '
52
52
})
53
53
.then ((response ) => {
54
54
const apartments = response .data .results [0 ].address .freeformAddress ;
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ export default {
46
46
</script >
47
47
48
48
<template >
49
- <div class =" bg-gradient-to-b from-white to-gray-200 h-screen flex items-center justify-center animate__animated animate__fadeIn" >
49
+ <div class =" bg-gradient-to-b from-white to-gray-200 h-[700px] flex items-center justify-center animate__animated animate__fadeIn" >
50
50
<div class =" max-w-7xl px-6 lg:px-8" >
51
51
<h1 class =" text-gray-800 text-3xl font-semibold tracking-tight text-center animate__animated animate__fadeInDown" >
52
52
Il nostro Team
Original file line number Diff line number Diff line change @@ -20,9 +20,39 @@ export default {
20
20
</script >
21
21
22
22
<template >
23
-
23
+ <main class =" relative grid h-screen place-items-center px-6 py-24 sm:py-32 lg:px-8" >
24
+ <div class =" absolute inset-0 bg-cover bg-no-repeat bg-center blur-md opacity-70"
25
+ :style =" {
26
+ backgroundImage: 'url(public/images/Jumbo.jpg)',
27
+ }" >
28
+ </div >
29
+ <div class =" relative text-center z-10" >
30
+ <p class =" text-4xl drop-shadow-lg font-semibold text-[#B49578]" >404</p >
31
+ <h1 class =" mt-4 text-balance text-5xl font-semibold tracking-tight text-white drop-shadow-lg sm:text-7xl" >
32
+ Pagina non trovata
33
+ </h1 >
34
+ <p class =" mt-6 text-pretty drop-shadow-lg text-lg font-medium text-white sm:text-xl/8" >
35
+ Ci dispiace, non abbiamo trovato la pagina che stavi cercando.
36
+ </p >
37
+ <div class =" mt-10 flex items-center justify-center gap-x-6" >
38
+ <router-link
39
+ to =" /"
40
+ class =" rounded-md bg-[#B49578] px-3.5 py-2.5 text-sm transition-all ease-in-out duration-300 font-semibold text-white shadow-sm hover:text-[#B49578] hover:bg-white"
41
+ >
42
+ Torna alla Home
43
+ </router-link >
44
+ <router-link
45
+ to =" /about"
46
+ class =" rounded-full py-3 px-6 transition-all ease-in-out duration-300 text-sm font-semibold text-[#B49578] bg-white shadow-sm hover:bg-[#B49578] hover:text-white"
47
+ >
48
+ Contatta il Servizio Clienti
49
+ </router-link >
50
+ </div >
51
+ </div >
52
+ </main >
24
53
</template >
25
54
55
+
26
56
<style scoped>
27
57
28
58
</style >
You can’t perform that action at this time.
0 commit comments