@@ -4,20 +4,21 @@ import ImgCard from "../components/ImgCard";
4
4
import TechCard from "../components/TechCard" ;
5
5
import { Spacer , Card , Skeleton } from "@nextui-org/react" ;
6
6
import { CustomCard } from "../components/CustomCard" ;
7
- // import MapComponent from "../components/MapComponent";
7
+ import MapComponent from "../components/MapComponent" ;
8
8
import Logo from "../img/Logo.png" ;
9
9
import Footer from "../components/Footer" ;
10
- import mapEj from "../img/mapEj.png" ;
10
+ // import mapEj from "../img/mapEj.png";
11
11
12
12
export default function Home ( ) {
13
- /*const location = {
13
+ /**/
14
+ const location = {
14
15
latitude : 38.621159 ,
15
16
longitude : - 0.576774 ,
16
17
} ;
17
18
const data = {
18
19
tittle : "Ubicación" ,
19
20
description : "C/Rafael Alberti, 2, Ibi (Alicante), 03440" ,
20
- };*/
21
+ } ;
21
22
return (
22
23
< >
23
24
< Navbar />
@@ -34,24 +35,7 @@ export default function Home() {
34
35
@gmail.com"
35
36
/>
36
37
< Spacer x = { 4 } />
37
- < CustomCard
38
- img = { mapEj }
39
- tittle = "Ubicación"
40
- description = "C/Rafael Alberti, 2, Ibi (Alicante), 03440"
41
- />
42
- < Spacer x = { 4 } />
43
- < CustomCard
44
- img = { Logo }
45
- tittle = "Horario"
46
- description = "De L a V de 9:00h - 18:00h"
47
- />
48
- < Spacer x = { 4 } />
49
- </ div >
50
- < Footer />
51
- </ >
52
- ) ;
53
- }
54
- /*<Card className="w-[200px] space-y-4 p-4 " radius="lg">
38
+ < Card className = "w-[200px] space-y-4 p-4 " radius = "lg" >
55
39
{ ! location ? (
56
40
< Skeleton className = "rounded-lg" >
57
41
< div className = "h-24 rounded-lg bg-default-300" > </ div >
@@ -82,4 +66,22 @@ export default function Home() {
82
66
</ p >
83
67
) }
84
68
</ div >
85
- </Card>*/
69
+ </ Card >
70
+
71
+ < Spacer x = { 4 } />
72
+ < CustomCard
73
+ img = { Logo }
74
+ tittle = "Horario"
75
+ description = "De L a V de 9:00h - 18:00h"
76
+ />
77
+ < Spacer x = { 4 } />
78
+ </ div >
79
+ < Footer />
80
+ </ >
81
+ ) ;
82
+ }
83
+ /* <CustomCard
84
+ img={mapEj}
85
+ tittle="Ubicación"
86
+ description="C/Rafael Alberti, 2, Ibi (Alicante), 03440"
87
+ />*/
0 commit comments