diff --git a/src/components/ReviewMarker.vue b/src/components/ReviewMarker.vue index b600859..5da4f39 100644 --- a/src/components/ReviewMarker.vue +++ b/src/components/ReviewMarker.vue @@ -21,7 +21,7 @@ const popupOffset = [0, iconSize.value[0] * -0.66] {{ marker.title }} -

+

@@ -48,21 +48,21 @@ const popupOffset = [0, iconSize.value[0] * -0.66]

- {{ marker.reviews?.[0].grade }} + {{ marker.reviews?.[0]!.grade }}
diff --git a/src/models/Markers.ts b/src/models/Markers.ts index 7cf4a23..7f3b351 100644 --- a/src/models/Markers.ts +++ b/src/models/Markers.ts @@ -1,7 +1,7 @@ import type { PointTuple } from "leaflet" export type MarkerType = "restaurant" | "bar" | "bakery" | "tea-shop" | "coffee-shop" | "ice-cream" -export type FoodType = "mixed" | "asian" | "vegetarian" | "italian" | "fast-food" | "street-food" | "burgers" | "seafood" | "creperie" | "eastern" +export type FoodType = "mixed" | "asian" | "creole" | "vegetarian" | "italian" | "fast-food" | "street-food" | "burgers" | "seafood" | "creperie" | "eastern" export interface ReviewMarker { coords: PointTuple diff --git a/src/stores/reviews.ts b/src/stores/reviews.ts index e17a4f7..9aef061 100644 --- a/src/stores/reviews.ts +++ b/src/stores/reviews.ts @@ -143,6 +143,18 @@ const markers: ReviewMarker[] = [ } ] }, + { + title: "Black Temple Food", + coords: [48.11434262064451, -1.6816647295465943], + type: "restaurant", + food: "creole", + reviews: [ + { + grade: 4.0, + text: "Bonnes frites de patates douces et les empanadas sont bons ; leurs photos sont plus anciennes et ne montrent pas les bonnes quantités." + } + ] + }, { title: "Côté Sushi", coords: [48.11324625619256, -1.6800305422199695],