-
Tour Progress: {cardsDone + " / " + data.length}
-
+
+ Visited Spots: {cardsDone + "/" + data.length}
+
+
{data.map((POI, index) => (
-
-
- {Array(4) // Adjust the number of dots
- .fill(null)
- .map((_, dotIndex) => (
-
- ))}
-
-
-
-
-
{POI.name}
-
{POI.description}
-
Status: {POI.isComplete ? "Completed" : "Not Completed"}
+
+
+
+ {Array(4)
+ .fill(null)
+ .map((_, dotIndex) => (
+
+ ))}
+
+
+
-
+
))}
diff --git a/src/components/poiList.tsx b/src/components/poiList.tsx
deleted file mode 100644
index fb44151..0000000
--- a/src/components/poiList.tsx
+++ /dev/null
@@ -1,43 +0,0 @@
-/* eslint-disable @next/next/no-img-element */
-import React from "react";
-
-interface POICardProps {
- title: string;
- duration: string;
- imageUrl: string;
-}
-
-function POICard({ title, duration, imageUrl }: POICardProps) {
- return (
-
- {/* Image Section */}
-
-

-
-
- {/* Content Section */}
-
-
- );
-}
-
-function POIListView() {
- // Placeholder data
- const poi = {
- title: "Point of interest's name",
- duration: "2:15 min",
- imageUrl:
- "https://images.unsplash.com/uploads/141148589884100082977/a816dbd7?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",
- };
-
- return (
-
- );
-}
-
-export default POIListView;