Skip to content

Commit 6bf1a77

Browse files
authored
fix japan 2025 (#207)
* fix japan 2025 * fix lint and booking
1 parent 27f45cb commit 6bf1a77

File tree

19 files changed

+25
-89
lines changed

19 files changed

+25
-89
lines changed

firebase/functions/src/index.ts

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,19 @@ exports.commentsNotification = functions.database
2828
<p>Delete comment: TODO</p>`,
2929
};
3030

31-
console.log("Send mail")
32-
return new Promise<void>((resolve, reject) => {
33-
mg.messages().send(data, function (error) {
34-
if (error) {
35-
reject(error)
36-
console.error(JSON.stringify(error));
37-
} else {
38-
resolve()
39-
console.log("Mail sent with success:", JSON.stringify(data));
40-
}
41-
});
42-
43-
})
31+
console.log("Send mail");
4432

33+
return new Promise<void>((resolve, reject) => {
34+
mg.messages().send(data, function (error) {
35+
if (error) {
36+
reject(error);
37+
console.error(JSON.stringify(error));
38+
} else {
39+
resolve();
40+
console.log("Mail sent with success:", JSON.stringify(data));
41+
}
42+
});
43+
});
4544
});
4645

4746
exports.contact = functions.https.onRequest(contactApp);

src/components/images/asia/japan/tokyo/ueno-park.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ const alt = {
1717
park10: "Ueno Park",
1818
park11: "Ueno Park",
1919
park12: "Ueno Park",
20-
park13: "Ueno Park",
2120
park14: "Ueno Park",
2221
park15: "Ueno Park",
2322
park16: "Ueno Park",
@@ -129,13 +128,6 @@ export const UenoParkImages: React.FunctionComponent<ExtraImageProps & { image:
129128
}
130129
}
131130
}
132-
park13: file(relativePath: { eq: "asia/japan/tokyo/ueno-park/ueno-park13.jpg" }) {
133-
childImageSharp {
134-
fluid(maxWidth: 1200, quality: 60, srcSetBreakpoints: [600]) {
135-
...GatsbyImageSharpFluid
136-
}
137-
}
138-
}
139131
park14: file(relativePath: { eq: "asia/japan/tokyo/ueno-park/ueno-park14.jpg" }) {
140132
childImageSharp {
141133
fluid(maxWidth: 1200, quality: 80, srcSetBreakpoints: [600]) {

src/components/images/asia/japan/transports-in-japan.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const TransportsInJapanImages: React.FunctionComponent<ExtraImageProps &
3030
query {
3131
taxi: file(relativePath: { eq: "asia/japan/transports-in-japan/transports-in-japan-taxi.jpg" }) {
3232
childImageSharp {
33-
fluid(maxWidth: 1200, quality: 80, srcSetBreakpoints: [600]) {
33+
fluid(maxWidth: 1200, quality: 60, srcSetBreakpoints: [600]) {
3434
...GatsbyImageSharpFluid
3535
}
3636
}
@@ -51,7 +51,7 @@ export const TransportsInJapanImages: React.FunctionComponent<ExtraImageProps &
5151
}
5252
boat: file(relativePath: { eq: "asia/japan/transports-in-japan/transports-in-japan-boat.jpg" }) {
5353
childImageSharp {
54-
fluid(maxWidth: 1200, quality: 80, srcSetBreakpoints: [600]) {
54+
fluid(maxWidth: 1200, quality: 60, srcSetBreakpoints: [600]) {
5555
...GatsbyImageSharpFluid
5656
}
5757
}
-37.5 KB
Binary file not shown.
68.7 KB
Loading
40.4 KB
Loading
33.9 KB
Loading
-64.5 KB
Loading
-201 KB
Loading
194 KB
Loading

0 commit comments

Comments
 (0)