feat(SW-189): added translations and some minor changes

This commit is contained in:
Erik Tiekstra
2024-09-11 14:40:48 +02:00
parent 789133af11
commit 21d8a5835a
32 changed files with 271 additions and 151 deletions
@@ -0,0 +1,7 @@
import type { Coordinates } from "../../maps/coordinates"
export interface DynamicMapProps {
apiKey: string
hotelName: string
coordinates: Coordinates
}
@@ -0,0 +1,6 @@
import type { Coordinates } from "../../maps/coordinates"
export interface DynamicMapContentProps {
hotelName: string
coordinates: Coordinates
}
@@ -1,7 +1,4 @@
type Coordinates = {
lat: number
lng: number
}
import type { Coordinates } from "../../maps/coordinates"
export type StaticMapProps = {
coordinates: Coordinates
+1
View File
@@ -38,6 +38,7 @@ export enum IconName {
Instagram = "Instagram",
Location = "Location",
Lock = "Lock",
Map = "Map",
Minus = "Minus",
Parking = "Parking",
Person = "Person",
+4
View File
@@ -0,0 +1,4 @@
export interface Coordinates {
lat: number
lng: number
}
+11
View File
@@ -0,0 +1,11 @@
import { Coordinates } from "./coordinates"
export type StaticMapProps = {
city?: string
coordinates?: Coordinates
width: number
height: number
zoomLevel?: number
mapType?: "roadmap" | "satellite" | "terrain" | "hybrid"
altText: string
}
@@ -1,7 +0,0 @@
export type StaticMapProps = {
city: string
width: number
height: number
zoomLevel: number
mapType: "roadmap" | "satellite" | "terrain" | "hybrid"
}