From 834f547adde258fff2fb1d9830284c2c2d46b692 Mon Sep 17 00:00:00 2001
From: Victoria Fedkova <63882255+Victoria-Fedkova@users.noreply.github.com>
Date: Sun, 17 Sep 2023 13:04:18 +0300
Subject: [PATCH] add routes
---
package-lock.json | 32 +-
package.json | 1 +
src/App.jsx | 23 +-
.../{CarDetails.js => CarDetails.jsx} | 0
src/components/Loader/Loader.jsx | 7 +
src/components/Modal/{Modal.js => Modal.jsx} | 0
.../{Modal.styled.js => Modal.styled.jsx} | 0
src/components/SharedLayout/SharedLayout.jsx | 17 +
.../SharedLayout/SharedLayout.styled.jsx | 19 +
src/pages/FavouritePage/FavouritePage.jsx | 7 +
src/pages/MainPage/MainPage.jsx | 7 +
src/pages/NotFound/NotFound.jsx | 7 +
src/pages/SerchPage/SerchPage.jsx | 7 +
src/redux/cars/cars.json | 976 ++++++++++++++++++
14 files changed, 1097 insertions(+), 6 deletions(-)
rename src/components/CarDetails/{CarDetails.js => CarDetails.jsx} (100%)
create mode 100644 src/components/Loader/Loader.jsx
rename src/components/Modal/{Modal.js => Modal.jsx} (100%)
rename src/components/Modal/{Modal.styled.js => Modal.styled.jsx} (100%)
create mode 100644 src/components/SharedLayout/SharedLayout.jsx
create mode 100644 src/components/SharedLayout/SharedLayout.styled.jsx
create mode 100644 src/pages/FavouritePage/FavouritePage.jsx
create mode 100644 src/pages/MainPage/MainPage.jsx
create mode 100644 src/pages/NotFound/NotFound.jsx
create mode 100644 src/pages/SerchPage/SerchPage.jsx
create mode 100644 src/redux/cars/cars.json
diff --git a/package-lock.json b/package-lock.json
index 586a239..28bab08 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -13,6 +13,7 @@
"modern-normalize": "^2.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
+ "react-helmet-async": "^1.3.0",
"react-redux": "^8.1.2",
"react-router-dom": "^6.16.0",
"redux": "^4.2.1",
@@ -4010,6 +4011,14 @@
"node": ">= 0.4"
}
},
+ "node_modules/invariant": {
+ "version": "2.2.4",
+ "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz",
+ "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==",
+ "dependencies": {
+ "loose-envify": "^1.0.0"
+ }
+ },
"node_modules/is-array-buffer": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.2.tgz",
@@ -4606,7 +4615,6 @@
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
"integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",
- "dev": true,
"engines": {
"node": ">=0.10.0"
}
@@ -4876,7 +4884,6 @@
"version": "15.8.1",
"resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz",
"integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==",
- "dev": true,
"dependencies": {
"loose-envify": "^1.4.0",
"object-assign": "^4.1.1",
@@ -4940,6 +4947,27 @@
"react": "^18.2.0"
}
},
+ "node_modules/react-fast-compare": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.2.tgz",
+ "integrity": "sha512-nsO+KSNgo1SbJqJEYRE9ERzo7YtYbou/OqjSQKxV7jcKox7+usiUVZOAC+XnDOABXggQTno0Y1CpVnuWEc1boQ=="
+ },
+ "node_modules/react-helmet-async": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/react-helmet-async/-/react-helmet-async-1.3.0.tgz",
+ "integrity": "sha512-9jZ57/dAn9t3q6hneQS0wukqC2ENOBgMNVEhb/ZG9ZSxUetzVIw4iAmEU38IaVg3QGYauQPhSeUTuIUtFglWpg==",
+ "dependencies": {
+ "@babel/runtime": "^7.12.5",
+ "invariant": "^2.2.4",
+ "prop-types": "^15.7.2",
+ "react-fast-compare": "^3.2.0",
+ "shallowequal": "^1.1.0"
+ },
+ "peerDependencies": {
+ "react": "^16.6.0 || ^17.0.0 || ^18.0.0",
+ "react-dom": "^16.6.0 || ^17.0.0 || ^18.0.0"
+ }
+ },
"node_modules/react-is": {
"version": "16.13.1",
"resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
diff --git a/package.json b/package.json
index 702c0bc..68e76b6 100644
--- a/package.json
+++ b/package.json
@@ -15,6 +15,7 @@
"modern-normalize": "^2.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
+ "react-helmet-async": "^1.3.0",
"react-redux": "^8.1.2",
"react-router-dom": "^6.16.0",
"redux": "^4.2.1",
diff --git a/src/App.jsx b/src/App.jsx
index 2a67a22..4f089a9 100644
--- a/src/App.jsx
+++ b/src/App.jsx
@@ -1,11 +1,26 @@
+import { Route, Routes } from 'react-router-dom';
+import { HelmetProvider } from 'react-helmet-async';
+import { lazy } from 'react';
+
+const MainPage = lazy(() => import('./pages/MainPage/MainPage'));
+const FavouritePage = lazy(() => import('./pages/FavouritePage/FavouritePage'));
+const SerchPage = lazy(() => import('./pages/SerchPage/SerchPage'));
+const NotFound = lazy(() => import('./pages/NotFound/NotFound'));
import './App.css';
+import { SharedLayout } from './components/SharedLayout/SharedLayout';
function App() {
return (
- <>
-
hello hello
- some text
- >
+
+
+ }>
+ } />
+ } />
+ } />
+ } />
+
+
+
);
}
diff --git a/src/components/CarDetails/CarDetails.js b/src/components/CarDetails/CarDetails.jsx
similarity index 100%
rename from src/components/CarDetails/CarDetails.js
rename to src/components/CarDetails/CarDetails.jsx
diff --git a/src/components/Loader/Loader.jsx b/src/components/Loader/Loader.jsx
new file mode 100644
index 0000000..f88caac
--- /dev/null
+++ b/src/components/Loader/Loader.jsx
@@ -0,0 +1,7 @@
+export const Loader = () => {
+ return (
+ <>
+ ...loading
+ >
+ );
+};
diff --git a/src/components/Modal/Modal.js b/src/components/Modal/Modal.jsx
similarity index 100%
rename from src/components/Modal/Modal.js
rename to src/components/Modal/Modal.jsx
diff --git a/src/components/Modal/Modal.styled.js b/src/components/Modal/Modal.styled.jsx
similarity index 100%
rename from src/components/Modal/Modal.styled.js
rename to src/components/Modal/Modal.styled.jsx
diff --git a/src/components/SharedLayout/SharedLayout.jsx b/src/components/SharedLayout/SharedLayout.jsx
new file mode 100644
index 0000000..e7b6a42
--- /dev/null
+++ b/src/components/SharedLayout/SharedLayout.jsx
@@ -0,0 +1,17 @@
+import { Outlet } from 'react-router-dom';
+import { Suspense } from 'react';
+// import { Loader } from '../Loader/Loader';
+
+export const SharedLayout = () => {
+ return (
+
+
page header
+
+ Loading... }>
+
+
+
+ page footer
+
+ );
+};
diff --git a/src/components/SharedLayout/SharedLayout.styled.jsx b/src/components/SharedLayout/SharedLayout.styled.jsx
new file mode 100644
index 0000000..df9a512
--- /dev/null
+++ b/src/components/SharedLayout/SharedLayout.styled.jsx
@@ -0,0 +1,19 @@
+import styled from 'styled-components';
+
+export const MainLayoutContainer = styled.div`
+ display: flex;
+
+ /* min-height: 100vh; */
+`;
+
+export const Wrapper = styled.div`
+ display: flex;
+ flex-direction: column;
+
+ width: 100%;
+ height: 100%;
+
+ @media screen and (min-width: 1440px) {
+ width: calc(100% - 289px);
+ }
+`;
diff --git a/src/pages/FavouritePage/FavouritePage.jsx b/src/pages/FavouritePage/FavouritePage.jsx
new file mode 100644
index 0000000..4789556
--- /dev/null
+++ b/src/pages/FavouritePage/FavouritePage.jsx
@@ -0,0 +1,7 @@
+export default function FavouritePage() {
+ return (
+ <>
+ FavouritePage
+ >
+ );
+}
diff --git a/src/pages/MainPage/MainPage.jsx b/src/pages/MainPage/MainPage.jsx
new file mode 100644
index 0000000..5fb89c1
--- /dev/null
+++ b/src/pages/MainPage/MainPage.jsx
@@ -0,0 +1,7 @@
+export default function MainPage() {
+ return (
+ <>
+ Main page
+ >
+ );
+}
diff --git a/src/pages/NotFound/NotFound.jsx b/src/pages/NotFound/NotFound.jsx
new file mode 100644
index 0000000..e4b502c
--- /dev/null
+++ b/src/pages/NotFound/NotFound.jsx
@@ -0,0 +1,7 @@
+export default function NotFound() {
+ return (
+ <>
+ NotFound
+ >
+ );
+}
diff --git a/src/pages/SerchPage/SerchPage.jsx b/src/pages/SerchPage/SerchPage.jsx
new file mode 100644
index 0000000..32a2191
--- /dev/null
+++ b/src/pages/SerchPage/SerchPage.jsx
@@ -0,0 +1,7 @@
+export default function SerchPage() {
+ return (
+ <>
+ SerchPage
+ >
+ );
+}
diff --git a/src/redux/cars/cars.json b/src/redux/cars/cars.json
new file mode 100644
index 0000000..d012ebf
--- /dev/null
+++ b/src/redux/cars/cars.json
@@ -0,0 +1,976 @@
+[
+ {
+ "id": 9582,
+ "year": 2008,
+ "make": "Buick",
+ "model": "Enclave",
+ "type": "SUV",
+ "img": "https://res.cloudinary.com/ditdqzoio/image/upload/v1687252635/cars/buick_enclave.jpg",
+ "description": "The Buick Enclave is a stylish and spacious SUV known for its comfortable ride and luxurious features.",
+ "fuelConsumption": "10.5",
+ "engineSize": "3.6L V6",
+ "accessories": [
+ "Leather seats",
+ "Panoramic sunroof",
+ "Premium audio system"
+ ],
+ "functionalities": [
+ "Power liftgate",
+ "Remote start",
+ "Blind-spot monitoring"
+ ],
+ "rentalPrice": "$40",
+ "rentalCompany": "Luxury Car Rentals",
+ "address": "123 Example Street, Kiev, Ukraine",
+ "rentalConditions": "Minimum age: 25\nValid driver's license\nSecurity deposit required",
+ "mileage": 5858
+ },
+ {
+ "id": 9584,
+ "year": 2019,
+ "make": "Volvo",
+ "model": "XC90",
+ "type": "SUV",
+ "img": "https://res.cloudinary.com/ditdqzoio/image/upload/v1687252635/cars/volvo_xc90.jpg",
+ "description": "The Volvo XC90 is a premium SUV that offers exceptional safety, advanced technology, and elegant design.",
+ "fuelConsumption": "8.3",
+ "engineSize": "2.0L 4-cylinder",
+ "accessories": [
+ "Nappa leather seats",
+ "Bowers & Wilkins premium sound system",
+ "Head-up display"
+ ],
+ "functionalities": [
+ "IntelliSafe advanced safety features",
+ "Pilot Assist semi-autonomous driving",
+ "Four-zone automatic climate control"
+ ],
+ "rentalPrice": "$50",
+ "rentalCompany": "Premium Auto Rentals",
+ "address": "456 Example Avenue, Lviv, Ukraine",
+ "rentalConditions": "Minimum age: 21\nValid driver's license\nProof of insurance required",
+ "mileage": 5352
+ },
+ {
+ "id": 9586,
+ "year": 2020,
+ "make": "Volvo",
+ "model": "XC60",
+ "type": "SUV",
+ "img": "https://res.cloudinary.com/ditdqzoio/image/upload/v1687252635/cars/volvo_xc60.webp",
+ "description": "The Volvo XC60 is a compact luxury SUV with a beautiful interior, strong performance, and advanced safety features.",
+ "fuelConsumption": "7.9",
+ "engineSize": "2.0L 4-cylinder",
+ "accessories": [
+ "Premium leather seats",
+ "Harman Kardon audio system",
+ "Hands-free power tailgate"
+ ],
+ "functionalities": [
+ "City Safety collision avoidance technology",
+ "Pilot Assist with adaptive cruise control",
+ "9-inch Sensus touchscreen infotainment system"
+ ],
+ "rentalPrice": "$45",
+ "rentalCompany": "Luxury Car Rentals",
+ "address": "789 Example Boulevard, Odessa, Ukraine",
+ "rentalConditions": "Minimum age: 23\nValid driver's license\nCredit card required",
+ "mileage": 5966
+ },
+ {
+ "id": 9587,
+ "year": 2006,
+ "make": "HUMMER",
+ "model": "H2",
+ "type": "SUV",
+ "img": "https://res.cloudinary.com/ditdqzoio/image/upload/v1687252635/cars/hummer_h2.webp",
+ "description": "The HUMMER H2 is a rugged and powerful SUV that stands out with its imposing presence and off-road capabilities.",
+ "fuelConsumption": "19.8",
+ "engineSize": "6.0L V8",
+ "accessories": [
+ "Heated leather seats",
+ "Bose premium sound system",
+ "Off-road package"
+ ],
+ "functionalities": [
+ "Electronic locking front and rear differentials",
+ "Stabilitrak stability control",
+ "Tire pressure monitoring system"
+ ],
+ "rentalPrice": "$55",
+ "rentalCompany": "Adventure Car Rentals",
+ "address": "321 Example Road, Kharkiv, Ukraine",
+ "rentalConditions": "Minimum age: 25\nValid driver's license\nSecurity deposit required",
+ "mileage": 4771
+ },
+ {
+ "id": 9590,
+ "year": 2016,
+ "make": "Subaru",
+ "model": "Outback",
+ "type": "SUV",
+ "img": "https://res.cloudinary.com/ditdqzoio/image/upload/v1687252635/cars/subaru_outback.jpg",
+ "description": "The Subaru Outback is a versatile and reliable SUV that combines off-road capability with a comfortable and spacious interior.",
+ "fuelConsumption": "8.7",
+ "engineSize": "2.5L 4-cylinder",
+ "accessories": [
+ "Leather upholstery",
+ "Power moonroof",
+ "Harman Kardon premium audio system"
+ ],
+ "functionalities": [
+ "Symmetrical All-Wheel Drive",
+ "X-Mode off-road assist",
+ "Subaru EyeSight driver-assist system"
+ ],
+ "rentalPrice": "$35",
+ "rentalCompany": "Adventure Car Rentals",
+ "address": "987 Example Street, Kyiv, Ukraine",
+ "rentalConditions": "Minimum age: 21\nValid driver's license\nCredit card required",
+ "mileage": 4061
+ },
+ {
+ "id": 9591,
+ "year": 2010,
+ "make": "Mitsubishi",
+ "model": "Outlander",
+ "type": "SUV",
+ "img": "https://res.cloudinary.com/ditdqzoio/image/upload/v1687252635/cars/mitsubishi_outlander.jpg",
+ "description": "The Mitsubishi Outlander is a practical and fuel-efficient SUV with a stylish design and a range of modern features.",
+ "fuelConsumption": "7.9",
+ "engineSize": "2.4L 4-cylinder",
+ "accessories": [
+ "Heated front seats",
+ "Rockford Fosgate premium audio system",
+ "Power liftgate"
+ ],
+ "functionalities": [
+ "Super All-Wheel Control",
+ "Multi-View camera system",
+ "Bluetooth hands-free system"
+ ],
+ "rentalPrice": "$30",
+ "rentalCompany": "City Car Rentals",
+ "address": "654 Example Avenue, Lviv, Ukraine",
+ "rentalConditions": "Minimum age: 21\nValid driver's license\nProof of insurance required",
+ "mileage": 5374
+ },
+ {
+ "id": 9593,
+ "year": 2014,
+ "make": "Nissan",
+ "model": "Pathfinder",
+ "type": "SUV",
+ "img": "https://res.cloudinary.com/ditdqzoio/image/upload/v1687252635/cars/nissan_pathfinder.jpg",
+ "description": "The Nissan Pathfinder is a versatile and family-friendly SUV that offers a comfortable ride and generous cargo space.",
+ "fuelConsumption": "9.5",
+ "engineSize": "3.5L V6",
+ "accessories": [
+ "Tri-Zone Automatic Climate Control",
+ "Bose premium audio system",
+ "Rear-seat entertainment system"
+ ],
+ "functionalities": [
+ "Intelligent 4x4 system",
+ "Advanced Drive-Assist Display",
+ "Nissan Intelligent Key with push-button ignition"
+ ],
+ "rentalPrice": "$40",
+ "rentalCompany": "Luxury Car Rentals",
+ "address": "321 Example Road, Odessa, Ukraine",
+ "rentalConditions": "Minimum age: 25\nValid driver's license\nSecurity deposit required",
+ "mileage": 6282
+ },
+ {
+ "id": 9596,
+ "year": 2009,
+ "make": "Lincoln",
+ "model": "Navigator L",
+ "type": "SUV",
+ "img": "https://res.cloudinary.com/ditdqzoio/image/upload/v1687252635/cars/lincoln_navigator_l.webp",
+ "description": "The Lincoln Navigator L is a luxurious and spacious SUV with a refined interior and advanced technology features.",
+ "fuelConsumption": "18.2",
+ "engineSize": "5.4L V8",
+ "accessories": [
+ "Premium leather seats",
+ "THX II Certified audio system",
+ "Power-deployable running boards"
+ ],
+ "functionalities": [
+ "AdvanceTrac with Roll Stability Control",
+ "Voice-Activated Navigation System",
+ "Power liftgate"
+ ],
+ "rentalPrice": "$50",
+ "rentalCompany": "Elite Car Rentals",
+ "address": "123 Example Boulevard, Kharkiv, Ukraine",
+ "rentalConditions": "Minimum age: 25\nValid driver's license\nInsurance coverage required",
+ "mileage": 6173
+ },
+ {
+ "id": 9597,
+ "year": 2000,
+ "make": "GMC",
+ "model": "Yukon Denali",
+ "type": "SUV",
+ "img": "https://res.cloudinary.com/ditdqzoio/image/upload/v1687252635/cars/gmc_yukon_denali.jpg",
+ "description": "The GMC Yukon Denali is a full-size luxury SUV that offers a powerful engine, a comfortable and spacious interior, and a host of advanced features.",
+ "fuelConsumption": "14.5",
+ "engineSize": "6.0L V8",
+ "accessories": [
+ "Heated and ventilated front seats",
+ "BOSE premium sound system",
+ "Power-folding third-row seats"
+ ],
+ "functionalities": [
+ "All-Wheel Drive",
+ "Adaptive suspension",
+ "Advanced safety features"
+ ],
+ "rentalPrice": "$45",
+ "rentalCompany": "Premium Car Rentals",
+ "address": "789 Example Square, Dnipro, Ukraine",
+ "rentalConditions": "Minimum age: 25\nValid driver's license\nSecurity deposit required",
+ "mileage": 4989
+ },
+ {
+ "id": 9598,
+ "year": 2007,
+ "make": "Hyundai",
+ "model": "Tucson",
+ "type": "SUV",
+ "img": "https://res.cloudinary.com/ditdqzoio/image/upload/v1687252635/cars/hyundai_tucson.jpg",
+ "description": "The Hyundai Tucson is a reliable and fuel-efficient SUV that combines practicality with a stylish design and a comfortable ride.",
+ "fuelConsumption": "8.2",
+ "engineSize": "2.0L 4-cylinder",
+ "accessories": [
+ "Apple CarPlay and Android Auto integration",
+ "Blind Spot Detection",
+ "Hands-free smart liftgate"
+ ],
+ "functionalities": [
+ "Front-Wheel Drive",
+ "Hillstart Assist Control",
+ "LED headlights"
+ ],
+ "rentalPrice": "$25",
+ "rentalCompany": "Economy Car Rentals",
+ "address": "456 Example Lane, Zaporizhzhia, Ukraine",
+ "rentalConditions": "Minimum age: 21\nValid driver's license\nCredit card required",
+ "mileage": 4591
+ },
+ {
+ "id": 9583,
+ "year": 2006,
+ "make": "MINI",
+ "model": "Convertible",
+ "type": "Convertible",
+ "img": "https://res.cloudinary.com/ditdqzoio/image/upload/v1687252635/cars/mini_convertible.jpg",
+ "description": "The MINI Convertible is a compact and fun-to-drive convertible that offers a unique and iconic design, agile handling, and an open-air driving experience.",
+ "fuelConsumption": "6.9",
+ "engineSize": "1.6L 4-cylinder",
+ "accessories": [
+ "Convertible soft top",
+ "Sport seats",
+ "MINI Connected infotainment system"
+ ],
+ "functionalities": [
+ "Front-Wheel Drive",
+ "Dynamic Stability Control",
+ "Rain-sensing wipers"
+ ],
+ "rentalPrice": "$30",
+ "rentalCompany": "Fun Car Rentals",
+ "address": "234 Example Place, Vinnytsia, Ukraine",
+ "rentalConditions": "Minimum age: 21\nValid driver's license\nProof of insurance required",
+ "mileage": 6275
+ },
+ {
+ "id": 9606,
+ "year": 2007,
+ "make": "Bentley",
+ "model": "Azure",
+ "type": "Convertible",
+ "img": "https://res.cloudinary.com/ditdqzoio/image/upload/v1687252635/cars/bentley_azure.jpg",
+ "description": "The Bentley Azure is a luxurious and prestigious convertible that combines exceptional craftsmanship, powerful performance, and sophisticated elegance.",
+ "fuelConsumption": "22.5",
+ "engineSize": "6.8L V8",
+ "accessories": [
+ "Mulliner Driving Specification",
+ "Naim for Bentley premium audio system",
+ "Heated steering wheel"
+ ],
+ "functionalities": [
+ "Rear-Wheel Drive",
+ "Air suspension",
+ "Automatic convertible roof"
+ ],
+ "rentalPrice": "$150",
+ "rentalCompany": "Luxury Car Rentals",
+ "address": "567 Example Street, Lviv, Ukraine",
+ "rentalConditions": "Minimum age: 30\nValid driver's license\nSecurity deposit and insurance required",
+ "mileage": 4317
+ },
+ {
+ "id": 9612,
+ "year": 2004,
+ "make": "Mercedes-Benz",
+ "model": "SL-Class",
+ "type": "Convertible",
+ "img": "https://res.cloudinary.com/ditdqzoio/image/upload/v1687252635/cars/mercedes_sl_class.jpg",
+ "description": "The Mercedes-Benz SL-Class is a legendary luxury convertible that offers a perfect blend of thrilling performance, advanced technology, and opulent comfort.",
+ "fuelConsumption": "11.8",
+ "engineSize": "5.0L V8",
+ "accessories": [
+ "Airscarf neck-level heating",
+ "Harman Kardon premium audio system",
+ "Active Body Control suspension"
+ ],
+ "functionalities": [
+ "Rear-Wheel Drive",
+ "Retractable hardtop roof",
+ "Multi-contour seats"
+ ],
+ "rentalPrice": "$75",
+ "rentalCompany": "Exquisite Car Rentals",
+ "address": "789 Example Boulevard, Kyiv, Ukraine",
+ "rentalConditions": "Minimum age: 25\nValid driver's license\nSecurity deposit and proof of insurance required",
+ "mileage": 5722
+ },
+ {
+ "id": 9616,
+ "year": 2010,
+ "make": "Aston Martin",
+ "model": "DBS",
+ "type": "Convertible",
+ "img": "https://res.cloudinary.com/ditdqzoio/image/upload/v1687252635/cars/aston_martin_dbs.webp",
+ "description": "The Aston Martin DBS is a stunning and high-performance convertible that exemplifies British luxury and delivers exhilarating driving dynamics.",
+ "fuelConsumption": "16.5",
+ "engineSize": "6.0L V12",
+ "accessories": [
+ "Carbon Ceramic brakes",
+ "Bang & Olufsen BeoSound audio system",
+ "Bridge of Weir leather upholstery"
+ ],
+ "functionalities": [
+ "Rear-Wheel Drive",
+ "Carbon-fiber body panels",
+ "Adaptive Damping System"
+ ],
+ "rentalPrice": "$200",
+ "rentalCompany": "Supreme Car Rentals",
+ "address": "123 Example Avenue, Odessa, Ukraine",
+ "rentalConditions": "Minimum age: 30\nValid driver's license\nSecurity deposit and insurance required",
+ "mileage": 6464
+ },
+ {
+ "id": 9619,
+ "year": 1996,
+ "make": "Pontiac",
+ "model": "Firebird",
+ "type": "Convertible",
+ "img": "https://res.cloudinary.com/ditdqzoio/image/upload/v1687252635/cars/pontiac_firebird.jpg",
+ "description": "The Pontiac Firebird is a classic American muscle car with bold styling, powerful engines, and an iconic presence that captures the essence of the golden era of performance.",
+ "fuelConsumption": "15.2",
+ "engineSize": "5.7L V8",
+ "accessories": [
+ "T-Top roof",
+ "Delco premium audio system",
+ "Sport suspension"
+ ],
+ "functionalities": [
+ "Rear-Wheel Drive",
+ "Limited-slip differential",
+ "High-performance exhaust"
+ ],
+ "rentalPrice": "$50",
+ "rentalCompany": "Classic Car Rentals",
+ "address": "456 Example Street, Lviv, Ukraine",
+ "rentalConditions": "Minimum age: 25\nValid driver's license\nSecurity deposit required",
+ "mileage": 5091
+ },
+ {
+ "id": 9629,
+ "year": 2009,
+ "make": "Lamborghini",
+ "model": "Murcielago",
+ "type": "Convertible",
+ "img": "https://res.cloudinary.com/ditdqzoio/image/upload/v1687252635/cars/lamborghini_murcielago.webp",
+ "description": "The Lamborghini Murcielago is an exotic and high-performance convertible that represents the epitome of Italian automotive engineering, combining breathtaking design, blistering speed, and a spine-tingling exhaust note.",
+ "fuelConsumption": "25.0",
+ "engineSize": "6.5L V12",
+ "accessories": [
+ "Carbon-fiber body panels",
+ "Alcantara upholstery",
+ "Lamborghini Infotainment System"
+ ],
+ "functionalities": [
+ "All-Wheel Drive",
+ "Electronic Stability Control",
+ "Retractable soft-top roof"
+ ],
+ "rentalPrice": "$500",
+ "rentalCompany": "Supercar Rentals",
+ "address": "321 Example Road, Kharkiv, Ukraine",
+ "rentalConditions": "Minimum age: 30\nValid driver's license\nSecurity deposit and insurance required",
+ "mileage": 5832
+ },
+ {
+ "id": 9631,
+ "year": 2011,
+ "make": "Audi",
+ "model": "A5",
+ "type": "Convertible",
+ "img": "https://res.cloudinary.com/ditdqzoio/image/upload/v1687252635/cars/audi_a5.jpg",
+ "description": "The Audi A5 is a stylish and refined convertible that offers a perfect blend of elegance, cutting-edge technology, and exhilarating driving dynamics.",
+ "fuelConsumption": "8.5",
+ "engineSize": "2.0L Inline-4",
+ "accessories": [
+ "Bang & Olufsen 3D sound system",
+ "Audi Virtual Cockpit",
+ "Audi Drive Select"
+ ],
+ "functionalities": [
+ "Front-Wheel Drive",
+ "Quattro all-wheel drive available",
+ "Power-folding acoustic soft-top"
+ ],
+ "rentalPrice": "$150",
+ "rentalCompany": "Luxury Car Rentals",
+ "address": "987 Example Lane, Dnipro, Ukraine",
+ "rentalConditions": "Minimum age: 25\nValid driver's license\nSecurity deposit and insurance required",
+ "mileage": 4635
+ },
+ {
+ "id": 9634,
+ "year": 2001,
+ "make": "BMW",
+ "model": "Z8",
+ "type": "Convertible",
+ "img": "https://res.cloudinary.com/ditdqzoio/image/upload/v1687252635/cars/bmw_z8.jpg",
+ "description": "The BMW Z8 is a classic and timeless convertible that combines iconic retro-inspired design, outstanding performance, and luxurious comfort.",
+ "fuelConsumption": "14.2",
+ "engineSize": "4.9L V8",
+ "accessories": [
+ "Aluminum space frame",
+ "Nappa leather upholstery",
+ "Harman Kardon audio system"
+ ],
+ "functionalities": [
+ "Rear-Wheel Drive",
+ "Dynamic Stability Control",
+ "Power-operated soft-top roof"
+ ],
+ "rentalPrice": "$300",
+ "rentalCompany": "Classic Car Rentals",
+ "address": "654 Example Circle, Zaporizhzhia, Ukraine",
+ "rentalConditions": "Minimum age: 25\nValid driver's license\nSecurity deposit and proof of insurance required",
+ "mileage": 5990
+ },
+ {
+ "id": 9655,
+ "year": 1998,
+ "make": "Chevrolet",
+ "model": "Camaro",
+ "type": "Convertible",
+ "img": "https://res.cloudinary.com/ditdqzoio/image/upload/v1687252635/cars/chevrolet_camaro.jpg",
+ "description": "The Chevrolet Camaro is an American muscle car legend with a rich heritage, boasting aggressive styling, powerful engines, and exhilarating performance.",
+ "fuelConsumption": "13.5",
+ "engineSize": "5.7L V8",
+ "accessories": [
+ "Leather upholstery",
+ "Bose premium sound system",
+ "Performance suspension"
+ ],
+ "functionalities": [
+ "Rear-Wheel Drive",
+ "Limited-slip differential",
+ "Power-operated convertible top"
+ ],
+ "rentalPrice": "$200",
+ "rentalCompany": "Muscle Car Rentals",
+ "address": "123 Example Street, Lviv, Ukraine",
+ "rentalConditions": "Minimum age: 25\nValid driver's license\nSecurity deposit and insurance required",
+ "mileage": 6330
+ },
+ {
+ "id": 9685,
+ "year": 2006,
+ "make": "Mercedes-Benz",
+ "model": "SLK-Class",
+ "type": "Convertible",
+ "img": "https://res.cloudinary.com/ditdqzoio/image/upload/v1687252635/cars/mercedes_slk_class.jpg",
+ "description": "The Mercedes-Benz SLK-Class is a luxurious and sporty convertible that offers a perfect balance of style, performance, and refinement, delivering an enjoyable open-top driving experience.",
+ "fuelConsumption": "9.8",
+ "engineSize": "3.5L V6",
+ "accessories": [
+ "Airscarf neck-level heating",
+ "Harman Kardon surround sound system",
+ "Magic Sky Control panoramic roof"
+ ],
+ "functionalities": [
+ "Rear-Wheel Drive",
+ "Dynamic Stability Control",
+ "Retractable hardtop roof"
+ ],
+ "rentalPrice": "$250",
+ "rentalCompany": "Luxury Car Rentals",
+ "address": "456 Example Avenue, Kyiv, Ukraine",
+ "rentalConditions": "Minimum age: 25\nValid driver's license\nSecurity deposit and insurance required",
+ "mileage": 6280
+ },
+ {
+ "id": 9660,
+ "year": 2020,
+ "make": "Chrysler",
+ "model": "Voyager",
+ "type": "Van/Minivan",
+ "photoLink": "https://res.cloudinary.com/ditdqzoio/image/upload/v1687252635/cars/chrysler_voyager.jpg",
+ "description": "The Chrysler Voyager is a practical and versatile van/minivan that provides comfortable seating, ample cargo space, and a range of convenient features for family-oriented transportation.",
+ "fuelConsumption": "8.2",
+ "engineSize": "3.6L V6",
+ "accessories": [
+ "Stow 'n Go seating",
+ "Uconnect infotainment system",
+ "Blind Spot Monitoring"
+ ],
+ "functionalities": [
+ "Front-Wheel Drive",
+ "Electronic Stability Control",
+ "Power sliding side doors"
+ ],
+ "rentalPrice": "$100",
+ "rentalCompany": "Family Car Rentals",
+ "address": "789 Example Boulevard, Odesa, Ukraine",
+ "rentalConditions": "Minimum age: 21\nValid driver's license\nSecurity deposit and insurance required",
+ "mileage": 5807
+ },
+ {
+ "id": 9630,
+ "year": 2020,
+ "make": "Kia",
+ "model": "Rio",
+ "type": "Hatchback",
+ "photoLink": "https://res.cloudinary.com/ditdqzoio/image/upload/v1687252635/cars/kia_rio_hatchback.jpg",
+ "description": "The Kia Rio is a compact and fuel-efficient hatchback that offers a blend of affordability, reliability, and practicality, making it an excellent choice for urban commuting and everyday driving.",
+ "fuelConsumption": "6.2",
+ "engineSize": "1.6L 4-cylinder",
+ "accessories": [
+ "Apple CarPlay and Android Auto integration",
+ "Smart Key with Push Button Start",
+ "Automatic climate control"
+ ],
+ "functionalities": [
+ "Front-Wheel Drive",
+ "Electronic Stability Control",
+ "Rearview camera"
+ ],
+ "rentalPrice": "$50",
+ "rentalCompany": "Economy Car Rentals",
+ "address": "321 Example Lane, Kharkiv, Ukraine",
+ "rentalConditions": "Minimum age: 21\nValid driver's license\nSecurity deposit and insurance required",
+ "mileage": 4618
+ },
+ {
+ "id": 9586,
+ "year": 2020,
+ "make": "Volvo",
+ "model": "XC60",
+ "type": "SUV",
+ "photoLink": "https://res.cloudinary.com/ditdqzoio/image/upload/v1687252635/cars/volvo_xc60_2.jpg",
+ "description": "The Volvo XC60 is a luxurious and versatile SUV that combines Scandinavian design, advanced safety features, and a comfortable driving experience, making it an ideal choice for families and adventure enthusiasts.",
+ "fuelConsumption": "8.5",
+ "engineSize": "2.0L 4-cylinder",
+ "accessories": [
+ "Leather upholstery",
+ "Panoramic sunroof",
+ "Harman Kardon premium sound system"
+ ],
+ "functionalities": [
+ "All-Wheel Drive",
+ "City Safety collision avoidance technology",
+ "Power tailgate"
+ ],
+ "rentalPrice": "$150",
+ "rentalCompany": "Premium Car Rentals",
+ "address": "987 Example Road, Dnipro, Ukraine",
+ "rentalConditions": "Minimum age: 25\nValid driver's license\nSecurity deposit and insurance required",
+ "mileage": 6618
+ },
+ {
+ "id": 9618,
+ "year": 2020,
+ "make": "Land Rover",
+ "model": "Range Rover Sport",
+ "type": "SUV",
+ "photoLink": "https://res.cloudinary.com/ditdqzoio/image/upload/v1687252635/cars/land_rover_range_rover_sport.jpg",
+ "description": "The Land Rover Range Rover Sport is a premium SUV that offers a perfect blend of luxury, off-road capability, and dynamic performance, providing a refined driving experience both on and off the road.",
+ "fuelConsumption": "11.8",
+ "engineSize": "3.0L V6",
+ "accessories": [
+ "Premium Windsor leather seats",
+ "Meridian surround sound system",
+ "Adaptive Dynamics suspension"
+ ],
+ "functionalities": [
+ "All-Wheel Drive",
+ "Terrain Response 2 system",
+ "Power-operated gesture tailgate"
+ ],
+ "rentalPrice": "$300",
+ "rentalCompany": "Luxury SUV Rentals",
+ "address": "654 Example Street, Lviv, Ukraine",
+ "rentalConditions": "Minimum age: 25\nValid driver's license\nSecurity deposit and insurance required",
+ "mileage": 4856
+ },
+ {
+ "id": 9630,
+ "year": 2020,
+ "make": "Kia",
+ "model": "Rio",
+ "type": "Sedan, Hatchback",
+ "photoLink": "https://res.cloudinary.com/ditdqzoio/image/upload/v1687252635/cars/kia_rio_sedan_hatchback.jpg",
+ "description": "The Kia Rio is a versatile and fuel-efficient vehicle available in both sedan and hatchback body styles, offering a comfortable cabin, modern features, and a smooth driving experience, making it an attractive choice for urban commuters.",
+ "fuelConsumption": "6.2",
+ "engineSize": "1.6L 4-cylinder",
+ "accessories": [
+ "Apple CarPlay and Android Auto integration",
+ "Smart Key with Push Button Start",
+ "Automatic climate control"
+ ],
+ "functionalities": [
+ "Front-Wheel Drive",
+ "Electronic Stability Control",
+ "Rearview camera"
+ ],
+ "rentalPrice": "$50",
+ "rentalCompany": "Economy Car Rentals",
+ "address": "321 Example Lane, Kharkiv, Ukraine",
+ "rentalConditions": "Minimum age: 21\nValid driver's license\nSecurity deposit and insurance required",
+ "mileage": 6234
+ },
+ {
+ "year": 56,
+ "make": "make 9631",
+ "model": "model 9631",
+ "type": "type 9631",
+ "img": "img 9631",
+ "description": "description 9631",
+ "fuelConsumption": "fuelConsumption 9631",
+ "engineSize": "engineSize 9631",
+ "accessories": [],
+ "functionalities": [],
+ "rentalPrice": "rentalPrice 9631",
+ "rentalCompany": "rentalCompany 9631",
+ "address": "address 9631",
+ "rentalConditions": "rentalConditions 9631",
+ "mileage": 82,
+ "id": "9631"
+ },
+ {
+ "year": 31,
+ "make": "make 9632",
+ "model": "model 9632",
+ "type": "type 9632",
+ "img": "img 9632",
+ "description": "description 9632",
+ "fuelConsumption": "fuelConsumption 9632",
+ "engineSize": "engineSize 9632",
+ "accessories": [],
+ "functionalities": [],
+ "rentalPrice": "rentalPrice 9632",
+ "rentalCompany": "rentalCompany 9632",
+ "address": "address 9632",
+ "rentalConditions": "rentalConditions 9632",
+ "mileage": 47,
+ "id": "9632"
+ },
+ {
+ "year": 47,
+ "make": "make 9633",
+ "model": "model 9633",
+ "type": "type 9633",
+ "img": "img 9633",
+ "description": "description 9633",
+ "fuelConsumption": "fuelConsumption 9633",
+ "engineSize": "engineSize 9633",
+ "accessories": [],
+ "functionalities": [],
+ "rentalPrice": "rentalPrice 9633",
+ "rentalCompany": "rentalCompany 9633",
+ "address": "address 9633",
+ "rentalConditions": "rentalConditions 9633",
+ "mileage": 40,
+ "id": "9633"
+ },
+ {
+ "year": 63,
+ "make": "make 9634",
+ "model": "model 9634",
+ "type": "type 9634",
+ "img": "img 9634",
+ "description": "description 9634",
+ "fuelConsumption": "fuelConsumption 9634",
+ "engineSize": "engineSize 9634",
+ "accessories": [],
+ "functionalities": [],
+ "rentalPrice": "rentalPrice 9634",
+ "rentalCompany": "rentalCompany 9634",
+ "address": "address 9634",
+ "rentalConditions": "rentalConditions 9634",
+ "mileage": 79,
+ "id": "9634"
+ },
+ {
+ "year": 69,
+ "make": "make 9635",
+ "model": "model 9635",
+ "type": "type 9635",
+ "img": "img 9635",
+ "description": "description 9635",
+ "fuelConsumption": "fuelConsumption 9635",
+ "engineSize": "engineSize 9635",
+ "accessories": [],
+ "functionalities": [],
+ "rentalPrice": "rentalPrice 9635",
+ "rentalCompany": "rentalCompany 9635",
+ "address": "address 9635",
+ "rentalConditions": "rentalConditions 9635",
+ "mileage": 70,
+ "id": "9635"
+ },
+ {
+ "year": 41,
+ "make": "make 9636",
+ "model": "model 9636",
+ "type": "type 9636",
+ "img": "img 9636",
+ "description": "description 9636",
+ "fuelConsumption": "fuelConsumption 9636",
+ "engineSize": "engineSize 9636",
+ "accessories": [],
+ "functionalities": [],
+ "rentalPrice": "rentalPrice 9636",
+ "rentalCompany": "rentalCompany 9636",
+ "address": "address 9636",
+ "rentalConditions": "rentalConditions 9636",
+ "mileage": 56,
+ "id": "9636"
+ },
+ {
+ "year": 62,
+ "make": "make 9637",
+ "model": "model 9637",
+ "type": "type 9637",
+ "img": "img 9637",
+ "description": "description 9637",
+ "fuelConsumption": "fuelConsumption 9637",
+ "engineSize": "engineSize 9637",
+ "accessories": [],
+ "functionalities": [],
+ "rentalPrice": "rentalPrice 9637",
+ "rentalCompany": "rentalCompany 9637",
+ "address": "address 9637",
+ "rentalConditions": "rentalConditions 9637",
+ "mileage": 69,
+ "id": "9637"
+ },
+ {
+ "year": 93,
+ "make": "make 9638",
+ "model": "model 9638",
+ "type": "type 9638",
+ "img": "img 9638",
+ "description": "description 9638",
+ "fuelConsumption": "fuelConsumption 9638",
+ "engineSize": "engineSize 9638",
+ "accessories": [],
+ "functionalities": [],
+ "rentalPrice": "rentalPrice 9638",
+ "rentalCompany": "rentalCompany 9638",
+ "address": "address 9638",
+ "rentalConditions": "rentalConditions 9638",
+ "mileage": 54,
+ "id": "9638"
+ },
+ {
+ "year": 88,
+ "make": "make 9639",
+ "model": "model 9639",
+ "type": "type 9639",
+ "img": "img 9639",
+ "description": "description 9639",
+ "fuelConsumption": "fuelConsumption 9639",
+ "engineSize": "engineSize 9639",
+ "accessories": [],
+ "functionalities": [],
+ "rentalPrice": "rentalPrice 9639",
+ "rentalCompany": "rentalCompany 9639",
+ "address": "address 9639",
+ "rentalConditions": "rentalConditions 9639",
+ "mileage": 75,
+ "id": "9639"
+ },
+ {
+ "year": 49,
+ "make": "make 9640",
+ "model": "model 9640",
+ "type": "type 9640",
+ "img": "img 9640",
+ "description": "description 9640",
+ "fuelConsumption": "fuelConsumption 9640",
+ "engineSize": "engineSize 9640",
+ "accessories": [],
+ "functionalities": [],
+ "rentalPrice": "rentalPrice 9640",
+ "rentalCompany": "rentalCompany 9640",
+ "address": "address 9640",
+ "rentalConditions": "rentalConditions 9640",
+ "mileage": 19,
+ "id": "9640"
+ },
+ {
+ "year": 12,
+ "make": "make 9641",
+ "model": "model 9641",
+ "type": "type 9641",
+ "img": "img 9641",
+ "description": "description 9641",
+ "fuelConsumption": "fuelConsumption 9641",
+ "engineSize": "engineSize 9641",
+ "accessories": [],
+ "functionalities": [],
+ "rentalPrice": "rentalPrice 9641",
+ "rentalCompany": "rentalCompany 9641",
+ "address": "address 9641",
+ "rentalConditions": "rentalConditions 9641",
+ "mileage": 37,
+ "id": "9641"
+ },
+ {
+ "year": 84,
+ "make": "make 9642",
+ "model": "model 9642",
+ "type": "type 9642",
+ "img": "img 9642",
+ "description": "description 9642",
+ "fuelConsumption": "fuelConsumption 9642",
+ "engineSize": "engineSize 9642",
+ "accessories": [],
+ "functionalities": [],
+ "rentalPrice": "rentalPrice 9642",
+ "rentalCompany": "rentalCompany 9642",
+ "address": "address 9642",
+ "rentalConditions": "rentalConditions 9642",
+ "mileage": 45,
+ "id": "9642"
+ },
+ {
+ "year": 100,
+ "make": "make 9643",
+ "model": "model 9643",
+ "type": "type 9643",
+ "img": "img 9643",
+ "description": "description 9643",
+ "fuelConsumption": "fuelConsumption 9643",
+ "engineSize": "engineSize 9643",
+ "accessories": [],
+ "functionalities": [],
+ "rentalPrice": "rentalPrice 9643",
+ "rentalCompany": "rentalCompany 9643",
+ "address": "address 9643",
+ "rentalConditions": "rentalConditions 9643",
+ "mileage": 65,
+ "id": "9643"
+ },
+ {
+ "year": 100,
+ "make": "make 9644",
+ "model": "model 9644",
+ "type": "type 9644",
+ "img": "img 9644",
+ "description": "description 9644",
+ "fuelConsumption": "fuelConsumption 9644",
+ "engineSize": "engineSize 9644",
+ "accessories": [],
+ "functionalities": [],
+ "rentalPrice": "rentalPrice 9644",
+ "rentalCompany": "rentalCompany 9644",
+ "address": "address 9644",
+ "rentalConditions": "rentalConditions 9644",
+ "mileage": 41,
+ "id": "9644"
+ },
+ {
+ "year": 56,
+ "make": "make 9645",
+ "model": "model 9645",
+ "type": "type 9645",
+ "img": "img 9645",
+ "description": "description 9645",
+ "fuelConsumption": "fuelConsumption 9645",
+ "engineSize": "engineSize 9645",
+ "accessories": [],
+ "functionalities": [],
+ "rentalPrice": "rentalPrice 9645",
+ "rentalCompany": "rentalCompany 9645",
+ "address": "address 9645",
+ "rentalConditions": "rentalConditions 9645",
+ "mileage": 43,
+ "id": "9645"
+ },
+ {
+ "year": 94,
+ "make": "make 9646",
+ "model": "model 9646",
+ "type": "type 9646",
+ "img": "img 9646",
+ "description": "description 9646",
+ "fuelConsumption": "fuelConsumption 9646",
+ "engineSize": "engineSize 9646",
+ "accessories": [],
+ "functionalities": [],
+ "rentalPrice": "rentalPrice 9646",
+ "rentalCompany": "rentalCompany 9646",
+ "address": "address 9646",
+ "rentalConditions": "rentalConditions 9646",
+ "mileage": 31,
+ "id": "9646"
+ },
+ {
+ "year": 68,
+ "make": "make 9647",
+ "model": "model 9647",
+ "type": "type 9647",
+ "img": "img 9647",
+ "description": "description 9647",
+ "fuelConsumption": "fuelConsumption 9647",
+ "engineSize": "engineSize 9647",
+ "accessories": [],
+ "functionalities": [],
+ "rentalPrice": "rentalPrice 9647",
+ "rentalCompany": "rentalCompany 9647",
+ "address": "address 9647",
+ "rentalConditions": "rentalConditions 9647",
+ "mileage": 31,
+ "id": "9647"
+ },
+ {
+ "year": 18,
+ "make": "make 9648",
+ "model": "model 9648",
+ "type": "type 9648",
+ "img": "img 9648",
+ "description": "description 9648",
+ "fuelConsumption": "fuelConsumption 9648",
+ "engineSize": "engineSize 9648",
+ "accessories": [],
+ "functionalities": [],
+ "rentalPrice": "rentalPrice 9648",
+ "rentalCompany": "rentalCompany 9648",
+ "address": "address 9648",
+ "rentalConditions": "rentalConditions 9648",
+ "mileage": 31,
+ "id": "9648"
+ }
+]