Skip to content

Commit 7f54668

Browse files
committed
updated .env.production
1 parent cb92917 commit 7f54668

File tree

3 files changed

+29
-23
lines changed

3 files changed

+29
-23
lines changed

.env.production

Whitespace-only changes.

.github/workflows/jekyll-gh-pages.yml

+4
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,7 @@ jobs:
4949
- name: Deploy to GitHub Pages
5050
id: deployment
5151
uses: actions/deploy-pages@v2
52+
53+
- name: Configurar entorno
54+
run: |
55+
echo "VITE_GOOGLE_MAPS_API_KEY=${{ secrets.VITE_GOOGLE_MAPS_API_KEY }}" >> .env.production

src/pages/Home.jsx

+25-23
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,21 @@ import ImgCard from "../components/ImgCard";
44
import TechCard from "../components/TechCard";
55
import { Spacer, Card, Skeleton } from "@nextui-org/react";
66
import { CustomCard } from "../components/CustomCard";
7-
//import MapComponent from "../components/MapComponent";
7+
import MapComponent from "../components/MapComponent";
88
import Logo from "../img/Logo.png";
99
import Footer from "../components/Footer";
10-
import mapEj from "../img/mapEj.png";
10+
//import mapEj from "../img/mapEj.png";
1111

1212
export default function Home() {
13-
/*const location = {
13+
/**/
14+
const location = {
1415
latitude: 38.621159,
1516
longitude: -0.576774,
1617
};
1718
const data = {
1819
tittle: "Ubicación",
1920
description: "C/Rafael Alberti, 2, Ibi (Alicante), 03440",
20-
};*/
21+
};
2122
return (
2223
<>
2324
<Navbar />
@@ -34,24 +35,7 @@ export default function Home() {
3435
@gmail.com"
3536
/>
3637
<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">
5539
{!location ? (
5640
<Skeleton className="rounded-lg">
5741
<div className="h-24 rounded-lg bg-default-300"></div>
@@ -82,4 +66,22 @@ export default function Home() {
8266
</p>
8367
)}
8468
</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

Comments
 (0)