From 67655f1aa921999544993741639db0b6acd5f7f4 Mon Sep 17 00:00:00 2001 From: Juan Carlos Ruvalcaba Date: Thu, 7 Dec 2023 18:38:42 -0700 Subject: [PATCH] Updates: -Create a dummy list to load sample data -Create a card data template to show car list -Add car image sample data --- src/pages/home.f7.html | 40 ++++++++++-- src/static/api/car-list.json | 57 ++++++++++++++++++ src/static/images/audi-rs3-daytona.jpg | Bin 0 -> 155070 bytes .../images/ford-mustang-shelby-t500.jpg | Bin 0 -> 519914 bytes src/static/images/mercedes-mclaren.jpg | Bin 0 -> 173232 bytes src/static/images/nissan-gt-r-nismo.jpg | Bin 0 -> 653145 bytes src/static/images/volksw-gti.jpg | Bin 0 -> 85779 bytes 7 files changed, 91 insertions(+), 6 deletions(-) create mode 100644 src/static/api/car-list.json create mode 100644 src/static/images/audi-rs3-daytona.jpg create mode 100644 src/static/images/ford-mustang-shelby-t500.jpg create mode 100644 src/static/images/mercedes-mclaren.jpg create mode 100644 src/static/images/nissan-gt-r-nismo.jpg create mode 100644 src/static/images/volksw-gti.jpg diff --git a/src/pages/home.f7.html b/src/pages/home.f7.html index d26384f..303105f 100644 --- a/src/pages/home.f7.html +++ b/src/pages/home.f7.html @@ -76,7 +76,7 @@

-
+
Goede overdracht
@@ -102,6 +102,27 @@
+
Leen aanbod
+
+
+ ${CarList.length > 0 && $h` + ${CarList.map((item) => $h` +
+
+ ${item.manufacturerName} ${item.model} ${item.year}
+
+
+ +
+ +
+ `)} + `} +
+
  • @@ -117,16 +138,23 @@
-