diff --git a/index.html b/index.html index 095fb3a453..d7b1267afe 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,8 @@ - Vite + React + TS + Phone Catalog +
diff --git a/package-lock.json b/package-lock.json index 836b9e63b4..92a8b5f6c6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,16 +11,23 @@ "license": "GPL-3.0", "dependencies": { "@fortawesome/fontawesome-free": "^6.5.2", + "@reduxjs/toolkit": "^2.2.8", "bulma": "^1.0.1", "classnames": "^2.5.1", + "i18next": "^23.15.2", + "i18next-browser-languagedetector": "^8.0.0", + "lodash.debounce": "^4.0.8", "react": "^18.3.1", + "react-content-loader": "^7.0.2", "react-dom": "^18.3.1", + "react-i18next": "^15.0.2", + "react-redux": "^9.1.2", "react-router-dom": "^6.25.1", "react-transition-group": "^4.4.5" }, "devDependencies": { "@cypress/react18": "^2.0.1", - "@mate-academy/scripts": "^1.8.5", + "@mate-academy/scripts": "^1.9.12", "@mate-academy/students-ts-config": "*", "@mate-academy/stylelint-config": "*", "@types/node": "^20.14.10", @@ -365,9 +372,10 @@ } }, "node_modules/@babel/runtime": { - "version": "7.24.8", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.8.tgz", - "integrity": "sha512-5F7SDGs1T72ZczbRwbGO9lQi0NLjQxzl6i4lJxLxfW9U5UluCSyEJeniWvnhl3/euNiqQVbo8zruhsDfid0esA==", + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.25.7.tgz", + "integrity": "sha512-FjoyLe754PMiYsFaN5C94ttGiOmBNYTf6pLr4xXHAT5uctHb092PBszndLDR5XA/jghQvn4n7JMHl7dmTgbm9w==", + "license": "MIT", "dependencies": { "regenerator-runtime": "^0.14.0" }, @@ -1184,10 +1192,11 @@ } }, "node_modules/@mate-academy/scripts": { - "version": "1.8.5", - "resolved": "https://registry.npmjs.org/@mate-academy/scripts/-/scripts-1.8.5.tgz", - "integrity": "sha512-mHRY2FkuoYCf5U0ahIukkaRo5LSZsxrTSgMJheFoyf3VXsTvfM9OfWcZIDIDB521kdPrScHHnRp+JRNjCfUO5A==", + "version": "1.9.12", + "resolved": "https://registry.npmjs.org/@mate-academy/scripts/-/scripts-1.9.12.tgz", + "integrity": "sha512-/OcmxMa34lYLFlGx7Ig926W1U1qjrnXbjFJ2TzUcDaLmED+A5se652NcWwGOidXRuMAOYLPU2jNYBEkKyXrFJA==", "dev": true, + "license": "MIT", "dependencies": { "@octokit/rest": "^17.11.2", "@types/get-port": "^4.2.0", @@ -1875,6 +1884,30 @@ "url": "https://opencollective.com/unts" } }, + "node_modules/@reduxjs/toolkit": { + "version": "2.2.8", + "resolved": "https://registry.npmjs.org/@reduxjs/toolkit/-/toolkit-2.2.8.tgz", + "integrity": "sha512-eK/ieXftPRQfaBSmzsamXEyDwkntMTY0e9SG5ETsEOv5JIPKhu3mj992t6B8FJjlnSrZBAAqdT8oMkPe4j+P9g==", + "license": "MIT", + "dependencies": { + "immer": "^10.0.3", + "redux": "^5.0.1", + "redux-thunk": "^3.1.0", + "reselect": "^5.1.0" + }, + "peerDependencies": { + "react": "^16.9.0 || ^17.0.0 || ^18", + "react-redux": "^7.2.1 || ^8.1.3 || ^9.0.0" + }, + "peerDependenciesMeta": { + "react": { + "optional": true + }, + "react-redux": { + "optional": true + } + } + }, "node_modules/@remix-run/router": { "version": "1.18.0", "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.18.0.tgz", @@ -2216,13 +2249,13 @@ "version": "15.7.12", "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.12.tgz", "integrity": "sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q==", - "dev": true + "devOptional": true }, "node_modules/@types/react": { "version": "18.3.3", "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.3.tgz", "integrity": "sha512-hti/R0pS0q1/xx+TsI73XIqk26eBsISZ2R0wUijXIngRK9R/e7Xw/cXVxQK7R5JjW+SV4zGcn5hXjudkN/pLIw==", - "dev": true, + "devOptional": true, "dependencies": { "@types/prop-types": "*", "csstype": "^3.0.2" @@ -2258,6 +2291,12 @@ "integrity": "sha512-0vWLNK2D5MT9dg0iOo8GlKguPAU02QjmZitPEsXRuJXU/OGIOt9vT9Fc26wtYuavLxtO45v9PGleoL9Z0k1LHg==", "dev": true }, + "node_modules/@types/use-sync-external-store": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/@types/use-sync-external-store/-/use-sync-external-store-0.0.3.tgz", + "integrity": "sha512-EwmlvuaxPNej9+T4v5AuBPJa2x2UOJVdjCtDHgcDqitUeOtjnJKJ+apYjVcAoBEMjKW1VVFGZLUb5+qqa09XFA==", + "license": "MIT" + }, "node_modules/@types/yauzl": { "version": "2.10.3", "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.3.tgz", @@ -5872,6 +5911,15 @@ "dev": true, "peer": true }, + "node_modules/html-parse-stringify": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/html-parse-stringify/-/html-parse-stringify-3.0.1.tgz", + "integrity": "sha512-KknJ50kTInJ7qIScF3jeaFRpMpE8/lfiTdzf/twXyPBLAGrLRTmkz3AdTnKeh40X8k9L2fdYwEp/42WGXIRGcg==", + "license": "MIT", + "dependencies": { + "void-elements": "3.1.0" + } + }, "node_modules/html-tags": { "version": "3.3.1", "resolved": "https://registry.npmjs.org/html-tags/-/html-tags-3.3.1.tgz", @@ -5907,6 +5955,38 @@ "node": ">=8.12.0" } }, + "node_modules/i18next": { + "version": "23.15.2", + "resolved": "https://registry.npmjs.org/i18next/-/i18next-23.15.2.tgz", + "integrity": "sha512-zcPSWzCvw6uKnuYHIqs4W7hTuB9e3AFcSdZgvCWoPXIZsBjBd4djN2/2uOHIB+1DFFkQnMBXvhNg7J3WyCuywQ==", + "funding": [ + { + "type": "individual", + "url": "https://locize.com" + }, + { + "type": "individual", + "url": "https://locize.com/i18next.html" + }, + { + "type": "individual", + "url": "https://www.i18next.com/how-to/faq#i18next-is-awesome.-how-can-i-support-the-project" + } + ], + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.23.2" + } + }, + "node_modules/i18next-browser-languagedetector": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/i18next-browser-languagedetector/-/i18next-browser-languagedetector-8.0.0.tgz", + "integrity": "sha512-zhXdJXTTCoG39QsrOCiOabnWj2jecouOqbchu3EfhtSHxIB5Uugnm9JaizenOy39h7ne3+fLikIjeW88+rgszw==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.23.2" + } + }, "node_modules/ieee754": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", @@ -5936,6 +6016,16 @@ "node": ">= 4" } }, + "node_modules/immer": { + "version": "10.1.1", + "resolved": "https://registry.npmjs.org/immer/-/immer-10.1.1.tgz", + "integrity": "sha512-s2MPrmjovJcoMaHtx6K11Ra7oD05NT97w1IC5zpMkT6Atjr7H8LjaDd81iIxUYpMKSRRNMJE703M1Fhr/TctHw==", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/immer" + } + }, "node_modules/immutable": { "version": "4.3.6", "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.6.tgz", @@ -6802,6 +6892,12 @@ "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", "dev": true }, + "node_modules/lodash.debounce": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", + "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==", + "license": "MIT" + }, "node_modules/lodash.get": { "version": "4.4.2", "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", @@ -8717,6 +8813,18 @@ "node": ">=0.10.0" } }, + "node_modules/react-content-loader": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/react-content-loader/-/react-content-loader-7.0.2.tgz", + "integrity": "sha512-773S98JTyC8VB2nu7LXUhpHx8tZMieGxMcx3qTe7IkohT6Br7d9AXnIXs/wQ6IhlUdKQcw6JLKk1QKigYCWDRA==", + "license": "MIT", + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "react": ">=16.0.0" + } + }, "node_modules/react-dom": { "version": "18.3.1", "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", @@ -8729,11 +8837,56 @@ "react": "^18.3.1" } }, + "node_modules/react-i18next": { + "version": "15.0.2", + "resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-15.0.2.tgz", + "integrity": "sha512-z0W3/RES9Idv3MmJUcf0mDNeeMOUXe+xoL0kPfQPbDoZHmni/XsIoq5zgT2MCFUiau283GuBUK578uD/mkAbLQ==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.25.0", + "html-parse-stringify": "^3.0.1" + }, + "peerDependencies": { + "i18next": ">= 23.2.3", + "react": ">= 16.8.0" + }, + "peerDependenciesMeta": { + "react-dom": { + "optional": true + }, + "react-native": { + "optional": true + } + } + }, "node_modules/react-is": { "version": "16.13.1", "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" }, + "node_modules/react-redux": { + "version": "9.1.2", + "resolved": "https://registry.npmjs.org/react-redux/-/react-redux-9.1.2.tgz", + "integrity": "sha512-0OA4dhM1W48l3uzmv6B7TXPCGmokUU4p1M44DGN2/D9a1FjVPukVjER1PcPX97jIg6aUeLq1XJo1IpfbgULn0w==", + "license": "MIT", + "dependencies": { + "@types/use-sync-external-store": "^0.0.3", + "use-sync-external-store": "^1.0.0" + }, + "peerDependencies": { + "@types/react": "^18.2.25", + "react": "^18.0", + "redux": "^5.0.0" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "redux": { + "optional": true + } + } + }, "node_modules/react-refresh": { "version": "0.14.2", "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.2.tgz", @@ -8893,6 +9046,21 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/redux": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/redux/-/redux-5.0.1.tgz", + "integrity": "sha512-M9/ELqF6fy8FwmkpnF0S3YKOqMyoWJ4+CS5Efg2ct3oY9daQvd/Pc71FpGZsVsbl3Cpb+IIcjBDUnnyBdQbq4w==", + "license": "MIT" + }, + "node_modules/redux-thunk": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/redux-thunk/-/redux-thunk-3.1.0.tgz", + "integrity": "sha512-NW2r5T6ksUKXCabzhL9z+h206HQw/NJkcLm1GPImRQ8IzfXwRGqjVhKJGauHirT0DAuyy6hjdnMZaRoAcy0Klw==", + "license": "MIT", + "peerDependencies": { + "redux": "^5.0.0" + } + }, "node_modules/reflect.getprototypeof": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.6.tgz", @@ -8976,6 +9144,12 @@ "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==", "dev": true }, + "node_modules/reselect": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/reselect/-/reselect-5.1.1.tgz", + "integrity": "sha512-K/BG6eIky/SBpzfHZv/dd+9JBFiS4SWV7FIujVyJRux6e45+73RaUHXLmIR1f7WOMaQ0U1km6qwklRQxpJJY0w==", + "license": "MIT" + }, "node_modules/resolve": { "version": "1.22.8", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", @@ -10438,6 +10612,15 @@ "requires-port": "^1.0.0" } }, + "node_modules/use-sync-external-store": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.2.tgz", + "integrity": "sha512-PElTlVMwpblvbNqQ82d2n6RjStvdSoNe9FG28kNfz3WiXilJm4DdNkEzRhCZuIDwY8U08WVihhGR5iRqAwfDiw==", + "license": "MIT", + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0" + } + }, "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", @@ -10542,6 +10725,15 @@ } } }, + "node_modules/void-elements": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/void-elements/-/void-elements-3.1.0.tgz", + "integrity": "sha512-Dhxzh5HZuiHQhbvTW9AMetFfBHDMYpo23Uo9btPXgdYP+3T5S+p+jgNy7spra+veYhBP2dCSgxR/i2Y02h5/6w==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", diff --git a/package.json b/package.json index ae251685c8..16f65e1ee3 100644 --- a/package.json +++ b/package.json @@ -7,16 +7,23 @@ "license": "GPL-3.0", "dependencies": { "@fortawesome/fontawesome-free": "^6.5.2", + "@reduxjs/toolkit": "^2.2.8", "bulma": "^1.0.1", "classnames": "^2.5.1", + "i18next": "^23.15.2", + "i18next-browser-languagedetector": "^8.0.0", + "lodash.debounce": "^4.0.8", "react": "^18.3.1", + "react-content-loader": "^7.0.2", "react-dom": "^18.3.1", + "react-i18next": "^15.0.2", + "react-redux": "^9.1.2", "react-router-dom": "^6.25.1", "react-transition-group": "^4.4.5" }, "devDependencies": { "@cypress/react18": "^2.0.1", - "@mate-academy/scripts": "^1.8.5", + "@mate-academy/scripts": "^1.9.12", "@mate-academy/students-ts-config": "*", "@mate-academy/stylelint-config": "*", "@types/node": "^20.14.10", diff --git a/public/favicon.svg b/public/favicon.svg new file mode 100644 index 0000000000..bb04e88225 --- /dev/null +++ b/public/favicon.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/App.scss b/src/App.scss index 71bc413aad..ba31a3ce99 100644 --- a/src/App.scss +++ b/src/App.scss @@ -1 +1,30 @@ -// not empty +@import './styles/main'; + +.App { + height: 100vh; + display: flex; + flex-direction: column; + + &__title { + display: none; + } +} + +.dark { + $primaryColor: #f1f2f9; + $secondaryColor: #75767f; + $iconsColor: #4a4d58; + $elementsColor: #3b3e4a; + $backgroundColor: #0f1121; + $whiteColor: #fff; + $greenColor: #27ae60; + $redColor: #eb5757; +} + +.main { + margin-bottom: 64px; + + @include on-tablet { + margin-bottom: 80px; + } +} diff --git a/src/App.tsx b/src/App.tsx index 372e4b4206..2775ae655e 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,7 +1,21 @@ import './App.scss'; +import { Outlet } from 'react-router-dom'; +import { Footer } from './components/Footer'; +import { Header } from './components/Header/Header'; -export const App = () => ( -
-

Product Catalog

-
-); +import './i18n'; + +export const App: React.FC = () => { + return ( +
+
+

Product Catalog

+ +
+ +
+ +
+ ); +}; diff --git a/src/Root.tsx b/src/Root.tsx new file mode 100644 index 0000000000..0945bda4cb --- /dev/null +++ b/src/Root.tsx @@ -0,0 +1,52 @@ +import { App } from './App'; +import { + HashRouter as Router, + // BrowserRouter as Router, + Routes, + Route, + Navigate, +} from 'react-router-dom'; +import { HomePage } from './pages/HomePage'; +import { PhonesPage } from './pages/PhonesPage'; +import { TabletsPage } from './pages/TabletsPage'; +import { AccessoriesPage } from './pages/AccessoriesPage'; +import { ProductDetailsPage } from './pages/ProductDetailsPage'; +import { FavouritesPage } from './pages/FavouritesPage'; +import { CartPage } from './pages/CartPage'; +import { NotFoundPage } from './pages/NotFoundPage'; + +export const Root = () => ( + + + }> + } /> + } /> + + + } /> + } /> + + + + } /> + } /> + + + + } /> + } /> + + + + } /> + + + + } /> + + + } /> + + + +); diff --git a/src/api/accessories.json b/src/api/accessories.json new file mode 100644 index 0000000000..6a36890cec --- /dev/null +++ b/src/api/accessories.json @@ -0,0 +1,1430 @@ +[ + { + "id": "apple-watch-series-3-38mm-space-gray", + "category": "accessories", + "namespaceId": "apple-watch-series-3", + "name": "Apple Watch Series 3 38mm Space Gray", + "capacityAvailable": ["38mm", "42mm"], + "capacity": "38mm", + "priceRegular": 199, + "priceDiscount": 169, + "colorsAvailable": ["space gray", "silver", "gold"], + "color": "space gray", + "images": [ + "img/accessories/apple-watch-series-3/space-gray/00.webp", + "img/accessories/apple-watch-series-3/space-gray/01.webp", + "img/accessories/apple-watch-series-3/space-gray/02.webp" + ], + "description": [ + { + "title": "Monitor your health", + "text": [ + "The Apple Watch Series 3 is equipped with sensors to track your heart rate, calories burned, and other fitness metrics throughout the day. It can even track your workouts and suggest personalized fitness goals." + ] + }, + { + "title": "Stay connected on the go", + "text": [ + "With cellular connectivity, you can make calls and send texts from your wrist even without your iPhone nearby. And with Siri, you can get directions, send messages, and set reminders hands-free." + ] + }, + { + "title": "Stream your favorite music", + "text": [ + "With Apple Music and Siri, you can stream over 75 million songs on your Apple Watch Series 3. Or listen to your favorite podcasts, audiobooks, and radio stations." + ] + } + ], + "screen": "1.3' OLED", + "resolution": "272x340", + "processor": "Apple S3", + "ram": "768MB", + "cell": ["Wi-Fi", "Bluetooth", "LTE"] + }, + { + "id": "apple-watch-series-3-42mm-space-gray", + "category": "accessories", + "namespaceId": "apple-watch-series-3", + "name": "Apple Watch Series 3 42mm Space Gray", + "capacityAvailable": ["38mm", "42mm"], + "capacity": "42mm", + "priceRegular": 250, + "priceDiscount": 219, + "colorsAvailable": ["space gray", "silver", "gold"], + "color": "space gray", + "images": [ + "img/accessories/apple-watch-series-3/space-gray/00.webp", + "img/accessories/apple-watch-series-3/space-gray/01.webp", + "img/accessories/apple-watch-series-3/space-gray/02.webp" + ], + "description": [ + { + "title": "Monitor your health", + "text": [ + "The Apple Watch Series 3 is equipped with sensors to track your heart rate, calories burned, and other fitness metrics throughout the day. It can even track your workouts and suggest personalized fitness goals." + ] + }, + { + "title": "Stay connected on the go", + "text": [ + "With cellular connectivity, you can make calls and send texts from your wrist even without your iPhone nearby. And with Siri, you can get directions, send messages, and set reminders hands-free." + ] + }, + { + "title": "Stream your favorite music", + "text": [ + "With Apple Music and Siri, you can stream over 75 million songs on your Apple Watch Series 3. Or listen to your favorite podcasts, audiobooks, and radio stations." + ] + } + ], + "screen": "1.3' OLED", + "resolution": "272x340", + "processor": "Apple S3", + "ram": "768MB", + "cell": ["Wi-Fi", "Bluetooth", "LTE"] + }, + { + "id": "apple-watch-series-3-38mm-gold", + "category": "accessories", + "namespaceId": "apple-watch-series-3", + "name": "Apple Watch Series 3 38mm Gold", + "capacityAvailable": ["38mm", "42mm"], + "capacity": "38mm", + "priceRegular": 199, + "priceDiscount": 169, + "colorsAvailable": ["space gray", "silver", "gold"], + "color": "gold", + "images": [ + "img/accessories/apple-watch-series-3/gold/00.webp", + "img/accessories/apple-watch-series-3/gold/01.webp", + "img/accessories/apple-watch-series-3/gold/02.webp" + ], + "description": [ + { + "title": "Monitor your health", + "text": [ + "The Apple Watch Series 3 is equipped with sensors to track your heart rate, calories burned, and other fitness metrics throughout the day. It can even track your workouts and suggest personalized fitness goals." + ] + }, + { + "title": "Stay connected on the go", + "text": [ + "With cellular connectivity, you can make calls and send texts from your wrist even without your iPhone nearby. And with Siri, you can get directions, send messages, and set reminders hands-free." + ] + }, + { + "title": "Stream your favorite music", + "text": [ + "With Apple Music and Siri, you can stream over 75 million songs on your Apple Watch Series 3. Or listen to your favorite podcasts, audiobooks, and radio stations." + ] + } + ], + "screen": "1.3' OLED", + "resolution": "272x340", + "processor": "Apple S3", + "ram": "768MB", + "cell": ["Wi-Fi", "Bluetooth", "LTE"] + }, + { + "id": "apple-watch-series-3-42mm-gold", + "category": "accessories", + "namespaceId": "apple-watch-series-3", + "name": "Apple Watch Series 3 42mm Gold", + "capacityAvailable": ["38mm", "42mm"], + "capacity": "42mm", + "priceRegular": 250, + "priceDiscount": 219, + "colorsAvailable": ["space gray", "silver", "gold"], + "color": "gold", + "images": [ + "img/accessories/apple-watch-series-3/gold/00.webp", + "img/accessories/apple-watch-series-3/gold/01.webp", + "img/accessories/apple-watch-series-3/gold/02.webp" + ], + "description": [ + { + "title": "Monitor your health", + "text": [ + "The Apple Watch Series 3 is equipped with sensors to track your heart rate, calories burned, and other fitness metrics throughout the day. It can even track your workouts and suggest personalized fitness goals." + ] + }, + { + "title": "Stay connected on the go", + "text": [ + "With cellular connectivity, you can make calls and send texts from your wrist even without your iPhone nearby. And with Siri, you can get directions, send messages, and set reminders hands-free." + ] + }, + { + "title": "Stream your favorite music", + "text": [ + "With Apple Music and Siri, you can stream over 75 million songs on your Apple Watch Series 3. Or listen to your favorite podcasts, audiobooks, and radio stations." + ] + } + ], + "screen": "1.3' OLED", + "resolution": "272x340", + "processor": "Apple S3", + "ram": "768MB", + "cell": ["Wi-Fi", "Bluetooth", "LTE"] + }, + { + "id": "apple-watch-series-3-38mm-silver", + "category": "accessories", + "namespaceId": "apple-watch-series-3", + "name": "Apple Watch Series 3 38mm Silver", + "capacityAvailable": ["38mm", "42mm"], + "capacity": "38mm", + "priceRegular": 199, + "priceDiscount": 169, + "colorsAvailable": ["space gray", "silver", "gold"], + "color": "silver", + "images": [ + "img/accessories/apple-watch-series-3/silver/00.webp", + "img/accessories/apple-watch-series-3/silver/01.webp", + "img/accessories/apple-watch-series-3/silver/02.webp" + ], + "description": [ + { + "title": "Monitor your health", + "text": [ + "The Apple Watch Series 3 is equipped with sensors to track your heart rate, calories burned, and other fitness metrics throughout the day. It can even track your workouts and suggest personalized fitness goals." + ] + }, + { + "title": "Stay connected on the go", + "text": [ + "With cellular connectivity, you can make calls and send texts from your wrist even without your iPhone nearby. And with Siri, you can get directions, send messages, and set reminders hands-free." + ] + }, + { + "title": "Stream your favorite music", + "text": [ + "With Apple Music and Siri, you can stream over 75 million songs on your Apple Watch Series 3. Or listen to your favorite podcasts, audiobooks, and radio stations." + ] + } + ], + "screen": "1.3' OLED", + "resolution": "272x340", + "processor": "Apple S3", + "ram": "768MB", + "cell": ["Wi-Fi", "Bluetooth", "LTE"] + }, + { + "id": "apple-watch-series-3-42mm-silver", + "category": "accessories", + "namespaceId": "apple-watch-series-3", + "name": "Apple Watch Series 3 42mm Silver", + "capacityAvailable": ["38mm", "42mm"], + "capacity": "42mm", + "priceRegular": 250, + "priceDiscount": 219, + "colorsAvailable": ["space gray", "silver", "gold"], + "color": "silver", + "images": [ + "img/accessories/apple-watch-series-3/silver/00.webp", + "img/accessories/apple-watch-series-3/silver/01.webp", + "img/accessories/apple-watch-series-3/silver/02.webp" + ], + "description": [ + { + "title": "Monitor your health", + "text": [ + "The Apple Watch Series 3 is equipped with sensors to track your heart rate, calories burned, and other fitness metrics throughout the day. It can even track your workouts and suggest personalized fitness goals." + ] + }, + { + "title": "Stay connected on the go", + "text": [ + "With cellular connectivity, you can make calls and send texts from your wrist even without your iPhone nearby. And with Siri, you can get directions, send messages, and set reminders hands-free." + ] + }, + { + "title": "Stream your favorite music", + "text": [ + "With Apple Music and Siri, you can stream over 75 million songs on your Apple Watch Series 3. Or listen to your favorite podcasts, audiobooks, and radio stations." + ] + } + ], + "screen": "1.3' OLED", + "resolution": "272x340", + "processor": "Apple S3", + "ram": "768MB", + "cell": ["Wi-Fi", "Bluetooth", "LTE"] + }, + { + "id": "apple-watch-series-6-40mm-space-gray", + "category": "accessories", + "namespaceId": "apple-watch-series-6", + "name": "Apple Watch Series 6 40mm Space Gray", + "capacityAvailable": ["40mm", "44mm"], + "capacity": "40mm", + "priceRegular": 399, + "priceDiscount": 329, + "colorsAvailable": ["space gray", "silver", "gold", "blue", "red"], + "color": "space gray", + "images": [ + "img/accessories/apple-watch-series-6/space-gray/00.webp", + "img/accessories/apple-watch-series-6/space-gray/01.webp", + "img/accessories/apple-watch-series-6/space-gray/02.webp" + ], + "description": [ + { + "title": "Always-On Retina display", + "text": [ + "The Apple Watch Series 6 features an Always-On Retina display that is 2.5 times brighter outdoors when your wrist is down. So you can see all the information on your watch face at a glance." + ] + }, + { + "title": "Blood oxygen sensor", + "text": [ + "The Blood Oxygen app measures your blood oxygen levels with a revolutionary new sensor and app. You can also take an ECG from your wrist anytime, anywhere." + ] + }, + { + "title": "Track your daily activity", + "text": [ + "The Apple Watch Series 6 tracks your daily activity including workouts, steps taken, and calories burned. It also has a built-in GPS to track your runs, walks, and hikes." + ] + } + ], + "screen": "1.57' OLED", + "resolution": "324x394", + "processor": "Apple S6", + "ram": "1GB", + "cell": ["Wi-Fi", "Bluetooth", "LTE"] + }, + { + "id": "apple-watch-series-6-44mm-space-gray", + "category": "accessories", + "namespaceId": "apple-watch-series-6", + "name": "Apple Watch Series 6 44mm Space Gray", + "capacityAvailable": ["40mm", "44mm"], + "capacity": "44mm", + "priceRegular": 429, + "priceDiscount": 359, + "colorsAvailable": ["space gray", "silver", "gold", "blue", "red"], + "color": "space gray", + "images": [ + "img/accessories/apple-watch-series-6/space-gray/00.webp", + "img/accessories/apple-watch-series-6/space-gray/01.webp", + "img/accessories/apple-watch-series-6/space-gray/02.webp" + ], + "description": [ + { + "title": "Always-On Retina display", + "text": [ + "The Apple Watch Series 6 features an Always-On Retina display that is 2.5 times brighter outdoors when your wrist is down. So you can see all the information on your watch face at a glance." + ] + }, + { + "title": "Blood oxygen sensor", + "text": [ + "The Blood Oxygen app measures your blood oxygen levels with a revolutionary new sensor and app. You can also take an ECG from your wrist anytime, anywhere." + ] + }, + { + "title": "Track your daily activity", + "text": [ + "The Apple Watch Series 6 tracks your daily activity including workouts, steps taken, and calories burned. It also has a built-in GPS to track your runs, walks, and hikes." + ] + } + ], + "screen": "1.57' OLED", + "resolution": "324x394", + "processor": "Apple S6", + "ram": "1GB", + "cell": ["Wi-Fi", "Bluetooth", "LTE"] + }, + { + "id": "apple-watch-series-6-40mm-silver", + "category": "accessories", + "namespaceId": "apple-watch-series-6", + "name": "Apple Watch Series 6 40mm Silver", + "capacityAvailable": ["40mm", "44mm"], + "capacity": "40mm", + "priceRegular": 399, + "priceDiscount": 329, + "colorsAvailable": ["space gray", "silver", "gold", "blue", "red"], + "color": "silver", + "images": [ + "img/accessories/apple-watch-series-6/silver/00.webp", + "img/accessories/apple-watch-series-6/silver/01.webp", + "img/accessories/apple-watch-series-6/silver/02.webp" + ], + "description": [ + { + "title": "Always-On Retina display", + "text": [ + "The Apple Watch Series 6 features an Always-On Retina display that is 2.5 times brighter outdoors when your wrist is down. So you can see all the information on your watch face at a glance." + ] + }, + { + "title": "Blood oxygen sensor", + "text": [ + "The Blood Oxygen app measures your blood oxygen levels with a revolutionary new sensor and app. You can also take an ECG from your wrist anytime, anywhere." + ] + }, + { + "title": "Track your daily activity", + "text": [ + "The Apple Watch Series 6 tracks your daily activity including workouts, steps taken, and calories burned. It also has a built-in GPS to track your runs, walks, and hikes." + ] + } + ], + "screen": "1.57' OLED", + "resolution": "324x394", + "processor": "Apple S6", + "ram": "1GB", + "cell": ["Wi-Fi", "Bluetooth", "LTE"] + }, + { + "id": "apple-watch-series-6-44mm-silver", + "category": "accessories", + "namespaceId": "apple-watch-series-6", + "name": "Apple Watch Series 6 44mm Silver", + "capacityAvailable": ["40mm", "44mm"], + "capacity": "44mm", + "priceRegular": 429, + "priceDiscount": 359, + "colorsAvailable": ["space gray", "silver", "gold", "blue", "red"], + "color": "silver", + "images": [ + "img/accessories/apple-watch-series-6/silver/00.webp", + "img/accessories/apple-watch-series-6/silver/01.webp", + "img/accessories/apple-watch-series-6/silver/02.webp" + ], + "description": [ + { + "title": "Always-On Retina display", + "text": [ + "The Apple Watch Series 6 features an Always-On Retina display that is 2.5 times brighter outdoors when your wrist is down. So you can see all the information on your watch face at a glance." + ] + }, + { + "title": "Blood oxygen sensor", + "text": [ + "The Blood Oxygen app measures your blood oxygen levels with a revolutionary new sensor and app. You can also take an ECG from your wrist anytime, anywhere." + ] + }, + { + "title": "Track your daily activity", + "text": [ + "The Apple Watch Series 6 tracks your daily activity including workouts, steps taken, and calories burned. It also has a built-in GPS to track your runs, walks, and hikes." + ] + } + ], + "screen": "1.57' OLED", + "resolution": "324x394", + "processor": "Apple S6", + "ram": "1GB", + "cell": ["Wi-Fi", "Bluetooth", "LTE"] + }, + { + "id": "apple-watch-series-6-40mm-gold", + "category": "accessories", + "namespaceId": "apple-watch-series-6", + "name": "Apple Watch Series 6 40mm Gold", + "capacityAvailable": ["40mm", "44mm"], + "capacity": "40mm", + "priceRegular": 399, + "priceDiscount": 329, + "colorsAvailable": ["space gray", "silver", "gold", "blue", "red"], + "color": "gold", + "images": [ + "img/accessories/apple-watch-series-6/gold/00.webp", + "img/accessories/apple-watch-series-6/gold/01.webp", + "img/accessories/apple-watch-series-6/gold/02.webp" + ], + "description": [ + { + "title": "Always-On Retina display", + "text": [ + "The Apple Watch Series 6 features an Always-On Retina display that is 2.5 times brighter outdoors when your wrist is down. So you can see all the information on your watch face at a glance." + ] + }, + { + "title": "Blood oxygen sensor", + "text": [ + "The Blood Oxygen app measures your blood oxygen levels with a revolutionary new sensor and app. You can also take an ECG from your wrist anytime, anywhere." + ] + }, + { + "title": "Track your daily activity", + "text": [ + "The Apple Watch Series 6 tracks your daily activity including workouts, steps taken, and calories burned. It also has a built-in GPS to track your runs, walks, and hikes." + ] + } + ], + "screen": "1.57' OLED", + "resolution": "324x394", + "processor": "Apple S6", + "ram": "1GB", + "cell": ["Wi-Fi", "Bluetooth", "LTE"] + }, + { + "id": "apple-watch-series-6-44mm-gold", + "category": "accessories", + "namespaceId": "apple-watch-series-6", + "name": "Apple Watch Series 6 44mm Gold", + "capacityAvailable": ["40mm", "44mm"], + "capacity": "44mm", + "priceRegular": 429, + "priceDiscount": 359, + "colorsAvailable": ["space gray", "silver", "gold", "blue", "red"], + "color": "gold", + "images": [ + "img/accessories/apple-watch-series-6/gold/00.webp", + "img/accessories/apple-watch-series-6/gold/01.webp", + "img/accessories/apple-watch-series-6/gold/02.webp" + ], + "description": [ + { + "title": "Always-On Retina display", + "text": [ + "The Apple Watch Series 6 features an Always-On Retina display that is 2.5 times brighter outdoors when your wrist is down. So you can see all the information on your watch face at a glance." + ] + }, + { + "title": "Blood oxygen sensor", + "text": [ + "The Blood Oxygen app measures your blood oxygen levels with a revolutionary new sensor and app. You can also take an ECG from your wrist anytime, anywhere." + ] + }, + { + "title": "Track your daily activity", + "text": [ + "The Apple Watch Series 6 tracks your daily activity including workouts, steps taken, and calories burned. It also has a built-in GPS to track your runs, walks, and hikes." + ] + } + ], + "screen": "1.57' OLED", + "resolution": "324x394", + "processor": "Apple S6", + "ram": "1GB", + "cell": ["Wi-Fi", "Bluetooth", "LTE"] + }, + { + "id": "apple-watch-series-6-40mm-blue", + "category": "accessories", + "namespaceId": "apple-watch-series-6", + "name": "Apple Watch Series 6 40mm Blue", + "capacityAvailable": ["40mm", "44mm"], + "capacity": "40mm", + "priceRegular": 399, + "priceDiscount": 329, + "colorsAvailable": ["space gray", "silver", "gold", "blue", "red"], + "color": "blue", + "images": [ + "img/accessories/apple-watch-series-6/blue/00.webp", + "img/accessories/apple-watch-series-6/blue/01.webp", + "img/accessories/apple-watch-series-6/blue/02.webp" + ], + "description": [ + { + "title": "Always-On Retina display", + "text": [ + "The Apple Watch Series 6 features an Always-On Retina display that is 2.5 times brighter outdoors when your wrist is down. So you can see all the information on your watch face at a glance." + ] + }, + { + "title": "Blood oxygen sensor", + "text": [ + "The Blood Oxygen app measures your blood oxygen levels with a revolutionary new sensor and app. You can also take an ECG from your wrist anytime, anywhere." + ] + }, + { + "title": "Track your daily activity", + "text": [ + "The Apple Watch Series 6 tracks your daily activity including workouts, steps taken, and calories burned. It also has a built-in GPS to track your runs, walks, and hikes." + ] + } + ], + "screen": "1.57' OLED", + "resolution": "324x394", + "processor": "Apple S6", + "ram": "1GB", + "cell": ["Wi-Fi", "Bluetooth", "LTE"] + }, + { + "id": "apple-watch-series-6-44mm-blue", + "category": "accessories", + "namespaceId": "apple-watch-series-6", + "name": "Apple Watch Series 6 44mm Blue", + "capacityAvailable": ["40mm", "44mm"], + "capacity": "44mm", + "priceRegular": 429, + "priceDiscount": 359, + "colorsAvailable": ["space gray", "silver", "gold", "blue", "red"], + "color": "blue", + "images": [ + "img/accessories/apple-watch-series-6/blue/00.webp", + "img/accessories/apple-watch-series-6/blue/01.webp", + "img/accessories/apple-watch-series-6/blue/02.webp" + ], + "description": [ + { + "title": "Always-On Retina display", + "text": [ + "The Apple Watch Series 6 features an Always-On Retina display that is 2.5 times brighter outdoors when your wrist is down. So you can see all the information on your watch face at a glance." + ] + }, + { + "title": "Blood oxygen sensor", + "text": [ + "The Blood Oxygen app measures your blood oxygen levels with a revolutionary new sensor and app. You can also take an ECG from your wrist anytime, anywhere." + ] + }, + { + "title": "Track your daily activity", + "text": [ + "The Apple Watch Series 6 tracks your daily activity including workouts, steps taken, and calories burned. It also has a built-in GPS to track your runs, walks, and hikes." + ] + } + ], + "screen": "1.57' OLED", + "resolution": "324x394", + "processor": "Apple S6", + "ram": "1GB", + "cell": ["Wi-Fi", "Bluetooth", "LTE"] + }, + { + "id": "apple-watch-series-6-40mm-red", + "category": "accessories", + "namespaceId": "apple-watch-series-6", + "name": "Apple Watch Series 6 40mm Red", + "capacityAvailable": ["40mm", "44mm"], + "capacity": "40mm", + "priceRegular": 399, + "priceDiscount": 329, + "colorsAvailable": ["space gray", "silver", "gold", "blue", "red"], + "color": "red", + "images": [ + "img/accessories/apple-watch-series-6/red/00.webp", + "img/accessories/apple-watch-series-6/red/01.webp", + "img/accessories/apple-watch-series-6/red/02.webp" + ], + "description": [ + { + "title": "Always-On Retina display", + "text": [ + "The Apple Watch Series 6 features an Always-On Retina display that is 2.5 times brighter outdoors when your wrist is down. So you can see all the information on your watch face at a glance." + ] + }, + { + "title": "Blood oxygen sensor", + "text": [ + "The Blood Oxygen app measures your blood oxygen levels with a revolutionary new sensor and app. You can also take an ECG from your wrist anytime, anywhere." + ] + }, + { + "title": "Track your daily activity", + "text": [ + "The Apple Watch Series 6 tracks your daily activity including workouts, steps taken, and calories burned. It also has a built-in GPS to track your runs, walks, and hikes." + ] + } + ], + "screen": "1.57' OLED", + "resolution": "324x394", + "processor": "Apple S6", + "ram": "1GB", + "cell": ["Wi-Fi", "Bluetooth", "LTE"] + }, + { + "id": "apple-watch-series-6-44mm-red", + "category": "accessories", + "namespaceId": "apple-watch-series-6", + "name": "Apple Watch Series 6 44mm Red", + "capacityAvailable": ["40mm", "44mm"], + "capacity": "44mm", + "priceRegular": 429, + "priceDiscount": 359, + "colorsAvailable": ["space gray", "silver", "gold", "blue", "red"], + "color": "red", + "images": [ + "img/accessories/apple-watch-series-6/red/00.webp", + "img/accessories/apple-watch-series-6/red/01.webp", + "img/accessories/apple-watch-series-6/red/02.webp" + ], + "description": [ + { + "title": "Always-On Retina display", + "text": [ + "The Apple Watch Series 6 features an Always-On Retina display that is 2.5 times brighter outdoors when your wrist is down. So you can see all the information on your watch face at a glance." + ] + }, + { + "title": "Blood oxygen sensor", + "text": [ + "The Blood Oxygen app measures your blood oxygen levels with a revolutionary new sensor and app. You can also take an ECG from your wrist anytime, anywhere." + ] + }, + { + "title": "Track your daily activity", + "text": [ + "The Apple Watch Series 6 tracks your daily activity including workouts, steps taken, and calories burned. It also has a built-in GPS to track your runs, walks, and hikes." + ] + } + ], + "screen": "1.57' OLED", + "resolution": "324x394", + "processor": "Apple S6", + "ram": "1GB", + "cell": ["Wi-Fi", "Bluetooth", "LTE"] + }, + { + "id": "apple-watch-series-5-40mm-silver", + "category": "accessories", + "namespaceId": "apple-watch-series-5", + "name": "Apple Watch Series 5 40mm Silver", + "capacityAvailable": ["40mm", "44mm"], + "capacity": "40mm", + "priceRegular": 399, + "priceDiscount": 299, + "colorsAvailable": ["silver", "gold", "space gray"], + "color": "silver", + "images": [ + "img/accessories/apple-watch-series-5/silver/00.webp", + "img/accessories/apple-watch-series-5/silver/01.webp", + "img/accessories/apple-watch-series-5/silver/02.webp" + ], + "description": [ + { + "title": "Always-On Retina display", + "text": [ + "With the Always-On Retina display, you can easily see the time and important information without raising your wrist. The display is also 30% larger than the Series 3, making it easier to read and interact with." + ] + }, + { + "title": "ECG app", + "text": [ + "The ECG app can detect irregular heart rhythms and alert you if something seems amiss. You can also take an ECG anytime, anywhere, right from your wrist." + ] + }, + { + "title": "Activity tracking", + "text": [ + "The Apple Watch Series 5 tracks your daily activity, including workouts, steps taken, and calories burned. It also has a built-in GPS to track your runs, walks, and hikes." + ] + } + ], + "screen": "1.57' OLED", + "resolution": "324x394", + "processor": "Apple S5", + "ram": "1GB", + "cell": ["Wi-Fi", "Bluetooth", "LTE"] + }, + { + "id": "apple-watch-series-5-44mm-silver", + "category": "accessories", + "namespaceId": "apple-watch-series-5", + "name": "Apple Watch Series 5 44mm Silver", + "capacityAvailable": ["40mm", "44mm"], + "capacity": "44mm", + "priceRegular": 429, + "priceDiscount": 399, + "colorsAvailable": ["space gray", "silver", "gold"], + "color": "silver", + "images": [ + "img/accessories/apple-watch-series-5/silver/00.webp", + "img/accessories/apple-watch-series-5/silver/01.webp", + "img/accessories/apple-watch-series-5/silver/02.webp" + ], + "description": [ + { + "title": "Always-On Retina display", + "text": [ + "The Apple Watch Series 5 features an Always-On Retina display that allows you to glance at your watch without raising your wrist." + ] + }, + { + "title": "ECG app", + "text": [ + "With the ECG app, you can take an electrocardiogram from your wrist anytime, anywhere. " + ] + }, + { + "title": "Track your workouts", + "text": [ + "The Apple Watch Series 5 tracks your workouts including running, walking, cycling, and swimming. It also has a built-in GPS to track your location and route." + ] + } + ], + "screen": "1.78' LTPO OLED", + "resolution": "368x448", + "processor": "Apple S5", + "ram": "1GB", + "cell": ["Wi-Fi", "Bluetooth", "LTE"] + }, + { + "id": "apple-watch-series-5-40mm-gold", + "category": "accessories", + "namespaceId": "apple-watch-series-5", + "name": "Apple Watch Series 5 40mm Gold", + "capacityAvailable": ["40mm", "44mm"], + "capacity": "40mm", + "priceRegular": 399, + "priceDiscount": 299, + "colorsAvailable": ["silver", "gold", "space gray"], + "color": "gold", + "images": [ + "img/accessories/apple-watch-series-5/gold/00.webp", + "img/accessories/apple-watch-series-5/gold/01.webp", + "img/accessories/apple-watch-series-5/gold/02.webp" + ], + "description": [ + { + "title": "Always-On Retina display", + "text": [ + "With the Always-On Retina display, you can easily see the time and important information without raising your wrist. The display is also 30% larger than the Series 3, making it easier to read and interact with." + ] + }, + { + "title": "ECG app", + "text": [ + "The ECG app can detect irregular heart rhythms and alert you if something seems amiss. You can also take an ECG anytime, anywhere, right from your wrist." + ] + }, + { + "title": "Activity tracking", + "text": [ + "The Apple Watch Series 5 tracks your daily activity, including workouts, steps taken, and calories burned. It also has a built-in GPS to track your runs, walks, and hikes." + ] + } + ], + "screen": "1.57' OLED", + "resolution": "324x394", + "processor": "Apple S5", + "ram": "1GB", + "cell": ["Wi-Fi", "Bluetooth", "LTE"] + }, + { + "id": "apple-watch-series-5-44mm-gold", + "category": "accessories", + "namespaceId": "apple-watch-series-5", + "name": "Apple Watch Series 5 44mm Gold", + "capacityAvailable": ["40mm", "44mm"], + "capacity": "44mm", + "priceRegular": 429, + "priceDiscount": 399, + "colorsAvailable": ["space gray", "silver", "gold"], + "color": "gold", + "images": [ + "img/accessories/apple-watch-series-5/gold/00.webp", + "img/accessories/apple-watch-series-5/gold/01.webp", + "img/accessories/apple-watch-series-5/gold/02.webp" + ], + "description": [ + { + "title": "Always-On Retina display", + "text": [ + "The Apple Watch Series 5 features an Always-On Retina display that allows you to glance at your watch without raising your wrist." + ] + }, + { + "title": "ECG app", + "text": [ + "With the ECG app, you can take an electrocardiogram from your wrist anytime, anywhere. " + ] + }, + { + "title": "Track your workouts", + "text": [ + "The Apple Watch Series 5 tracks your workouts including running, walking, cycling, and swimming. It also has a built-in GPS to track your location and route." + ] + } + ], + "screen": "1.78' LTPO OLED", + "resolution": "368x448", + "processor": "Apple S5", + "ram": "1GB", + "cell": ["Wi-Fi", "Bluetooth", "LTE"] + }, + { + "id": "apple-watch-series-5-40mm-space-gray", + "category": "accessories", + "namespaceId": "apple-watch-series-5", + "name": "Apple Watch Series 5 40mm Space Gray", + "capacityAvailable": ["40mm", "44mm"], + "capacity": "40mm", + "priceRegular": 399, + "priceDiscount": 299, + "colorsAvailable": ["silver", "gold", "space gray"], + "color": "space-gray", + "images": [ + "img/accessories/apple-watch-series-5/space-gray/00.webp", + "img/accessories/apple-watch-series-5/space-gray/01.webp", + "img/accessories/apple-watch-series-5/space-gray/02.webp" + ], + "description": [ + { + "title": "Always-On Retina display", + "text": [ + "With the Always-On Retina display, you can easily see the time and important information without raising your wrist. The display is also 30% larger than the Series 3, making it easier to read and interact with." + ] + }, + { + "title": "ECG app", + "text": [ + "The ECG app can detect irregular heart rhythms and alert you if something seems amiss. You can also take an ECG anytime, anywhere, right from your wrist." + ] + }, + { + "title": "Activity tracking", + "text": [ + "The Apple Watch Series 5 tracks your daily activity, including workouts, steps taken, and calories burned. It also has a built-in GPS to track your runs, walks, and hikes." + ] + } + ], + "screen": "1.57' OLED", + "resolution": "324x394", + "processor": "Apple S5", + "ram": "1GB", + "cell": ["Wi-Fi", "Bluetooth", "LTE"] + }, + { + "id": "apple-watch-series-5-44mm-space-gray", + "category": "accessories", + "namespaceId": "apple-watch-series-5", + "name": "Apple Watch Series 5 44mm Space Gray", + "capacityAvailable": ["40mm", "44mm"], + "capacity": "44mm", + "priceRegular": 429, + "priceDiscount": 399, + "colorsAvailable": ["space gray", "silver", "gold"], + "color": "space-gray", + "images": [ + "img/accessories/apple-watch-series-5/space-gray/00.webp", + "img/accessories/apple-watch-series-5/space-gray/01.webp", + "img/accessories/apple-watch-series-5/space-gray/02.webp" + ], + "description": [ + { + "title": "Always-On Retina display", + "text": [ + "The Apple Watch Series 5 features an Always-On Retina display that allows you to glance at your watch without raising your wrist." + ] + }, + { + "title": "ECG app", + "text": [ + "With the ECG app, you can take an electrocardiogram from your wrist anytime, anywhere. " + ] + }, + { + "title": "Track your workouts", + "text": [ + "The Apple Watch Series 5 tracks your workouts including running, walking, cycling, and swimming. It also has a built-in GPS to track your location and route." + ] + } + ], + "screen": "1.78' LTPO OLED", + "resolution": "368x448", + "processor": "Apple S5", + "ram": "1GB", + "cell": ["Wi-Fi", "Bluetooth", "LTE"] + }, + { + "id": "apple-watch-series-4-40mm-silver", + "category": "accessories", + "namespaceId": "apple-watch-series-4", + "name": "Apple Watch Series 4 40mm Silver", + "capacityAvailable": ["40mm", "44mm"], + "capacity": "40mm", + "priceRegular": 399, + "priceDiscount": 349, + "colorsAvailable": ["silver", "gold", "space gray"], + "color": "silver", + "images": [ + "img/accessories/apple-watch-series-4/silver/00.webp", + "img/accessories/apple-watch-series-4/silver/01.webp", + "img/accessories/apple-watch-series-4/silver/02.webp" + ], + "description": [ + { + "title": "Larger display", + "text": [ + "The Apple Watch Series 4 has a larger display that lets you see more information at a glance. The display is over 30% larger than the Series 3 and is edge-to-edge with curved corners." + ] + }, + { + "title": "ECG app", + "text": [ + "With the ECG app, you can take an electrocardiogram right from your wrist. This feature is only available in certain countries and regions." + ] + }, + { + "title": "Fall detection", + "text": [ + "The Apple Watch Series 4 can detect when you fall and can send an alert to emergency services if you don't respond within a minute. This feature is only available for users over 65 years old." + ] + } + ], + "screen": "1.57' OLED", + "resolution": "324x394", + "processor": "Apple S4", + "ram": "0.75GB", + "cell": ["Wi-Fi", "Bluetooth", "LTE"] + }, + { + "id": "apple-watch-series-4-44mm-silver", + "category": "accessories", + "namespaceId": "apple-watch-series-4", + "name": "Apple Watch Series 4 44mm Silver", + "capacityAvailable": ["40mm", "44mm"], + "capacity": "44mm", + "priceRegular": 429, + "priceDiscount": 379, + "colorsAvailable": ["silver", "gold", "space gray"], + "color": "silver", + "images": [ + "img/accessories/apple-watch-series-4/silver/00.webp", + "img/accessories/apple-watch-series-4/silver/01.webp", + "img/accessories/apple-watch-series-4/silver/02.webp" + ], + "description": [ + { + "title": "Larger display", + "text": [ + "The Apple Watch Series 4 has a larger display that lets you see more information at a glance. The display is over 30% larger than the Series 3 and is edge-to-edge with curved corners." + ] + }, + { + "title": "ECG app", + "text": [ + "With the ECG app, you can take an electrocardiogram right from your wrist. This feature is only available in certain countries and regions." + ] + }, + { + "title": "Fall detection", + "text": [ + "The Apple Watch Series 4 can detect when you fall and can send an alert to emergency services if you don't respond within a minute. This feature is only available for users over 65 years old." + ] + } + ], + "screen": "1.78' OLED", + "resolution": "368x448", + "processor": "Apple S4", + "ram": "0.75GB", + "cell": ["Wi-Fi", "Bluetooth", "LTE"] + }, + { + "id": "apple-watch-series-4-40mm-gold", + "category": "accessories", + "namespaceId": "apple-watch-series-4", + "name": "Apple Watch Series 4 40mm Gold", + "capacityAvailable": ["40mm", "44mm"], + "capacity": "40mm", + "priceRegular": 399, + "priceDiscount": 349, + "colorsAvailable": ["silver", "gold", "space gray"], + "color": "gold", + "images": [ + "img/accessories/apple-watch-series-4/gold/00.webp", + "img/accessories/apple-watch-series-4/gold/01.webp", + "img/accessories/apple-watch-series-4/gold/02.webp" + ], + "description": [ + { + "title": "Larger display", + "text": [ + "The Apple Watch Series 4 has a larger display that lets you see more information at a glance. The display is over 30% larger than the Series 3 and is edge-to-edge with curved corners." + ] + }, + { + "title": "ECG app", + "text": [ + "With the ECG app, you can take an electrocardiogram right from your wrist. This feature is only available in certain countries and regions." + ] + }, + { + "title": "Fall detection", + "text": [ + "The Apple Watch Series 4 can detect when you fall and can send an alert to emergency services if you don't respond within a minute. This feature is only available for users over 65 years old." + ] + } + ], + "screen": "1.57' OLED", + "resolution": "324x394", + "processor": "Apple S4", + "ram": "0.75GB", + "cell": ["Wi-Fi", "Bluetooth", "LTE"] + }, + { + "id": "apple-watch-series-4-44mm-gold", + "category": "accessories", + "namespaceId": "apple-watch-series-4", + "name": "Apple Watch Series 4 44mm Gold", + "capacityAvailable": ["40mm", "44mm"], + "capacity": "44mm", + "priceRegular": 429, + "priceDiscount": 379, + "colorsAvailable": ["silver", "gold", "space gray"], + "color": "gold", + "images": [ + "img/accessories/apple-watch-series-4/gold/00.webp", + "img/accessories/apple-watch-series-4/gold/01.webp", + "img/accessories/apple-watch-series-4/gold/02.webp" + ], + "description": [ + { + "title": "Larger display", + "text": [ + "The Apple Watch Series 4 has a larger display that lets you see more information at a glance. The display is over 30% larger than the Series 3 and is edge-to-edge with curved corners." + ] + }, + { + "title": "ECG app", + "text": [ + "With the ECG app, you can take an electrocardiogram right from your wrist. This feature is only available in certain countries and regions." + ] + }, + { + "title": "Fall detection", + "text": [ + "The Apple Watch Series 4 can detect when you fall and can send an alert to emergency services if you don't respond within a minute. This feature is only available for users over 65 years old." + ] + } + ], + "screen": "1.78' OLED", + "resolution": "368x448", + "processor": "Apple S4", + "ram": "0.75GB", + "cell": ["Wi-Fi", "Bluetooth", "LTE"] + }, + { + "id": "apple-watch-series-4-40mm-space-gray", + "category": "accessories", + "namespaceId": "apple-watch-series-4", + "name": "Apple Watch Series 4 40mm Space Gray", + "capacityAvailable": ["40mm", "44mm"], + "capacity": "40mm", + "priceRegular": 399, + "priceDiscount": 349, + "colorsAvailable": ["silver", "gold", "space gray"], + "color": "space-gray", + "images": [ + "img/accessories/apple-watch-series-4/space-gray/00.webp", + "img/accessories/apple-watch-series-4/space-gray/01.webp", + "img/accessories/apple-watch-series-4/space-gray/02.webp" + ], + "description": [ + { + "title": "Larger display", + "text": [ + "The Apple Watch Series 4 has a larger display that lets you see more information at a glance. The display is over 30% larger than the Series 3 and is edge-to-edge with curved corners." + ] + }, + { + "title": "ECG app", + "text": [ + "With the ECG app, you can take an electrocardiogram right from your wrist. This feature is only available in certain countries and regions." + ] + }, + { + "title": "Fall detection", + "text": [ + "The Apple Watch Series 4 can detect when you fall and can send an alert to emergency services if you don't respond within a minute. This feature is only available for users over 65 years old." + ] + } + ], + "screen": "1.57' OLED", + "resolution": "324x394", + "processor": "Apple S4", + "ram": "0.75GB", + "cell": ["Wi-Fi", "Bluetooth", "LTE"] + }, + { + "id": "apple-watch-series-4-44mm-space-gray", + "category": "accessories", + "namespaceId": "apple-watch-series-4", + "name": "Apple Watch Series 4 44mm Space Gray", + "capacityAvailable": ["40mm", "44mm"], + "capacity": "44mm", + "priceRegular": 429, + "priceDiscount": 379, + "colorsAvailable": ["silver", "gold", "space gray"], + "color": "space-gray", + "images": [ + "img/accessories/apple-watch-series-4/space-gray/00.webp", + "img/accessories/apple-watch-series-4/space-gray/01.webp", + "img/accessories/apple-watch-series-4/space-gray/02.webp" + ], + "description": [ + { + "title": "Larger display", + "text": [ + "The Apple Watch Series 4 has a larger display that lets you see more information at a glance. The display is over 30% larger than the Series 3 and is edge-to-edge with curved corners." + ] + }, + { + "title": "ECG app", + "text": [ + "With the ECG app, you can take an electrocardiogram right from your wrist. This feature is only available in certain countries and regions." + ] + }, + { + "title": "Fall detection", + "text": [ + "The Apple Watch Series 4 can detect when you fall and can send an alert to emergency services if you don't respond within a minute. This feature is only available for users over 65 years old." + ] + } + ], + "screen": "1.78' OLED", + "resolution": "368x448", + "processor": "Apple S4", + "ram": "0.75GB", + "cell": ["Wi-Fi", "Bluetooth", "LTE"] + }, + { + "id": "apple-watch-se-40mm-silver", + "category": "accessories", + "namespaceId": "apple-watch-se", + "name": "Apple Watch SE 40mm Silver", + "capacityAvailable": ["40mm", "44mm"], + "capacity": "40mm", + "priceRegular": 279, + "priceDiscount": 249, + "colorsAvailable": ["silver", "gold", "space gray"], + "color": "silver", + "images": [ + "img/accessories/apple-watch-se/silver/00.webp", + "img/accessories/apple-watch-se/silver/01.webp", + "img/accessories/apple-watch-se/silver/02.webp" + ], + "description": [ + { + "title": "Retina display", + "text": [ + "The Apple Watch SE features a Retina display that provides clear and vibrant visuals for easy readability." + ] + }, + { + "title": "Family Setup", + "text": [ + "With Family Setup, you can pair your Apple Watch SE with a family member's iPhone, so you can stay connected even without owning an iPhone yourself." + ] + }, + { + "title": "Fitness tracking", + "text": [ + "The Apple Watch SE offers comprehensive fitness tracking features, including activity tracking, heart rate monitoring, and built-in GPS for tracking your outdoor workouts." + ] + } + ], + "screen": "1.57' OLED", + "resolution": "324x394", + "processor": "Apple S5", + "ram": "1GB", + "cell": ["Wi-Fi", "Bluetooth", "LTE"] + }, + { + "id": "apple-watch-se-44mm-silver", + "category": "accessories", + "namespaceId": "apple-watch-se", + "name": "Apple Watch SE 44mm Silver", + "capacityAvailable": ["40mm", "44mm"], + "capacity": "44mm", + "priceRegular": 309, + "priceDiscount": 279, + "colorsAvailable": ["silver", "gold", "space gray"], + "color": "silver", + "images": [ + "img/accessories/apple-watch-se/silver/00.webp", + "img/accessories/apple-watch-se/silver/01.webp", + "img/accessories/apple-watch-se/silver/02.webp" + ], + "description": [ + { + "title": "Retina display", + "text": [ + "The Apple Watch SE features a Retina display that provides clear and vibrant visuals for easy readability." + ] + }, + { + "title": "Family Setup", + "text": [ + "With Family Setup, you can pair your Apple Watch SE with a family member's iPhone, so you can stay connected even without owning an iPhone yourself." + ] + }, + { + "title": "Fitness tracking", + "text": [ + "The Apple Watch SE offers comprehensive fitness tracking features, including activity tracking, heart rate monitoring, and built-in GPS for tracking your outdoor workouts." + ] + } + ], + "screen": "1.78' OLED", + "resolution": "368x448", + "processor": "Apple S5", + "ram": "1GB", + "cell": ["Wi-Fi", "Bluetooth", "LTE"] + }, + { + "id": "apple-watch-se-40mm-gold", + "category": "accessories", + "namespaceId": "apple-watch-se", + "name": "Apple Watch SE 40mm Gold", + "capacityAvailable": ["40mm", "44mm"], + "capacity": "40mm", + "priceRegular": 279, + "priceDiscount": 259, + "colorsAvailable": ["silver", "space gray", "gold"], + "color": "gold", + "images": [ + "img/accessories/apple-watch-se/gold/00.webp", + "img/accessories/apple-watch-se/gold/01.webp", + "img/accessories/apple-watch-se/gold/02.webp" + ], + "description": [ + { + "title": "Retina display", + "text": [ + "The Apple Watch SE features a stunning Retina display that is always on, so you can easily see the time and important information without having to raise your wrist." + ] + }, + { + "title": "Health and fitness tracking", + "text": [ + "The Apple Watch SE has all the features you need to stay healthy and active, including heart rate monitoring, activity tracking, and sleep tracking. It also has built-in GPS so you can track your workouts and outdoor activities." + ] + }, + { + "title": "Stay connected", + "text": [ + "With cellular and Wi-Fi connectivity, you can stay connected wherever you go. You can make and receive calls, send texts, and stream music directly from your wrist." + ] + } + ], + "screen": "1.57' OLED", + "resolution": "324x394", + "processor": "Apple S5", + "ram": "1GB", + "cell": ["Wi-Fi", "Bluetooth", "LTE"] + }, + { + "id": "apple-watch-se-44mm-gold", + "category": "accessories", + "namespaceId": "apple-watch-se", + "name": "Apple Watch SE 44mm Gold", + "capacityAvailable": ["40mm", "44mm"], + "capacity": "44mm", + "priceRegular": 309, + "priceDiscount": 289, + "colorsAvailable": ["space gray", "silver", "gold"], + "color": "gold", + "images": [ + "img/accessories/apple-watch-se/gold/00.webp", + "img/accessories/apple-watch-se/gold/01.webp", + "img/accessories/apple-watch-se/gold/02.webp" + ], + "description": [ + { + "title": "Retina display", + "text": [ + "The Apple Watch SE features a stunning Retina display that is always on, so you can easily see the time and important information without lifting your wrist." + ] + }, + { + "title": "Track your daily activity", + "text": [ + "The Apple Watch SE tracks your daily activity including workouts, steps taken, and calories burned. It also has a built-in GPS to track your runs, walks, and hikes." + ] + }, + { + "title": "Stay connected", + "text": [ + "The Apple Watch SE keeps you connected with the people and information you care about most. With cellular service, you can make and receive calls and texts, stream music, and use Siri, all without your iPhone." + ] + } + ], + "screen": "1.78' OLED", + "resolution": "368x448", + "processor": "Apple S5", + "ram": "1GB", + "cell": ["Wi-Fi", "Bluetooth", "LTE"] + }, + { + "id": "apple-watch-se-40mm-space-gray", + "category": "accessories", + "namespaceId": "apple-watch-se", + "name": "Apple Watch SE 40mm Space Gray", + "capacityAvailable": ["40mm", "44mm"], + "capacity": "40mm", + "priceRegular": 279, + "priceDiscount": 259, + "colorsAvailable": ["silver", "space gray", "gold"], + "color": "space gray", + "images": [ + "img/accessories/apple-watch-se/space-gray/00.webp", + "img/accessories/apple-watch-se/space-gray/01.webp", + "img/accessories/apple-watch-se/space-gray/02.webp" + ], + "description": [ + { + "title": "Retina display", + "text": [ + "The Apple Watch SE features a stunning Retina display that is always on, providing clear and vibrant visuals for easy readability." + ] + }, + { + "title": "Fitness and health tracking", + "text": [ + "The Apple Watch SE helps you stay active and monitors your health with features like heart rate monitoring, activity tracking, and built-in GPS for tracking your outdoor workouts." + ] + }, + { + "title": "Stay connected", + "text": [ + "With cellular and Wi-Fi connectivity, you can stay connected on the go. Make and receive calls, send messages, stream music, and access Siri right from your wrist." + ] + } + ], + "screen": "1.57' OLED", + "resolution": "324x394", + "processor": "Apple S5", + "ram": "1GB", + "cell": ["Wi-Fi", "Bluetooth", "LTE"] + }, + { + "id": "apple-watch-se-44mm-space-gray", + "category": "accessories", + "namespaceId": "apple-watch-se", + "name": "Apple Watch SE 44mm Space Gray", + "capacityAvailable": ["40mm", "44mm"], + "capacity": "44mm", + "priceRegular": 309, + "priceDiscount": 289, + "colorsAvailable": ["silver", "space gray", "gold"], + "color": "space gray", + "images": [ + "img/accessories/apple-watch-se/space-gray/00.webp", + "img/accessories/apple-watch-se/space-gray/01.webp", + "img/accessories/apple-watch-se/space-gray/02.webp" + ], + "description": [ + { + "title": "Retina display", + "text": [ + "The Apple Watch SE features a stunning Retina display that is always on, providing clear and vibrant visuals for easy readability." + ] + }, + { + "title": "Fitness and health tracking", + "text": [ + "The Apple Watch SE helps you stay active and monitors your health with features like heart rate monitoring, activity tracking, and built-in GPS for tracking your outdoor workouts." + ] + }, + { + "title": "Stay connected", + "text": [ + "With cellular and Wi-Fi connectivity, you can stay connected on the go. Make and receive calls, send messages, stream music, and access Siri right from your wrist." + ] + } + ], + "screen": "1.78' OLED", + "resolution": "368x448", + "processor": "Apple S5", + "ram": "1GB", + "cell": ["Wi-Fi", "Bluetooth", "LTE"] + } +] diff --git a/src/api/phones.json b/src/api/phones.json new file mode 100644 index 0000000000..bb2aa34f14 --- /dev/null +++ b/src/api/phones.json @@ -0,0 +1,5835 @@ +[ + { + "id": "apple-iphone-11-128gb-black", + "category": "phones", + "namespaceId": "apple-iphone-11", + "name": "Apple iPhone 11 128GB Black", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "128GB", + "priceRegular": 1100, + "priceDiscount": 1050, + "colorsAvailable": ["black", "green", "yellow", "white", "purple", "red"], + "color": "black", + "images": [ + "img/phones/apple-iphone-11/black/00.webp", + "img/phones/apple-iphone-11/black/01.webp", + "img/phones/apple-iphone-11/black/02.webp", + "img/phones/apple-iphone-11/black/03.webp", + "img/phones/apple-iphone-11/black/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' IPS", + "resolution": "1792x828", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-128gb-green", + "category": "phones", + "namespaceId": "apple-iphone-11", + "name": "Apple iPhone 11 128GB Green", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "128GB", + "priceRegular": 1100, + "priceDiscount": 1050, + "colorsAvailable": ["black", "green", "yellow", "white", "purple", "red"], + "color": "green", + "images": [ + "img/phones/apple-iphone-11/green/00.webp", + "img/phones/apple-iphone-11/green/01.webp", + "img/phones/apple-iphone-11/green/02.webp", + "img/phones/apple-iphone-11/green/03.webp", + "img/phones/apple-iphone-11/green/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' IPS", + "resolution": "1792x828", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-128gb-purple", + "category": "phones", + "namespaceId": "apple-iphone-11", + "name": "Apple iPhone 11 128GB Purple", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "128GB", + "priceRegular": 1100, + "priceDiscount": 1050, + "colorsAvailable": ["black", "green", "yellow", "white", "purple", "red"], + "color": "purple", + "images": [ + "img/phones/apple-iphone-11/purple/00.webp", + "img/phones/apple-iphone-11/purple/01.webp", + "img/phones/apple-iphone-11/purple/02.webp", + "img/phones/apple-iphone-11/purple/03.webp", + "img/phones/apple-iphone-11/purple/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' IPS", + "resolution": "1792x828", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-128gb-red", + "category": "phones", + "namespaceId": "apple-iphone-11", + "name": "Apple iPhone 11 128GB Red", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "128GB", + "priceRegular": 1100, + "priceDiscount": 1050, + "colorsAvailable": ["black", "green", "yellow", "white", "purple", "red"], + "color": "red", + "images": [ + "img/phones/apple-iphone-11/red/00.webp", + "img/phones/apple-iphone-11/red/01.webp", + "img/phones/apple-iphone-11/red/02.webp", + "img/phones/apple-iphone-11/red/03.webp", + "img/phones/apple-iphone-11/red/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' IPS", + "resolution": "1792x828", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-128gb-white", + "category": "phones", + "namespaceId": "apple-iphone-11", + "name": "Apple iPhone 11 128GB White", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "128GB", + "priceRegular": 1100, + "priceDiscount": 1050, + "colorsAvailable": ["black", "green", "yellow", "white", "purple", "red"], + "color": "white", + "images": [ + "img/phones/apple-iphone-11/white/00.webp", + "img/phones/apple-iphone-11/white/01.webp", + "img/phones/apple-iphone-11/white/02.webp", + "img/phones/apple-iphone-11/white/03.webp", + "img/phones/apple-iphone-11/white/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' IPS", + "resolution": "1792x828", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-128gb-yellow", + "category": "phones", + "namespaceId": "apple-iphone-11", + "name": "Apple iPhone 11 128GB Yellow", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "128GB", + "priceRegular": 1100, + "priceDiscount": 1050, + "colorsAvailable": ["black", "green", "yellow", "white", "purple", "red"], + "color": "yellow", + "images": [ + "img/phones/apple-iphone-11/yellow/00.webp", + "img/phones/apple-iphone-11/yellow/01.webp", + "img/phones/apple-iphone-11/yellow/02.webp", + "img/phones/apple-iphone-11/yellow/03.webp", + "img/phones/apple-iphone-11/yellow/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' IPS", + "resolution": "1792x828", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-256gb-black", + "category": "phones", + "namespaceId": "apple-iphone-11", + "name": "Apple iPhone 11 256GB Black", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "256GB", + "priceRegular": 1172, + "priceDiscount": 1115, + "colorsAvailable": ["black", "green", "yellow", "white", "purple", "red"], + "color": "black", + "images": [ + "img/phones/apple-iphone-11/black/00.webp", + "img/phones/apple-iphone-11/black/01.webp", + "img/phones/apple-iphone-11/black/02.webp", + "img/phones/apple-iphone-11/black/03.webp", + "img/phones/apple-iphone-11/black/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' IPS", + "resolution": "1792x828", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-256gb-green", + "category": "phones", + "namespaceId": "apple-iphone-11", + "name": "Apple iPhone 11 256GB Green", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "256GB", + "priceRegular": 1172, + "priceDiscount": 1115, + "colorsAvailable": ["black", "green", "yellow", "white", "purple", "red"], + "color": "green", + "images": [ + "img/phones/apple-iphone-11/green/00.webp", + "img/phones/apple-iphone-11/green/01.webp", + "img/phones/apple-iphone-11/green/02.webp", + "img/phones/apple-iphone-11/green/03.webp", + "img/phones/apple-iphone-11/green/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' IPS", + "resolution": "1792x828", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-256gb-purple", + "category": "phones", + "namespaceId": "apple-iphone-11", + "name": "Apple iPhone 11 256GB Purple", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "256GB", + "priceRegular": 1172, + "priceDiscount": 1115, + "colorsAvailable": ["black", "green", "yellow", "white", "purple", "red"], + "color": "purple", + "images": [ + "img/phones/apple-iphone-11/purple/00.webp", + "img/phones/apple-iphone-11/purple/01.webp", + "img/phones/apple-iphone-11/purple/02.webp", + "img/phones/apple-iphone-11/purple/03.webp", + "img/phones/apple-iphone-11/purple/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' IPS", + "resolution": "1792x828", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-256gb-red", + "category": "phones", + "namespaceId": "apple-iphone-11", + "name": "Apple iPhone 11 256GB Red", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "256GB", + "priceRegular": 1172, + "priceDiscount": 1115, + "colorsAvailable": ["black", "green", "yellow", "white", "purple", "red"], + "color": "red", + "images": [ + "img/phones/apple-iphone-11/red/00.webp", + "img/phones/apple-iphone-11/red/01.webp", + "img/phones/apple-iphone-11/red/02.webp", + "img/phones/apple-iphone-11/red/03.webp", + "img/phones/apple-iphone-11/red/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' IPS", + "resolution": "1792x828", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-256gb-white", + "category": "phones", + "namespaceId": "apple-iphone-11", + "name": "Apple iPhone 11 256GB White", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "256GB", + "priceRegular": 1172, + "priceDiscount": 1115, + "colorsAvailable": ["black", "green", "yellow", "white", "purple", "red"], + "color": "white", + "images": [ + "img/phones/apple-iphone-11/white/00.webp", + "img/phones/apple-iphone-11/white/01.webp", + "img/phones/apple-iphone-11/white/02.webp", + "img/phones/apple-iphone-11/white/03.webp", + "img/phones/apple-iphone-11/white/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' IPS", + "resolution": "1792x828", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-256gb-yellow", + "category": "phones", + "namespaceId": "apple-iphone-11", + "name": "Apple iPhone 11 256GB Yellow", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "256GB", + "priceRegular": 1172, + "priceDiscount": 1115, + "colorsAvailable": ["black", "green", "yellow", "white", "purple", "red"], + "color": "yellow", + "images": [ + "img/phones/apple-iphone-11/yellow/00.webp", + "img/phones/apple-iphone-11/yellow/01.webp", + "img/phones/apple-iphone-11/yellow/02.webp", + "img/phones/apple-iphone-11/yellow/03.webp", + "img/phones/apple-iphone-11/yellow/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' IPS", + "resolution": "1792x828", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-64gb-black", + "category": "phones", + "namespaceId": "apple-iphone-11", + "name": "Apple iPhone 11 64GB Black", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "64GB", + "priceRegular": 932, + "priceDiscount": 880, + "colorsAvailable": ["black", "green", "yellow", "white", "purple", "red"], + "color": "black", + "images": [ + "img/phones/apple-iphone-11/black/00.webp", + "img/phones/apple-iphone-11/black/01.webp", + "img/phones/apple-iphone-11/black/02.webp", + "img/phones/apple-iphone-11/black/03.webp", + "img/phones/apple-iphone-11/black/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' IPS", + "resolution": "1792x828", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-64gb-green", + "category": "phones", + "namespaceId": "apple-iphone-11", + "name": "Apple iPhone 11 64GB Green", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "64GB", + "priceRegular": 932, + "priceDiscount": 880, + "colorsAvailable": ["black", "green", "yellow", "white", "purple", "red"], + "color": "green", + "images": [ + "img/phones/apple-iphone-11/green/00.webp", + "img/phones/apple-iphone-11/green/01.webp", + "img/phones/apple-iphone-11/green/02.webp", + "img/phones/apple-iphone-11/green/03.webp", + "img/phones/apple-iphone-11/green/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' IPS", + "resolution": "1792x828", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-64gb-purple", + "category": "phones", + "namespaceId": "apple-iphone-11", + "name": "Apple iPhone 11 64GB Purple", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "64GB", + "priceRegular": 932, + "priceDiscount": 880, + "colorsAvailable": ["black", "green", "yellow", "white", "purple", "red"], + "color": "purple", + "images": [ + "img/phones/apple-iphone-11/purple/00.webp", + "img/phones/apple-iphone-11/purple/01.webp", + "img/phones/apple-iphone-11/purple/02.webp", + "img/phones/apple-iphone-11/purple/03.webp", + "img/phones/apple-iphone-11/purple/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' IPS", + "resolution": "1792x828", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-64gb-red", + "category": "phones", + "namespaceId": "apple-iphone-11", + "name": "Apple iPhone 11 64GB Red", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "64GB", + "priceRegular": 932, + "priceDiscount": 880, + "colorsAvailable": ["black", "green", "yellow", "white", "purple", "red"], + "color": "red", + "images": [ + "img/phones/apple-iphone-11/red/00.webp", + "img/phones/apple-iphone-11/red/01.webp", + "img/phones/apple-iphone-11/red/02.webp", + "img/phones/apple-iphone-11/red/03.webp", + "img/phones/apple-iphone-11/red/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' IPS", + "resolution": "1792x828", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-64gb-white", + "category": "phones", + "namespaceId": "apple-iphone-11", + "name": "Apple iPhone 11 64GB White", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "64GB", + "priceRegular": 932, + "priceDiscount": 880, + "colorsAvailable": ["black", "green", "yellow", "white", "purple", "red"], + "color": "white", + "images": [ + "img/phones/apple-iphone-11/white/00.webp", + "img/phones/apple-iphone-11/white/01.webp", + "img/phones/apple-iphone-11/white/02.webp", + "img/phones/apple-iphone-11/white/03.webp", + "img/phones/apple-iphone-11/white/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' IPS", + "resolution": "1792x828", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-64gb-yellow", + "category": "phones", + "namespaceId": "apple-iphone-11", + "name": "Apple iPhone 11 64GB Yellow", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "64GB", + "priceRegular": 932, + "priceDiscount": 880, + "colorsAvailable": ["black", "green", "yellow", "white", "purple", "red"], + "color": "yellow", + "images": [ + "img/phones/apple-iphone-11/yellow/00.webp", + "img/phones/apple-iphone-11/yellow/01.webp", + "img/phones/apple-iphone-11/yellow/02.webp", + "img/phones/apple-iphone-11/yellow/03.webp", + "img/phones/apple-iphone-11/yellow/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' IPS", + "resolution": "1792x828", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-pro-256gb-gold", + "category": "phones", + "namespaceId": "apple-iphone-11-pro", + "name": "Apple iPhone 11 Pro 256GB Gold", + "capacityAvailable": ["64GB", "256GB", "512GB"], + "capacity": "256GB", + "priceRegular": 1640, + "priceDiscount": 1570, + "colorsAvailable": ["spacegray", "midnightgreen", "gold", "silver"], + "color": "gold", + "images": [ + "img/phones/apple-iphone-11-pro/gold/00.webp", + "img/phones/apple-iphone-11-pro/gold/01.webp", + "img/phones/apple-iphone-11-pro/gold/02.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "5.8' OLED", + "resolution": "2436х1125", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-pro-256gb-midnightgreen", + "category": "phones", + "namespaceId": "apple-iphone-11-pro", + "name": "Apple iPhone 11 Pro 256GB Midnight green", + "capacityAvailable": ["64GB", "256GB", "512GB"], + "capacity": "256GB", + "priceRegular": 1640, + "priceDiscount": 1570, + "colorsAvailable": ["spacegray", "midnightgreen", "gold", "silver"], + "color": "midnightgreen", + "images": [ + "img/phones/apple-iphone-11-pro/midnightgreen/00.webp", + "img/phones/apple-iphone-11-pro/midnightgreen/01.webp", + "img/phones/apple-iphone-11-pro/midnightgreen/02.webp", + "img/phones/apple-iphone-11-pro/midnightgreen/03.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "5.8' OLED", + "resolution": "2436х1125", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-pro-256gb-silver", + "category": "phones", + "namespaceId": "apple-iphone-11-pro", + "name": "Apple iPhone 11 Pro 256GB Silver", + "capacityAvailable": ["64GB", "256GB", "512GB"], + "capacity": "256GB", + "priceRegular": 1640, + "priceDiscount": 1570, + "colorsAvailable": ["spacegray", "midnightgreen", "gold", "silver"], + "color": "silver", + "images": [ + "img/phones/apple-iphone-11-pro/silver/00.webp", + "img/phones/apple-iphone-11-pro/silver/01.webp", + "img/phones/apple-iphone-11-pro/silver/02.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "5.8' OLED", + "resolution": "2436х1125", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-pro-256gb-spacegray", + "category": "phones", + "namespaceId": "apple-iphone-11-pro", + "name": "Apple iPhone 11 Pro 256GB Spacegray", + "capacityAvailable": ["64GB", "256GB", "512GB"], + "capacity": "256GB", + "priceRegular": 1640, + "priceDiscount": 1570, + "colorsAvailable": ["spacegray", "midnightgreen", "gold", "silver"], + "color": "spacegray", + "images": [ + "img/phones/apple-iphone-11-pro/spacegray/00.webp", + "img/phones/apple-iphone-11-pro/spacegray/01.webp", + "img/phones/apple-iphone-11-pro/spacegray/02.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "5.8' OLED", + "resolution": "2436х1125", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-pro-512gb-gold", + "category": "phones", + "namespaceId": "apple-iphone-11-pro", + "name": "Apple iPhone 11 Pro 512GB Gold", + "capacityAvailable": ["64GB", "256GB", "512GB"], + "capacity": "512GB", + "priceRegular": 1880, + "priceDiscount": 1780, + "colorsAvailable": ["spacegray", "midnightgreen", "gold", "silver"], + "color": "gold", + "images": [ + "img/phones/apple-iphone-11-pro/gold/00.webp", + "img/phones/apple-iphone-11-pro/gold/01.webp", + "img/phones/apple-iphone-11-pro/gold/02.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "5.8' OLED", + "resolution": "2436х1125", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-pro-512gb-midnightgreen", + "category": "phones", + "namespaceId": "apple-iphone-11-pro", + "name": "Apple iPhone 11 Pro 512GB Midnight green", + "capacityAvailable": ["64GB", "256GB", "512GB"], + "capacity": "512GB", + "priceRegular": 1880, + "priceDiscount": 1780, + "colorsAvailable": ["spacegray", "midnightgreen", "gold", "silver"], + "color": "midnightgreen", + "images": [ + "img/phones/apple-iphone-11-pro/midnightgreen/00.webp", + "img/phones/apple-iphone-11-pro/midnightgreen/01.webp", + "img/phones/apple-iphone-11-pro/midnightgreen/02.webp", + "img/phones/apple-iphone-11-pro/midnightgreen/03.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "5.8' OLED", + "resolution": "2436х1125", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-pro-512gb-silver", + "category": "phones", + "namespaceId": "apple-iphone-11-pro", + "name": "Apple iPhone 11 Pro 512GB Silver", + "capacityAvailable": ["64GB", "256GB", "512GB"], + "capacity": "512GB", + "priceRegular": 1880, + "priceDiscount": 1780, + "colorsAvailable": ["spacegray", "midnightgreen", "gold", "silver"], + "color": "silver", + "images": [ + "img/phones/apple-iphone-11-pro/silver/00.webp", + "img/phones/apple-iphone-11-pro/silver/01.webp", + "img/phones/apple-iphone-11-pro/silver/02.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "5.8' OLED", + "resolution": "2436х1125", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-pro-512gb-spacegray", + "category": "phones", + "namespaceId": "apple-iphone-11-pro", + "name": "Apple iPhone 11 Pro 512GB Spacegray", + "capacityAvailable": ["64GB", "256GB", "512GB"], + "capacity": "512GB", + "priceRegular": 1880, + "priceDiscount": 1780, + "colorsAvailable": ["spacegray", "midnightgreen", "gold", "silver"], + "color": "spacegray", + "images": [ + "img/phones/apple-iphone-11-pro/spacegray/00.webp", + "img/phones/apple-iphone-11-pro/spacegray/01.webp", + "img/phones/apple-iphone-11-pro/spacegray/02.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "5.8' OLED", + "resolution": "2436х1125", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-pro-64gb-gold", + "category": "phones", + "namespaceId": "apple-iphone-11-pro", + "name": "Apple iPhone 11 Pro 64GB Gold", + "capacityAvailable": ["64GB", "256GB", "512GB"], + "capacity": "64GB", + "priceRegular": 1312, + "priceDiscount": 1270, + "colorsAvailable": ["spacegray", "midnightgreen", "gold", "silver"], + "color": "gold", + "images": [ + "img/phones/apple-iphone-11-pro/gold/00.webp", + "img/phones/apple-iphone-11-pro/gold/01.webp", + "img/phones/apple-iphone-11-pro/gold/02.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "5.8' OLED", + "resolution": "2436х1125", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-pro-64gb-midnightgreen", + "category": "phones", + "namespaceId": "apple-iphone-11-pro", + "name": "Apple iPhone 11 Pro 64GB Midnight green", + "capacityAvailable": ["64GB", "256GB", "512GB"], + "capacity": "64GB", + "priceRegular": 1312, + "priceDiscount": 1270, + "colorsAvailable": ["spacegray", "midnightgreen", "gold", "silver"], + "color": "midnightgreen", + "images": [ + "img/phones/apple-iphone-11-pro/midnightgreen/00.webp", + "img/phones/apple-iphone-11-pro/midnightgreen/01.webp", + "img/phones/apple-iphone-11-pro/midnightgreen/02.webp", + "img/phones/apple-iphone-11-pro/midnightgreen/03.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "5.8' OLED", + "resolution": "2436х1125", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-pro-64gb-silver", + "category": "phones", + "namespaceId": "apple-iphone-11-pro", + "name": "Apple iPhone 11 Pro 64GB Silver", + "capacityAvailable": ["64GB", "256GB", "512GB"], + "capacity": "64GB", + "priceRegular": 1312, + "priceDiscount": 1270, + "colorsAvailable": ["spacegray", "midnightgreen", "gold", "silver"], + "color": "silver", + "images": [ + "img/phones/apple-iphone-11-pro/silver/00.webp", + "img/phones/apple-iphone-11-pro/silver/01.webp", + "img/phones/apple-iphone-11-pro/silver/02.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "5.8' OLED", + "resolution": "2436х1125", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-pro-64gb-spacegray", + "category": "phones", + "namespaceId": "apple-iphone-11-pro", + "name": "Apple iPhone 11 Pro 64GB Spacegray", + "capacityAvailable": ["64GB", "256GB", "512GB"], + "capacity": "64GB", + "priceRegular": 1312, + "priceDiscount": 1270, + "colorsAvailable": ["spacegray", "midnightgreen", "gold", "silver"], + "color": "spacegray", + "images": [ + "img/phones/apple-iphone-11-pro/spacegray/00.webp", + "img/phones/apple-iphone-11-pro/spacegray/01.webp", + "img/phones/apple-iphone-11-pro/spacegray/02.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "5.8' OLED", + "resolution": "2436х1125", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-pro-max-256gb-gold", + "category": "phones", + "namespaceId": "apple-iphone-11-pro-max", + "name": "Apple iPhone 11 Pro Max 256GB Gold", + "capacityAvailable": ["64GB", "256GB", "512GB"], + "capacity": "256GB", + "priceRegular": 1776, + "priceDiscount": 1680, + "colorsAvailable": ["spacegray", "midnightgreen", "gold", "silver"], + "color": "gold", + "images": [ + "img/phones/apple-iphone-11-pro-max/gold/00.webp", + "img/phones/apple-iphone-11-pro-max/gold/01.webp", + "img/phones/apple-iphone-11-pro-max/gold/02.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.5' OLED", + "resolution": "2688х1242", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-pro-max-256gb-midnightgreen", + "category": "phones", + "namespaceId": "apple-iphone-11-pro-max", + "name": "Apple iPhone 11 Pro Max 256GB Midnightgreen", + "capacityAvailable": ["64GB", "256GB", "512GB"], + "capacity": "256GB", + "priceRegular": 1776, + "priceDiscount": 1680, + "colorsAvailable": ["spacegray", "midnightgreen", "gold", "silver"], + "color": "midnightgreen", + "images": [ + "img/phones/apple-iphone-11-pro-max/midnightgreen/00.webp", + "img/phones/apple-iphone-11-pro-max/midnightgreen/01.webp", + "img/phones/apple-iphone-11-pro-max/midnightgreen/02.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.5' OLED", + "resolution": "2688х1242", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-pro-max-256gb-silver", + "category": "phones", + "namespaceId": "apple-iphone-11-pro-max", + "name": "Apple iPhone 11 Pro Max 256GB Silver", + "capacityAvailable": ["64GB", "256GB", "512GB"], + "capacity": "256GB", + "priceRegular": 1776, + "priceDiscount": 1680, + "colorsAvailable": ["spacegray", "midnightgreen", "gold", "silver"], + "color": "silver", + "images": [ + "img/phones/apple-iphone-11-pro-max/silver/00.webp", + "img/phones/apple-iphone-11-pro-max/silver/01.webp", + "img/phones/apple-iphone-11-pro-max/silver/02.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.5' OLED", + "resolution": "2688х1242", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-pro-max-256gb-spacegray", + "category": "phones", + "namespaceId": "apple-iphone-11-pro-max", + "name": "Apple iPhone 11 Pro Max 256GB Spacegray", + "capacityAvailable": ["64GB", "256GB", "512GB"], + "capacity": "256GB", + "priceRegular": 1776, + "priceDiscount": 1680, + "colorsAvailable": ["spacegray", "midnightgreen", "gold", "silver"], + "color": "spacegray", + "images": [ + "img/phones/apple-iphone-11-pro-max/spacegray/00.webp", + "img/phones/apple-iphone-11-pro-max/spacegray/01.webp", + "img/phones/apple-iphone-11-pro-max/spacegray/02.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.5' OLED", + "resolution": "2688х1242", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-pro-max-512gb-gold", + "category": "phones", + "namespaceId": "apple-iphone-11-pro-max", + "name": "Apple iPhone 11 Pro Max 512GB Gold", + "capacityAvailable": ["64GB", "256GB", "512GB"], + "capacity": "512GB", + "priceRegular": 2020, + "priceDiscount": 1930, + "colorsAvailable": ["spacegray", "midnightgreen", "gold", "silver"], + "color": "gold", + "images": [ + "img/phones/apple-iphone-11-pro-max/gold/00.webp", + "img/phones/apple-iphone-11-pro-max/gold/01.webp", + "img/phones/apple-iphone-11-pro-max/gold/02.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.5' OLED", + "resolution": "2688х1242", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-pro-max-512gb-midnightgreen", + "category": "phones", + "namespaceId": "apple-iphone-11-pro-max", + "name": "Apple iPhone 11 Pro Max 512GB Midnightgreen", + "capacityAvailable": ["64GB", "256GB", "512GB"], + "capacity": "512GB", + "priceRegular": 2020, + "priceDiscount": 1930, + "colorsAvailable": ["spacegray", "midnightgreen", "gold", "silver"], + "color": "midnightgreen", + "images": [ + "img/phones/apple-iphone-11-pro-max/midnightgreen/00.webp", + "img/phones/apple-iphone-11-pro-max/midnightgreen/01.webp", + "img/phones/apple-iphone-11-pro-max/midnightgreen/02.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.5' OLED", + "resolution": "2688х1242", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-pro-max-512gb-silver", + "category": "phones", + "namespaceId": "apple-iphone-11-pro-max", + "name": "Apple iPhone 11 Pro Max 512GB Silver", + "capacityAvailable": ["64GB", "256GB", "512GB"], + "capacity": "512GB", + "priceRegular": 2020, + "priceDiscount": 1930, + "colorsAvailable": ["spacegray", "midnightgreen", "gold", "silver"], + "color": "silver", + "images": [ + "img/phones/apple-iphone-11-pro-max/silver/00.webp", + "img/phones/apple-iphone-11-pro-max/silver/01.webp", + "img/phones/apple-iphone-11-pro-max/silver/02.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.5' OLED", + "resolution": "2688х1242", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-pro-max-512gb-spacegray", + "category": "phones", + "namespaceId": "apple-iphone-11-pro-max", + "name": "Apple iPhone 11 Pro Max 512GB Spacegray", + "capacityAvailable": ["64GB", "256GB", "512GB"], + "capacity": "512GB", + "priceRegular": 2020, + "priceDiscount": 1930, + "colorsAvailable": ["spacegray", "midnightgreen", "gold", "silver"], + "color": "spacegray", + "images": [ + "img/phones/apple-iphone-11-pro-max/spacegray/00.webp", + "img/phones/apple-iphone-11-pro-max/spacegray/01.webp", + "img/phones/apple-iphone-11-pro-max/spacegray/02.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.5' OLED", + "resolution": "2688х1242", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-pro-max-64gb-gold", + "category": "phones", + "namespaceId": "apple-iphone-11-pro-max", + "name": "Apple iPhone 11 Pro Max 64GB Gold", + "capacityAvailable": ["64GB", "256GB", "512GB"], + "capacity": "64GB", + "priceRegular": 1480, + "priceDiscount": 1400, + "colorsAvailable": ["spacegray", "midnightgreen", "gold", "silver"], + "color": "gold", + "images": [ + "img/phones/apple-iphone-11-pro-max/gold/00.webp", + "img/phones/apple-iphone-11-pro-max/gold/01.webp", + "img/phones/apple-iphone-11-pro-max/gold/02.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.5' OLED", + "resolution": "2688х1242", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-pro-max-64gb-midnightgreen", + "category": "phones", + "namespaceId": "apple-iphone-11-pro-max", + "name": "Apple iPhone 11 Pro Max 64GB Midnightgreen", + "capacityAvailable": ["64GB", "256GB", "512GB"], + "capacity": "64GB", + "priceRegular": 1480, + "priceDiscount": 1400, + "colorsAvailable": ["spacegray", "midnightgreen", "gold", "silver"], + "color": "midnightgreen", + "images": [ + "img/phones/apple-iphone-11-pro-max/midnightgreen/00.webp", + "img/phones/apple-iphone-11-pro-max/midnightgreen/01.webp", + "img/phones/apple-iphone-11-pro-max/midnightgreen/02.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.5' OLED", + "resolution": "2688х1242", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-pro-max-64gb-silver", + "category": "phones", + "namespaceId": "apple-iphone-11-pro-max", + "name": "Apple iPhone 11 Pro Max 64GB Silver", + "capacityAvailable": ["64GB", "256GB", "512GB"], + "capacity": "64GB", + "priceRegular": 1480, + "priceDiscount": 1400, + "colorsAvailable": ["spacegray", "midnightgreen", "gold", "silver"], + "color": "silver", + "images": [ + "img/phones/apple-iphone-11-pro-max/silver/00.webp", + "img/phones/apple-iphone-11-pro-max/silver/01.webp", + "img/phones/apple-iphone-11-pro-max/silver/02.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.5' OLED", + "resolution": "2688х1242", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-11-pro-max-64gb-spacegray", + "category": "phones", + "namespaceId": "apple-iphone-11-pro-max", + "name": "Apple iPhone 11 Pro Max 64GB Spacegray", + "capacityAvailable": ["64GB", "256GB", "512GB"], + "capacity": "64GB", + "priceRegular": 1480, + "priceDiscount": 1400, + "colorsAvailable": ["spacegray", "midnightgreen", "gold", "silver"], + "color": "spacegray", + "images": [ + "img/phones/apple-iphone-11-pro-max/spacegray/00.webp", + "img/phones/apple-iphone-11-pro-max/spacegray/01.webp", + "img/phones/apple-iphone-11-pro-max/spacegray/02.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.5' OLED", + "resolution": "2688х1242", + "processor": "Apple A13 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-7-32gb-black", + "category": "phones", + "namespaceId": "apple-iphone-7", + "name": "Apple iPhone 7 32GB Black", + "capacityAvailable": ["32GB"], + "capacity": "32GB", + "priceRegular": 400, + "priceDiscount": 375, + "colorsAvailable": ["black", "rosegold", "gold", "silver"], + "color": "black", + "images": [ + "img/phones/apple-iphone-7/black/00.webp", + "img/phones/apple-iphone-7/black/01.webp", + "img/phones/apple-iphone-7/black/02.webp", + "img/phones/apple-iphone-7/black/03.webp", + "img/phones/apple-iphone-7/black/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "4.7' IPS", + "resolution": "1334x750", + "processor": "Apple A10", + "ram": "2GB", + "camera": "12 Mp + 7 Mp", + "zoom": "Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-7-32gb-gold", + "category": "phones", + "namespaceId": "apple-iphone-7", + "name": "Apple iPhone 7 32GB Gold", + "capacityAvailable": ["32GB"], + "capacity": "32GB", + "priceRegular": 400, + "priceDiscount": 375, + "colorsAvailable": ["black", "rosegold", "gold", "silver"], + "color": "gold", + "images": [ + "img/phones/apple-iphone-7/gold/00.webp", + "img/phones/apple-iphone-7/gold/01.webp", + "img/phones/apple-iphone-7/gold/02.webp", + "img/phones/apple-iphone-7/gold/03.webp", + "img/phones/apple-iphone-7/gold/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "4.7' IPS", + "resolution": "1334x750", + "processor": "Apple A10", + "ram": "2GB", + "camera": "12 Mp + 7 Mp", + "zoom": "Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-7-32gb-rosegold", + "category": "phones", + "namespaceId": "apple-iphone-7", + "name": "Apple iPhone 7 32GB Rosegold", + "capacityAvailable": ["32GB"], + "capacity": "32GB", + "priceRegular": 400, + "priceDiscount": 375, + "colorsAvailable": ["black", "rosegold", "gold", "silver"], + "color": "rosegold", + "images": [ + "img/phones/apple-iphone-7/rosegold/00.webp", + "img/phones/apple-iphone-7/rosegold/01.webp", + "img/phones/apple-iphone-7/rosegold/02.webp", + "img/phones/apple-iphone-7/rosegold/03.webp", + "img/phones/apple-iphone-7/rosegold/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "4.7' IPS", + "resolution": "1334x750", + "processor": "Apple A10", + "ram": "2GB", + "camera": "12 Mp + 7 Mp", + "zoom": "Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-7-32gb-silver", + "category": "phones", + "namespaceId": "apple-iphone-7", + "name": "Apple iPhone 7 32GB Silver", + "capacityAvailable": ["32GB"], + "capacity": "32GB", + "priceRegular": 400, + "priceDiscount": 375, + "colorsAvailable": ["black", "rosegold", "gold", "silver"], + "color": "silver", + "images": [ + "img/phones/apple-iphone-7/silver/00.webp", + "img/phones/apple-iphone-7/silver/01.webp", + "img/phones/apple-iphone-7/silver/02.webp", + "img/phones/apple-iphone-7/silver/03.webp", + "img/phones/apple-iphone-7/silver/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "4.7' IPS", + "resolution": "1334x750", + "processor": "Apple A10", + "ram": "2GB", + "camera": "12 Mp + 7 Mp", + "zoom": "Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-7-plus-32gb-black", + "category": "phones", + "namespaceId": "apple-iphone-7-plus", + "name": "Apple iPhone 7 Plus 32GB Black", + "capacityAvailable": ["32GB"], + "capacity": "32GB", + "priceRegular": 540, + "priceDiscount": 500, + "colorsAvailable": ["black", "rosegold", "gold", "silver"], + "color": "black", + "images": [ + "img/phones/apple-iphone-7-plus/black/00.webp", + "img/phones/apple-iphone-7-plus/black/01.webp", + "img/phones/apple-iphone-7-plus/black/02.webp", + "img/phones/apple-iphone-7-plus/black/03.webp", + "img/phones/apple-iphone-7-plus/black/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "5.5' IPS", + "resolution": "1920x1080", + "processor": "Apple A10", + "ram": "3GB", + "camera": "12 Mp + 7 Mp", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-7-plus-32gb-gold", + "category": "phones", + "namespaceId": "apple-iphone-7-plus", + "name": "Apple iPhone 7 Plus 32GB Gold", + "capacityAvailable": ["32GB"], + "capacity": "32GB", + "priceRegular": 540, + "priceDiscount": 500, + "colorsAvailable": ["black", "rosegold", "gold", "silver"], + "color": "gold", + "images": [ + "img/phones/apple-iphone-7-plus/gold/00.webp", + "img/phones/apple-iphone-7-plus/gold/01.webp", + "img/phones/apple-iphone-7-plus/gold/02.webp", + "img/phones/apple-iphone-7-plus/gold/03.webp", + "img/phones/apple-iphone-7-plus/gold/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "5.5' IPS", + "resolution": "1920x1080", + "processor": "Apple A10", + "ram": "3GB", + "camera": "12 Mp + 7 Mp", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-7-plus-32gb-rosegold", + "category": "phones", + "namespaceId": "apple-iphone-7-plus", + "name": "Apple iPhone 7 Plus 32GB Rosegold", + "capacityAvailable": ["32GB"], + "capacity": "32GB", + "priceRegular": 540, + "priceDiscount": 500, + "colorsAvailable": ["black", "rosegold", "gold", "silver"], + "color": "rosegold", + "images": [ + "img/phones/apple-iphone-7-plus/rosegold/00.webp", + "img/phones/apple-iphone-7-plus/rosegold/01.webp", + "img/phones/apple-iphone-7-plus/rosegold/02.webp", + "img/phones/apple-iphone-7-plus/rosegold/03.webp", + "img/phones/apple-iphone-7-plus/rosegold/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "5.5' IPS", + "resolution": "1920x1080", + "processor": "Apple A10", + "ram": "3GB", + "camera": "12 Mp + 7 Mp", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-7-plus-32gb-silver", + "category": "phones", + "namespaceId": "apple-iphone-7-plus", + "name": "Apple iPhone 7 Plus 32GB Silver", + "capacityAvailable": ["32GB"], + "capacity": "32GB", + "priceRegular": 540, + "priceDiscount": 500, + "colorsAvailable": ["black", "rosegold", "gold", "silver"], + "color": "silver", + "images": [ + "img/phones/apple-iphone-7-plus/silver/00.webp", + "img/phones/apple-iphone-7-plus/silver/01.webp", + "img/phones/apple-iphone-7-plus/silver/02.webp", + "img/phones/apple-iphone-7-plus/silver/03.webp", + "img/phones/apple-iphone-7-plus/silver/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "5.5' IPS", + "resolution": "1920x1080", + "processor": "Apple A10", + "ram": "3GB", + "camera": "12 Mp + 7 Mp", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-8-64gb-gold", + "category": "phones", + "namespaceId": "apple-iphone-8", + "name": "Apple iPhone 8 64GB Gold", + "capacityAvailable": ["64GB"], + "capacity": "64GB", + "priceRegular": 600, + "priceDiscount": 550, + "colorsAvailable": ["spacegray", "gold", "silver"], + "color": "gold", + "images": [ + "img/phones/apple-iphone-8/gold/00.webp", + "img/phones/apple-iphone-8/gold/01.webp", + "img/phones/apple-iphone-8/gold/02.webp", + "img/phones/apple-iphone-8/gold/03.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "4.7' IPS", + "resolution": "1334x750", + "processor": "Apple A11 Bionic", + "ram": "2GB", + "camera": "12 Mp + 7 Mp", + "zoom": "Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-8-64gb-silver", + "category": "phones", + "namespaceId": "apple-iphone-8", + "name": "Apple iPhone 8 64GB Silver", + "capacityAvailable": ["64GB"], + "capacity": "64GB", + "priceRegular": 600, + "priceDiscount": 550, + "colorsAvailable": ["spacegray", "gold", "silver"], + "color": "silver", + "images": [ + "img/phones/apple-iphone-8/silver/00.webp", + "img/phones/apple-iphone-8/silver/01.webp", + "img/phones/apple-iphone-8/silver/02.webp", + "img/phones/apple-iphone-8/silver/03.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "4.7' IPS", + "resolution": "1334x750", + "processor": "Apple A11 Bionic", + "ram": "2GB", + "camera": "12 Mp + 7 Mp", + "zoom": "Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-8-64gb-spacegray", + "category": "phones", + "namespaceId": "apple-iphone-8", + "name": "Apple iPhone 8 64GB Space Gray", + "capacityAvailable": ["64GB"], + "capacity": "64GB", + "priceRegular": 600, + "priceDiscount": 550, + "colorsAvailable": ["spacegray", "gold", "silver"], + "color": "spacegray", + "images": [ + "img/phones/apple-iphone-8/spacegray/00.webp", + "img/phones/apple-iphone-8/spacegray/01.webp", + "img/phones/apple-iphone-8/spacegray/02.webp", + "img/phones/apple-iphone-8/spacegray/03.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "4.7' IPS", + "resolution": "1334x750", + "processor": "Apple A11 Bionic", + "ram": "2GB", + "camera": "12 Mp + 7 Mp", + "zoom": "Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-xr-128gb-coral", + "category": "phones", + "namespaceId": "apple-iphone-xr", + "name": "Apple iPhone XR 128GB Coral", + "capacityAvailable": ["64GB", "128GB"], + "capacity": "128GB", + "priceRegular": 880, + "priceDiscount": 815, + "colorsAvailable": ["white", "yellow", "red", "coral"], + "color": "coral", + "images": [ + "img/phones/apple-iphone-xr/coral/00.webp", + "img/phones/apple-iphone-xr/coral/01.webp", + "img/phones/apple-iphone-xr/coral/02.webp", + "img/phones/apple-iphone-xr/coral/03.webp", + "img/phones/apple-iphone-xr/coral/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' IPS", + "resolution": "1792х828", + "processor": "Apple A12 Bionic", + "ram": "3GB", + "camera": "12 Mp + 7 MP", + "zoom": "Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-xr-128gb-red", + "category": "phones", + "namespaceId": "apple-iphone-xr", + "name": "Apple iPhone XR 128GB Red", + "capacityAvailable": ["64GB", "128GB"], + "capacity": "128GB", + "priceRegular": 880, + "priceDiscount": 815, + "colorsAvailable": ["white", "yellow", "red", "coral"], + "color": "red", + "images": [ + "img/phones/apple-iphone-xr/red/00.webp", + "img/phones/apple-iphone-xr/red/01.webp", + "img/phones/apple-iphone-xr/red/02.webp", + "img/phones/apple-iphone-xr/red/03.webp", + "img/phones/apple-iphone-xr/red/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' IPS", + "resolution": "1792х828", + "processor": "Apple A12 Bionic", + "ram": "3GB", + "camera": "12 Mp + 7 MP", + "zoom": "Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-xr-128gb-white", + "category": "phones", + "namespaceId": "apple-iphone-xr", + "name": "Apple iPhone XR 128GB White", + "capacityAvailable": ["64GB", "128GB"], + "capacity": "128GB", + "priceRegular": 880, + "priceDiscount": 815, + "colorsAvailable": ["white", "yellow", "red", "coral"], + "color": "white", + "images": [ + "img/phones/apple-iphone-xr/white/00.webp", + "img/phones/apple-iphone-xr/white/01.webp", + "img/phones/apple-iphone-xr/white/02.webp", + "img/phones/apple-iphone-xr/white/03.webp", + "img/phones/apple-iphone-xr/white/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' IPS", + "resolution": "1792х828", + "processor": "Apple A12 Bionic", + "ram": "3GB", + "camera": "12 Mp + 7 MP", + "zoom": "Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-xr-128gb-yellow", + "category": "phones", + "namespaceId": "apple-iphone-xr", + "name": "Apple iPhone XR 128GB Yellow", + "capacityAvailable": ["64GB", "128GB"], + "capacity": "128GB", + "priceRegular": 880, + "priceDiscount": 815, + "colorsAvailable": ["white", "yellow", "red", "coral"], + "color": "yellow", + "images": [ + "img/phones/apple-iphone-xr/yellow/00.webp", + "img/phones/apple-iphone-xr/yellow/01.webp", + "img/phones/apple-iphone-xr/yellow/02.webp", + "img/phones/apple-iphone-xr/yellow/03.webp", + "img/phones/apple-iphone-xr/yellow/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' IPS", + "resolution": "1792х828", + "processor": "Apple A12 Bionic", + "ram": "3GB", + "camera": "12 Mp + 7 MP", + "zoom": "Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-xr-64gb-coral", + "category": "phones", + "namespaceId": "apple-iphone-xr", + "name": "Apple iPhone XR 64GB Coral", + "capacityAvailable": ["64GB", "128GB"], + "capacity": "64GB", + "priceRegular": 712, + "priceDiscount": 670, + "colorsAvailable": ["white", "yellow", "red", "coral"], + "color": "coral", + "images": [ + "img/phones/apple-iphone-xr/coral/00.webp", + "img/phones/apple-iphone-xr/coral/01.webp", + "img/phones/apple-iphone-xr/coral/02.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' IPS", + "resolution": "1792х828", + "processor": "Apple A12 Bionic", + "ram": "3GB", + "camera": "12 Mp + 7 MP", + "zoom": "Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-xr-64gb-red", + "category": "phones", + "namespaceId": "apple-iphone-xr", + "name": "Apple iPhone XR 64GB Red", + "capacityAvailable": ["64GB", "128GB"], + "capacity": "64GB", + "priceRegular": 712, + "priceDiscount": 670, + "colorsAvailable": ["white", "yellow", "red", "coral"], + "color": "red", + "images": [ + "img/phones/apple-iphone-xr/red/00.webp", + "img/phones/apple-iphone-xr/red/01.webp", + "img/phones/apple-iphone-xr/red/02.webp", + "img/phones/apple-iphone-xr/red/03.webp", + "img/phones/apple-iphone-xr/red/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' IPS", + "resolution": "1792х828", + "processor": "Apple A12 Bionic", + "ram": "3GB", + "camera": "12 Mp + 7 MP", + "zoom": "Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-xr-64gb-white", + "category": "phones", + "namespaceId": "apple-iphone-xr", + "name": "Apple iPhone XR 64GB White", + "capacityAvailable": ["64GB", "128GB"], + "capacity": "64GB", + "priceRegular": 712, + "priceDiscount": 670, + "colorsAvailable": ["white", "yellow", "red", "coral"], + "color": "white", + "images": [ + "img/phones/apple-iphone-xr/white/00.webp", + "img/phones/apple-iphone-xr/white/01.webp", + "img/phones/apple-iphone-xr/white/02.webp", + "img/phones/apple-iphone-xr/white/03.webp", + "img/phones/apple-iphone-xr/white/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' IPS", + "resolution": "1792х828", + "processor": "Apple A12 Bionic", + "ram": "3GB", + "camera": "12 Mp + 7 MP", + "zoom": "Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-xr-64gb-yellow", + "category": "phones", + "namespaceId": "apple-iphone-xr", + "name": "Apple iPhone XR 64GB Yellow", + "capacityAvailable": ["64GB", "128GB"], + "capacity": "64GB", + "priceRegular": 712, + "priceDiscount": 670, + "colorsAvailable": ["white", "yellow", "red", "coral"], + "color": "yellow", + "images": [ + "img/phones/apple-iphone-xr/yellow/00.webp", + "img/phones/apple-iphone-xr/yellow/01.webp", + "img/phones/apple-iphone-xr/yellow/02.webp", + "img/phones/apple-iphone-xr/yellow/03.webp", + "img/phones/apple-iphone-xr/yellow/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' IPS", + "resolution": "1792х828", + "processor": "Apple A12 Bionic", + "ram": "3GB", + "camera": "12 Mp + 7 MP", + "zoom": "Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-xs-256gb-gold", + "category": "phones", + "namespaceId": "apple-iphone-xs", + "name": "Apple iPhone XS 256GB Gold", + "capacityAvailable": ["64GB", "256GB"], + "capacity": "256GB", + "priceRegular": 960, + "priceDiscount": 900, + "colorsAvailable": ["spacegray", "gold"], + "color": "gold", + "images": [ + "img/phones/apple-iphone-xs/gold/00.webp", + "img/phones/apple-iphone-xs/gold/01.webp", + "img/phones/apple-iphone-xs/gold/02.webp", + "img/phones/apple-iphone-xs/gold/03.webp", + "img/phones/apple-iphone-xs/gold/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "5.8' OLED", + "resolution": "2436х1125", + "processor": "Apple A12 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-xs-256gb-spacegray", + "category": "phones", + "namespaceId": "apple-iphone-xs", + "name": "Apple iPhone XS 256GB Spacegray", + "capacityAvailable": ["64GB", "256GB"], + "capacity": "256GB", + "priceRegular": 960, + "priceDiscount": 900, + "colorsAvailable": ["spacegray", "gold"], + "color": "spacegray", + "images": [ + "img/phones/apple-iphone-xs/spacegray/00.webp", + "img/phones/apple-iphone-xs/spacegray/01.webp", + "img/phones/apple-iphone-xs/spacegray/02.webp", + "img/phones/apple-iphone-xs/spacegray/03.webp", + "img/phones/apple-iphone-xs/spacegray/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "5.8' OLED", + "resolution": "2436х1125", + "processor": "Apple A12 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-xs-64gb-gold", + "category": "phones", + "namespaceId": "apple-iphone-xs", + "name": "Apple iPhone XS 64GB Gold", + "capacityAvailable": ["64GB", "256GB"], + "capacity": "64GB", + "priceRegular": 760, + "priceDiscount": 720, + "colorsAvailable": ["spacegray", "gold"], + "color": "gold", + "images": [ + "img/phones/apple-iphone-xs/gold/00.webp", + "img/phones/apple-iphone-xs/gold/01.webp", + "img/phones/apple-iphone-xs/gold/02.webp", + "img/phones/apple-iphone-xs/gold/03.webp", + "img/phones/apple-iphone-xs/gold/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "5.8' OLED", + "resolution": "2436х1125", + "processor": "Apple A12 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-xs-64gb-spacegray", + "category": "phones", + "namespaceId": "apple-iphone-xs", + "name": "Apple iPhone XS 64GB Spacegray", + "capacityAvailable": ["64GB", "256GB"], + "capacity": "64GB", + "priceRegular": 760, + "priceDiscount": 720, + "colorsAvailable": ["spacegray", "gold"], + "color": "spacegray", + "images": [ + "img/phones/apple-iphone-xs/spacegray/00.webp", + "img/phones/apple-iphone-xs/spacegray/01.webp", + "img/phones/apple-iphone-xs/spacegray/02.webp", + "img/phones/apple-iphone-xs/spacegray/03.webp", + "img/phones/apple-iphone-xs/spacegray/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "5.8' OLED", + "resolution": "2436х1125", + "processor": "Apple A12 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-xs-max-256gb-gold", + "category": "phones", + "namespaceId": "apple-iphone-xs-max", + "name": "Apple iPhone XS Max 256GB Gold", + "capacityAvailable": ["64GB", "256GB"], + "capacity": "256GB", + "priceRegular": 1080, + "priceDiscount": 1000, + "colorsAvailable": ["spacegray", "gold", "silver"], + "color": "gold", + "images": [ + "img/phones/apple-iphone-xs-max/gold/00.webp", + "img/phones/apple-iphone-xs-max/gold/01.webp", + "img/phones/apple-iphone-xs-max/gold/02.webp", + "img/phones/apple-iphone-xs-max/gold/03.webp", + "img/phones/apple-iphone-xs-max/gold/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.5' OLED (Super Retina HD)", + "resolution": "2688х1242", + "processor": "Apple A12 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 7MP", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-xs-max-256gb-silver", + "category": "phones", + "namespaceId": "apple-iphone-xs-max", + "name": "Apple iPhone XS Max 256GB Silver", + "capacityAvailable": ["64GB", "256GB"], + "capacity": "256GB", + "priceRegular": 1080, + "priceDiscount": 1000, + "colorsAvailable": ["spacegray", "gold", "silver"], + "color": "silver", + "images": [ + "img/phones/apple-iphone-xs-max/silver/00.webp", + "img/phones/apple-iphone-xs-max/silver/01.webp", + "img/phones/apple-iphone-xs-max/silver/02.webp", + "img/phones/apple-iphone-xs-max/silver/03.webp", + "img/phones/apple-iphone-xs-max/silver/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.5' OLED (Super Retina HD)", + "resolution": "2688х1242", + "processor": "Apple A12 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 7MP", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-xs-max-256gb-spacegray", + "category": "phones", + "namespaceId": "apple-iphone-xs-max", + "name": "Apple iPhone XS Max 256GB Spacegray", + "capacityAvailable": ["64GB", "256GB"], + "capacity": "256GB", + "priceRegular": 1080, + "priceDiscount": 1000, + "colorsAvailable": ["spacegray", "gold", "silver"], + "color": "spacegray", + "images": [ + "img/phones/apple-iphone-xs-max/spacegray/00.webp", + "img/phones/apple-iphone-xs-max/spacegray/01.webp", + "img/phones/apple-iphone-xs-max/spacegray/02.webp", + "img/phones/apple-iphone-xs-max/spacegray/03.webp", + "img/phones/apple-iphone-xs-max/spacegray/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.5' OLED (Super Retina HD)", + "resolution": "2688х1242", + "processor": "Apple A12 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 7MP", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-xs-max-64gb-gold", + "category": "phones", + "namespaceId": "apple-iphone-xs-max", + "name": "Apple iPhone XS Max 64GB Gold", + "capacityAvailable": ["64GB", "256GB"], + "capacity": "64GB", + "priceRegular": 960, + "priceDiscount": 900, + "colorsAvailable": ["spacegray", "gold", "silver"], + "color": "gold", + "images": [ + "img/phones/apple-iphone-xs-max/gold/00.webp", + "img/phones/apple-iphone-xs-max/gold/01.webp", + "img/phones/apple-iphone-xs-max/gold/02.webp", + "img/phones/apple-iphone-xs-max/gold/03.webp", + "img/phones/apple-iphone-xs-max/gold/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.5' OLED (Super Retina HD)", + "resolution": "2688х1242", + "processor": "Apple A12 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 7MP", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-xs-max-64gb-silver", + "category": "phones", + "namespaceId": "apple-iphone-xs-max", + "name": "Apple iPhone XS Max 64GB Silver", + "capacityAvailable": ["64GB", "256GB"], + "capacity": "64GB", + "priceRegular": 960, + "priceDiscount": 900, + "colorsAvailable": ["spacegray", "gold", "silver"], + "color": "silver", + "images": [ + "img/phones/apple-iphone-xs-max/silver/00.webp", + "img/phones/apple-iphone-xs-max/silver/01.webp", + "img/phones/apple-iphone-xs-max/silver/02.webp", + "img/phones/apple-iphone-xs-max/silver/03.webp", + "img/phones/apple-iphone-xs-max/silver/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.5' OLED (Super Retina HD)", + "resolution": "2688х1242", + "processor": "Apple A12 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 7MP", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + + { + "id": "apple-iphone-xs-max-64gb-spacegray", + "category": "phones", + "namespaceId": "apple-iphone-xs-max", + "name": "Apple iPhone XS Max 64GB Spacegray", + "capacityAvailable": ["64GB", "256GB"], + "capacity": "64GB", + "priceRegular": 960, + "priceDiscount": 900, + "colorsAvailable": ["spacegray", "gold", "silver"], + "color": "spacegray", + "images": [ + "img/phones/apple-iphone-xs-max/spacegray/00.webp", + "img/phones/apple-iphone-xs-max/spacegray/01.webp", + "img/phones/apple-iphone-xs-max/spacegray/02.webp", + "img/phones/apple-iphone-xs-max/spacegray/03.webp", + "img/phones/apple-iphone-xs-max/spacegray/04.webp" + ], + "description": [ + { + "title": "And then there was Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.5' OLED (Super Retina HD)", + "resolution": "2688х1242", + "processor": "Apple A12 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp + 7MP", + "zoom": "Digital, 10x / Optical, 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + { + "id": "apple-iphone-14-128gb-midnight", + "category": "phones", + "namespaceId": "apple-iphone-14", + "name": "Apple iPhone 14 128GB Midnight", + "capacityAvailable": ["128GB", "256GB", "512GB"], + "capacity": "128GB", + "priceRegular": 1056, + "priceDiscount": 980, + "colorsAvailable": ["midnight", "yellow", "purple"], + "color": "midnight", + "images": [ + "img/phones/apple-iphone-14/midnight/00.webp", + "img/phones/apple-iphone-14/midnight/01.webp", + "img/phones/apple-iphone-14/midnight/02.webp", + "img/phones/apple-iphone-14/midnight/03.webp", + "img/phones/apple-iphone-14/midnight/04.webp" + ], + "description": [ + { + "title": "Wonderfull", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' OLED (Super Retina XDR)", + "resolution": "2532x1170", + "processor": "Apple A15 Bionic", + "ram": "6GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital 5x, Optical 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE", "5G"] + }, + { + "id": "apple-iphone-14-256gb-midnight", + "category": "phones", + "namespaceId": "apple-iphone-14", + "name": "Apple iPhone 14 256GB Midnight", + "capacityAvailable": ["128GB", "256GB", "512GB"], + "capacity": "256GB", + "priceRegular": 1200, + "priceDiscount": 1160, + "colorsAvailable": ["midnight", "yellow", "purple"], + "color": "midnight", + "images": [ + "img/phones/apple-iphone-14/midnight/00.webp", + "img/phones/apple-iphone-14/midnight/01.webp", + "img/phones/apple-iphone-14/midnight/02.webp", + "img/phones/apple-iphone-14/midnight/03.webp", + "img/phones/apple-iphone-14/midnight/04.webp" + ], + "description": [ + { + "title": "Wonderfull", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' OLED (Super Retina XDR)", + "resolution": "2532x1170", + "processor": "Apple A15 Bionic", + "ram": "6GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital 5x, Optical 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE", "5G"] + }, + { + "id": "apple-iphone-14-512gb-midnight", + "category": "phones", + "namespaceId": "apple-iphone-14", + "name": "Apple iPhone 14 512GB Midnight", + "capacityAvailable": ["128GB", "256GB", "512GB"], + "capacity": "512GB", + "priceRegular": 1466, + "priceDiscount": 1378, + "colorsAvailable": ["midnight", "yellow", "purple"], + "color": "midnight", + "images": [ + "img/phones/apple-iphone-14/midnight/00.webp", + "img/phones/apple-iphone-14/midnight/01.webp", + "img/phones/apple-iphone-14/midnight/02.webp", + "img/phones/apple-iphone-14/midnight/03.webp", + "img/phones/apple-iphone-14/midnight/04.webp" + ], + "description": [ + { + "title": "Wonderfull", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' OLED (Super Retina XDR)", + "resolution": "2532x1170", + "processor": "Apple A15 Bionic", + "ram": "6GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital 5x, Optical 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE", "5G"] + }, + { + "id": "apple-iphone-14-128gb-yellow", + "category": "phones", + "namespaceId": "apple-iphone-14", + "name": "Apple iPhone 14 128GB Yellow", + "capacityAvailable": ["128GB", "256GB", "512GB"], + "capacity": "128GB", + "priceRegular": 1056, + "priceDiscount": 980, + "colorsAvailable": ["midnight", "yellow", "purple"], + "color": "yellow", + "images": [ + "img/phones/apple-iphone-14/yellow/00.webp", + "img/phones/apple-iphone-14/yellow/01.webp", + "img/phones/apple-iphone-14/yellow/02.webp", + "img/phones/apple-iphone-14/yellow/03.webp", + "img/phones/apple-iphone-14/yellow/04.webp" + ], + "description": [ + { + "title": "Wonderfull", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' OLED (Super Retina XDR)", + "resolution": "2532x1170", + "processor": "Apple A15 Bionic", + "ram": "6GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital 5x, Optical 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE", "5G"] + }, + { + "id": "apple-iphone-14-256gb-yellow", + "category": "phones", + "namespaceId": "apple-iphone-14", + "name": "Apple iPhone 14 256GB Yellow", + "capacityAvailable": ["128GB", "256GB", "512GB"], + "capacity": "256GB", + "priceRegular": 1200, + "priceDiscount": 1160, + "colorsAvailable": ["midnight", "yellow", "purple"], + "color": "yellow", + "images": [ + "img/phones/apple-iphone-14/yellow/00.webp", + "img/phones/apple-iphone-14/yellow/01.webp", + "img/phones/apple-iphone-14/yellow/02.webp", + "img/phones/apple-iphone-14/yellow/03.webp", + "img/phones/apple-iphone-14/yellow/04.webp" + ], + "description": [ + { + "title": "Wonderfull", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' OLED (Super Retina XDR)", + "resolution": "2532x1170", + "processor": "Apple A15 Bionic", + "ram": "6GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital 5x, Optical 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE", "5G"] + }, + { + "id": "apple-iphone-14-512gb-yellow", + "category": "phones", + "namespaceId": "apple-iphone-14", + "name": "Apple iPhone 14 512GB Yellow", + "capacityAvailable": ["128GB", "256GB", "512GB"], + "capacity": "512GB", + "priceRegular": 1466, + "priceDiscount": 1378, + "colorsAvailable": ["midnight", "yellow", "purple"], + "color": "yellow", + "images": [ + "img/phones/apple-iphone-14/yellow/00.webp", + "img/phones/apple-iphone-14/yellow/01.webp", + "img/phones/apple-iphone-14/yellow/02.webp", + "img/phones/apple-iphone-14/yellow/03.webp", + "img/phones/apple-iphone-14/yellow/04.webp" + ], + "description": [ + { + "title": "Wonderfull", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' OLED (Super Retina XDR)", + "resolution": "2532x1170", + "processor": "Apple A15 Bionic", + "ram": "6GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital 5x, Optical 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE", "5G"] + }, + { + "id": "apple-iphone-14-128gb-purple", + "category": "phones", + "namespaceId": "apple-iphone-14", + "name": "Apple iPhone 14 128GB Purple", + "capacityAvailable": ["128GB", "256GB", "512GB"], + "capacity": "128GB", + "priceRegular": 1056, + "priceDiscount": 980, + "colorsAvailable": ["midnight", "yellow", "purple"], + "color": "purple", + "images": [ + "img/phones/apple-iphone-14/purple/00.webp", + "img/phones/apple-iphone-14/purple/01.webp", + "img/phones/apple-iphone-14/purple/02.webp", + "img/phones/apple-iphone-14/purple/03.webp", + "img/phones/apple-iphone-14/purple/04.webp" + ], + "description": [ + { + "title": "Wonderfull", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' OLED (Super Retina XDR)", + "resolution": "2532x1170", + "processor": "Apple A15 Bionic", + "ram": "6GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital 5x, Optical 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE", "5G"] + }, + { + "id": "apple-iphone-14-256gb-purple", + "category": "phones", + "namespaceId": "apple-iphone-14", + "name": "Apple iPhone 14 256GB Purple", + "capacityAvailable": ["128GB", "256GB", "512GB"], + "capacity": "256GB", + "priceRegular": 1256, + "priceDiscount": 1180, + "colorsAvailable": ["midnight", "yellow", "purple"], + "color": "purple", + "images": [ + "img/phones/apple-iphone-14/purple/00.webp", + "img/phones/apple-iphone-14/purple/01.webp", + "img/phones/apple-iphone-14/purple/02.webp", + "img/phones/apple-iphone-14/purple/03.webp", + "img/phones/apple-iphone-14/purple/04.webp" + ], + "description": [ + { + "title": "Wonderfull", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' OLED (Super Retina XDR)", + "resolution": "2532x1170", + "processor": "Apple A15 Bionic", + "ram": "6GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital 5x, Optical 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE", "5G"] + }, + { + "id": "apple-iphone-14-512gb-purple", + "category": "phones", + "namespaceId": "apple-iphone-14", + "name": "Apple iPhone 14 512GB Purple", + "capacityAvailable": ["128GB", "256GB", "512GB"], + "capacity": "512GB", + "priceRegular": 1600, + "priceDiscount": 1450, + "colorsAvailable": ["midnight", "yellow", "purple"], + "color": "purple", + "images": [ + "img/phones/apple-iphone-14/purple/00.webp", + "img/phones/apple-iphone-14/purple/01.webp", + "img/phones/apple-iphone-14/purple/02.webp", + "img/phones/apple-iphone-14/purple/03.webp", + "img/phones/apple-iphone-14/purple/04.webp" + ], + "description": [ + { + "title": "Wonderfull", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' OLED (Super Retina XDR)", + "resolution": "2532x1170", + "processor": "Apple A15 Bionic", + "ram": "6GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital 5x, Optical 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE", "5G"] + }, + { + "id": "apple-iphone-14-pro-128gb-spaceblack", + "category": "phones", + "namespaceId": "apple-iphone-14-pro", + "name": "Apple iPhone 14 Pro 128GB Space Black", + "capacityAvailable": ["128GB", "256GB", "512GB", "1TB"], + "capacity": "128GB", + "priceRegular": 1056, + "priceDiscount": 980, + "colorsAvailable": ["spaceblack", "gold"], + "color": "spaceblack", + "images": [ + "img/phones/apple-iphone-14-pro/spaceblack/00.webp", + "img/phones/apple-iphone-14-pro/spaceblack/01.webp", + "img/phones/apple-iphone-14-pro/spaceblack/02.webp", + "img/phones/apple-iphone-14-pro/spaceblack/03.webp", + "img/phones/apple-iphone-14-pro/spaceblack/04.webp" + ], + "description": [ + { + "title": "And then was a Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' OLED (Super Retina XDR)", + "resolution": "2556x1179", + "processor": "Apple A16 Bionic", + "ram": "6GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital 5x, Optical 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE", "5G"] + }, + { + "id": "apple-iphone-14-pro-256gb-spaceblack", + "category": "phones", + "namespaceId": "apple-iphone-14-pro", + "name": "Apple iPhone 14 Pro 256GB Space Black", + "capacityAvailable": ["128GB", "256GB", "512GB", "1TB"], + "capacity": "256GB", + "priceRegular": 1200, + "priceDiscount": 1160, + "colorsAvailable": ["spaceblack", "gold"], + "color": "spaceblack", + "images": [ + "img/phones/apple-iphone-14-pro/spaceblack/00.webp", + "img/phones/apple-iphone-14-pro/spaceblack/01.webp", + "img/phones/apple-iphone-14-pro/spaceblack/02.webp", + "img/phones/apple-iphone-14-pro/spaceblack/03.webp", + "img/phones/apple-iphone-14-pro/spaceblack/04.webp" + ], + "description": [ + { + "title": "And then was a Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' OLED (Super Retina XDR)", + "resolution": "2556x1179", + "processor": "Apple A16 Bionic", + "ram": "6GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital 5x, Optical 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE", "5G"] + }, + { + "id": "apple-iphone-14-pro-512gb-spaceblack", + "category": "phones", + "namespaceId": "apple-iphone-14-pro", + "name": "Apple iPhone 14 Pro 512GB Space Black", + "capacityAvailable": ["128GB", "256GB", "512GB", "1TB"], + "capacity": "512GB", + "priceRegular": 1466, + "priceDiscount": 1378, + "colorsAvailable": ["spaceblack", "gold"], + "color": "spaceblack", + "images": [ + "img/phones/apple-iphone-14-pro/spaceblack/00.webp", + "img/phones/apple-iphone-14-pro/spaceblack/01.webp", + "img/phones/apple-iphone-14-pro/spaceblack/02.webp", + "img/phones/apple-iphone-14-pro/spaceblack/03.webp", + "img/phones/apple-iphone-14-pro/spaceblack/04.webp" + ], + "description": [ + { + "title": "And then was a Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' OLED (Super Retina XDR)", + "resolution": "2556x1179", + "processor": "Apple A16 Bionic", + "ram": "6GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital 5x, Optical 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE", "5G"] + }, + { + "id": "apple-iphone-14-pro-1tb-spaceblack", + "category": "phones", + "namespaceId": "apple-iphone-14-pro", + "name": "Apple iPhone 14 Pro 1TB Space Black", + "capacityAvailable": ["128GB", "256GB", "512GB", "1TB"], + "capacity": "1TB", + "priceRegular": 1740, + "priceDiscount": 1520, + "colorsAvailable": ["spaceblack", "gold"], + "color": "spaceblack", + "images": [ + "img/phones/apple-iphone-14-pro/spaceblack/00.webp", + "img/phones/apple-iphone-14-pro/spaceblack/01.webp", + "img/phones/apple-iphone-14-pro/spaceblack/02.webp", + "img/phones/apple-iphone-14-pro/spaceblack/03.webp", + "img/phones/apple-iphone-14-pro/spaceblack/04.webp" + ], + "description": [ + { + "title": "And then was a Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' OLED (Super Retina XDR)", + "resolution": "2556x1179", + "processor": "Apple A16 Bionic", + "ram": "6GB", + "camera": "48 Mp + 12 Mp + 12MP + 12Mp", + "zoom": "Digital 5x, Optical 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE", "5G"] + }, + { + "id": "apple-iphone-12-64gb-black", + "category": "phones", + "namespaceId": "apple-iphone-12", + "name": "Apple iPhone 12 64GB Black", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "64GB", + "priceRegular": 880, + "priceDiscount": 800, + "colorsAvailable": ["black", "white", "purple", "red"], + "color": "black", + "images": [ + "img/phones/apple-iphone-12/black/00.webp", + "img/phones/apple-iphone-12/black/01.webp", + "img/phones/apple-iphone-12/black/02.webp", + "img/phones/apple-iphone-12/black/03.webp" + ], + "description": [ + { + "title": "Blast past fast.", + "text": [ + "5G speed. A14 Bionic, the fastest chip in a smartphone. An edge-to-edge OLED display. Ceramic Shield with four times better drop performance. And Night mode on every camera. iPhone 12 has it all — in two perfect sizes." + ] + }, + { + "title": "A14 Bionic chip. The only thing even close was our last chip.", + "text": [ + "A14 Bionic is the first 5-nanometer chip in the industry, with advanced components literally atoms wide. Forty percent more transistors rev up speeds while increasing efficiency for great battery life. And a new ISP powers Dolby Vision recording — something no pro movie camera, let alone any other phone, can do." + ] + }, + { + "title": "Night mode comes to all your cameras.", + "text": [ + "Low light is now a highlight. From dimly lit restaurants to moonlit beaches, the new Night mode delivers natural low-light shots — automatically." + ] + } + ], + "screen": "6.1' OLED", + "resolution": "2532x1170", + "processor": "Apple A14 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp", + "zoom": "Optical, 2x; Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + { + "id": "apple-iphone-12-128gb-black", + "category": "phones", + "namespaceId": "apple-iphone-12", + "name": "Apple iPhone 12 128GB Black", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "128GB", + "priceRegular": 980, + "priceDiscount": 900, + "colorsAvailable": ["black", "white", "purple", "red"], + "color": "black", + "images": [ + "img/phones/apple-iphone-12/black/00.webp", + "img/phones/apple-iphone-12/black/01.webp", + "img/phones/apple-iphone-12/black/02.webp", + "img/phones/apple-iphone-12/black/03.webp" + ], + "description": [ + { + "title": "Blast past fast.", + "text": [ + "5G speed. A14 Bionic, the fastest chip in a smartphone. An edge-to-edge OLED display. Ceramic Shield with four times better drop performance. And Night mode on every camera. iPhone 12 has it all — in two perfect sizes." + ] + }, + { + "title": "A14 Bionic chip. The only thing even close was our last chip.", + "text": [ + "A14 Bionic is the first 5-nanometer chip in the industry, with advanced components literally atoms wide. Forty percent more transistors rev up speeds while increasing efficiency for great battery life. And a new ISP powers Dolby Vision recording — something no pro movie camera, let alone any other phone, can do." + ] + }, + { + "title": "Night mode comes to all your cameras.", + "text": [ + "Low light is now a highlight. From dimly lit restaurants to moonlit beaches, the new Night mode delivers natural low-light shots — automatically." + ] + } + ], + "screen": "6.1' OLED", + "resolution": "2532x1170", + "processor": "Apple A14 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp", + "zoom": "Optical, 2x; Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + { + "id": "apple-iphone-12-256gb-black", + "category": "phones", + "namespaceId": "apple-iphone-12", + "name": "Apple iPhone 12 256GB Black", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "256GB", + "priceRegular": 1180, + "priceDiscount": 1100, + "colorsAvailable": ["black", "white", "purple", "red"], + "color": "black", + "images": [ + "img/phones/apple-iphone-12/black/00.webp", + "img/phones/apple-iphone-12/black/01.webp", + "img/phones/apple-iphone-12/black/02.webp", + "img/phones/apple-iphone-12/black/03.webp" + ], + "description": [ + { + "title": "Blast past fast.", + "text": [ + "5G speed. A14 Bionic, the fastest chip in a smartphone. An edge-to-edge OLED display. Ceramic Shield with four times better drop performance. And Night mode on every camera. iPhone 12 has it all — in two perfect sizes." + ] + }, + { + "title": "A14 Bionic chip. The only thing even close was our last chip.", + "text": [ + "A14 Bionic is the first 5-nanometer chip in the industry, with advanced components literally atoms wide. Forty percent more transistors rev up speeds while increasing efficiency for great battery life. And a new ISP powers Dolby Vision recording — something no pro movie camera, let alone any other phone, can do." + ] + }, + { + "title": "Night mode comes to all your cameras.", + "text": [ + "Low light is now a highlight. From dimly lit restaurants to moonlit beaches, the new Night mode delivers natural low-light shots — automatically." + ] + } + ], + "screen": "6.1' OLED", + "resolution": "2532x1170", + "processor": "Apple A14 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp", + "zoom": "Optical, 2x; Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + { + "id": "apple-iphone-12-64gb-purple", + "category": "phones", + "namespaceId": "apple-iphone-12", + "name": "Apple iPhone 12 64GB Purple", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "64GB", + "priceRegular": 880, + "priceDiscount": 800, + "colorsAvailable": ["black", "white", "purple", "red"], + "color": "purple", + "images": [ + "img/phones/apple-iphone-12/purple/00.webp", + "img/phones/apple-iphone-12/purple/01.webp", + "img/phones/apple-iphone-12/purple/02.webp", + "img/phones/apple-iphone-12/purple/03.webp" + ], + "description": [ + { + "title": "Blast past fast.", + "text": [ + "5G speed. A14 Bionic, the fastest chip in a smartphone. An edge-to-edge OLED display. Ceramic Shield with four times better drop performance. And Night mode on every camera. iPhone 12 has it all — in two perfect sizes." + ] + }, + { + "title": "A14 Bionic chip. The only thing even close was our last chip.", + "text": [ + "A14 Bionic is the first 5-nanometer chip in the industry, with advanced components literally atoms wide. Forty percent more transistors rev up speeds while increasing efficiency for great battery life. And a new ISP powers Dolby Vision recording — something no pro movie camera, let alone any other phone, can do." + ] + }, + { + "title": "Night mode comes to all your cameras.", + "text": [ + "Low light is now a highlight. From dimly lit restaurants to moonlit beaches, the new Night mode delivers natural low-light shots — automatically." + ] + } + ], + "screen": "6.1' OLED", + "resolution": "2532x1170", + "processor": "Apple A14 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp", + "zoom": "Optical, 2x; Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + { + "id": "apple-iphone-12-128gb-purple", + "category": "phones", + "namespaceId": "apple-iphone-12", + "name": "Apple iPhone 12 128GB Purple", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "128GB", + "priceRegular": 980, + "priceDiscount": 900, + "colorsAvailable": ["black", "white", "purple", "red"], + "color": "purple", + "images": [ + "img/phones/apple-iphone-12/purple/00.webp", + "img/phones/apple-iphone-12/purple/01.webp", + "img/phones/apple-iphone-12/purple/02.webp", + "img/phones/apple-iphone-12/purple/03.webp" + ], + "description": [ + { + "title": "Blast past fast.", + "text": [ + "5G speed. A14 Bionic, the fastest chip in a smartphone. An edge-to-edge OLED display. Ceramic Shield with four times better drop performance. And Night mode on every camera. iPhone 12 has it all — in two perfect sizes." + ] + }, + { + "title": "A14 Bionic chip. The only thing even close was our last chip.", + "text": [ + "A14 Bionic is the first 5-nanometer chip in the industry, with advanced components literally atoms wide. Forty percent more transistors rev up speeds while increasing efficiency for great battery life. And a new ISP powers Dolby Vision recording — something no pro movie camera, let alone any other phone, can do." + ] + }, + { + "title": "Night mode comes to all your cameras.", + "text": [ + "Low light is now a highlight. From dimly lit restaurants to moonlit beaches, the new Night mode delivers natural low-light shots — automatically." + ] + } + ], + "screen": "6.1' OLED", + "resolution": "2532x1170", + "processor": "Apple A14 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp", + "zoom": "Optical, 2x; Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + { + "id": "apple-iphone-12-256gb-purple", + "category": "phones", + "namespaceId": "apple-iphone-12", + "name": "Apple iPhone 12 256GB Purple", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "256GB", + "priceRegular": 1180, + "priceDiscount": 1100, + "colorsAvailable": ["black", "white", "purple", "red"], + "color": "purple", + "images": [ + "img/phones/apple-iphone-12/purple/00.webp", + "img/phones/apple-iphone-12/purple/01.webp", + "img/phones/apple-iphone-12/purple/02.webp", + "img/phones/apple-iphone-12/purple/03.webp" + ], + "description": [ + { + "title": "Blast past fast.", + "text": [ + "5G speed. A14 Bionic, the fastest chip in a smartphone. An edge-to-edge OLED display. Ceramic Shield with four times better drop performance. And Night mode on every camera. iPhone 12 has it all — in two perfect sizes." + ] + }, + { + "title": "A14 Bionic chip. The only thing even close was our last chip.", + "text": [ + "A14 Bionic is the first 5-nanometer chip in the industry, with advanced components literally atoms wide. Forty percent more transistors rev up speeds while increasing efficiency for great battery life. And a new ISP powers Dolby Vision recording — something no pro movie camera, let alone any other phone, can do." + ] + }, + { + "title": "Night mode comes to all your cameras.", + "text": [ + "Low light is now a highlight. From dimly lit restaurants to moonlit beaches, the new Night mode delivers natural low-light shots — automatically." + ] + } + ], + "screen": "6.1' OLED", + "resolution": "2532x1170", + "processor": "Apple A14 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp", + "zoom": "Optical, 2x; Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + { + "id": "apple-iphone-12-64gb-red", + "category": "phones", + "namespaceId": "apple-iphone-12", + "name": "Apple iPhone 12 64GB Red", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "64GB", + "priceRegular": 880, + "priceDiscount": 800, + "colorsAvailable": ["black", "white", "purple", "red"], + "color": "red", + "images": [ + "img/phones/apple-iphone-12/red/00.webp", + "img/phones/apple-iphone-12/red/01.webp", + "img/phones/apple-iphone-12/red/02.webp", + "img/phones/apple-iphone-12/red/03.webp" + ], + "description": [ + { + "title": "Blast past fast.", + "text": [ + "5G speed. A14 Bionic, the fastest chip in a smartphone. An edge-to-edge OLED display. Ceramic Shield with four times better drop performance. And Night mode on every camera. iPhone 12 has it all — in two perfect sizes." + ] + }, + { + "title": "A14 Bionic chip. The only thing even close was our last chip.", + "text": [ + "A14 Bionic is the first 5-nanometer chip in the industry, with advanced components literally atoms wide. Forty percent more transistors rev up speeds while increasing efficiency for great battery life. And a new ISP powers Dolby Vision recording — something no pro movie camera, let alone any other phone, can do." + ] + }, + { + "title": "Night mode comes to all your cameras.", + "text": [ + "Low light is now a highlight. From dimly lit restaurants to moonlit beaches, the new Night mode delivers natural low-light shots — automatically." + ] + } + ], + "screen": "6.1' OLED", + "resolution": "2532x1170", + "processor": "Apple A14 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp", + "zoom": "Optical, 2x; Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + { + "id": "apple-iphone-12-128gb-red", + "category": "phones", + "namespaceId": "apple-iphone-12", + "name": "Apple iPhone 12 128GB Red", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "128GB", + "priceRegular": 980, + "priceDiscount": 900, + "colorsAvailable": ["black", "white", "purple", "red"], + "color": "red", + "images": [ + "img/phones/apple-iphone-12/red/00.webp", + "img/phones/apple-iphone-12/red/01.webp", + "img/phones/apple-iphone-12/red/02.webp", + "img/phones/apple-iphone-12/red/03.webp" + ], + "description": [ + { + "title": "Blast past fast.", + "text": [ + "5G speed. A14 Bionic, the fastest chip in a smartphone. An edge-to-edge OLED display. Ceramic Shield with four times better drop performance. And Night mode on every camera. iPhone 12 has it all — in two perfect sizes." + ] + }, + { + "title": "A14 Bionic chip. The only thing even close was our last chip.", + "text": [ + "A14 Bionic is the first 5-nanometer chip in the industry, with advanced components literally atoms wide. Forty percent more transistors rev up speeds while increasing efficiency for great battery life. And a new ISP powers Dolby Vision recording — something no pro movie camera, let alone any other phone, can do." + ] + }, + { + "title": "Night mode comes to all your cameras.", + "text": [ + "Low light is now a highlight. From dimly lit restaurants to moonlit beaches, the new Night mode delivers natural low-light shots — automatically." + ] + } + ], + "screen": "6.1' OLED", + "resolution": "2532x1170", + "processor": "Apple A14 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp", + "zoom": "Optical, 2x; Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + { + "id": "apple-iphone-12-256gb-red", + "category": "phones", + "namespaceId": "apple-iphone-12", + "name": "Apple iPhone 12 256GB Red", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "256GB", + "priceRegular": 1180, + "priceDiscount": 1100, + "colorsAvailable": ["black", "white", "purple", "red"], + "color": "red", + "images": [ + "img/phones/apple-iphone-12/red/00.webp", + "img/phones/apple-iphone-12/red/01.webp", + "img/phones/apple-iphone-12/red/02.webp", + "img/phones/apple-iphone-12/red/03.webp" + ], + "description": [ + { + "title": "Blast past fast.", + "text": [ + "5G speed. A14 Bionic, the fastest chip in a smartphone. An edge-to-edge OLED display. Ceramic Shield with four times better drop performance. And Night mode on every camera. iPhone 12 has it all — in two perfect sizes." + ] + }, + { + "title": "A14 Bionic chip. The only thing even close was our last chip.", + "text": [ + "A14 Bionic is the first 5-nanometer chip in the industry, with advanced components literally atoms wide. Forty percent more transistors rev up speeds while increasing efficiency for great battery life. And a new ISP powers Dolby Vision recording — something no pro movie camera, let alone any other phone, can do." + ] + }, + { + "title": "Night mode comes to all your cameras.", + "text": [ + "Low light is now a highlight. From dimly lit restaurants to moonlit beaches, the new Night mode delivers natural low-light shots — automatically." + ] + } + ], + "screen": "6.1' OLED", + "resolution": "2532x1170", + "processor": "Apple A14 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp", + "zoom": "Optical, 2x; Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + { + "id": "apple-iphone-12-64gb-white", + "category": "phones", + "namespaceId": "apple-iphone-12", + "name": "Apple iPhone 12 64GB White", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "64GB", + "priceRegular": 880, + "priceDiscount": 800, + "colorsAvailable": ["black", "white", "purple", "red"], + "color": "white", + "images": [ + "img/phones/apple-iphone-12/white/00.webp", + "img/phones/apple-iphone-12/white/01.webp", + "img/phones/apple-iphone-12/white/02.webp", + "img/phones/apple-iphone-12/white/03.webp" + ], + "description": [ + { + "title": "Blast past fast.", + "text": [ + "5G speed. A14 Bionic, the fastest chip in a smartphone. An edge-to-edge OLED display. Ceramic Shield with four times better drop performance. And Night mode on every camera. iPhone 12 has it all — in two perfect sizes." + ] + }, + { + "title": "A14 Bionic chip. The only thing even close was our last chip.", + "text": [ + "A14 Bionic is the first 5-nanometer chip in the industry, with advanced components literally atoms wide. Forty percent more transistors rev up speeds while increasing efficiency for great battery life. And a new ISP powers Dolby Vision recording — something no pro movie camera, let alone any other phone, can do." + ] + }, + { + "title": "Night mode comes to all your cameras.", + "text": [ + "Low light is now a highlight. From dimly lit restaurants to moonlit beaches, the new Night mode delivers natural low-light shots — automatically." + ] + } + ], + "screen": "6.1' OLED", + "resolution": "2532x1170", + "processor": "Apple A14 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp", + "zoom": "Optical, 2x; Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + { + "id": "apple-iphone-12-128gb-white", + "category": "phones", + "namespaceId": "apple-iphone-12", + "name": "Apple iPhone 12 128GB White", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "128GB", + "priceRegular": 980, + "priceDiscount": 900, + "colorsAvailable": ["black", "white", "purple", "red"], + "color": "white", + "images": [ + "img/phones/apple-iphone-12/white/00.webp", + "img/phones/apple-iphone-12/white/01.webp", + "img/phones/apple-iphone-12/white/02.webp", + "img/phones/apple-iphone-12/white/03.webp" + ], + "description": [ + { + "title": "Blast past fast.", + "text": [ + "5G speed. A14 Bionic, the fastest chip in a smartphone. An edge-to-edge OLED display. Ceramic Shield with four times better drop performance. And Night mode on every camera. iPhone 12 has it all — in two perfect sizes." + ] + }, + { + "title": "A14 Bionic chip. The only thing even close was our last chip.", + "text": [ + "A14 Bionic is the first 5-nanometer chip in the industry, with advanced components literally atoms wide. Forty percent more transistors rev up speeds while increasing efficiency for great battery life. And a new ISP powers Dolby Vision recording — something no pro movie camera, let alone any other phone, can do." + ] + }, + { + "title": "Night mode comes to all your cameras.", + "text": [ + "Low light is now a highlight. From dimly lit restaurants to moonlit beaches, the new Night mode delivers natural low-light shots — automatically." + ] + } + ], + "screen": "6.1' OLED", + "resolution": "2532x1170", + "processor": "Apple A14 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp", + "zoom": "Optical, 2x; Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + { + "id": "apple-iphone-12-256gb-white", + "category": "phones", + "namespaceId": "apple-iphone-12", + "name": "Apple iPhone 12 256GB White", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "256GB", + "priceRegular": 1180, + "priceDiscount": 1100, + "colorsAvailable": ["black", "white", "purple", "red"], + "color": "white", + "images": [ + "img/phones/apple-iphone-12/white/00.webp", + "img/phones/apple-iphone-12/white/01.webp", + "img/phones/apple-iphone-12/white/02.webp", + "img/phones/apple-iphone-12/white/03.webp" + ], + "description": [ + { + "title": "Blast past fast.", + "text": [ + "5G speed. A14 Bionic, the fastest chip in a smartphone. An edge-to-edge OLED display. Ceramic Shield with four times better drop performance. And Night mode on every camera. iPhone 12 has it all — in two perfect sizes." + ] + }, + { + "title": "A14 Bionic chip. The only thing even close was our last chip.", + "text": [ + "A14 Bionic is the first 5-nanometer chip in the industry, with advanced components literally atoms wide. Forty percent more transistors rev up speeds while increasing efficiency for great battery life. And a new ISP powers Dolby Vision recording — something no pro movie camera, let alone any other phone, can do." + ] + }, + { + "title": "Night mode comes to all your cameras.", + "text": [ + "Low light is now a highlight. From dimly lit restaurants to moonlit beaches, the new Night mode delivers natural low-light shots — automatically." + ] + } + ], + "screen": "6.1' OLED", + "resolution": "2532x1170", + "processor": "Apple A14 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp", + "zoom": "Optical, 2x; Digital, 5x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE"] + }, + { + "id": "apple-iphone-13-mini-64gb-midnight", + "category": "phones", + "namespaceId": "apple-iphone-13-mini", + "name": "Apple iPhone 13 Mini 64GB Midnight", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "64GB", + "priceRegular": 880, + "priceDiscount": 800, + "colorsAvailable": ["midnight", "white", "blue", "pink"], + "color": "midnight", + "images": [ + "img/phones/apple-iphone-13-mini/midnight/00.webp", + "img/phones/apple-iphone-13-mini/midnight/01.webp", + "img/phones/apple-iphone-13-mini/midnight/02.webp", + "img/phones/apple-iphone-13-mini/midnight/03.webp" + ], + "description": [ + { + "title": "Your new superpower.", + "text": [ + "A15 Bionic, the fastest chip ever in a smartphone. Super Retina XDR display with ProMotion. Durable Ceramic Shield with 4x better drop performance. New Night mode on all cameras. It’s the ultimate iPhone, powered by the ultimate chip." + ] + }, + { + "title": "A15 Bionic chip. Super power. Mini sized.", + "text": [ + "The A15 Bionic chip is the fastest chip ever in a smartphone. It powers everything from photography to gaming. And the incredible Machine Learning accelerators allow you to experience augmented reality like never before." + ] + }, + { + "title": "Amazing Camera. No Pro Required.", + "text": [ + "iPhone 13 Mini takes stunning photos and videos with its advanced dual-camera system, with a new Night mode on all cameras. And Photographic Styles personalizes your photos in the moment for a beautiful look." + ] + } + ], + "screen": "5.4' Super Retina XDR", + "resolution": "2532x1170", + "processor": "Apple A15 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp", + "zoom": "Optical, 2x; Digital, 5x", + "cell": ["GSM", "CDMA", "HSPA", "EVDO", "LTE", "5G"] + }, + { + "id": "apple-iphone-13-mini-128gb-midnight", + "category": "phones", + "namespaceId": "apple-iphone-13-mini", + "name": "Apple iPhone 13 Mini 128GB Midnight", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "128GB", + "priceRegular": 980, + "priceDiscount": 900, + "colorsAvailable": ["midnight", "white", "blue", "pink"], + "color": "midnight", + "images": [ + "img/phones/apple-iphone-13-mini/midnight/00.webp", + "img/phones/apple-iphone-13-mini/midnight/01.webp", + "img/phones/apple-iphone-13-mini/midnight/02.webp", + "img/phones/apple-iphone-13-mini/midnight/03.webp" + ], + "description": [ + { + "title": "Your new superpower.", + "text": [ + "A15 Bionic, the fastest chip ever in a smartphone. Super Retina XDR display with ProMotion. Durable Ceramic Shield with 4x better drop performance. New Night mode on all cameras. It’s the ultimate iPhone, powered by the ultimate chip." + ] + }, + { + "title": "A15 Bionic chip. Super power. Mini sized.", + "text": [ + "The A15 Bionic chip is the fastest chip ever in a smartphone. It powers everything from photography to gaming. And the incredible Machine Learning accelerators allow you to experience augmented reality like never before." + ] + }, + { + "title": "Amazing Camera. No Pro Required.", + "text": [ + "iPhone 13 Mini takes stunning photos and videos with its advanced dual-camera system, with a new Night mode on all cameras. And Photographic Styles personalizes your photos in the moment for a beautiful look." + ] + } + ], + "screen": "5.4' Super Retina XDR", + "resolution": "2532x1170", + "processor": "Apple A15 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp", + "zoom": "Optical, 2x; Digital, 5x", + "cell": ["GSM", "CDMA", "HSPA", "EVDO", "LTE", "5G"] + }, + { + "id": "apple-iphone-13-mini-256gb-midnight", + "category": "phones", + "namespaceId": "apple-iphone-13-mini", + "name": "Apple iPhone 13 Mini 256GB Midnight", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "256GB", + "priceRegular": 1180, + "priceDiscount": 1100, + "colorsAvailable": ["midnight", "white", "blue", "pink"], + "color": "midnight", + "images": [ + "img/phones/apple-iphone-13-mini/midnight/00.webp", + "img/phones/apple-iphone-13-mini/midnight/01.webp", + "img/phones/apple-iphone-13-mini/midnight/02.webp", + "img/phones/apple-iphone-13-mini/midnight/03.webp" + ], + "description": [ + { + "title": "Your new superpower.", + "text": [ + "A15 Bionic, the fastest chip ever in a smartphone. Super Retina XDR display with ProMotion. Durable Ceramic Shield with 4x better drop performance. New Night mode on all cameras. It’s the ultimate iPhone, powered by the ultimate chip." + ] + }, + { + "title": "A15 Bionic chip. Super power. Mini sized.", + "text": [ + "The A15 Bionic chip is the fastest chip ever in a smartphone. It powers everything from photography to gaming. And the incredible Machine Learning accelerators allow you to experience augmented reality like never before." + ] + }, + { + "title": "Amazing Camera. No Pro Required.", + "text": [ + "iPhone 13 Mini takes stunning photos and videos with its advanced dual-camera system, with a new Night mode on all cameras. And Photographic Styles personalizes your photos in the moment for a beautiful look." + ] + } + ], + "screen": "5.4' Super Retina XDR", + "resolution": "2532x1170", + "processor": "Apple A15 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp", + "zoom": "Optical, 2x; Digital, 5x", + "cell": ["GSM", "CDMA", "HSPA", "EVDO", "LTE", "5G"] + }, + { + "id": "apple-iphone-13-mini-64gb-pink", + "category": "phones", + "namespaceId": "apple-iphone-13-mini", + "name": "Apple iPhone 13 Mini 64GB Pink", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "64GB", + "priceRegular": 880, + "priceDiscount": 800, + "colorsAvailable": ["midnight", "white", "blue", "pink"], + "color": "pink", + "images": [ + "img/phones/apple-iphone-13-mini/pink/00.webp", + "img/phones/apple-iphone-13-mini/pink/01.webp", + "img/phones/apple-iphone-13-mini/pink/02.webp", + "img/phones/apple-iphone-13-mini/pink/03.webp" + ], + "description": [ + { + "title": "Your new superpower.", + "text": [ + "A15 Bionic, the fastest chip ever in a smartphone. Super Retina XDR display with ProMotion. Durable Ceramic Shield with 4x better drop performance. New Night mode on all cameras. It’s the ultimate iPhone, powered by the ultimate chip." + ] + }, + { + "title": "A15 Bionic chip. Super power. Mini sized.", + "text": [ + "The A15 Bionic chip is the fastest chip ever in a smartphone. It powers everything from photography to gaming. And the incredible Machine Learning accelerators allow you to experience augmented reality like never before." + ] + }, + { + "title": "Amazing Camera. No Pro Required.", + "text": [ + "iPhone 13 Mini takes stunning photos and videos with its advanced dual-camera system, with a new Night mode on all cameras. And Photographic Styles personalizes your photos in the moment for a beautiful look." + ] + } + ], + "screen": "5.4' Super Retina XDR", + "resolution": "2532x1170", + "processor": "Apple A15 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp", + "zoom": "Optical, 2x; Digital, 5x", + "cell": ["GSM", "CDMA", "HSPA", "EVDO", "LTE", "5G"] + }, + { + "id": "apple-iphone-13-mini-128gb-pink", + "category": "phones", + "namespaceId": "apple-iphone-13-mini", + "name": "Apple iPhone 13 Mini 128GB Pink", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "128GB", + "priceRegular": 980, + "priceDiscount": 900, + "colorsAvailable": ["midnight", "white", "blue", "pink"], + "color": "pink", + "images": [ + "img/phones/apple-iphone-13-mini/pink/00.webp", + "img/phones/apple-iphone-13-mini/pink/01.webp", + "img/phones/apple-iphone-13-mini/pink/02.webp", + "img/phones/apple-iphone-13-mini/pink/03.webp" + ], + "description": [ + { + "title": "Your new superpower.", + "text": [ + "A15 Bionic, the fastest chip ever in a smartphone. Super Retina XDR display with ProMotion. Durable Ceramic Shield with 4x better drop performance. New Night mode on all cameras. It’s the ultimate iPhone, powered by the ultimate chip." + ] + }, + { + "title": "A15 Bionic chip. Super power. Mini sized.", + "text": [ + "The A15 Bionic chip is the fastest chip ever in a smartphone. It powers everything from photography to gaming. And the incredible Machine Learning accelerators allow you to experience augmented reality like never before." + ] + }, + { + "title": "Amazing Camera. No Pro Required.", + "text": [ + "iPhone 13 Mini takes stunning photos and videos with its advanced dual-camera system, with a new Night mode on all cameras. And Photographic Styles personalizes your photos in the moment for a beautiful look." + ] + } + ], + "screen": "5.4' Super Retina XDR", + "resolution": "2532x1170", + "processor": "Apple A15 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp", + "zoom": "Optical, 2x; Digital, 5x", + "cell": ["GSM", "CDMA", "HSPA", "EVDO", "LTE", "5G"] + }, + { + "id": "apple-iphone-13-mini-256gb-pink", + "category": "phones", + "namespaceId": "apple-iphone-13-mini", + "name": "Apple iPhone 13 Mini 256GB Pink", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "256GB", + "priceRegular": 1180, + "priceDiscount": 1100, + "colorsAvailable": ["midnight", "white", "blue", "pink"], + "color": "pink", + "images": [ + "img/phones/apple-iphone-13-mini/pink/00.webp", + "img/phones/apple-iphone-13-mini/pink/01.webp", + "img/phones/apple-iphone-13-mini/pink/02.webp", + "img/phones/apple-iphone-13-mini/pink/03.webp" + ], + "description": [ + { + "title": "Your new superpower.", + "text": [ + "A15 Bionic, the fastest chip ever in a smartphone. Super Retina XDR display with ProMotion. Durable Ceramic Shield with 4x better drop performance. New Night mode on all cameras. It’s the ultimate iPhone, powered by the ultimate chip." + ] + }, + { + "title": "A15 Bionic chip. Super power. Mini sized.", + "text": [ + "The A15 Bionic chip is the fastest chip ever in a smartphone. It powers everything from photography to gaming. And the incredible Machine Learning accelerators allow you to experience augmented reality like never before." + ] + }, + { + "title": "Amazing Camera. No Pro Required.", + "text": [ + "iPhone 13 Mini takes stunning photos and videos with its advanced dual-camera system, with a new Night mode on all cameras. And Photographic Styles personalizes your photos in the moment for a beautiful look." + ] + } + ], + "screen": "5.4' Super Retina XDR", + "resolution": "2532x1170", + "processor": "Apple A15 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp", + "zoom": "Optical, 2x; Digital, 5x", + "cell": ["GSM", "CDMA", "HSPA", "EVDO", "LTE", "5G"] + }, + { + "id": "apple-iphone-13-mini-64gb-white", + "category": "phones", + "namespaceId": "apple-iphone-13-mini", + "name": "Apple iPhone 13 Mini 64GB White", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "64GB", + "priceRegular": 880, + "priceDiscount": 800, + "colorsAvailable": ["midnight", "white", "blue", "pink"], + "color": "white", + "images": [ + "img/phones/apple-iphone-13-mini/white/00.webp", + "img/phones/apple-iphone-13-mini/white/01.webp", + "img/phones/apple-iphone-13-mini/white/02.webp", + "img/phones/apple-iphone-13-mini/white/03.webp" + ], + "description": [ + { + "title": "Your new superpower.", + "text": [ + "A15 Bionic, the fastest chip ever in a smartphone. Super Retina XDR display with ProMotion. Durable Ceramic Shield with 4x better drop performance. New Night mode on all cameras. It’s the ultimate iPhone, powered by the ultimate chip." + ] + }, + { + "title": "A15 Bionic chip. Super power. Mini sized.", + "text": [ + "The A15 Bionic chip is the fastest chip ever in a smartphone. It powers everything from photography to gaming. And the incredible Machine Learning accelerators allow you to experience augmented reality like never before." + ] + }, + { + "title": "Amazing Camera. No Pro Required.", + "text": [ + "iPhone 13 Mini takes stunning photos and videos with its advanced dual-camera system, with a new Night mode on all cameras. And Photographic Styles personalizes your photos in the moment for a beautiful look." + ] + } + ], + "screen": "5.4' Super Retina XDR", + "resolution": "2532x1170", + "processor": "Apple A15 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp", + "zoom": "Optical, 2x; Digital, 5x", + "cell": ["GSM", "CDMA", "HSPA", "EVDO", "LTE", "5G"] + }, + { + "id": "apple-iphone-13-mini-128gb-white", + "category": "phones", + "namespaceId": "apple-iphone-13-mini", + "name": "Apple iPhone 13 Mini 128GB White", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "128GB", + "priceRegular": 980, + "priceDiscount": 900, + "colorsAvailable": ["midnight", "white", "blue", "pink"], + "color": "white", + "images": [ + "img/phones/apple-iphone-13-mini/white/00.webp", + "img/phones/apple-iphone-13-mini/white/01.webp", + "img/phones/apple-iphone-13-mini/white/02.webp", + "img/phones/apple-iphone-13-mini/white/03.webp" + ], + "description": [ + { + "title": "Your new superpower.", + "text": [ + "A15 Bionic, the fastest chip ever in a smartphone. Super Retina XDR display with ProMotion. Durable Ceramic Shield with 4x better drop performance. New Night mode on all cameras. It’s the ultimate iPhone, powered by the ultimate chip." + ] + }, + { + "title": "A15 Bionic chip. Super power. Mini sized.", + "text": [ + "The A15 Bionic chip is the fastest chip ever in a smartphone. It powers everything from photography to gaming. And the incredible Machine Learning accelerators allow you to experience augmented reality like never before." + ] + }, + { + "title": "Amazing Camera. No Pro Required.", + "text": [ + "iPhone 13 Mini takes stunning photos and videos with its advanced dual-camera system, with a new Night mode on all cameras. And Photographic Styles personalizes your photos in the moment for a beautiful look." + ] + } + ], + "screen": "5.4' Super Retina XDR", + "resolution": "2532x1170", + "processor": "Apple A15 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp", + "zoom": "Optical, 2x; Digital, 5x", + "cell": ["GSM", "CDMA", "HSPA", "EVDO", "LTE", "5G"] + }, + { + "id": "apple-iphone-13-mini-256gb-white", + "category": "phones", + "namespaceId": "apple-iphone-13-mini", + "name": "Apple iPhone 13 Mini 256GB White", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "256GB", + "priceRegular": 999, + "priceDiscount": 949, + "colorsAvailable": ["midnight", "white", "blue", "pink"], + "color": "white", + "images": [ + "img/phones/apple-iphone-13-mini/white/00.webp", + "img/phones/apple-iphone-13-mini/white/01.webp", + "img/phones/apple-iphone-13-mini/white/02.webp", + "img/phones/apple-iphone-13-mini/white/03.webp" + ], + "description": [ + { + "title": "Your new superpower.", + "text": [ + "A15 Bionic, the fastest chip ever in a smartphone. Super Retina XDR display with ProMotion. Durable Ceramic Shield with 4x better drop performance. New Night mode on all cameras. It’s the ultimate iPhone, powered by the ultimate chip." + ] + }, + { + "title": "A15 Bionic chip. Super power. Mini sized.", + "text": [ + "The A15 Bionic chip is the fastest chip ever in a smartphone. It powers everything from photography to gaming. And the incredible Machine Learning accelerators allow you to experience augmented reality like never before." + ] + }, + { + "title": "Amazing Camera. No Pro Required.", + "text": [ + "iPhone 13 Mini takes stunning photos and videos with its advanced dual-camera system, with a new Night mode on all cameras. And Photographic Styles personalizes your photos in the moment for a beautiful look." + ] + } + ], + "screen": "5.4' Super Retina XDR", + "resolution": "2532x1170", + "processor": "Apple A15 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp", + "zoom": "Optical, 2x; Digital, 5x", + "cell": ["GSM", "CDMA", "HSPA", "EVDO", "LTE", "5G"] + }, + { + "id": "apple-iphone-13-mini-64gb-blue", + "category": "phones", + "namespaceId": "apple-iphone-13-mini", + "name": "Apple iPhone 13 Mini 64GB Blue", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "64GB", + "priceRegular": 880, + "priceDiscount": 800, + "colorsAvailable": ["midnight", "white", "blue", "pink"], + "color": "blue", + "images": [ + "img/phones/apple-iphone-13-mini/blue/00.webp", + "img/phones/apple-iphone-13-mini/blue/01.webp", + "img/phones/apple-iphone-13-mini/blue/02.webp", + "img/phones/apple-iphone-13-mini/blue/03.webp" + ], + "description": [ + { + "title": "Your new superpower.", + "text": [ + "A15 Bionic, the fastest chip ever in a smartphone. Super Retina XDR display with ProMotion. Durable Ceramic Shield with 4x better drop performance. New Night mode on all cameras. It’s the ultimate iPhone, powered by the ultimate chip." + ] + }, + { + "title": "A15 Bionic chip. Super power. Mini sized.", + "text": [ + "The A15 Bionic chip is the fastest chip ever in a smartphone. It powers everything from photography to gaming. And the incredible Machine Learning accelerators allow you to experience augmented reality like never before." + ] + }, + { + "title": "Amazing Camera. No Pro Required.", + "text": [ + "iPhone 13 Mini takes stunning photos and videos with its advanced dual-camera system, with a new Night mode on all cameras. And Photographic Styles personalizes your photos in the moment for a beautiful look." + ] + } + ], + "screen": "5.4' Super Retina XDR", + "resolution": "2532x1170", + "processor": "Apple A15 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp", + "zoom": "Optical, 2x; Digital, 5x", + "cell": ["GSM", "CDMA", "HSPA", "EVDO", "LTE", "5G"] + }, + { + "id": "apple-iphone-13-mini-128gb-blue", + "category": "phones", + "namespaceId": "apple-iphone-13-mini", + "name": "Apple iPhone 13 Mini 128GB Blue", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "128GB", + "priceRegular": 980, + "priceDiscount": 900, + "colorsAvailable": ["midnight", "white", "blue", "pink"], + "color": "blue", + "images": [ + "img/phones/apple-iphone-13-mini/blue/00.webp", + "img/phones/apple-iphone-13-mini/blue/01.webp", + "img/phones/apple-iphone-13-mini/blue/02.webp", + "img/phones/apple-iphone-13-mini/blue/03.webp" + ], + "description": [ + { + "title": "Your new superpower.", + "text": [ + "A15 Bionic, the fastest chip ever in a smartphone. Super Retina XDR display with ProMotion. Durable Ceramic Shield with 4x better drop performance. New Night mode on all cameras. It’s the ultimate iPhone, powered by the ultimate chip." + ] + }, + { + "title": "A15 Bionic chip. Super power. Mini sized.", + "text": [ + "The A15 Bionic chip is the fastest chip ever in a smartphone. It powers everything from photography to gaming. And the incredible Machine Learning accelerators allow you to experience augmented reality like never before." + ] + }, + { + "title": "Amazing Camera. No Pro Required.", + "text": [ + "iPhone 13 Mini takes stunning photos and videos with its advanced dual-camera system, with a new Night mode on all cameras. And Photographic Styles personalizes your photos in the moment for a beautiful look." + ] + } + ], + "screen": "5.4' Super Retina XDR", + "resolution": "2532x1170", + "processor": "Apple A15 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp", + "zoom": "Optical, 2x; Digital, 5x", + "cell": ["GSM", "CDMA", "HSPA", "EVDO", "LTE", "5G"] + }, + { + "id": "apple-iphone-13-mini-256gb-blue", + "category": "phones", + "namespaceId": "apple-iphone-13-mini", + "name": "Apple iPhone 13 Mini 256GB Blue", + "capacityAvailable": ["64GB", "128GB", "256GB"], + "capacity": "256GB", + "priceRegular": 999, + "priceDiscount": 949, + "colorsAvailable": ["midnight", "white", "blue", "pink"], + "color": "blue", + "images": [ + "img/phones/apple-iphone-13-mini/blue/00.webp", + "img/phones/apple-iphone-13-mini/blue/01.webp", + "img/phones/apple-iphone-13-mini/blue/02.webp", + "img/phones/apple-iphone-13-mini/blue/03.webp" + ], + "description": [ + { + "title": "Your new superpower.", + "text": [ + "A15 Bionic, the fastest chip ever in a smartphone. Super Retina XDR display with ProMotion. Durable Ceramic Shield with 4x better drop performance. New Night mode on all cameras. It’s the ultimate iPhone, powered by the ultimate chip." + ] + }, + { + "title": "A15 Bionic chip. Super power. Mini sized.", + "text": [ + "The A15 Bionic chip is the fastest chip ever in a smartphone. It powers everything from photography to gaming. And the incredible Machine Learning accelerators allow you to experience augmented reality like never before." + ] + }, + { + "title": "Amazing Camera. No Pro Required.", + "text": [ + "iPhone 13 Mini takes stunning photos and videos with its advanced dual-camera system, with a new Night mode on all cameras. And Photographic Styles personalizes your photos in the moment for a beautiful look." + ] + } + ], + "screen": "5.4' Super Retina XDR", + "resolution": "2532x1170", + "processor": "Apple A15 Bionic", + "ram": "4GB", + "camera": "12 Mp + 12 Mp", + "zoom": "Optical, 2x; Digital, 5x", + "cell": ["GSM", "CDMA", "HSPA", "EVDO", "LTE", "5G"] + }, + { + "id": "apple-iphone-13-pro-max-128gb-sierrablue", + "category": "phones", + "namespaceId": "apple-iphone-13-pro-max", + "name": "Apple iPhone 13 Pro Max 128GB Sierra Blue", + "capacityAvailable": ["128GB", "256GB", "512GB", "1TB"], + "capacity": "128GB", + "priceRegular": 1286, + "priceDiscount": 1260, + "colorsAvailable": ["graphite", "gold", "sierrablue"], + "color": "sierrablue", + "images": [ + "img/phones/apple-iphone-13-pro-max/sierrablue/00.webp", + "img/phones/apple-iphone-13-pro-max/sierrablue/01.webp", + "img/phones/apple-iphone-13-pro-max/sierrablue/02.webp", + "img/phones/apple-iphone-13-pro-max/sierrablue/03.webp" + ], + "description": [ + { + "title": "The Ultimate Pro Camera System", + "text": [ + "Introducing the first pro camera system that's also an iPhone — delivering 3x optical zoom, macro photography, Night mode portraits, and a new ProRes format for the highest-quality video ever in a smartphone. Get ready to shoot like a pro." + ] + }, + { + "title": "Cinematic Mode", + "text": [ + "Film like a pro with exclusive access to the depth-of-field effect of Cinema mode, now on both the Wide and Telephoto cameras. Add focus transitions for a creative look, and easily switch between cameras to capture more of the moment." + ] + }, + { + "title": "A15 Bionic", + "text": [ + "A15 Bionic is the fastest chip ever in a smartphone. It powers incredible experiences in photography, video, gaming, and more — all while delivering great battery life. And it enables the most advanced machine learning capabilities in any smartphone for next-level experiences." + ] + }, + { + "title": "ProMotion", + "text": [ + "ProMotion technology automatically adjusts the display to the movement on your screen, for more fluid scrolling, greater responsiveness, and smoother motion — and a battery that lasts all day." + ] + } + ], + "screen": "6.7' Super Retina XDR display", + "resolution": "2778x1284", + "processor": "Apple A15 Bionic", + "ram": "6GB", + "camera": "12 Mp + 12 Mp + 12 Mp", + "zoom": "Optical, 3x; Digital, up to 15x", + "cell": ["GSM", "CDMA", "HSPA", "EVDO", "LTE", "5G"] + }, + { + "id": "apple-iphone-13-pro-max-256gb-sierrablue", + "category": "phones", + "namespaceId": "apple-iphone-13-pro-max", + "name": "Apple iPhone 13 Pro Max 256GB Sierra Blue", + "capacityAvailable": ["128GB", "256GB", "512GB", "1TB"], + "capacity": "256GB", + "priceRegular": 1399, + "priceDiscount": 1379, + "colorsAvailable": ["graphite", "gold", "sierrablue"], + "color": "sierrablue", + "images": [ + "img/phones/apple-iphone-13-pro-max/sierrablue/00.webp", + "img/phones/apple-iphone-13-pro-max/sierrablue/01.webp", + "img/phones/apple-iphone-13-pro-max/sierrablue/02.webp", + "img/phones/apple-iphone-13-pro-max/sierrablue/03.webp" + ], + "description": [ + { + "title": "The Ultimate Pro Camera System", + "text": [ + "Introducing the first pro camera system that's also an iPhone — delivering 3x optical zoom, macro photography, Night mode portraits, and a new ProRes format for the highest-quality video ever in a smartphone. Get ready to shoot like a pro." + ] + }, + { + "title": "Cinematic Mode", + "text": [ + "Film like a pro with exclusive access to the depth-of-field effect of Cinema mode, now on both the Wide and Telephoto cameras. Add focus transitions for a creative look, and easily switch between cameras to capture more of the moment." + ] + }, + { + "title": "A15 Bionic", + "text": [ + "A15 Bionic is the fastest chip ever in a smartphone. It powers incredible experiences in photography, video, gaming, and more — all while delivering great battery life. And it enables the most advanced machine learning capabilities in any smartphone for next-level experiences." + ] + }, + { + "title": "ProMotion", + "text": [ + "ProMotion technology automatically adjusts the display to the movement on your screen, for more fluid scrolling, greater responsiveness, and smoother motion — and a battery that lasts all day." + ] + } + ], + "screen": "6.7' Super Retina XDR display", + "resolution": "2778x1284", + "processor": "Apple A15 Bionic", + "ram": "6GB", + "camera": "12 Mp + 12 Mp + 12 Mp", + "zoom": "Optical, 3x; Digital, up to 15x", + "cell": ["GSM", "CDMA", "HSPA", "EVDO", "LTE", "5G"] + }, + { + "id": "apple-iphone-13-pro-max-512gb-sierrablue", + "category": "phones", + "namespaceId": "apple-iphone-13-pro-max", + "name": "Apple iPhone 13 Pro Max 512GB Sierra Blue", + "capacityAvailable": ["128GB", "256GB", "512GB", "1TB"], + "capacity": "512GB", + "priceRegular": 1426, + "priceDiscount": 1371, + "colorsAvailable": ["graphite", "gold", "sierrablue"], + "color": "sierrablue", + "images": [ + "img/phones/apple-iphone-13-pro-max/sierrablue/00.webp", + "img/phones/apple-iphone-13-pro-max/sierrablue/01.webp", + "img/phones/apple-iphone-13-pro-max/sierrablue/02.webp", + "img/phones/apple-iphone-13-pro-max/sierrablue/03.webp" + ], + "description": [ + { + "title": "The Ultimate Pro Camera System", + "text": [ + "Introducing the first pro camera system that's also an iPhone — delivering 3x optical zoom, macro photography, Night mode portraits, and a new ProRes format for the highest-quality video ever in a smartphone. Get ready to shoot like a pro." + ] + }, + { + "title": "Cinematic Mode", + "text": [ + "Film like a pro with exclusive access to the depth-of-field effect of Cinema mode, now on both the Wide and Telephoto cameras. Add focus transitions for a creative look, and easily switch between cameras to capture more of the moment." + ] + }, + { + "title": "A15 Bionic", + "text": [ + "A15 Bionic is the fastest chip ever in a smartphone. It powers incredible experiences in photography, video, gaming, and more — all while delivering great battery life. And it enables the most advanced machine learning capabilities in any smartphone for next-level experiences." + ] + }, + { + "title": "ProMotion", + "text": [ + "ProMotion technology automatically adjusts the display to the movement on your screen, for more fluid scrolling, greater responsiveness, and smoother motion — and a battery that lasts all day." + ] + } + ], + "screen": "6.7' Super Retina XDR display", + "resolution": "2778x1284", + "processor": "Apple A15 Bionic", + "ram": "6GB", + "camera": "12 Mp + 12 Mp + 12 Mp", + "zoom": "Optical, 3x; Digital, up to 15x", + "cell": ["GSM", "CDMA", "HSPA", "EVDO", "LTE", "5G"] + }, + { + "id": "apple-iphone-13-pro-max-1tb-sierrablue", + "category": "phones", + "namespaceId": "apple-iphone-13-pro-max", + "name": "Apple iPhone 13 Pro Max 1TB Sierra Blue", + "capacityAvailable": ["128GB", "256GB", "512GB", "1TB"], + "capacity": "1TB", + "priceRegular": 1700, + "priceDiscount": 1540, + "colorsAvailable": ["graphite", "gold", "sierrablue"], + "color": "sierrablue", + "images": [ + "img/phones/apple-iphone-13-pro-max/sierrablue/00.webp", + "img/phones/apple-iphone-13-pro-max/sierrablue/01.webp", + "img/phones/apple-iphone-13-pro-max/sierrablue/02.webp", + "img/phones/apple-iphone-13-pro-max/sierrablue/03.webp" + ], + "description": [ + { + "title": "And then was a Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' OLED (Super Retina XDR)", + "resolution": "2556x1179", + "processor": "Apple A16 Bionic", + "ram": "6GB", + "camera": "48 Mp + 12 Mp + 12MP + 12Mp", + "zoom": "Digital 5x, Optical 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE", "5G"] + }, + { + "id": "apple-iphone-13-pro-max-128gb-graphite", + "category": "phones", + "namespaceId": "apple-iphone-13-pro-max", + "name": "Apple iPhone 13 Pro Max 128GB Graphite", + "capacityAvailable": ["128GB", "256GB", "512GB", "1TB"], + "capacity": "128GB", + "priceRegular": 1286, + "priceDiscount": 1260, + "colorsAvailable": ["graphite", "gold", "sierrablue"], + "color": "graphite", + "images": [ + "img/phones/apple-iphone-13-pro-max/graphite/00.webp", + "img/phones/apple-iphone-13-pro-max/graphite/01.webp", + "img/phones/apple-iphone-13-pro-max/graphite/02.webp", + "img/phones/apple-iphone-13-pro-max/graphite/03.webp" + ], + "description": [ + { + "title": "The Ultimate Pro Camera System", + "text": [ + "Introducing the first pro camera system that's also an iPhone — delivering 3x optical zoom, macro photography, Night mode portraits, and a new ProRes format for the highest-quality video ever in a smartphone. Get ready to shoot like a pro." + ] + }, + { + "title": "Cinematic Mode", + "text": [ + "Film like a pro with exclusive access to the depth-of-field effect of Cinema mode, now on both the Wide and Telephoto cameras. Add focus transitions for a creative look, and easily switch between cameras to capture more of the moment." + ] + }, + { + "title": "A15 Bionic", + "text": [ + "A15 Bionic is the fastest chip ever in a smartphone. It powers incredible experiences in photography, video, gaming, and more — all while delivering great battery life. And it enables the most advanced machine learning capabilities in any smartphone for next-level experiences." + ] + }, + { + "title": "ProMotion", + "text": [ + "ProMotion technology automatically adjusts the display to the movement on your screen, for more fluid scrolling, greater responsiveness, and smoother motion — and a battery that lasts all day." + ] + } + ], + "screen": "6.7' Super Retina XDR display", + "resolution": "2778x1284", + "processor": "Apple A15 Bionic", + "ram": "6GB", + "camera": "12 Mp + 12 Mp + 12 Mp", + "zoom": "Optical, 3x; Digital, up to 15x", + "cell": ["GSM", "CDMA", "HSPA", "EVDO", "LTE", "5G"] + }, + { + "id": "apple-iphone-13-pro-max-256gb-graphite", + "category": "phones", + "namespaceId": "apple-iphone-13-pro-max", + "name": "Apple iPhone 13 Pro Max 256GB Graphite", + "capacityAvailable": ["128GB", "256GB", "512GB", "1TB"], + "capacity": "256GB", + "priceRegular": 1399, + "priceDiscount": 1379, + "colorsAvailable": ["graphite", "gold", "sierrablue"], + "color": "graphite", + "images": [ + "img/phones/apple-iphone-13-pro-max/graphite/00.webp", + "img/phones/apple-iphone-13-pro-max/graphite/01.webp", + "img/phones/apple-iphone-13-pro-max/graphite/02.webp", + "img/phones/apple-iphone-13-pro-max/graphite/03.webp" + ], + "description": [ + { + "title": "The Ultimate Pro Camera System", + "text": [ + "Introducing the first pro camera system that's also an iPhone — delivering 3x optical zoom, macro photography, Night mode portraits, and a new ProRes format for the highest-quality video ever in a smartphone. Get ready to shoot like a pro." + ] + }, + { + "title": "Cinematic Mode", + "text": [ + "Film like a pro with exclusive access to the depth-of-field effect of Cinema mode, now on both the Wide and Telephoto cameras. Add focus transitions for a creative look, and easily switch between cameras to capture more of the moment." + ] + }, + { + "title": "A15 Bionic", + "text": [ + "A15 Bionic is the fastest chip ever in a smartphone. It powers incredible experiences in photography, video, gaming, and more — all while delivering great battery life. And it enables the most advanced machine learning capabilities in any smartphone for next-level experiences." + ] + }, + { + "title": "ProMotion", + "text": [ + "ProMotion technology automatically adjusts the display to the movement on your screen, for more fluid scrolling, greater responsiveness, and smoother motion — and a battery that lasts all day." + ] + } + ], + "screen": "6.7' Super Retina XDR display", + "resolution": "2778x1284", + "processor": "Apple A15 Bionic", + "ram": "6GB", + "camera": "12 Mp + 12 Mp + 12 Mp", + "zoom": "Optical, 3x; Digital, up to 15x", + "cell": ["GSM", "CDMA", "HSPA", "EVDO", "LTE", "5G"] + }, + { + "id": "apple-iphone-13-pro-max-512gb-graphite", + "category": "phones", + "namespaceId": "apple-iphone-13-pro-max", + "name": "Apple iPhone 13 Pro Max 512GB Graphite", + "capacityAvailable": ["128GB", "256GB", "512GB", "1TB"], + "capacity": "512GB", + "priceRegular": 1426, + "priceDiscount": 1371, + "colorsAvailable": ["graphite", "gold", "sierrablue"], + "color": "graphite", + "images": [ + "img/phones/apple-iphone-13-pro-max/graphite/00.webp", + "img/phones/apple-iphone-13-pro-max/graphite/01.webp", + "img/phones/apple-iphone-13-pro-max/graphite/02.webp", + "img/phones/apple-iphone-13-pro-max/graphite/03.webp" + ], + "description": [ + { + "title": "The Ultimate Pro Camera System", + "text": [ + "Introducing the first pro camera system that's also an iPhone — delivering 3x optical zoom, macro photography, Night mode portraits, and a new ProRes format for the highest-quality video ever in a smartphone. Get ready to shoot like a pro." + ] + }, + { + "title": "Cinematic Mode", + "text": [ + "Film like a pro with exclusive access to the depth-of-field effect of Cinema mode, now on both the Wide and Telephoto cameras. Add focus transitions for a creative look, and easily switch between cameras to capture more of the moment." + ] + }, + { + "title": "A15 Bionic", + "text": [ + "A15 Bionic is the fastest chip ever in a smartphone. It powers incredible experiences in photography, video, gaming, and more — all while delivering great battery life. And it enables the most advanced machine learning capabilities in any smartphone for next-level experiences." + ] + }, + { + "title": "ProMotion", + "text": [ + "ProMotion technology automatically adjusts the display to the movement on your screen, for more fluid scrolling, greater responsiveness, and smoother motion — and a battery that lasts all day." + ] + } + ], + "screen": "6.7' Super Retina XDR display", + "resolution": "2778x1284", + "processor": "Apple A15 Bionic", + "ram": "6GB", + "camera": "12 Mp + 12 Mp + 12 Mp", + "zoom": "Optical, 3x; Digital, up to 15x", + "cell": ["GSM", "CDMA", "HSPA", "EVDO", "LTE", "5G"] + }, + { + "id": "apple-iphone-13-pro-max-1tb-graphite", + "category": "phones", + "namespaceId": "apple-iphone-13-pro-max", + "name": "Apple iPhone 13 Pro Max 1TB Graphite", + "capacityAvailable": ["128GB", "256GB", "512GB", "1TB"], + "capacity": "1TB", + "priceRegular": 1700, + "priceDiscount": 1540, + "colorsAvailable": ["graphite", "gold", "sierrablue"], + "color": "graphite", + "images": [ + "img/phones/apple-iphone-13-pro-max/graphite/00.webp", + "img/phones/apple-iphone-13-pro-max/graphite/01.webp", + "img/phones/apple-iphone-13-pro-max/graphite/02.webp", + "img/phones/apple-iphone-13-pro-max/graphite/03.webp" + ], + "description": [ + { + "title": "And then was a Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' OLED (Super Retina XDR)", + "resolution": "2556x1179", + "processor": "Apple A16 Bionic", + "ram": "6GB", + "camera": "48 Mp + 12 Mp + 12MP + 12Mp", + "zoom": "Digital 5x, Optical 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE", "5G"] + }, + { + "id": "apple-iphone-13-pro-max-128gb-gold", + "category": "phones", + "namespaceId": "apple-iphone-13-pro-max", + "name": "Apple iPhone 13 Pro Max 128GB Gold", + "capacityAvailable": ["128GB", "256GB", "512GB", "1TB"], + "capacity": "128GB", + "priceRegular": 1286, + "priceDiscount": 1260, + "colorsAvailable": ["graphite", "gold", "sierrablue"], + "color": "gold", + "images": [ + "img/phones/apple-iphone-13-pro-max/gold/00.webp", + "img/phones/apple-iphone-13-pro-max/gold/01.webp", + "img/phones/apple-iphone-13-pro-max/gold/02.webp", + "img/phones/apple-iphone-13-pro-max/gold/03.webp" + ], + "description": [ + { + "title": "The Ultimate Pro Camera System", + "text": [ + "Introducing the first pro camera system that's also an iPhone — delivering 3x optical zoom, macro photography, Night mode portraits, and a new ProRes format for the highest-quality video ever in a smartphone. Get ready to shoot like a pro." + ] + }, + { + "title": "Cinematic Mode", + "text": [ + "Film like a pro with exclusive access to the depth-of-field effect of Cinema mode, now on both the Wide and Telephoto cameras. Add focus transitions for a creative look, and easily switch between cameras to capture more of the moment." + ] + }, + { + "title": "A15 Bionic", + "text": [ + "A15 Bionic is the fastest chip ever in a smartphone. It powers incredible experiences in photography, video, gaming, and more — all while delivering great battery life. And it enables the most advanced machine learning capabilities in any smartphone for next-level experiences." + ] + }, + { + "title": "ProMotion", + "text": [ + "ProMotion technology automatically adjusts the display to the movement on your screen, for more fluid scrolling, greater responsiveness, and smoother motion — and a battery that lasts all day." + ] + } + ], + "screen": "6.7' Super Retina XDR display", + "resolution": "2778x1284", + "processor": "Apple A15 Bionic", + "ram": "6GB", + "camera": "12 Mp + 12 Mp + 12 Mp", + "zoom": "Optical, 3x; Digital, up to 15x", + "cell": ["GSM", "CDMA", "HSPA", "EVDO", "LTE", "5G"] + }, + { + "id": "apple-iphone-13-pro-max-256gb-gold", + "category": "phones", + "namespaceId": "apple-iphone-13-pro-max", + "name": "Apple iPhone 13 Pro Max 256GB Gold", + "capacityAvailable": ["128GB", "256GB", "512GB", "1TB"], + "capacity": "256GB", + "priceRegular": 1399, + "priceDiscount": 1379, + "colorsAvailable": ["graphite", "gold", "sierrablue"], + "color": "gold", + "images": [ + "img/phones/apple-iphone-13-pro-max/gold/00.webp", + "img/phones/apple-iphone-13-pro-max/gold/01.webp", + "img/phones/apple-iphone-13-pro-max/gold/02.webp", + "img/phones/apple-iphone-13-pro-max/gold/03.webp" + ], + "description": [ + { + "title": "The Ultimate Pro Camera System", + "text": [ + "Introducing the first pro camera system that's also an iPhone — delivering 3x optical zoom, macro photography, Night mode portraits, and a new ProRes format for the highest-quality video ever in a smartphone. Get ready to shoot like a pro." + ] + }, + { + "title": "Cinematic Mode", + "text": [ + "Film like a pro with exclusive access to the depth-of-field effect of Cinema mode, now on both the Wide and Telephoto cameras. Add focus transitions for a creative look, and easily switch between cameras to capture more of the moment." + ] + }, + { + "title": "A15 Bionic", + "text": [ + "A15 Bionic is the fastest chip ever in a smartphone. It powers incredible experiences in photography, video, gaming, and more — all while delivering great battery life. And it enables the most advanced machine learning capabilities in any smartphone for next-level experiences." + ] + }, + { + "title": "ProMotion", + "text": [ + "ProMotion technology automatically adjusts the display to the movement on your screen, for more fluid scrolling, greater responsiveness, and smoother motion — and a battery that lasts all day." + ] + } + ], + "screen": "6.7' Super Retina XDR display", + "resolution": "2778x1284", + "processor": "Apple A15 Bionic", + "ram": "6GB", + "camera": "12 Mp + 12 Mp + 12 Mp", + "zoom": "Optical, 3x; Digital, up to 15x", + "cell": ["GSM", "CDMA", "HSPA", "EVDO", "LTE", "5G"] + }, + { + "id": "apple-iphone-13-pro-max-512gb-gold", + "category": "phones", + "namespaceId": "apple-iphone-13-pro-max", + "name": "Apple iPhone 13 Pro Max 512GB Gold", + "capacityAvailable": ["128GB", "256GB", "512GB", "1TB"], + "capacity": "512GB", + "priceRegular": 1426, + "priceDiscount": 1371, + "colorsAvailable": ["graphite", "gold", "sierrablue"], + "color": "gold", + "images": [ + "img/phones/apple-iphone-13-pro-max/gold/00.webp", + "img/phones/apple-iphone-13-pro-max/gold/01.webp", + "img/phones/apple-iphone-13-pro-max/gold/02.webp", + "img/phones/apple-iphone-13-pro-max/gold/03.webp" + ], + "description": [ + { + "title": "The Ultimate Pro Camera System", + "text": [ + "Introducing the first pro camera system that's also an iPhone — delivering 3x optical zoom, macro photography, Night mode portraits, and a new ProRes format for the highest-quality video ever in a smartphone. Get ready to shoot like a pro." + ] + }, + { + "title": "Cinematic Mode", + "text": [ + "Film like a pro with exclusive access to the depth-of-field effect of Cinema mode, now on both the Wide and Telephoto cameras. Add focus transitions for a creative look, and easily switch between cameras to capture more of the moment." + ] + }, + { + "title": "A15 Bionic", + "text": [ + "A15 Bionic is the fastest chip ever in a smartphone. It powers incredible experiences in photography, video, gaming, and more — all while delivering great battery life. And it enables the most advanced machine learning capabilities in any smartphone for next-level experiences." + ] + }, + { + "title": "ProMotion", + "text": [ + "ProMotion technology automatically adjusts the display to the movement on your screen, for more fluid scrolling, greater responsiveness, and smoother motion — and a battery that lasts all day." + ] + } + ], + "screen": "6.7' Super Retina XDR display", + "resolution": "2778x1284", + "processor": "Apple A15 Bionic", + "ram": "6GB", + "camera": "12 Mp + 12 Mp + 12 Mp", + "zoom": "Optical, 3x; Digital, up to 15x", + "cell": ["GSM", "CDMA", "HSPA", "EVDO", "LTE", "5G"] + }, + { + "id": "apple-iphone-13-pro-max-1tb-gold", + "category": "phones", + "namespaceId": "apple-iphone-13-pro-max", + "name": "Apple iPhone 13 Pro Max 1TB Gold", + "capacityAvailable": ["128GB", "256GB", "512GB", "1TB"], + "capacity": "1TB", + "priceRegular": 1700, + "priceDiscount": 1540, + "colorsAvailable": ["graphite", "gold", "sierrablue"], + "color": "gold", + "images": [ + "img/phones/apple-iphone-13-pro-max/gold/00.webp", + "img/phones/apple-iphone-13-pro-max/gold/01.webp", + "img/phones/apple-iphone-13-pro-max/gold/02.webp", + "img/phones/apple-iphone-13-pro-max/gold/03.webp" + ], + "description": [ + { + "title": "And then was a Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' OLED (Super Retina XDR)", + "resolution": "2556x1179", + "processor": "Apple A16 Bionic", + "ram": "6GB", + "camera": "48 Mp + 12 Mp + 12MP + 12Mp", + "zoom": "Digital 5x, Optical 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE", "5G"] + }, + { + "id": "apple-iphone-14-pro-128gb-gold", + "category": "phones", + "namespaceId": "apple-iphone-14-pro", + "name": "Apple iPhone 14 Pro 128GB Space Black", + "capacityAvailable": ["128GB", "256GB", "512GB", "1TB"], + "capacity": "128GB", + "priceRegular": 1056, + "priceDiscount": 980, + "colorsAvailable": ["spaceblack", "gold"], + "color": "gold", + "images": [ + "img/phones/apple-iphone-14-pro/gold/00.webp", + "img/phones/apple-iphone-14-pro/gold/01.webp", + "img/phones/apple-iphone-14-pro/gold/02.webp", + "img/phones/apple-iphone-14-pro/gold/03.webp", + "img/phones/apple-iphone-14-pro/gold/04.webp" + ], + "description": [ + { + "title": "And then was a Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' OLED (Super Retina XDR)", + "resolution": "2556x1179", + "processor": "Apple A16 Bionic", + "ram": "6GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital 5x, Optical 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE", "5G"] + }, + { + "id": "apple-iphone-14-pro-256gb-gold", + "category": "phones", + "namespaceId": "apple-iphone-14-pro", + "name": "Apple iPhone 14 Pro 256GB Space Black", + "capacityAvailable": ["128GB", "256GB", "512GB", "1TB"], + "capacity": "256GB", + "priceRegular": 1200, + "priceDiscount": 1160, + "colorsAvailable": ["spaceblack", "gold"], + "color": "gold", + "images": [ + "img/phones/apple-iphone-14-pro/gold/00.webp", + "img/phones/apple-iphone-14-pro/gold/01.webp", + "img/phones/apple-iphone-14-pro/gold/02.webp", + "img/phones/apple-iphone-14-pro/gold/03.webp", + "img/phones/apple-iphone-14-pro/gold/04.webp" + ], + "description": [ + { + "title": "And then was a Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' OLED (Super Retina XDR)", + "resolution": "2556x1179", + "processor": "Apple A16 Bionic", + "ram": "6GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital 5x, Optical 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE", "5G"] + }, + { + "id": "apple-iphone-14-pro-512gb-gold", + "category": "phones", + "namespaceId": "apple-iphone-14-pro", + "name": "Apple iPhone 14 Pro 512GB Space Black", + "capacityAvailable": ["128GB", "256GB", "512GB", "1TB"], + "capacity": "512GB", + "priceRegular": 1466, + "priceDiscount": 1378, + "colorsAvailable": ["spaceblack", "gold"], + "color": "gold", + "images": [ + "img/phones/apple-iphone-14-pro/gold/00.webp", + "img/phones/apple-iphone-14-pro/gold/01.webp", + "img/phones/apple-iphone-14-pro/gold/02.webp", + "img/phones/apple-iphone-14-pro/gold/03.webp", + "img/phones/apple-iphone-14-pro/gold/04.webp" + ], + "description": [ + { + "title": "And then was a Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' OLED (Super Retina XDR)", + "resolution": "2556x1179", + "processor": "Apple A16 Bionic", + "ram": "6GB", + "camera": "12 Mp + 12 Mp + 12MP", + "zoom": "Digital 5x, Optical 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE", "5G"] + }, + { + "id": "apple-iphone-14-pro-1tb-gold", + "category": "phones", + "namespaceId": "apple-iphone-14-pro", + "name": "Apple iPhone 14 Pro 1TB Space Black", + "capacityAvailable": ["128GB", "256GB", "512GB", "1TB"], + "capacity": "1TB", + "priceRegular": 1740, + "priceDiscount": 1520, + "colorsAvailable": ["spaceblack", "gold"], + "color": "gold", + "images": [ + "img/phones/apple-iphone-14-pro/gold/00.webp", + "img/phones/apple-iphone-14-pro/gold/01.webp", + "img/phones/apple-iphone-14-pro/gold/02.webp", + "img/phones/apple-iphone-14-pro/gold/03.webp", + "img/phones/apple-iphone-14-pro/gold/04.webp" + ], + "description": [ + { + "title": "And then was a Pro", + "text": [ + "A transformative triple-camera system that adds tons of capability without complexity.", + "An unprecedented leap in battery life. And a mind-blowing chip that doubles down on machine learning and pushes the boundaries of what a smartphone can do. Welcome to the first iPhone powerful enough to be called Pro." + ] + }, + { + "title": "Camera", + "text": [ + "Meet the first triple-camera system to combine cutting-edge technology with the legendary simplicity of iPhone. Capture up to four times more scene. Get beautiful images in drastically lower light. Shoot the highest-quality video in a smartphone — then edit with the same tools you love for photos. You’ve never shot with anything like it." + ] + }, + { + "title": "Shoot it. Flip it. Zoom it. Crop it. Cut it. Light it. Tweak it. Love it.", + "text": [ + "iPhone 11 Pro lets you capture videos that are beautifully true to life, with greater detail and smoother motion. Epic processing power means it can shoot 4K video with extended dynamic range and cinematic video stabilization — all at 60 fps. You get more creative control, too, with four times more scene and powerful new editing tools to play with." + ] + } + ], + "screen": "6.1' OLED (Super Retina XDR)", + "resolution": "2556x1179", + "processor": "Apple A16 Bionic", + "ram": "6GB", + "camera": "48 Mp + 12 Mp + 12MP + 12Mp", + "zoom": "Digital 5x, Optical 2x", + "cell": ["GPRS", "EDGE", "WCDMA", "UMTS", "HSPA", "LTE", "5G"] + } +] diff --git a/src/api/products.json b/src/api/products.json new file mode 100644 index 0000000000..4ff8e65b81 --- /dev/null +++ b/src/api/products.json @@ -0,0 +1,2718 @@ +[ + { + "id": 1, + "category": "phones", + "itemId": "apple-iphone-7-32gb-black", + "name": "Apple iPhone 7 32GB Black", + "fullPrice": 400, + "price": 375, + "screen": "4.7' IPS", + "capacity": "32GB", + "color": "black", + "ram": "2GB", + "year": 2016, + "image": "img/phones/apple-iphone-7/black/00.webp" + }, + { + "id": 2, + "category": "phones", + "itemId": "apple-iphone-7-plus-32gb-black", + "name": "Apple iPhone 7 Plus 32GB Black", + "fullPrice": 540, + "price": 500, + "screen": "5.5' IPS", + "capacity": "32GB", + "color": "black", + "ram": "3GB", + "year": 2016, + "image": "img/phones/apple-iphone-7-plus/black/00.webp" + }, + { + "id": 3, + "category": "phones", + "itemId": "apple-iphone-8-64gb-gold", + "name": "Apple iPhone 8 64GB Gold", + "fullPrice": 600, + "price": 550, + "screen": "4.7' IPS", + "capacity": "64GB", + "color": "gold", + "ram": "2GB", + "year": 2017, + "image": "img/phones/apple-iphone-8/gold/00.webp" + }, + { + "id": 4, + "category": "phones", + "itemId": "apple-iphone-11-64gb-black", + "name": "Apple iPhone 11 64GB Black", + "fullPrice": 932, + "price": 880, + "screen": "6.1' IPS", + "capacity": "64GB", + "color": "black", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11/black/00.webp" + }, + { + "id": 5, + "category": "phones", + "itemId": "apple-iphone-11-128gb-yellow", + "name": "Apple iPhone 11 128GB Yellow", + "fullPrice": 1100, + "price": 1050, + "screen": "6.1' IPS", + "capacity": "128GB", + "color": "yellow", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11/yellow/00.webp" + }, + { + "id": 6, + "category": "phones", + "itemId": "apple-iphone-11-256gb-green", + "name": "Apple iPhone 11 256GB Green", + "fullPrice": 1172, + "price": 1115, + "screen": "6.1' IPS", + "capacity": "256GB", + "color": "green", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11/green/00.webp" + }, + { + "id": 7, + "category": "phones", + "itemId": "apple-iphone-11-pro-64gb-gold", + "name": "Apple iPhone 11 Pro 64GB Gold", + "fullPrice": 1312, + "price": 1270, + "screen": "5.8' OLED", + "capacity": "64GB", + "color": "gold", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11-pro/gold/00.webp" + }, + { + "id": 8, + "category": "phones", + "itemId": "apple-iphone-11-pro-256gb-midnightgreen", + "name": "Apple iPhone 11 Pro 256GB Midnight green", + "fullPrice": 1640, + "price": 1570, + "screen": "5.8' OLED", + "capacity": "256GB", + "color": "midnightgreen", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11-pro/midnightgreen/00.webp" + }, + { + "id": 9, + "category": "phones", + "itemId": "apple-iphone-11-pro-512gb-silver", + "name": "Apple iPhone 11 Pro 512GB Silver", + "fullPrice": 1880, + "price": 1780, + "screen": "5.8' OLED", + "capacity": "512GB", + "color": "silver", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11-pro/silver/00.webp" + }, + { + "id": 10, + "category": "phones", + "itemId": "apple-iphone-11-pro-max-64gb-spacegray", + "name": "Apple iPhone 11 Pro Max 64GB Spacegray", + "fullPrice": 1480, + "price": 1400, + "screen": "6.5' OLED", + "capacity": "64GB", + "color": "spacegray", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11-pro-max/spacegray/00.webp" + }, + { + "id": 11, + "category": "phones", + "itemId": "apple-iphone-11-pro-max-256gb-gold", + "name": "Apple iPhone 11 Pro Max 256GB Gold", + "fullPrice": 1776, + "price": 1680, + "screen": "6.5' OLED", + "capacity": "256GB", + "color": "gold", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11-pro-max/gold/00.webp" + }, + { + "id": 12, + "category": "phones", + "itemId": "apple-iphone-11-pro-max-512gb-spacegray", + "name": "Apple iPhone 11 Pro Max 512GB Spacegray", + "fullPrice": 2020, + "price": 1930, + "screen": "6.5' OLED", + "capacity": "512GB", + "color": "spacegray", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11-pro-max/spacegray/00.webp" + }, + { + "id": 13, + "category": "phones", + "itemId": "apple-iphone-xr-64gb-red", + "name": "Apple iPhone XR 64GB Red", + "fullPrice": 712, + "price": 670, + "screen": "6.1' IPS", + "capacity": "64GB", + "color": "red", + "ram": "3GB", + "year": 2018, + "image": "img/phones/apple-iphone-xr/red/00.webp" + }, + { + "id": 14, + "category": "phones", + "itemId": "apple-iphone-xr-128gb-white", + "name": "Apple iPhone XR 128GB White", + "fullPrice": 880, + "price": 815, + "screen": "6.1' IPS", + "capacity": "128GB", + "color": "white", + "ram": "3GB", + "year": 2018, + "image": "img/phones/apple-iphone-xr/white/00.webp" + }, + { + "id": 15, + "category": "phones", + "itemId": "apple-iphone-xs-64gb-spacegray", + "name": "Apple iPhone XS 64GB Spacegray", + "fullPrice": 760, + "price": 720, + "screen": "5.8' OLED", + "capacity": "64GB", + "color": "spacegray", + "ram": "4GB", + "year": 2018, + "image": "img/phones/apple-iphone-xs/spacegray/00.webp" + }, + { + "id": 16, + "category": "phones", + "itemId": "apple-iphone-xs-max-64gb-gold", + "name": "Apple iPhone XS Max 64GB Gold", + "fullPrice": 960, + "price": 900, + "screen": "6.5' OLED", + "capacity": "64GB", + "color": "gold", + "ram": "4GB", + "year": 2018, + "image": "img/phones/apple-iphone-xs-max/gold/00.webp" + }, + { + "id": 17, + "category": "phones", + "itemId": "apple-iphone-xs-max-256gb-silver", + "name": "Apple iPhone XS Max 256GB Silver", + "fullPrice": 1080, + "price": 1000, + "screen": "6.5' OLED", + "capacity": "256GB", + "color": "silver", + "ram": "4GB", + "year": 2018, + "image": "img/phones/apple-iphone-xs-max/silver/00.webp" + }, + { + "id": 18, + "category": "phones", + "itemId": "apple-iphone-7-32gb-gold", + "name": "Apple iPhone 7 32GB Gold", + "fullPrice": 400, + "price": 375, + "screen": "4.7' IPS", + "capacity": "32GB", + "color": "gold", + "ram": "2GB", + "year": 2016, + "image": "img/phones/apple-iphone-7/gold/00.webp" + }, + { + "id": 19, + "category": "phones", + "itemId": "apple-iphone-7-plus-32gb-silver", + "name": "Apple iPhone 7 Plus 32GB Silver", + "fullPrice": 540, + "price": 500, + "screen": "5.5' IPS", + "capacity": "32GB", + "color": "silver", + "ram": "3GB", + "year": 2016, + "image": "img/phones/apple-iphone-7-plus/silver/00.webp" + }, + { + "id": 20, + "category": "phones", + "itemId": "apple-iphone-8-64gb-spacegray", + "name": "Apple iPhone 8 64GB Space Gray", + "fullPrice": 600, + "price": 550, + "screen": "4.7' IPS", + "capacity": "64GB", + "color": "spacegray", + "ram": "2GB", + "year": 2017, + "image": "img/phones/apple-iphone-8/spacegray/00.webp" + }, + { + "id": 21, + "category": "phones", + "itemId": "apple-iphone-11-64gb-green", + "name": "Apple iPhone 11 64GB Green", + "fullPrice": 932, + "price": 880, + "screen": "6.1' IPS", + "capacity": "64GB", + "color": "green", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11/green/00.webp" + }, + { + "id": 22, + "category": "phones", + "itemId": "apple-iphone-11-128gb-purple", + "name": "Apple iPhone 11 128GB Purple", + "fullPrice": 1100, + "price": 1050, + "screen": "6.1' IPS", + "capacity": "128GB", + "color": "purple", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11/purple/00.webp" + }, + { + "id": 23, + "category": "phones", + "itemId": "apple-iphone-11-256gb-yellow", + "name": "Apple iPhone 11 256GB Yellow", + "fullPrice": 1172, + "price": 1115, + "screen": "6.1' IPS", + "capacity": "256GB", + "color": "yellow", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11/yellow/00.webp" + }, + { + "id": 24, + "category": "phones", + "itemId": "apple-iphone-11-pro-256gb-gold", + "name": "Apple iPhone 11 Pro 256GB Gold", + "fullPrice": 1640, + "price": 1570, + "screen": "5.8' OLED", + "capacity": "256GB", + "color": "gold", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11-pro/gold/00.webp" + }, + { + "id": 25, + "category": "phones", + "itemId": "apple-iphone-11-pro-512gb-spacegray", + "name": "Apple iPhone 11 Pro 512GB Spacegray", + "fullPrice": 1880, + "price": 1780, + "screen": "5.8' OLED", + "capacity": "512GB", + "color": "spacegray", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11-pro/spacegray/00.webp" + }, + { + "id": 26, + "category": "phones", + "itemId": "apple-iphone-11-pro-max-64gb-silver", + "name": "Apple iPhone 11 Pro Max 64GB Silver", + "fullPrice": 1480, + "price": 1400, + "screen": "6.5' OLED", + "capacity": "64GB", + "color": "silver", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11-pro-max/silver/00.webp" + }, + { + "id": 27, + "category": "phones", + "itemId": "apple-iphone-11-pro-max-256gb-midnightgreen", + "name": "Apple iPhone 11 Pro Max 256GB Midnightgreen", + "fullPrice": 1776, + "price": 1680, + "screen": "6.5' OLED", + "capacity": "256GB", + "color": "midnightgreen", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11-pro-max/midnightgreen/00.webp" + }, + { + "id": 28, + "category": "phones", + "itemId": "apple-iphone-11-pro-max-512gb-silver", + "name": "Apple iPhone 11 Pro Max 512GB Silver", + "fullPrice": 2020, + "price": 1930, + "screen": "6.5' OLED", + "capacity": "512GB", + "color": "silver", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11-pro-max/silver/00.webp" + }, + { + "id": 29, + "category": "phones", + "itemId": "apple-iphone-xr-64gb-white", + "name": "Apple iPhone XR 64GB White", + "fullPrice": 712, + "price": 670, + "screen": "6.1' IPS", + "capacity": "64GB", + "color": "white", + "ram": "3GB", + "year": 2018, + "image": "img/phones/apple-iphone-xr/white/00.webp" + }, + { + "id": 30, + "category": "phones", + "itemId": "apple-iphone-xr-128gb-coral", + "name": "Apple iPhone XR 128GB Coral", + "fullPrice": 880, + "price": 815, + "screen": "6.1' IPS", + "capacity": "128GB", + "color": "coral", + "ram": "3GB", + "year": 2018, + "image": "img/phones/apple-iphone-xr/coral/00.webp" + }, + { + "id": 31, + "category": "phones", + "itemId": "apple-iphone-xs-64gb-gold", + "name": "Apple iPhone XS 64GB Gold", + "fullPrice": 760, + "price": 720, + "screen": "5.8' OLED", + "capacity": "64GB", + "color": "gold", + "ram": "4GB", + "year": 2018, + "image": "img/phones/apple-iphone-xs/gold/00.webp" + }, + { + "id": 32, + "category": "phones", + "itemId": "apple-iphone-xs-256gb-spacegray", + "name": "Apple iPhone XS 256GB Spacegray", + "fullPrice": 960, + "price": 900, + "screen": "5.8' OLED", + "capacity": "256GB", + "color": "spacegray", + "ram": "4GB", + "year": 2018, + "image": "img/phones/apple-iphone-xs/spacegray/00.webp" + }, + { + "id": 33, + "category": "phones", + "itemId": "apple-iphone-xs-max-64gb-silver", + "name": "Apple iPhone XS Max 64GB Silver", + "fullPrice": 960, + "price": 900, + "screen": "6.5' OLED", + "capacity": "64GB", + "color": "silver", + "ram": "4GB", + "year": 2018, + "image": "img/phones/apple-iphone-xs-max/silver/00.webp" + }, + { + "id": 34, + "category": "phones", + "itemId": "apple-iphone-xs-max-256gb-gold", + "name": "Apple iPhone XS Max 256GB Gold", + "fullPrice": 1080, + "price": 1000, + "screen": "6.5' OLED", + "capacity": "256GB", + "color": "gold", + "ram": "4GB", + "year": 2018, + "image": "img/phones/apple-iphone-xs-max/gold/00.webp" + }, + { + "id": 35, + "category": "phones", + "itemId": "apple-iphone-7-32gb-rosegold", + "name": "Apple iPhone 7 32GB Rosegold", + "fullPrice": 400, + "price": 375, + "screen": "4.7' IPS", + "capacity": "32GB", + "color": "rosegold", + "ram": "2GB", + "year": 2016, + "image": "img/phones/apple-iphone-7/rosegold/00.webp" + }, + { + "id": 36, + "category": "phones", + "itemId": "apple-iphone-11-64gb-purple", + "name": "Apple iPhone 11 64GB Purple", + "fullPrice": 932, + "price": 880, + "screen": "6.1' IPS", + "capacity": "64GB", + "color": "purple", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11/purple/00.webp" + }, + { + "id": 37, + "category": "phones", + "itemId": "apple-iphone-11-64gb-red", + "name": "Apple iPhone 11 64GB Red", + "fullPrice": 932, + "price": 880, + "screen": "6.1' IPS", + "capacity": "64GB", + "color": "red", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11/red/00.webp" + }, + { + "id": 38, + "category": "phones", + "itemId": "apple-iphone-11-128gb-black", + "name": "Apple iPhone 11 128GB Black", + "fullPrice": 1100, + "price": 1050, + "screen": "6.1' IPS", + "capacity": "128GB", + "color": "black", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11/black/00.webp" + }, + { + "id": 39, + "category": "phones", + "itemId": "apple-iphone-11-256gb-red", + "name": "Apple iPhone 11 256GB Red", + "fullPrice": 1172, + "price": 1115, + "screen": "6.1' IPS", + "capacity": "256GB", + "color": "red", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11/red/00.webp" + }, + { + "id": 40, + "category": "phones", + "itemId": "apple-iphone-11-pro-64gb-midnightgreen", + "name": "Apple iPhone 11 Pro 64GB Midnight green", + "fullPrice": 1312, + "price": 1270, + "screen": "5.8' OLED", + "capacity": "64GB", + "color": "midnightgreen", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11-pro/midnightgreen/00.webp" + }, + { + "id": 41, + "category": "phones", + "itemId": "apple-iphone-11-pro-256gb-silver", + "name": "Apple iPhone 11 Pro 256GB Silver", + "fullPrice": 1640, + "price": 1570, + "screen": "5.8' OLED", + "capacity": "256GB", + "color": "silver", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11-pro/silver/00.webp" + }, + { + "id": 42, + "category": "phones", + "itemId": "apple-iphone-11-pro-512gb-gold", + "name": "Apple iPhone 11 Pro 512GB Gold", + "fullPrice": 1880, + "price": 1780, + "screen": "5.8' OLED", + "capacity": "512GB", + "color": "gold", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11-pro/gold/00.webp" + }, + { + "id": 43, + "category": "phones", + "itemId": "apple-iphone-11-pro-max-64gb-midnightgreen", + "name": "Apple iPhone 11 Pro Max 64GB Midnightgreen", + "fullPrice": 1480, + "price": 1400, + "screen": "6.5' OLED", + "capacity": "64GB", + "color": "midnightgreen", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11-pro-max/midnightgreen/00.webp" + }, + { + "id": 44, + "category": "phones", + "itemId": "apple-iphone-11-pro-max-256gb-spacegray", + "name": "Apple iPhone 11 Pro Max 256GB Spacegray", + "fullPrice": 1776, + "price": 1680, + "screen": "6.5' OLED", + "capacity": "256GB", + "color": "spacegray", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11-pro-max/spacegray/00.webp" + }, + { + "id": 45, + "category": "phones", + "itemId": "apple-iphone-xr-64gb-coral", + "name": "Apple iPhone XR 64GB Coral", + "fullPrice": 712, + "price": 670, + "screen": "6.1' IPS", + "capacity": "64GB", + "color": "coral", + "ram": "3GB", + "year": 2018, + "image": "img/phones/apple-iphone-xr/coral/00.webp" + }, + { + "id": 46, + "category": "phones", + "itemId": "apple-iphone-xr-128gb-red", + "name": "Apple iPhone XR 128GB Red", + "fullPrice": 880, + "price": 815, + "screen": "6.1' IPS", + "capacity": "128GB", + "color": "red", + "ram": "3GB", + "year": 2018, + "image": "img/phones/apple-iphone-xr/red/00.webp" + }, + { + "id": 47, + "category": "phones", + "itemId": "apple-iphone-xs-256gb-gold", + "name": "Apple iPhone XS 256GB Gold", + "fullPrice": 960, + "price": 900, + "screen": "5.8' OLED", + "capacity": "256GB", + "color": "gold", + "ram": "4GB", + "year": 2018, + "image": "img/phones/apple-iphone-xs/gold/00.webp" + }, + { + "id": 48, + "category": "phones", + "itemId": "apple-iphone-xs-max-64gb-spacegray", + "name": "Apple iPhone XS Max 64GB Spacegray", + "fullPrice": 960, + "price": 900, + "screen": "6.5' OLED", + "capacity": "64GB", + "color": "spacegray", + "ram": "4GB", + "year": 2018, + "image": "img/phones/apple-iphone-xs-max/spacegray/00.webp" + }, + { + "id": 49, + "category": "phones", + "itemId": "apple-iphone-7-plus-32gb-rosegold", + "name": "Apple iPhone 7 Plus 32GB Rosegold", + "fullPrice": 540, + "price": 500, + "screen": "5.5' IPS", + "capacity": "32GB", + "color": "rosegold", + "ram": "3GB", + "year": 2016, + "image": "img/phones/apple-iphone-7-plus/rosegold/00.webp" + }, + { + "id": 50, + "category": "phones", + "itemId": "apple-iphone-11-64gb-white", + "name": "Apple iPhone 11 64GB White", + "fullPrice": 932, + "price": 880, + "screen": "6.1' IPS", + "capacity": "64GB", + "color": "white", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11/white/00.webp" + }, + { + "id": 51, + "category": "phones", + "itemId": "apple-iphone-11-128gb-green", + "name": "Apple iPhone 11 128GB Green", + "fullPrice": 1100, + "price": 1050, + "screen": "6.1' IPS", + "capacity": "128GB", + "color": "green", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11/green/00.webp" + }, + { + "id": 52, + "category": "phones", + "itemId": "apple-iphone-11-128gb-white", + "name": "Apple iPhone 11 128GB White", + "fullPrice": 1100, + "price": 1050, + "screen": "6.1' IPS", + "capacity": "128GB", + "color": "white", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11/white/00.webp" + }, + { + "id": 53, + "category": "phones", + "itemId": "apple-iphone-11-256gb-black", + "name": "Apple iPhone 11 256GB Black", + "fullPrice": 1172, + "price": 1115, + "screen": "6.1' IPS", + "capacity": "256GB", + "color": "black", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11/black/00.webp" + }, + { + "id": 54, + "category": "phones", + "itemId": "apple-iphone-11-256gb-white", + "name": "Apple iPhone 11 256GB White", + "fullPrice": 1172, + "price": 1115, + "screen": "6.1' IPS", + "capacity": "256GB", + "color": "white", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11/white/00.webp" + }, + { + "id": 55, + "category": "phones", + "itemId": "apple-iphone-11-pro-64gb-spacegray", + "name": "Apple iPhone 11 Pro 64GB Spacegray", + "fullPrice": 1312, + "price": 1270, + "screen": "5.8' OLED", + "capacity": "64GB", + "color": "spacegray", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11-pro/spacegray/00.webp" + }, + { + "id": 56, + "category": "phones", + "itemId": "apple-iphone-11-pro-512gb-midnightgreen", + "name": "Apple iPhone 11 Pro 512GB Midnight green", + "fullPrice": 1880, + "price": 1780, + "screen": "5.8' OLED", + "capacity": "512GB", + "color": "midnightgreen", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11-pro/midnightgreen/00.webp" + }, + { + "id": 57, + "category": "phones", + "itemId": "apple-iphone-11-pro-max-64gb-gold", + "name": "Apple iPhone 11 Pro Max 64GB Gold", + "fullPrice": 1480, + "price": 1400, + "screen": "6.5' OLED", + "capacity": "64GB", + "color": "gold", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11-pro-max/gold/00.webp" + }, + { + "id": 58, + "category": "phones", + "itemId": "apple-iphone-11-pro-max-256gb-silver", + "name": "Apple iPhone 11 Pro Max 256GB Silver", + "fullPrice": 1776, + "price": 1680, + "screen": "6.5' OLED", + "capacity": "256GB", + "color": "silver", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11-pro-max/silver/00.webp" + }, + { + "id": 59, + "category": "phones", + "itemId": "apple-iphone-11-pro-max-512gb-midnightgreen", + "name": "Apple iPhone 11 Pro Max 512GB Midnightgreen", + "fullPrice": 2020, + "price": 1930, + "screen": "6.5' OLED", + "capacity": "512GB", + "color": "midnightgreen", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11-pro-max/midnightgreen/00.webp" + }, + { + "id": 60, + "category": "phones", + "itemId": "apple-iphone-xr-128gb-yellow", + "name": "Apple iPhone XR 128GB Yellow", + "fullPrice": 880, + "price": 815, + "screen": "6.1' IPS", + "capacity": "128GB", + "color": "yellow", + "ram": "3GB", + "year": 2018, + "image": "img/phones/apple-iphone-xr/yellow/00.webp" + }, + { + "id": 61, + "category": "phones", + "itemId": "apple-iphone-7-32gb-silver", + "name": "Apple iPhone 7 32GB Silver", + "fullPrice": 400, + "price": 375, + "screen": "4.7' IPS", + "capacity": "32GB", + "color": "silver", + "ram": "2GB", + "year": 2016, + "image": "img/phones/apple-iphone-7/silver/00.webp" + }, + { + "id": 62, + "category": "phones", + "itemId": "apple-iphone-11-256gb-purple", + "name": "Apple iPhone 11 256GB Purple", + "fullPrice": 1172, + "price": 1115, + "screen": "6.1' IPS", + "capacity": "256GB", + "color": "purple", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11/purple/00.webp" + }, + { + "id": 63, + "category": "phones", + "itemId": "apple-iphone-11-pro-max-512gb-gold", + "name": "Apple iPhone 11 Pro Max 512GB Gold", + "fullPrice": 2020, + "price": 1930, + "screen": "6.5' OLED", + "capacity": "512GB", + "color": "gold", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11-pro-max/gold/00.webp" + }, + { + "id": 64, + "category": "phones", + "itemId": "apple-iphone-11-64gb-yellow", + "name": "Apple iPhone 11 64GB Yellow", + "fullPrice": 932, + "price": 880, + "screen": "6.1' IPS", + "capacity": "64GB", + "color": "yellow", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11/yellow/00.webp" + }, + { + "id": 65, + "category": "phones", + "itemId": "apple-iphone-11-pro-256gb-spacegray", + "name": "Apple iPhone 11 Pro 256GB Spacegray", + "fullPrice": 1640, + "price": 1570, + "screen": "5.8' OLED", + "capacity": "256GB", + "color": "spacegray", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11-pro/spacegray/00.webp" + }, + { + "id": 66, + "category": "phones", + "itemId": "apple-iphone-8-64gb-silver", + "name": "Apple iPhone 8 64GB Silver", + "fullPrice": 600, + "price": 550, + "screen": "4.7' IPS", + "capacity": "64GB", + "color": "silver", + "ram": "2GB", + "year": 2017, + "image": "img/phones/apple-iphone-8/silver/00.webp" + }, + { + "id": 67, + "category": "phones", + "itemId": "apple-iphone-11-128gb-red", + "name": "Apple iPhone 11 128GB Red", + "fullPrice": 1100, + "price": 1050, + "screen": "6.1' IPS", + "capacity": "128GB", + "color": "red", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11/red/00.webp" + }, + { + "id": 68, + "category": "phones", + "itemId": "apple-iphone-xs-max-256gb-spacegray", + "name": "Apple iPhone XS Max 256GB Spacegray", + "fullPrice": 1080, + "price": 1000, + "screen": "6.5' OLED", + "capacity": "256GB", + "color": "spacegray", + "ram": "4GB", + "year": 2018, + "image": "img/phones/apple-iphone-xs-max/spacegray/00.webp" + }, + { + "id": 69, + "category": "phones", + "itemId": "apple-iphone-7-plus-32gb-gold", + "name": "Apple iPhone 7 Plus 32GB Gold", + "fullPrice": 540, + "price": 500, + "screen": "5.5' IPS", + "capacity": "32GB", + "color": "gold", + "ram": "3GB", + "year": 2016, + "image": "img/phones/apple-iphone-7-plus/gold/00.webp" + }, + { + "id": 70, + "category": "phones", + "itemId": "apple-iphone-11-pro-64gb-silver", + "name": "Apple iPhone 11 Pro 64GB Silver", + "fullPrice": 1312, + "price": 1270, + "screen": "5.8' OLED", + "capacity": "64GB", + "color": "silver", + "ram": "4GB", + "year": 2019, + "image": "img/phones/apple-iphone-11-pro/silver/00.webp" + }, + { + "id": 71, + "category": "phones", + "itemId": "apple-iphone-xr-64gb-yellow", + "name": "Apple iPhone XR 64GB Yellow", + "fullPrice": 712, + "price": 670, + "screen": "6.1' IPS", + "capacity": "64GB", + "color": "yellow", + "ram": "3GB", + "year": 2018, + "image": "img/phones/apple-iphone-xr/yellow/00.webp" + }, + { + "id": 72, + "category": "phones", + "itemId": "apple-iphone-14-128gb-midnight", + "name": "Apple iPhone 14 128GB Midnight", + "fullPrice": 1056, + "price": 980, + "screen": "6.1' IPS", + "capacity": "32GB", + "color": "midnight", + "ram": "6GB", + "year": 2022, + "image": "img/phones/apple-iphone-14/midnight/00.webp" + }, + { + "id": 73, + "category": "phones", + "itemId": "apple-iphone-14-256gb-midnight", + "name": "Apple iPhone 14 256GB Midnight", + "fullPrice": 1200, + "price": 1120, + "screen": "6.1' IPS", + "capacity": "256GB", + "color": "midnight", + "ram": "6GB", + "year": 2022, + "image": "img/phones/apple-iphone-14/midnight/00.webp" + }, + { + "id": 74, + "category": "phones", + "itemId": "apple-iphone-14-512gb-midnight", + "name": "Apple iPhone 14 512GB Midnight", + "fullPrice": 1500, + "price": 1420, + "screen": "6.1' IPS", + "capacity": "512GB", + "color": "midnight", + "ram": "6GB", + "year": 2022, + "image": "img/phones/apple-iphone-14/midnight/00.webp" + }, + { + "id": 75, + "category": "phones", + "itemId": "apple-iphone-14-128gb-yellow", + "name": "Apple iPhone 14 128GB Yellow", + "fullPrice": 1056, + "price": 980, + "screen": "6.1' IPS", + "capacity": "128GB", + "color": "yellow", + "ram": "6GB", + "year": 2022, + "image": "img/phones/apple-iphone-14/yellow/00.webp" + }, + { + "id": 76, + "category": "phones", + "itemId": "apple-iphone-14-256gb-yellow", + "name": "Apple iPhone 14 256GB Yellow", + "fullPrice": 1200, + "price": 1120, + "screen": "6.1' IPS", + "capacity": "256GB", + "color": "yellow", + "ram": "6GB", + "year": 2022, + "image": "img/phones/apple-iphone-14/yellow/00.webp" + }, + { + "id": 77, + "category": "phones", + "itemId": "apple-iphone-14-512gb-yellow", + "name": "Apple iPhone 14 512GB Yellow", + "fullPrice": 1500, + "price": 1420, + "screen": "6.1' IPS", + "capacity": "512GB", + "color": "yellow", + "ram": "6GB", + "year": 2022, + "image": "img/phones/apple-iphone-14/yellow/00.webp" + }, + { + "id": 78, + "category": "phones", + "itemId": "apple-iphone-14-128gb-purple", + "name": "Apple iPhone 14 128GB Purple", + "fullPrice": 1056, + "price": 980, + "screen": "6.1' IPS", + "capacity": "128GB", + "color": "purple", + "ram": "6GB", + "year": 2022, + "image": "img/phones/apple-iphone-14/purple/00.webp" + }, + { + "id": 79, + "category": "phones", + "itemId": "apple-iphone-14-256gb-purple", + "name": "Apple iPhone 14 256GB Purple", + "fullPrice": 1200, + "price": 1120, + "screen": "6.1' IPS", + "capacity": "256GB", + "color": "purple", + "ram": "6GB", + "year": 2022, + "image": "img/phones/apple-iphone-14/purple/00.webp" + }, + { + "id": 80, + "category": "phones", + "itemId": "apple-iphone-14-512gb-purple", + "name": "Apple iPhone 14 512GB Purple", + "fullPrice": 1500, + "price": 1420, + "screen": "6.1' IPS", + "capacity": "512GB", + "color": "purple", + "ram": "6GB", + "year": 2022, + "image": "img/phones/apple-iphone-14/purple/00.webp" + }, + { + "id": 81, + "category": "phones", + "itemId": "apple-iphone-14-pro-128gb-spaceblack", + "name": "Apple iPhone 14 Pro 128GB Space Black", + "fullPrice": 1156, + "price": 1068, + "screen": "6.1' OLED", + "capacity": "128GB", + "color": "spaceblack", + "ram": "6GB", + "year": 2022, + "image": "img/phones/apple-iphone-14-pro/spaceblack/00.webp" + }, + { + "id": 82, + "category": "phones", + "itemId": "apple-iphone-14-pro-256gb-spaceblack", + "name": "Apple iPhone 14 Pro 256GB Space Black", + "fullPrice": 1300, + "price": 1220, + "screen": "6.1' OLED", + "capacity": "256GB", + "color": "spaceblack", + "ram": "6GB", + "year": 2022, + "image": "img/phones/apple-iphone-14-pro/spaceblack/00.webp" + }, + { + "id": 83, + "category": "phones", + "itemId": "apple-iphone-14-pro-512gb-spaceblack", + "name": "Apple iPhone 14 Pro 512GB Space Black", + "fullPrice": 1600, + "price": 1530, + "screen": "6.1' OLED", + "capacity": "512GB", + "color": "spaceblack", + "ram": "6GB", + "year": 2022, + "image": "img/phones/apple-iphone-14-pro/spaceblack/00.webp" + }, + { + "id": 84, + "category": "phones", + "itemId": "apple-iphone-14-pro-1tb-spaceblack", + "name": "Apple iPhone 14 Pro 1TB Space Black", + "fullPrice": 1740, + "price": 1520, + "screen": "6.1' OLED", + "capacity": "1TB", + "color": "spaceblack", + "ram": "6GB", + "year": 2022, + "image": "img/phones/apple-iphone-14-pro/spaceblack/00.webp" + }, + { + "id": 85, + "category": "phones", + "itemId": "apple-iphone-12-64gb-purple", + "name": "Apple iPhone 12 64GB Purple", + "fullPrice": 810, + "price": 740, + "screen": "6.1' OLED", + "capacity": "64GB", + "color": "purple", + "ram": "4GB", + "year": 2020, + "image": "img/phones/apple-iphone-12/purple/00.webp" + }, + { + "id": 86, + "category": "phones", + "itemId": "apple-iphone-12-128gb-purple", + "name": "Apple iPhone 12 128GB Purple", + "fullPrice": 880, + "price": 800, + "screen": "6.1' OLED", + "capacity": "128GB", + "color": "purple", + "ram": "4GB", + "year": 2020, + "image": "img/phones/apple-iphone-12/purple/00.webp" + }, + { + "id": 87, + "category": "phones", + "itemId": "apple-iphone-12-256gb-purple", + "name": "Apple iPhone 12 256GB Purple", + "fullPrice": 1020, + "price": 940, + "screen": "6.1' OLED", + "capacity": "256GB", + "color": "purple", + "ram": "4GB", + "year": 2020, + "image": "img/phones/apple-iphone-12/purple/00.webp" + }, + { + "id": 88, + "category": "phones", + "itemId": "apple-iphone-12-64gb-white", + "name": "Apple iPhone 12 64GB White", + "fullPrice": 810, + "price": 740, + "screen": "6.1' OLED", + "capacity": "64GB", + "color": "white", + "ram": "4GB", + "year": 2020, + "image": "img/phones/apple-iphone-12/white/00.webp" + }, + { + "id": 89, + "category": "phones", + "itemId": "apple-iphone-12-128gb-white", + "name": "Apple iPhone 12 128GB White", + "fullPrice": 880, + "price": 800, + "screen": "6.1' OLED", + "capacity": "128GB", + "color": "white", + "ram": "4GB", + "year": 2020, + "image": "img/phones/apple-iphone-12/white/00.webp" + }, + { + "id": 90, + "category": "phones", + "itemId": "apple-iphone-12-256gb-white", + "name": "Apple iPhone 12 256GB White", + "fullPrice": 1020, + "price": 940, + "screen": "6.1' OLED", + "capacity": "256GB", + "color": "white", + "ram": "4GB", + "year": 2020, + "image": "img/phones/apple-iphone-12/white/00.webp" + }, + { + "id": 91, + "category": "phones", + "itemId": "apple-iphone-12-64gb-red", + "name": "Apple iPhone 12 64GB Red", + "fullPrice": 810, + "price": 740, + "screen": "6.1' OLED", + "capacity": "64GB", + "color": "red", + "ram": "4GB", + "year": 2020, + "image": "img/phones/apple-iphone-12/red/00.webp" + }, + { + "id": 92, + "category": "phones", + "itemId": "apple-iphone-12-128gb-red", + "name": "Apple iPhone 12 128GB Red", + "fullPrice": 880, + "price": 800, + "screen": "6.1' OLED", + "capacity": "128GB", + "color": "red", + "ram": "4GB", + "year": 2020, + "image": "img/phones/apple-iphone-12/red/00.webp" + }, + { + "id": 93, + "category": "phones", + "itemId": "apple-iphone-12-256gb-red", + "name": "Apple iPhone 12 256GB Red", + "fullPrice": 1020, + "price": 940, + "screen": "6.1' OLED", + "capacity": "256GB", + "color": "red", + "ram": "4GB", + "year": 2020, + "image": "img/phones/apple-iphone-12/red/00.webp" + }, + { + "id": 94, + "category": "phones", + "itemId": "apple-iphone-12-64gb-black", + "name": "Apple iPhone 12 64GB Black", + "fullPrice": 810, + "price": 740, + "screen": "6.1' OLED", + "capacity": "64GB", + "color": "black", + "ram": "4GB", + "year": 2020, + "image": "img/phones/apple-iphone-12/black/00.webp" + }, + { + "id": 95, + "category": "phones", + "itemId": "apple-iphone-12-128gb-black", + "name": "Apple iPhone 12 128GB Black", + "fullPrice": 880, + "price": 800, + "screen": "6.1' OLED", + "capacity": "128GB", + "color": "black", + "ram": "4GB", + "year": 2020, + "image": "img/phones/apple-iphone-12/black/00.webp" + }, + { + "id": 96, + "category": "phones", + "itemId": "apple-iphone-12-256gb-black", + "name": "Apple iPhone 12 256GB Black", + "fullPrice": 1020, + "price": 940, + "screen": "6.1' OLED", + "capacity": "256GB", + "color": "black", + "ram": "4GB", + "year": 2020, + "image": "img/phones/apple-iphone-12/black/00.webp" + }, + { + "id": 97, + "category": "phones", + "itemId": "apple-iphone-13-mini-64gb-blue", + "name": "Apple iPhone 13 Pro 64GB Blue", + "fullPrice": 890, + "price": 760, + "screen": "6.1' OLED", + "capacity": "64GB", + "color": "blue", + "ram": "4GB", + "year": 2020, + "image": "img/phones/apple-iphone-13-mini/blue/00.webp" + }, + { + "id": 98, + "category": "phones", + "itemId": "apple-iphone-13-mini-128gb-blue", + "name": "Apple iPhone 13 Mini 128GB Blue", + "fullPrice": 900, + "price": 820, + "screen": "6.1' OLED", + "capacity": "128GB", + "color": "blue", + "ram": "4GB", + "year": 2020, + "image": "img/phones/apple-iphone-13-mini/blue/00.webp" + }, + { + "id": 99, + "category": "phones", + "itemId": "apple-iphone-13-mini-256gb-blue", + "name": "Apple iPhone 13 Mini 256GB Blue", + "fullPrice": 1120, + "price": 1040, + "screen": "6.1' OLED", + "capacity": "256GB", + "color": "blue", + "ram": "4GB", + "year": 2020, + "image": "img/phones/apple-iphone-13-mini/blue/00.webp" + }, + { + "id": 100, + "category": "phones", + "itemId": "apple-iphone-13-mini-64gb-white", + "name": "Apple iPhone 13 Pro 64GB White", + "fullPrice": 890, + "price": 760, + "screen": "6.1' OLED", + "capacity": "64GB", + "color": "white", + "ram": "4GB", + "year": 2020, + "image": "img/phones/apple-iphone-13-mini/white/00.webp" + }, + { + "id": 101, + "category": "phones", + "itemId": "apple-iphone-13-mini-128gb-white", + "name": "Apple iPhone 13 Pro 128GB White", + "fullPrice": 900, + "price": 820, + "screen": "6.1' OLED", + "capacity": "128GB", + "color": "white", + "ram": "4GB", + "year": 2020, + "image": "img/phones/apple-iphone-13-mini/white/00.webp" + }, + { + "id": 102, + "category": "phones", + "itemId": "apple-iphone-13-mini-256gb-white", + "name": "Apple iPhone 13 Pro 256GB White", + "fullPrice": 1120, + "price": 1040, + "screen": "6.1' OLED", + "capacity": "256GB", + "color": "white", + "ram": "4GB", + "year": 2020, + "image": "img/phones/apple-iphone-13-mini/white/00.webp" + }, + { + "id": 103, + "category": "phones", + "itemId": "apple-iphone-13-mini-64gb-pink", + "name": "Apple iPhone 13 Pro 64GB Pink", + "fullPrice": 890, + "price": 760, + "screen": "6.1' OLED", + "capacity": "64GB", + "color": "pink", + "ram": "4GB", + "year": 2020, + "image": "img/phones/apple-iphone-13-mini/pink/00.webp" + }, + { + "id": 104, + "category": "phones", + "itemId": "apple-iphone-13-mini-128gb-pink", + "name": "Apple iPhone 13 Pro 128GB Pink", + "fullPrice": 900, + "price": 820, + "screen": "6.1' OLED", + "capacity": "128GB", + "color": "pink", + "ram": "4GB", + "year": 2020, + "image": "img/phones/apple-iphone-13-mini/pink/00.webp" + }, + { + "id": 105, + "category": "phones", + "itemId": "apple-iphone-13-mini-256gb-pink", + "name": "Apple iPhone 13 Pro 256GB Pink", + "fullPrice": 1120, + "price": 1040, + "screen": "6.1' OLED", + "capacity": "256GB", + "color": "pink", + "ram": "4GB", + "year": 2020, + "image": "img/phones/apple-iphone-13-mini/pink/00.webp" + }, + { + "id": 106, + "category": "phones", + "itemId": "apple-iphone-13-mini-64gb-midnight", + "name": "Apple iPhone 13 Pro 64GB Midnight", + "fullPrice": 890, + "price": 760, + "screen": "6.1' OLED", + "capacity": "64GB", + "color": "midnight", + "ram": "4GB", + "year": 2020, + "image": "img/phones/apple-iphone-13-mini/midnight/00.webp" + }, + { + "id": 107, + "category": "phones", + "itemId": "apple-iphone-13-mini-128gb-midnight", + "name": "Apple iPhone 13 Pro 128GB Midnight", + "fullPrice": 900, + "price": 820, + "screen": "6.1' OLED", + "capacity": "128GB", + "color": "midnight", + "ram": "4GB", + "year": 2020, + "image": "img/phones/apple-iphone-13-mini/midnight/00.webp" + }, + { + "id": 108, + "category": "phones", + "itemId": "apple-iphone-13-mini-256gb-midnight", + "name": "Apple iPhone 13 Pro 256GB Midnight", + "fullPrice": 1120, + "price": 1040, + "screen": "6.1' OLED", + "capacity": "256GB", + "color": "midnight", + "ram": "4GB", + "year": 2020, + "image": "img/phones/apple-iphone-13-mini/midnight/00.webp" + }, + { + "id": 109, + "category": "phones", + "itemId": "apple-iphone-13-pro-max-128gb-sierrablue", + "name": "Apple iPhone 13 Pro Max 128GB Sierra Blue", + "fullPrice": 1156, + "price": 1068, + "screen": "6.1' OLED", + "capacity": "128GB", + "color": "sierrablue", + "ram": "6GB", + "year": 2022, + "image": "img/phones/apple-iphone-13-pro-max/sierrablue/00.webp" + }, + { + "id": 110, + "category": "phones", + "itemId": "apple-iphone-13-pro-max-256gb-sierrablue", + "name": "Apple iPhone 13 Pro Max 256GB Sierra Blue", + "fullPrice": 1300, + "price": 1220, + "screen": "6.1' OLED", + "capacity": "256GB", + "color": "sierrablue", + "ram": "6GB", + "year": 2022, + "image": "img/phones/apple-iphone-13-pro-max/sierrablue/00.webp" + }, + { + "id": 111, + "category": "phones", + "itemId": "apple-iphone-13-pro-max-512gb-sierrablue", + "name": "Apple iPhone 13 Pro Max 512GB Sierra Blue", + "fullPrice": 1600, + "price": 1530, + "screen": "6.1' OLED", + "capacity": "512GB", + "color": "sierrablue", + "ram": "6GB", + "year": 2022, + "image": "img/phones/apple-iphone-13-pro-max/sierrablue/00.webp" + }, + { + "id": 112, + "category": "phones", + "itemId": "apple-iphone-13-pro-max-1tb-sierrablue", + "name": "Apple iPhone 13 Pro Max 1TB Sierra Blue", + "fullPrice": 1740, + "price": 1520, + "screen": "6.1' OLED", + "capacity": "1TB", + "color": "sierrablue", + "ram": "6GB", + "year": 2022, + "image": "img/phones/apple-iphone-13-pro-max/sierrablue/00.webp" + }, + { + "id": 113, + "category": "phones", + "itemId": "apple-iphone-13-pro-max-128gb-gold", + "name": "Apple iPhone 13 Pro Max 128GB Gold", + "fullPrice": 1156, + "price": 1068, + "screen": "6.1' OLED", + "capacity": "128GB", + "color": "gold", + "ram": "6GB", + "year": 2022, + "image": "img/phones/apple-iphone-13-pro-max/gold/00.webp" + }, + { + "id": 114, + "category": "phones", + "itemId": "apple-iphone-13-pro-max-256gb-gold", + "name": "Apple iPhone 13 Pro Max 256GB Gold", + "fullPrice": 1300, + "price": 1220, + "screen": "6.1' OLED", + "capacity": "256GB", + "color": "gold", + "ram": "6GB", + "year": 2022, + "image": "img/phones/apple-iphone-13-pro-max/gold/00.webp" + }, + { + "id": 115, + "category": "phones", + "itemId": "apple-iphone-13-pro-max-512gb-gold", + "name": "Apple iPhone 13 Pro Max 512GB Gold", + "fullPrice": 1600, + "price": 1530, + "screen": "6.1' OLED", + "capacity": "512GB", + "color": "gold", + "ram": "6GB", + "year": 2022, + "image": "img/phones/apple-iphone-13-pro-max/gold/00.webp" + }, + { + "id": 116, + "category": "phones", + "itemId": "apple-iphone-13-pro-max-1tb-gold", + "name": "Apple iPhone 13 Pro Max 1TB Gold", + "fullPrice": 1740, + "price": 1520, + "screen": "6.1' OLED", + "capacity": "1TB", + "color": "gold", + "ram": "6GB", + "year": 2022, + "image": "img/phones/apple-iphone-13-pro-max/gold/00.webp" + }, + { + "id": 117, + "category": "phones", + "itemId": "apple-iphone-13-pro-max-128gb-graphite", + "name": "Apple iPhone 13 Pro Max 128GB Graphite", + "fullPrice": 1156, + "price": 1068, + "screen": "6.1' OLED", + "capacity": "128GB", + "color": "graphite", + "ram": "6GB", + "year": 2022, + "image": "img/phones/apple-iphone-13-pro-max/graphite/00.webp" + }, + { + "id": 118, + "category": "phones", + "itemId": "apple-iphone-13-pro-max-256gb-graphite", + "name": "Apple iPhone 13 Pro Max 256GB Graphite", + "fullPrice": 1300, + "price": 1220, + "screen": "6.1' OLED", + "capacity": "256GB", + "color": "graphite", + "ram": "6GB", + "year": 2022, + "image": "img/phones/apple-iphone-13-pro-max/graphite/00.webp" + }, + { + "id": 119, + "category": "phones", + "itemId": "apple-iphone-13-pro-max-512gb-graphite", + "name": "Apple iPhone 13 Pro Max 512GB Graphite", + "fullPrice": 1600, + "price": 1530, + "screen": "6.1' OLED", + "capacity": "512GB", + "color": "graphite", + "ram": "6GB", + "year": 2022, + "image": "img/phones/apple-iphone-13-pro-max/graphite/00.webp" + }, + { + "id": 120, + "category": "phones", + "itemId": "apple-iphone-13-pro-max-1tb-graphite", + "name": "Apple iPhone 13 Pro Max 1TB Graphite", + "fullPrice": 1740, + "price": 1520, + "screen": "6.1' OLED", + "capacity": "1TB", + "color": "graphite", + "ram": "6GB", + "year": 2022, + "image": "img/phones/apple-iphone-13-pro-max/graphite/00.webp" + }, + { + "id": 121, + "category": "accessories", + "itemId": "apple-watch-series-3-38mm-space-gray", + "name": "Apple Watch Series 3 38mm Space Gray", + "fullPrice": 199, + "price": 169, + "screen": "1.3' OLED", + "capacity": "38mm", + "color": "space gray", + "ram": "768MB", + "year": 2017, + "image": "img/accessories/apple-watch-series-3/space-gray/00.webp" + }, + { + "id": 122, + "category": "accessories", + "itemId": "apple-watch-series-3-42mm-space-gray", + "name": "Apple Watch Series 3 42mm Space Gray", + "fullPrice": 250, + "price": 219, + "screen": "1.3' OLED", + "capacity": "42mm", + "color": "space gray", + "ram": "768MB", + "year": 2017, + "image": "img/accessories/apple-watch-series-3/space-gray/00.webp" + }, + { + "id": 123, + "category": "accessories", + "itemId": "apple-watch-series-3-38mm-gold", + "name": "Apple Watch Series 3 38mm Gold", + "fullPrice": 199, + "price": 169, + "screen": "1.3' OLED", + "capacity": "38mm", + "color": "gold", + "ram": "768MB", + "year": 2017, + "image": "img/accessories/apple-watch-series-3/gold/00.webp" + }, + { + "id": 124, + "category": "accessories", + "itemId": "apple-watch-series-3-42mm-gold", + "name": "Apple Watch Series 3 42mm Gold", + "fullPrice": 250, + "price": 219, + "screen": "1.3' OLED", + "capacity": "42mm", + "color": "gold", + "ram": "768MB", + "year": 2017, + "image": "img/accessories/apple-watch-series-3/gold/00.webp" + }, + { + "id": 125, + "category": "accessories", + "itemId": "apple-watch-series-3-38mm-silver", + "name": "Apple Watch Series 3 38mm Silver", + "fullPrice": 199, + "price": 169, + "screen": "1.3' OLED", + "capacity": "38mm", + "color": "silver", + "ram": "768MB", + "year": 2017, + "image": "img/accessories/apple-watch-series-3/silver/00.webp" + }, + { + "id": 126, + "category": "accessories", + "itemId": "apple-watch-series-3-42mm-silver", + "name": "Apple Watch Series 3 42mm Silver", + "fullPrice": 250, + "price": 219, + "screen": "1.3' OLED", + "capacity": "42mm", + "color": "silver", + "ram": "768MB", + "year": 2017, + "image": "img/accessories/apple-watch-series-3/silver/00.webp" + }, + { + "id": 127, + "category": "accessories", + "itemId": "apple-watch-series-6-40mm-space-gray", + "name": "Apple Watch Series 6 40mm Space Gray", + "fullPrice": 399, + "price": 329, + "screen": "1.57' OLED", + "capacity": "40mm", + "color": "space gray", + "ram": "1GB", + "year": 2020, + "image": "img/accessories/apple-watch-series-6/space-gray/00.webp" + }, + { + "id": 128, + "category": "accessories", + "itemId": "apple-watch-series-6-44mm-space-gray", + "name": "Apple Watch Series 6 44mm Space Gray", + "fullPrice": 429, + "price": 359, + "screen": "1.57' OLED", + "capacity": "44mm", + "color": "space gray", + "ram": "1GB", + "year": 2020, + "image": "img/accessories/apple-watch-series-6/space-gray/00.webp" + }, + { + "id": 129, + "category": "accessories", + "itemId": "apple-watch-series-6-40mm-silver", + "name": "Apple Watch Series 6 40mm Silver", + "fullPrice": 399, + "price": 329, + "screen": "1.57' OLED", + "capacity": "40mm", + "color": "silver", + "ram": "1GB", + "year": 2020, + "image": "img/accessories/apple-watch-series-6/silver/00.webp" + }, + { + "id": 130, + "category": "accessories", + "itemId": "apple-watch-series-6-44mm-silver", + "name": "Apple Watch Series 6 44mm Silver", + "fullPrice": 429, + "price": 359, + "screen": "1.57' OLED", + "capacity": "44mm", + "color": "silver", + "ram": "1GB", + "year": 2020, + "image": "img/accessories/apple-watch-series-6/silver/00.webp" + }, + { + "id": 131, + "category": "accessories", + "itemId": "apple-watch-series-6-40mm-gold", + "name": "Apple Watch Series 6 40mm Gold", + "fullPrice": 399, + "price": 329, + "screen": "1.57' OLED", + "capacity": "40mm", + "color": "gold", + "ram": "1GB", + "year": 2020, + "image": "img/accessories/apple-watch-series-6/gold/00.webp" + }, + { + "id": 132, + "category": "accessories", + "itemId": "apple-watch-series-6-44mm-gold", + "name": "Apple Watch Series 6 44mm Gold", + "fullPrice": 429, + "price": 359, + "screen": "1.57' OLED", + "capacity": "44mm", + "color": "gold", + "ram": "1GB", + "year": 2020, + "image": "img/accessories/apple-watch-series-6/gold/00.webp" + }, + { + "id": 133, + "category": "accessories", + "itemId": "apple-watch-series-6-40mm-blue", + "name": "Apple Watch Series 6 40mm Blue", + "fullPrice": 399, + "price": 329, + "screen": "1.57' OLED", + "capacity": "40mm", + "color": "blue", + "ram": "1GB", + "year": 2020, + "image": "img/accessories/apple-watch-series-6/blue/00.webp" + }, + { + "id": 134, + "category": "accessories", + "itemId": "apple-watch-series-6-44mm-blue", + "name": "Apple Watch Series 6 44mm Blue", + "fullPrice": 429, + "price": 359, + "screen": "1.57' OLED", + "capacity": "44mm", + "color": "blue", + "ram": "1GB", + "year": 2020, + "image": "img/accessories/apple-watch-series-6/blue/00.webp" + }, + { + "id": 135, + "category": "accessories", + "itemId": "apple-watch-series-6-40mm-red", + "name": "Apple Watch Series 6 40mm Red", + "fullPrice": 399, + "price": 329, + "screen": "1.57' OLED", + "capacity": "40mm", + "color": "red", + "ram": "1GB", + "year": 2020, + "image": "img/accessories/apple-watch-series-6/red/00.webp" + }, + { + "id": 136, + "category": "accessories", + "itemId": "apple-watch-series-6-44mm-red", + "name": "Apple Watch Series 6 44mm Red", + "fullPrice": 429, + "price": 359, + "screen": "1.57' OLED", + "capacity": "44mm", + "color": "red", + "ram": "1GB", + "year": 2020, + "image": "img/accessories/apple-watch-series-6/red/00.webp" + }, + { + "id": 137, + "category": "accessories", + "itemId": "apple-watch-series-5-40mm-silver", + "name": "Apple Watch Series 5 40mm Silver", + "fullPrice": 399, + "price": 299, + "screen": "1.57' OLED", + "capacity": "40mm", + "color": "silver", + "ram": "1GB", + "year": 2019, + "image": "img/accessories/apple-watch-series-5/silver/00.webp" + }, + { + "id": 138, + "category": "accessories", + "itemId": "apple-watch-series-5-44mm-silver", + "name": "Apple Watch Series 5 44mm Silver", + "fullPrice": 429, + "price": 399, + "screen": "1.78' LTPO OLED", + "capacity": "44mm", + "color": "silver", + "ram": "1GB", + "year": 2019, + "image": "img/accessories/apple-watch-series-5/silver/00.webp" + }, + { + "id": 139, + "category": "accessories", + "itemId": "apple-watch-series-5-40mm-gold", + "name": "Apple Watch Series 5 40mm Gold", + "fullPrice": 399, + "price": 299, + "screen": "1.57' OLED", + "capacity": "40mm", + "color": "gold", + "ram": "1GB", + "year": 2019, + "image": "img/accessories/apple-watch-series-5/gold/00.webp" + }, + { + "id": 140, + "category": "accessories", + "itemId": "apple-watch-series-5-44mm-gold", + "name": "Apple Watch Series 5 44mm Gold", + "fullPrice": 429, + "price": 399, + "screen": "1.78' LTPO OLED", + "capacity": "44mm", + "color": "gold", + "ram": "1GB", + "year": 2019, + "image": "img/accessories/apple-watch-series-5/gold/00.webp" + }, + { + "id": 141, + "category": "accessories", + "itemId": "apple-watch-series-5-40mm-space-gray", + "name": "Apple Watch Series 5 40mm Space Gray", + "fullPrice": 399, + "price": 299, + "screen": "1.57' OLED", + "capacity": "40mm", + "color": "space-gray", + "ram": "1GB", + "year": 2019, + "image": "img/accessories/apple-watch-series-5/space-gray/00.webp" + }, + { + "id": 142, + "category": "accessories", + "itemId": "apple-watch-series-5-44mm-space-gray", + "name": "Apple Watch Series 5 44mm Space Gray", + "fullPrice": 429, + "price": 399, + "screen": "1.78' LTPO OLED", + "capacity": "44mm", + "color": "space-gray", + "ram": "1GB", + "year": 2019, + "image": "img/accessories/apple-watch-series-5/space-gray/00.webp" + }, + { + "id": 143, + "category": "accessories", + "itemId": "apple-watch-series-4-40mm-silver", + "name": "Apple Watch Series 4 40mm Silver", + "fullPrice": 399, + "price": 349, + "screen": "1.57' OLED", + "capacity": "40mm", + "color": "silver", + "ram": "0.75GB", + "year": 2019, + "image": "img/accessories/apple-watch-series-4/silver/00.webp" + }, + { + "id": 144, + "category": "accessories", + "itemId": "apple-watch-series-4-44mm-silver", + "name": "Apple Watch Series 4 44mm Silver", + "fullPrice": 429, + "price": 379, + "screen": "1.78' OLED", + "capacity": "44mm", + "color": "silver", + "ram": "0.75GB", + "year": 2019, + "image": "img/accessories/apple-watch-series-4/silver/00.webp" + }, + { + "id": 145, + "category": "accessories", + "itemId": "apple-watch-series-4-40mm-gold", + "name": "Apple Watch Series 4 40mm Gold", + "fullPrice": 399, + "price": 349, + "screen": "1.57' OLED", + "capacity": "40mm", + "color": "gold", + "ram": "0.75GB", + "year": 2019, + "image": "img/accessories/apple-watch-series-4/gold/00.webp" + }, + { + "id": 146, + "category": "accessories", + "itemId": "apple-watch-series-4-44mm-gold", + "name": "Apple Watch Series 4 44mm Gold", + "fullPrice": 429, + "price": 379, + "screen": "1.78' OLED", + "capacity": "44mm", + "color": "gold", + "ram": "0.75GB", + "year": 2019, + "image": "img/accessories/apple-watch-series-4/gold/00.webp" + }, + { + "id": 147, + "category": "accessories", + "itemId": "apple-watch-series-4-40mm-space-gray", + "name": "Apple Watch Series 4 40mm Space Gray", + "fullPrice": 399, + "price": 349, + "screen": "1.57' OLED", + "capacity": "40mm", + "color": "space-gray", + "ram": "0.75GB", + "year": 2019, + "image": "img/accessories/apple-watch-series-4/space-gray/00.webp" + }, + { + "id": 148, + "category": "accessories", + "itemId": "apple-watch-series-4-44mm-space-gray", + "name": "Apple Watch Series 4 44mm Space Gray", + "fullPrice": 429, + "price": 379, + "screen": "1.78' OLED", + "capacity": "44mm", + "color": "space-gray", + "ram": "0.75GB", + "year": 2019, + "image": "img/accessories/apple-watch-series-4/space-gray/00.webp" + }, + { + "id": 149, + "category": "accessories", + "itemId": "apple-watch-se-40mm-silver", + "name": "Apple Watch SE 40mm Silver", + "fullPrice": 279, + "price": 249, + "screen": "1.57' OLED", + "capacity": "40mm", + "color": "silver", + "ram": "1GB", + "year": 2020, + "image": "img/accessories/apple-watch-se/silver/00.webp" + }, + { + "id": 150, + "category": "accessories", + "itemId": "apple-watch-se-44mm-silver", + "name": "Apple Watch SE 44mm Silver", + "fullPrice": 309, + "price": 279, + "screen": "1.78' OLED", + "capacity": "44mm", + "color": "silver", + "ram": "1GB", + "year": 2020, + "image": "img/accessories/apple-watch-se/silver/00.webp" + }, + { + "id": 151, + "category": "accessories", + "itemId": "apple-watch-se-40mm-gold", + "name": "Apple Watch SE 40mm Gold", + "fullPrice": 279, + "price": 259, + "screen": "1.57' OLED", + "capacity": "40mm", + "color": "gold", + "ram": "1GB", + "year": 2020, + "image": "img/accessories/apple-watch-se/gold/00.webp" + }, + { + "id": 152, + "category": "accessories", + "itemId": "apple-watch-se-44mm-gold", + "name": "Apple Watch SE 44mm Gold", + "fullPrice": 309, + "price": 289, + "screen": "1.78' OLED", + "capacity": "44mm", + "color": "gold", + "ram": "1GB", + "year": 2020, + "image": "img/accessories/apple-watch-se/gold/00.webp" + }, + { + "id": 153, + "category": "accessories", + "itemId": "apple-watch-se-40mm-space-gray", + "name": "Apple Watch SE 40mm Space Gray", + "fullPrice": 279, + "price": 259, + "screen": "1.57' OLED", + "capacity": "40mm", + "color": "space gray", + "ram": "1GB", + "year": 2020, + "image": "img/accessories/apple-watch-se/space-gray/00.webp" + }, + { + "id": 154, + "category": "accessories", + "itemId": "apple-watch-se-44mm-space-gray", + "name": "Apple Watch SE 44mm Space Gray", + "fullPrice": 309, + "price": 289, + "screen": "1.78' OLED", + "capacity": "44mm", + "color": "space gray", + "ram": "1GB", + "year": 2020, + "image": "img/accessories/apple-watch-se/space-gray/00.webp" + }, + { + "id": 155, + "category": "tablets", + "itemId": "apple-ipad-pro-11-2021-128gb-spacegray", + "name": "Apple iPad Pro 11 (2021) 128GB Space Gray", + "capacity": "128GB", + "fullPrice": 799, + "price": 749, + "color": "spacegray", + "image": "img/tablets/apple-ipad-pro-11-2021/spacegray/00.webp", + "screen": "11' Liquid Retina", + "ram": "8GB", + "year": 2021 + }, + { + "id": 156, + "category": "tablets", + "itemId": "apple-ipad-pro-11-2021-128gb-silver", + "name": "Apple iPad Pro 11 (2021) 128GB Silver", + "capacity": "128GB", + "fullPrice": 799, + "price": 749, + "color": "spacegray", + "image": "img/tablets/apple-ipad-pro-11-2021/silver/00.webp", + "screen": "11' Liquid Retina", + "ram": "8GB", + "year": 2021 + }, + { + "id": 157, + "category": "tablets", + "itemId": "apple-ipad-pro-11-2021-256gb-spacegray", + "name": "Apple iPad Pro 11 (2021) 256GB Space Gray", + "capacity": "256GB", + "fullPrice": 829, + "price": 799, + "color": "spacegray", + "image": "img/tablets/apple-ipad-pro-11-2021/spacegray/00.webp", + "screen": "11' Liquid Retina", + "ram": "8GB", + "year": 2021 + }, + { + "id": 158, + "category": "tablets", + "itemId": "apple-ipad-pro-11-2021-256gb-silver", + "name": "Apple iPad Pro 11 (2021) 256GB Silver", + "capacity": "256GB", + "fullPrice": 829, + "price": 799, + "color": "spacegray", + "image": "img/tablets/apple-ipad-pro-11-2021/silver/00.webp", + "screen": "11' Liquid Retina", + "ram": "8GB", + "year": 2021 + }, + { + "id": 159, + "category": "tablets", + "itemId": "apple-ipad-pro-11-2021-512gb-spacegray", + "name": "Apple iPad Pro 11 (2021) 512GB Space Gray", + "capacity": "512GB", + "fullPrice": 869, + "price": 819, + "color": "spacegray", + "image": "img/tablets/apple-ipad-pro-11-2021/spacegray/00.webp", + "screen": "11' Liquid Retina", + "ram": "8GB", + "year": 2021 + }, + { + "id": 160, + "category": "tablets", + "itemId": "apple-ipad-pro-11-2021-512gb-silver", + "name": "Apple iPad Pro 11 (2021) 512GB Silver", + "capacity": "512GB", + "fullPrice": 869, + "price": 819, + "color": "silver", + "image": "img/tablets/apple-ipad-pro-11-2021/silver/00.webp", + "screen": "11' Liquid Retina", + "ram": "8GB", + "year": 2021 + }, + { + "id": 161, + "category": "tablets", + "itemId": "apple-ipad-pro-11-2021-1tb-spacegray", + "name": "Apple iPad Pro 11 (2021) 1TB Space Gray", + "capacity": "1TB", + "fullPrice": 899, + "price": 879, + "color": "spacegray", + "image": "img/tablets/apple-ipad-pro-11-2021/spacegray/00.webp", + "screen": "11' Liquid Retina", + "ram": "8GB", + "year": 2021 + }, + { + "id": 162, + "category": "tablets", + "itemId": "apple-ipad-pro-11-2021-1tb-silver", + "name": "Apple iPad Pro 11 (2021) 1TB Silver", + "capacity": "1TB", + "fullPrice": 899, + "price": 879, + "color": "silver", + "image": "img/tablets/apple-ipad-pro-11-2021/silver/00.webp", + "screen": "11' Liquid Retina", + "ram": "8GB", + "year": 2021 + }, + { + "id": 163, + "category": "tablets", + "itemId": "apple-ipad-pro-11-2021-2tb-spacegray", + "name": "Apple iPad Pro 11 (2021) 2TB Space Gray", + "capacity": "2TB", + "fullPrice": 999, + "price": 939, + "color": "spacegray", + "image": "img/tablets/apple-ipad-pro-11-2021/spacegray/00.webp", + "screen": "11' Liquid Retina", + "ram": "8GB", + "year": 2021 + }, + { + "id": 164, + "category": "tablets", + "itemId": "apple-ipad-pro-11-2021-2tb-silver", + "name": "Apple iPad Pro 11 (2021) 2TB Silver", + "capacity": "2TB", + "fullPrice": 999, + "price": 939, + "color": "silver", + "image": "img/tablets/apple-ipad-pro-11-2021/silver/00.webp", + "screen": "11' Liquid Retina", + "ram": "8GB", + "year": 2021 + }, + { + "id": 165, + "category": "tablets", + "itemId": "apple-ipad-air-4th-gen-256gb-rose-gold", + "name": "Apple iPad Air (4th Gen) 256GB Rose Gold", + "capacity": "256GB", + "fullPrice": 749, + "price": 699, + "color": "rose gold", + "image": "img/tablets/apple-ipad-air-4th-gen/rose-gold/00.webp", + "screen": "10.9' Liquid Retina", + "ram": "4GB", + "year": 2020 + }, + { + "id": 166, + "category": "tablets", + "itemId": "apple-ipad-air-4th-gen-64gb-rose-gold", + "name": "Apple iPad Air (4th Gen) 64GB Rose Gold", + "capacity": "64GB", + "fullPrice": 599, + "price": 549, + "color": "rose gold", + "image": "img/tablets/apple-ipad-air-4th-gen/rose-gold/00.webp", + "screen": "10.9' Liquid Retina", + "ram": "4GB", + "year": 2020 + }, + { + "id": 167, + "category": "tablets", + "itemId": "apple-ipad-air-4th-gen-256gb-silver", + "name": "Apple iPad Air (4th Gen) 256GB Silver", + "capacity": "256GB", + "fullPrice": 749, + "price": 699, + "color": "silver", + "image": "img/tablets/apple-ipad-air-4th-gen/silver/00.webp", + "screen": "10.9' Liquid Retina", + "ram": "4GB", + "year": 2020 + }, + { + "id": 168, + "category": "tablets", + "itemId": "apple-ipad-air-4th-gen-64gb-silver", + "name": "Apple iPad Air (4th Gen) 64GB Silver", + "capacity": "64GB", + "fullPrice": 599, + "price": 549, + "color": "silver", + "image": "img/tablets/apple-ipad-air-4th-gen/silver/00.webp", + "screen": "10.9' Liquid Retina", + "ram": "4GB", + "year": 2020 + }, + { + "id": 169, + "category": "tablets", + "itemId": "apple-ipad-air-4th-gen-256gb-green", + "name": "Apple iPad Air (4th Gen) 256GB Green", + "capacity": "256GB", + "fullPrice": 749, + "price": 699, + "color": "green", + "image": "img/tablets/apple-ipad-air-4th-gen/green/00.webp", + "screen": "10.9' Liquid Retina", + "ram": "4GB", + "year": 2020 + }, + { + "id": 170, + "category": "tablets", + "itemId": "apple-ipad-air-4th-gen-64gb-green", + "name": "Apple iPad Air (4th Gen) 64GB Green", + "capacity": "64GB", + "fullPrice": 599, + "price": 549, + "color": "green", + "image": "img/tablets/apple-ipad-air-4th-gen/green/00.webp", + "screen": "10.9' Liquid Retina", + "ram": "4GB", + "year": 2020 + }, + { + "id": 171, + "category": "tablets", + "itemId": "apple-ipad-air-4th-gen-256gb-sky-blue", + "name": "Apple iPad Air (4th Gen) 256GB Sky Blue", + "capacity": "256GB", + "fullPrice": 749, + "price": 699, + "color": "sky-blue", + "image": "img/tablets/apple-ipad-air-4th-gen/sky-blue/00.webp", + "screen": "10.9' Liquid Retina", + "ram": "4GB", + "year": 2020 + }, + { + "id": 172, + "category": "tablets", + "itemId": "apple-ipad-air-4th-gen-64gb-sky-blue", + "name": "Apple iPad Air (4th Gen) 64GB Sky Blue", + "capacity": "64GB", + "fullPrice": 599, + "price": 549, + "color": "sky-blue", + "image": "img/tablets/apple-ipad-air-4th-gen/sky-blue/00.webp", + "screen": "10.9' Liquid Retina", + "ram": "4GB", + "year": 2020 + }, + { + "id": 173, + "category": "tablets", + "itemId": "apple-ipad-mini-6th-gen-256gb-spacegray", + "name": "Apple iPad Mini (6th Gen) 256GB Space Gray", + "capacity": "256GB", + "fullPrice": 649, + "price": 599, + "color": "spacegray", + "image": "img/tablets/apple-ipad-mini-6th-gen/spacegray/00.webp", + "screen": "8.3' Liquid Retina", + "ram": "4GB", + "year": 2021 + }, + { + "id": 174, + "category": "tablets", + "itemId": "apple-ipad-mini-6th-gen-64gb-spacegray", + "name": "Apple iPad Mini (6th Gen) 64GB Space Gray", + "capacity": "64GB", + "fullPrice": 499, + "price": 469, + "color": "spacegray", + "image": "img/tablets/apple-ipad-mini-6th-gen/spacegray/00.webp", + "screen": "8.3' Liquid Retina", + "ram": "4GB", + "year": 2021 + }, + { + "id": 175, + "category": "tablets", + "itemId": "apple-ipad-mini-6th-gen-256gb-starlight", + "name": "Apple iPad Mini (6th Gen) 256GB Starlight", + "capacity": "256GB", + "fullPrice": 649, + "price": 599, + "color": "starlight", + "image": "img/tablets/apple-ipad-mini-6th-gen/starlight/00.webp", + "screen": "8.3' Liquid Retina", + "ram": "4GB", + "year": 2021 + }, + { + "id": 176, + "category": "tablets", + "itemId": "apple-ipad-mini-6th-gen-64gb-starlight", + "name": "Apple iPad Mini (6th Gen) 64GB Starlight", + "capacity": "64GB", + "fullPrice": 499, + "price": 469, + "color": "starlight", + "image": "img/tablets/apple-ipad-mini-6th-gen/starlight/00.webp", + "screen": "8.3' Liquid Retina", + "ram": "4GB", + "year": 2021 + }, + { + "id": 177, + "category": "tablets", + "itemId": "apple-ipad-mini-6th-gen-256gb-pink", + "name": "Apple iPad Mini (6th Gen) 256GB Pink", + "capacity": "256GB", + "fullPrice": 649, + "price": 599, + "color": "pink", + "image": "img/tablets/apple-ipad-mini-6th-gen/pink/00.webp", + "screen": "8.3' Liquid Retina", + "ram": "4GB", + "year": 2021 + }, + { + "id": 178, + "category": "tablets", + "itemId": "apple-ipad-mini-6th-gen-64gb-pink", + "name": "Apple iPad Mini (6th Gen) 64GB Pink", + "capacity": "64GB", + "fullPrice": 499, + "price": 469, + "color": "pink", + "image": "img/tablets/apple-ipad-mini-6th-gen/pink/00.webp", + "screen": "8.3' Liquid Retina", + "ram": "4GB", + "year": 2021 + }, + { + "id": 179, + "category": "tablets", + "itemId": "apple-ipad-10-2-2020-128gb-gold", + "name": "Apple iPad 10.2 (2020) 128GB Gold", + "capacity": "128GB", + "fullPrice": 429, + "price": 399, + "color": "gold", + "image": "img/tablets/apple-ipad-10-2-2020/gold/00.webp", + "screen": "10.2' Retina", + "ram": "3GB", + "year": 2020 + }, + { + "id": 180, + "category": "tablets", + "itemId": "apple-ipad-10-2-2020-32gb-gold", + "name": "Apple iPad 10.2 (2020) 32GB Gold", + "capacity": "32GB", + "fullPrice": 329, + "price": 299, + "color": "gold", + "image": "img/tablets/apple-ipad-10-2-2020/gold/00.webp", + "screen": "10.2' Retina", + "ram": "3GB", + "year": 2020 + }, + { + "id": 181, + "category": "tablets", + "itemId": "apple-ipad-10-2-2020-128gb-silver", + "name": "Apple iPad 10.2 (2020) 128GB Silver", + "capacity": "128GB", + "fullPrice": 429, + "price": 399, + "color": "silver", + "image": "img/tablets/apple-ipad-10-2-2020/silver/00.webp", + "screen": "10.2' Retina", + "ram": "3GB", + "year": 2020 + }, + { + "id": 182, + "category": "tablets", + "itemId": "apple-ipad-10-2-2020-32gb-silver", + "name": "Apple iPad 10.2 (2020) 32GB Silver", + "capacity": "32GB", + "fullPrice": 329, + "price": 299, + "color": "silver", + "image": "img/tablets/apple-ipad-10-2-2020/silver/00.webp", + "screen": "10.2' Retina", + "ram": "3GB", + "year": 2020 + }, + { + "id": 183, + "category": "tablets", + "itemId": "apple-ipad-10-2-2020-128gb-spacegray", + "name": "Apple iPad 10.2 (2020) 128GB Space Gray", + "capacity": "128GB", + "fullPrice": 429, + "price": 399, + "color": "spacegray", + "image": "img/tablets/apple-ipad-10-2-2020/spacegray/00.webp", + "screen": "10.2' Retina", + "ram": "3GB", + "year": 2020 + }, + { + "id": 184, + "category": "tablets", + "itemId": "apple-ipad-10-2-2020-32gb-spacegray", + "name": "Apple iPad 10.2 (2020) 32GB Space Gray", + "capacity": "32GB", + "fullPrice": 329, + "price": 299, + "color": "spacegray", + "image": "img/tablets/apple-ipad-10-2-2020/spacegray/00.webp", + "screen": "10.2' Retina", + "ram": "3GB", + "year": 2020 + }, + { + "id": 185, + "category": "tablets", + "itemId": "apple-ipad-mini-5th-gen-256gb-silver", + "name": "Apple iPad Mini (5th Gen) 256GB Silver", + "capacity": "256GB", + "fullPrice": 549, + "price": 499, + "color": "silver", + "image": "img/tablets/apple-ipad-mini-5th-gen/silver/00.webp", + "screen": "7.9' Retina", + "ram": "3GB", + "year": 2019 + }, + { + "id": 186, + "category": "tablets", + "itemId": "apple-ipad-mini-5th-gen-64gb-silver", + "name": "Apple iPad Mini (5th Gen) 64GB Silver", + "capacity": "64GB", + "fullPrice": 549, + "price": 499, + "color": "silver", + "image": "img/tablets/apple-ipad-mini-5th-gen/silver/00.webp", + "screen": "7.9' Retina", + "ram": "3GB", + "year": 2019 + }, + { + "id": 187, + "category": "tablets", + "itemId": "apple-ipad-mini-5th-gen-256gb-spacegray", + "name": "Apple iPad Mini (5th Gen) 256GB Space Gray", + "capacity": "256GB", + "fullPrice": 549, + "price": 499, + "color": "spacegray", + "image": "img/tablets/apple-ipad-mini-5th-gen/spacegray/00.webp", + "screen": "7.9' Retina", + "ram": "3GB", + "year": 2019 + }, + { + "id": 188, + "category": "tablets", + "itemId": "apple-ipad-mini-5th-gen-64gb-spacegray", + "name": "Apple iPad Mini (5th Gen) 64GB Space Gray", + "capacity": "64GB", + "fullPrice": 549, + "price": 499, + "color": "spacegray", + "image": "img/tablets/apple-ipad-mini-5th-gen/spacegray/00.webp", + "screen": "7.9' Retina", + "ram": "3GB", + "year": 2019 + }, + { + "id": 189, + "category": "tablets", + "itemId": "apple-ipad-mini-5th-gen-256gb-gold", + "name": "Apple iPad Mini (5th Gen) 256GB Gold", + "capacity": "256GB", + "fullPrice": 549, + "price": 499, + "color": "gold", + "image": "img/tablets/apple-ipad-mini-5th-gen/gold/00.webp", + "screen": "7.9' Retina", + "ram": "3GB", + "year": 2019 + }, + { + "id": 190, + "category": "tablets", + "itemId": "apple-ipad-mini-5th-gen-64gb-gold", + "name": "Apple iPad Mini (5th Gen) 64GB Gold", + "capacity": "64GB", + "fullPrice": 549, + "price": 499, + "color": "gold", + "image": "img/tablets/apple-ipad-mini-5th-gen/gold/00.webp", + "screen": "7.9' Retina", + "ram": "3GB", + "year": 2019 + }, + { + "id": 191, + "category": "phones", + "itemId": "apple-iphone-14-pro-128gb-gold", + "name": "Apple iPhone 14 Pro 128GB Gold", + "fullPrice": 1156, + "price": 1068, + "screen": "6.1' OLED", + "capacity": "128GB", + "color": "gold", + "ram": "6GB", + "year": 2022, + "image": "img/phones/apple-iphone-14-pro/gold/00.webp" + }, + { + "id": 192, + "category": "phones", + "itemId": "apple-iphone-14-pro-256gb-gold", + "name": "Apple iPhone 14 Pro 256GB Gold", + "fullPrice": 1300, + "price": 1220, + "screen": "6.1' OLED", + "capacity": "256GB", + "color": "gold", + "ram": "6GB", + "year": 2022, + "image": "img/phones/apple-iphone-14-pro/gold/00.webp" + }, + { + "id": 193, + "category": "phones", + "itemId": "apple-iphone-14-pro-512gb-gold", + "name": "Apple iPhone 14 Pro 512GB Gold", + "fullPrice": 1600, + "price": 1530, + "screen": "6.1' OLED", + "capacity": "512GB", + "color": "gold", + "ram": "6GB", + "year": 2022, + "image": "img/phones/apple-iphone-14-pro/gold/00.webp" + }, + { + "id": 194, + "category": "phones", + "itemId": "apple-iphone-14-pro-1tb-gold", + "name": "Apple iPhone 14 Pro 1TB Gold", + "fullPrice": 1740, + "price": 1520, + "screen": "6.1' OLED", + "capacity": "1TB", + "color": "gold", + "ram": "6GB", + "year": 2022, + "image": "img/phones/apple-iphone-14-pro/gold/00.webp" + } +] diff --git a/src/api/tablets.json b/src/api/tablets.json new file mode 100644 index 0000000000..dc555396f7 --- /dev/null +++ b/src/api/tablets.json @@ -0,0 +1,1702 @@ +[ + { + "id": "apple-ipad-pro-11-2021-128gb-spacegray", + "category": "tablets", + "namespaceId": "apple-ipad-pro-11-2021", + "name": "Apple iPad Pro 11 (2021) 128GB Space Gray", + "capacityAvailable": ["128GB", "256GB", "512GB", "1TB", "2TB"], + "capacity": "128GB", + "priceRegular": 799, + "priceDiscount": 749, + "colorsAvailable": ["spacegray", "silver"], + "color": "spacegray", + "images": [ + "img/tablets/apple-ipad-pro-11-2021/spacegray/00.webp", + "img/tablets/apple-ipad-pro-11-2021/spacegray/01.webp", + "img/tablets/apple-ipad-pro-11-2021/spacegray/02.webp" + ], + "description": [ + { + "title": "Powerful Performance", + "text": [ + "Experience incredible power and performance with the Apple iPad Pro 11. With the M1 chip, it delivers a new level of performance, making it faster and more efficient than ever before.", + "Whether you're editing photos, designing artwork, or multitasking with demanding apps, the iPad Pro 11 handles it all with ease." + ] + }, + { + "title": "Stunning Liquid Retina Display", + "text": [ + "Enjoy a vibrant and immersive visual experience on the iPad Pro 11's Liquid Retina display. With ProMotion technology and True Tone, the display adapts to your environment, providing smooth scrolling, precise color accuracy, and incredible detail.", + "From watching movies to editing videos, the iPad Pro 11's display brings your content to life with stunning clarity." + ] + }, + { + "title": "Versatile Camera System", + "text": [ + "Capture stunning photos and videos with the iPad Pro 11's advanced camera system. Featuring a 12MP Ultra Wide front camera and a 12MP Wide rear camera with LiDAR scanner, you can take high-quality shots and enjoy augmented reality experiences.", + "Whether you're video calling, scanning documents, or recording 4K videos, the iPad Pro 11's camera system delivers exceptional performance." + ] + } + ], + "screen": "11' Liquid Retina", + "resolution": "2388x1668", + "processor": "Apple M1", + "ram": "8GB", + "camera": "12MP + 12MP", + "zoom": "Digital zoom up to 5x", + "cell": ["Not applicable"] + }, + { + "id": "apple-ipad-pro-11-2021-256gb-spacegray", + "category": "tablets", + "namespaceId": "apple-ipad-pro-11-2021", + "name": "Apple iPad Pro 11 (2021) 256GB Space Gray", + "capacityAvailable": ["128GB", "256GB", "512GB", "1TB", "2TB"], + "capacity": "256GB", + "priceRegular": 829, + "priceDiscount": 799, + "colorsAvailable": ["spacegray", "silver"], + "color": "spacegray", + "images": [ + "img/tablets/apple-ipad-pro-11-2021/spacegray/00.webp", + "img/tablets/apple-ipad-pro-11-2021/spacegray/01.webp", + "img/tablets/apple-ipad-pro-11-2021/spacegray/02.webp" + ], + "description": [ + { + "title": "Powerful Performance", + "text": [ + "Experience incredible power and performance with the Apple iPad Pro 11. With the M1 chip, it delivers a new level of performance, making it faster and more efficient than ever before.", + "Whether you're editing photos, designing artwork, or multitasking with demanding apps, the iPad Pro 11 handles it all with ease." + ] + }, + { + "title": "Stunning Liquid Retina Display", + "text": [ + "Enjoy a vibrant and immersive visual experience on the iPad Pro 11's Liquid Retina display. With ProMotion technology and True Tone, the display adapts to your environment, providing smooth scrolling, precise color accuracy, and incredible detail.", + "From watching movies to editing videos, the iPad Pro 11's display brings your content to life with stunning clarity." + ] + }, + { + "title": "Versatile Camera System", + "text": [ + "Capture stunning photos and videos with the iPad Pro 11's advanced camera system. Featuring a 12MP Ultra Wide front camera and a 12MP Wide rear camera with LiDAR scanner, you can take high-quality shots and enjoy augmented reality experiences.", + "Whether you're video calling, scanning documents, or recording 4K videos, the iPad Pro 11's camera system delivers exceptional performance." + ] + } + ], + "screen": "11' Liquid Retina", + "resolution": "2388x1668", + "processor": "Apple M1", + "ram": "8GB", + "camera": "12MP + 12MP", + "zoom": "Digital zoom up to 5x", + "cell": ["Not applicable"] + }, + { + "id": "apple-ipad-pro-11-2021-512gb-spacegray", + "category": "tablets", + "namespaceId": "apple-ipad-pro-11-2021", + "name": "Apple iPad Pro 11 (2021) 512GB Space Gray", + "capacityAvailable": ["128GB", "256GB", "512GB", "1TB", "2TB"], + "capacity": "512GB", + "priceRegular": 869, + "priceDiscount": 819, + "colorsAvailable": ["spacegray", "silver"], + "color": "spacegray", + "images": [ + "img/tablets/apple-ipad-pro-11-2021/spacegray/00.webp", + "img/tablets/apple-ipad-pro-11-2021/spacegray/01.webp", + "img/tablets/apple-ipad-pro-11-2021/spacegray/02.webp" + ], + "description": [ + { + "title": "Powerful Performance", + "text": [ + "Experience incredible power and performance with the Apple iPad Pro 11. With the M1 chip, it delivers a new level of performance, making it faster and more efficient than ever before.", + "Whether you're editing photos, designing artwork, or multitasking with demanding apps, the iPad Pro 11 handles it all with ease." + ] + }, + { + "title": "Stunning Liquid Retina Display", + "text": [ + "Enjoy a vibrant and immersive visual experience on the iPad Pro 11's Liquid Retina display. With ProMotion technology and True Tone, the display adapts to your environment, providing smooth scrolling, precise color accuracy, and incredible detail.", + "From watching movies to editing videos, the iPad Pro 11's display brings your content to life with stunning clarity." + ] + }, + { + "title": "Versatile Camera System", + "text": [ + "Capture stunning photos and videos with the iPad Pro 11's advanced camera system. Featuring a 12MP Ultra Wide front camera and a 12MP Wide rear camera with LiDAR scanner, you can take high-quality shots and enjoy augmented reality experiences.", + "Whether you're video calling, scanning documents, or recording 4K videos, the iPad Pro 11's camera system delivers exceptional performance." + ] + } + ], + "screen": "11' Liquid Retina", + "resolution": "2388x1668", + "processor": "Apple M1", + "ram": "8GB", + "camera": "12MP + 12MP", + "zoom": "Digital zoom up to 5x", + "cell": ["Not applicable"] + }, + { + "id": "apple-ipad-pro-11-2021-1tb-spacegray", + "category": "tablets", + "namespaceId": "apple-ipad-pro-11-2021", + "name": "Apple iPad Pro 11 (2021) 1TB Space Gray", + "capacityAvailable": ["128GB", "256GB", "512GB", "1TB", "2TB"], + "capacity": "1TB", + "priceRegular": 899, + "priceDiscount": 879, + "colorsAvailable": ["spacegray", "silver"], + "color": "spacegray", + "images": [ + "img/tablets/apple-ipad-pro-11-2021/spacegray/00.webp", + "img/tablets/apple-ipad-pro-11-2021/spacegray/01.webp", + "img/tablets/apple-ipad-pro-11-2021/spacegray/02.webp" + ], + "description": [ + { + "title": "Powerful Performance", + "text": [ + "Experience incredible power and performance with the Apple iPad Pro 11. With the M1 chip, it delivers a new level of performance, making it faster and more efficient than ever before.", + "Whether you're editing photos, designing artwork, or multitasking with demanding apps, the iPad Pro 11 handles it all with ease." + ] + }, + { + "title": "Stunning Liquid Retina Display", + "text": [ + "Enjoy a vibrant and immersive visual experience on the iPad Pro 11's Liquid Retina display. With ProMotion technology and True Tone, the display adapts to your environment, providing smooth scrolling, precise color accuracy, and incredible detail.", + "From watching movies to editing videos, the iPad Pro 11's display brings your content to life with stunning clarity." + ] + }, + { + "title": "Versatile Camera System", + "text": [ + "Capture stunning photos and videos with the iPad Pro 11's advanced camera system. Featuring a 12MP Ultra Wide front camera and a 12MP Wide rear camera with LiDAR scanner, you can take high-quality shots and enjoy augmented reality experiences.", + "Whether you're video calling, scanning documents, or recording 4K videos, the iPad Pro 11's camera system delivers exceptional performance." + ] + } + ], + "screen": "11' Liquid Retina", + "resolution": "2388x1668", + "processor": "Apple M1", + "ram": "16GB", + "camera": "12MP + 12MP", + "zoom": "Digital zoom up to 5x", + "cell": ["Not applicable"] + }, + { + "id": "apple-ipad-pro-11-2021-2tb-spacegray", + "category": "tablets", + "namespaceId": "apple-ipad-pro-11-2021", + "name": "Apple iPad Pro 11 (2021) 2TB Space Gray", + "capacityAvailable": ["128GB", "256GB", "512GB", "1TB", "2TB"], + "capacity": "2TB", + "priceRegular": 999, + "priceDiscount": 939, + "colorsAvailable": ["spacegray", "silver"], + "color": "spacegray", + "images": [ + "img/tablets/apple-ipad-pro-11-2021/spacegray/00.webp", + "img/tablets/apple-ipad-pro-11-2021/spacegray/01.webp", + "img/tablets/apple-ipad-pro-11-2021/spacegray/02.webp" + ], + "description": [ + { + "title": "Powerful Performance", + "text": [ + "Experience incredible power and performance with the Apple iPad Pro 11. With the M1 chip, it delivers a new level of performance, making it faster and more efficient than ever before.", + "Whether you're editing photos, designing artwork, or multitasking with demanding apps, the iPad Pro 11 handles it all with ease." + ] + }, + { + "title": "Stunning Liquid Retina Display", + "text": [ + "Enjoy a vibrant and immersive visual experience on the iPad Pro 11's Liquid Retina display. With ProMotion technology and True Tone, the display adapts to your environment, providing smooth scrolling, precise color accuracy, and incredible detail.", + "From watching movies to editing videos, the iPad Pro 11's display brings your content to life with stunning clarity." + ] + }, + { + "title": "Versatile Camera System", + "text": [ + "Capture stunning photos and videos with the iPad Pro 11's advanced camera system. Featuring a 12MP Ultra Wide front camera and a 12MP Wide rear camera with LiDAR scanner, you can take high-quality shots and enjoy augmented reality experiences.", + "Whether you're video calling, scanning documents, or recording 4K videos, the iPad Pro 11's camera system delivers exceptional performance." + ] + } + ], + "screen": "11' Liquid Retina", + "resolution": "2388x1668", + "processor": "Apple M1", + "ram": "16GB", + "camera": "12MP + 12MP", + "zoom": "Digital zoom up to 5x", + "cell": ["Not applicable"] + }, + { + "id": "apple-ipad-pro-11-2021-128gb-silver", + "category": "tablets", + "namespaceId": "apple-ipad-pro-11-2021", + "name": "Apple iPad Pro 11 (2021) 128GB Silver", + "capacityAvailable": ["128GB", "256GB", "512GB", "1TB", "2TB"], + "capacity": "128GB", + "priceRegular": 799, + "priceDiscount": 749, + "colorsAvailable": ["spacegray", "silver"], + "color": "silver", + "images": [ + "img/tablets/apple-ipad-pro-11-2021/silver/00.webp", + "img/tablets/apple-ipad-pro-11-2021/silver/01.webp", + "img/tablets/apple-ipad-pro-11-2021/silver/02.webp" + ], + "description": [ + { + "title": "Powerful Performance", + "text": [ + "Experience incredible power and performance with the Apple iPad Pro 11. With the M1 chip, it delivers a new level of performance, making it faster and more efficient than ever before.", + "Whether you're editing photos, designing artwork, or multitasking with demanding apps, the iPad Pro 11 handles it all with ease." + ] + }, + { + "title": "Stunning Liquid Retina Display", + "text": [ + "Enjoy a vibrant and immersive visual experience on the iPad Pro 11's Liquid Retina display. With ProMotion technology and True Tone, the display adapts to your environment, providing smooth scrolling, precise color accuracy, and incredible detail.", + "From watching movies to editing videos, the iPad Pro 11's display brings your content to life with stunning clarity." + ] + }, + { + "title": "Versatile Camera System", + "text": [ + "Capture stunning photos and videos with the iPad Pro 11's advanced camera system. Featuring a 12MP Ultra Wide front camera and a 12MP Wide rear camera with LiDAR scanner, you can take high-quality shots and enjoy augmented reality experiences.", + "Whether you're video calling, scanning documents, or recording 4K videos, the iPad Pro 11's camera system delivers exceptional performance." + ] + } + ], + "screen": "11' Liquid Retina", + "resolution": "2388x1668", + "processor": "Apple M1", + "ram": "8GB", + "camera": "12MP + 12MP", + "zoom": "Digital zoom up to 5x", + "cell": ["Not applicable"] + }, + { + "id": "apple-ipad-pro-11-2021-256gb-silver", + "category": "tablets", + "namespaceId": "apple-ipad-pro-11-2021", + "name": "Apple iPad Pro 11 (2021) 256GB Silver", + "capacityAvailable": ["128GB", "256GB", "512GB", "1TB", "2TB"], + "capacity": "256GB", + "priceRegular": 829, + "priceDiscount": 799, + "colorsAvailable": ["spacegray", "silver"], + "color": "silver", + "images": [ + "img/tablets/apple-ipad-pro-11-2021/silver/00.webp", + "img/tablets/apple-ipad-pro-11-2021/silver/01.webp", + "img/tablets/apple-ipad-pro-11-2021/silver/02.webp" + ], + "description": [ + { + "title": "Powerful Performance", + "text": [ + "Experience incredible power and performance with the Apple iPad Pro 11. With the M1 chip, it delivers a new level of performance, making it faster and more efficient than ever before.", + "Whether you're editing photos, designing artwork, or multitasking with demanding apps, the iPad Pro 11 handles it all with ease." + ] + }, + { + "title": "Stunning Liquid Retina Display", + "text": [ + "Enjoy a vibrant and immersive visual experience on the iPad Pro 11's Liquid Retina display. With ProMotion technology and True Tone, the display adapts to your environment, providing smooth scrolling, precise color accuracy, and incredible detail.", + "From watching movies to editing videos, the iPad Pro 11's display brings your content to life with stunning clarity." + ] + }, + { + "title": "Versatile Camera System", + "text": [ + "Capture stunning photos and videos with the iPad Pro 11's advanced camera system. Featuring a 12MP Ultra Wide front camera and a 12MP Wide rear camera with LiDAR scanner, you can take high-quality shots and enjoy augmented reality experiences.", + "Whether you're video calling, scanning documents, or recording 4K videos, the iPad Pro 11's camera system delivers exceptional performance." + ] + } + ], + "screen": "11' Liquid Retina", + "resolution": "2388x1668", + "processor": "Apple M1", + "ram": "8GB", + "camera": "12MP + 12MP", + "zoom": "Digital zoom up to 5x", + "cell": ["Not applicable"] + }, + { + "id": "apple-ipad-pro-11-2021-512gb-silver", + "category": "tablets", + "namespaceId": "apple-ipad-pro-11-2021", + "name": "Apple iPad Pro 11 (2021) 512GB Silver", + "capacityAvailable": ["128GB", "256GB", "512GB", "1TB", "2TB"], + "capacity": "512GB", + "priceRegular": 869, + "priceDiscount": 819, + "colorsAvailable": ["spacegray", "silver"], + "color": "silver", + "images": [ + "img/tablets/apple-ipad-pro-11-2021/silver/00.webp", + "img/tablets/apple-ipad-pro-11-2021/silver/01.webp", + "img/tablets/apple-ipad-pro-11-2021/silver/02.webp" + ], + "description": [ + { + "title": "Powerful Performance", + "text": [ + "Experience incredible power and performance with the Apple iPad Pro 11. With the M1 chip, it delivers a new level of performance, making it faster and more efficient than ever before.", + "Whether you're editing photos, designing artwork, or multitasking with demanding apps, the iPad Pro 11 handles it all with ease." + ] + }, + { + "title": "Stunning Liquid Retina Display", + "text": [ + "Enjoy a vibrant and immersive visual experience on the iPad Pro 11's Liquid Retina display. With ProMotion technology and True Tone, the display adapts to your environment, providing smooth scrolling, precise color accuracy, and incredible detail.", + "From watching movies to editing videos, the iPad Pro 11's display brings your content to life with stunning clarity." + ] + }, + { + "title": "Versatile Camera System", + "text": [ + "Capture stunning photos and videos with the iPad Pro 11's advanced camera system. Featuring a 12MP Ultra Wide front camera and a 12MP Wide rear camera with LiDAR scanner, you can take high-quality shots and enjoy augmented reality experiences.", + "Whether you're video calling, scanning documents, or recording 4K videos, the iPad Pro 11's camera system delivers exceptional performance." + ] + } + ], + "screen": "11' Liquid Retina", + "resolution": "2388x1668", + "processor": "Apple M1", + "ram": "8GB", + "camera": "12MP + 12MP", + "zoom": "Digital zoom up to 5x", + "cell": ["Not applicable"] + }, + { + "id": "apple-ipad-pro-11-2021-1tb-silver", + "category": "tablets", + "namespaceId": "apple-ipad-pro-11-2021", + "name": "Apple iPad Pro 11 (2021) 1TB Silver", + "capacityAvailable": ["128GB", "256GB", "512GB", "1TB", "2TB"], + "capacity": "1TB", + "priceRegular": 899, + "priceDiscount": 879, + "colorsAvailable": ["spacegray", "silver"], + "color": "silver", + "images": [ + "img/tablets/apple-ipad-pro-11-2021/silver/00.webp", + "img/tablets/apple-ipad-pro-11-2021/silver/01.webp", + "img/tablets/apple-ipad-pro-11-2021/silver/02.webp" + ], + "description": [ + { + "title": "Powerful Performance", + "text": [ + "Experience incredible power and performance with the Apple iPad Pro 11. With the M1 chip, it delivers a new level of performance, making it faster and more efficient than ever before.", + "Whether you're editing photos, designing artwork, or multitasking with demanding apps, the iPad Pro 11 handles it all with ease." + ] + }, + { + "title": "Stunning Liquid Retina Display", + "text": [ + "Enjoy a vibrant and immersive visual experience on the iPad Pro 11's Liquid Retina display. With ProMotion technology and True Tone, the display adapts to your environment, providing smooth scrolling, precise color accuracy, and incredible detail.", + "From watching movies to editing videos, the iPad Pro 11's display brings your content to life with stunning clarity." + ] + }, + { + "title": "Versatile Camera System", + "text": [ + "Capture stunning photos and videos with the iPad Pro 11's advanced camera system. Featuring a 12MP Ultra Wide front camera and a 12MP Wide rear camera with LiDAR scanner, you can take high-quality shots and enjoy augmented reality experiences.", + "Whether you're video calling, scanning documents, or recording 4K videos, the iPad Pro 11's camera system delivers exceptional performance." + ] + } + ], + "screen": "11' Liquid Retina", + "resolution": "2388x1668", + "processor": "Apple M1", + "ram": "16GB", + "camera": "12MP + 12MP", + "zoom": "Digital zoom up to 5x", + "cell": ["Not applicable"] + }, + { + "id": "apple-ipad-pro-11-2021-2tb-silver", + "category": "tablets", + "namespaceId": "apple-ipad-pro-11-2021", + "name": "Apple iPad Pro 11 (2021) 2TB Silver", + "capacityAvailable": ["128GB", "256GB", "512GB", "1TB", "2TB"], + "capacity": "2TB", + "priceRegular": 999, + "priceDiscount": 939, + "colorsAvailable": ["spacegray", "silver"], + "color": "silver", + "images": [ + "img/tablets/apple-ipad-pro-11-2021/silver/00.webp", + "img/tablets/apple-ipad-pro-11-2021/silver/01.webp", + "img/tablets/apple-ipad-pro-11-2021/silver/02.webp" + ], + "description": [ + { + "title": "Powerful Performance", + "text": [ + "Experience incredible power and performance with the Apple iPad Pro 11. With the M1 chip, it delivers a new level of performance, making it faster and more efficient than ever before.", + "Whether you're editing photos, designing artwork, or multitasking with demanding apps, the iPad Pro 11 handles it all with ease." + ] + }, + { + "title": "Stunning Liquid Retina Display", + "text": [ + "Enjoy a vibrant and immersive visual experience on the iPad Pro 11's Liquid Retina display. With ProMotion technology and True Tone, the display adapts to your environment, providing smooth scrolling, precise color accuracy, and incredible detail.", + "From watching movies to editing videos, the iPad Pro 11's display brings your content to life with stunning clarity." + ] + }, + { + "title": "Versatile Camera System", + "text": [ + "Capture stunning photos and videos with the iPad Pro 11's advanced camera system. Featuring a 12MP Ultra Wide front camera and a 12MP Wide rear camera with LiDAR scanner, you can take high-quality shots and enjoy augmented reality experiences.", + "Whether you're video calling, scanning documents, or recording 4K videos, the iPad Pro 11's camera system delivers exceptional performance." + ] + } + ], + "screen": "11' Liquid Retina", + "resolution": "2388x1668", + "processor": "Apple M1", + "ram": "16GB", + "camera": "12MP + 12MP", + "zoom": "Digital zoom up to 5x", + "cell": ["Not applicable"] + }, + { + "id": "apple-ipad-air-4th-gen-256gb-rose-gold", + "category": "tablets", + "namespaceId": "apple-ipad-air-4th-gen", + "name": "Apple iPad Air (4th Gen) 256GB Rose Gold", + "capacityAvailable": ["64GB", "256GB"], + "capacity": "256GB", + "priceRegular": 749, + "priceDiscount": 699, + "colorsAvailable": ["rose gold", "silver", "green", "sky blue"], + "color": "rose gold", + "images": [ + "img/tablets/apple-ipad-air-4th-gen/rose-gold/00.webp", + "img/tablets/apple-ipad-air-4th-gen/rose-gold/01.webp", + "img/tablets/apple-ipad-air-4th-gen/rose-gold/02.webp", + "img/tablets/apple-ipad-air-4th-gen/rose-gold/03.webp" + ], + "description": [ + { + "title": "Thin, Light, and Powerful", + "text": [ + "The Apple iPad Air (4th Gen) combines sleek design with powerful performance. With its thin and light form factor, it's incredibly portable and easy to carry wherever you go.", + "Featuring the A14 Bionic chip with Neural Engine, the iPad Air delivers fast and efficient performance, making it ideal for multitasking, gaming, and creative tasks." + ] + }, + { + "title": "Stunning Liquid Retina Display", + "text": [ + "Immerse yourself in vivid visuals on the iPad Air's Liquid Retina display. With True Tone and P3 wide color gamut, it offers true-to-life colors and incredible detail.", + "Whether you're watching movies, editing photos, or browsing the web, the iPad Air's display provides an immersive and enjoyable viewing experience." + ] + }, + { + "title": "Versatile Features and Apple Pencil Support", + "text": [ + "Unlock new possibilities with the iPad Air's versatile features. It supports Apple Pencil (2nd generation), allowing you to take notes, sketch, and annotate documents with precision.", + "With Touch ID built into the top button, you can securely unlock your iPad, make secure purchases, and authenticate apps with a simple touch." + ] + } + ], + "screen": "10.9' Liquid Retina", + "resolution": "2360x1640", + "processor": "Apple A14 Bionic", + "ram": "4GB", + "camera": "12MP", + "zoom": "Digital zoom up to 5x", + "cell": ["Not applicable"] + }, + { + "id": "apple-ipad-air-4th-gen-64gb-rose-gold", + "category": "tablets", + "namespaceId": "apple-ipad-air-4th-gen", + "name": "Apple iPad Air (4th Gen) 64GB Rose Gold", + "capacityAvailable": ["64GB", "256GB"], + "capacity": "64GB", + "priceRegular": 599, + "priceDiscount": 549, + "colorsAvailable": ["rose gold", "silver", "green", "sky blue"], + "color": "rose gold", + "images": [ + "img/tablets/apple-ipad-air-4th-gen/rose-gold/00.webp", + "img/tablets/apple-ipad-air-4th-gen/rose-gold/01.webp", + "img/tablets/apple-ipad-air-4th-gen/rose-gold/02.webp", + "img/tablets/apple-ipad-air-4th-gen/rose-gold/03.webp" + ], + "description": [ + { + "title": "Thin, Light, and Powerful", + "text": [ + "The Apple iPad Air (4th Gen) combines sleek design with powerful performance. With its thin and light form factor, it's incredibly portable and easy to carry wherever you go.", + "Featuring the A14 Bionic chip with Neural Engine, the iPad Air delivers fast and efficient performance, making it ideal for multitasking, gaming, and creative tasks." + ] + }, + { + "title": "Stunning Liquid Retina Display", + "text": [ + "Immerse yourself in vivid visuals on the iPad Air's Liquid Retina display. With True Tone and P3 wide color gamut, it offers true-to-life colors and incredible detail.", + "Whether you're watching movies, editing photos, or browsing the web, the iPad Air's display provides an immersive and enjoyable viewing experience." + ] + }, + { + "title": "Versatile Features and Apple Pencil Support", + "text": [ + "Unlock new possibilities with the iPad Air's versatile features. It supports Apple Pencil (2nd generation), allowing you to take notes, sketch, and annotate documents with precision.", + "With Touch ID built into the top button, you can securely unlock your iPad, make secure purchases, and authenticate apps with a simple touch." + ] + } + ], + "screen": "10.9' Liquid Retina", + "resolution": "2360x1640", + "processor": "Apple A14 Bionic", + "ram": "4GB", + "camera": "12MP", + "zoom": "Digital zoom up to 5x", + "cell": ["Not applicable"] + }, + { + "id": "apple-ipad-air-4th-gen-64gb-silver", + "category": "tablets", + "namespaceId": "apple-ipad-air-4th-gen", + "name": "Apple iPad Air (4th Gen) 64GB Silver", + "capacityAvailable": ["64GB", "256GB"], + "capacity": "64GB", + "priceRegular": 599, + "priceDiscount": 549, + "colorsAvailable": ["rose gold", "silver", "green", "sky blue"], + "color": "silver", + "images": [ + "img/tablets/apple-ipad-air-4th-gen/silver/00.webp", + "img/tablets/apple-ipad-air-4th-gen/silver/01.webp", + "img/tablets/apple-ipad-air-4th-gen/silver/02.webp", + "img/tablets/apple-ipad-air-4th-gen/silver/03.webp" + ], + "description": [ + { + "title": "Thin, Light, and Powerful", + "text": [ + "The Apple iPad Air (4th Gen) combines sleek design with powerful performance. With its thin and light form factor, it's incredibly portable and easy to carry wherever you go.", + "Featuring the A14 Bionic chip with Neural Engine, the iPad Air delivers fast and efficient performance, making it ideal for multitasking, gaming, and creative tasks." + ] + }, + { + "title": "Stunning Liquid Retina Display", + "text": [ + "Immerse yourself in vivid visuals on the iPad Air's Liquid Retina display. With True Tone and P3 wide color gamut, it offers true-to-life colors and incredible detail.", + "Whether you're watching movies, editing photos, or browsing the web, the iPad Air's display provides an immersive and enjoyable viewing experience." + ] + }, + { + "title": "Versatile Features and Apple Pencil Support", + "text": [ + "Unlock new possibilities with the iPad Air's versatile features. It supports Apple Pencil (2nd generation), allowing you to take notes, sketch, and annotate documents with precision.", + "With Touch ID built into the top button, you can securely unlock your iPad, make secure purchases, and authenticate apps with a simple touch." + ] + } + ], + "screen": "10.9' Liquid Retina", + "resolution": "2360x1640", + "processor": "Apple A14 Bionic", + "ram": "4GB", + "camera": "12MP", + "zoom": "Digital zoom up to 5x", + "cell": ["Not applicable"] + }, + { + "id": "apple-ipad-air-4th-gen-256gb-silver", + "category": "tablets", + "namespaceId": "apple-ipad-air-4th-gen", + "name": "Apple iPad Air (4th Gen) 256GB Silver", + "capacityAvailable": ["64GB", "256GB"], + "capacity": "256GB", + "priceRegular": 749, + "priceDiscount": 699, + "colorsAvailable": ["rose gold", "silver", "green", "sky blue"], + "color": "silver", + "images": [ + "img/tablets/apple-ipad-air-4th-gen/silver/00.webp", + "img/tablets/apple-ipad-air-4th-gen/silver/01.webp", + "img/tablets/apple-ipad-air-4th-gen/silver/02.webp", + "img/tablets/apple-ipad-air-4th-gen/silver/03.webp" + ], + "description": [ + { + "title": "Thin, Light, and Powerful", + "text": [ + "The Apple iPad Air (4th Gen) combines sleek design with powerful performance. With its thin and light form factor, it's incredibly portable and easy to carry wherever you go.", + "Featuring the A14 Bionic chip with Neural Engine, the iPad Air delivers fast and efficient performance, making it ideal for multitasking, gaming, and creative tasks." + ] + }, + { + "title": "Stunning Liquid Retina Display", + "text": [ + "Immerse yourself in vivid visuals on the iPad Air's Liquid Retina display. With True Tone and P3 wide color gamut, it offers true-to-life colors and incredible detail.", + "Whether you're watching movies, editing photos, or browsing the web, the iPad Air's display provides an immersive and enjoyable viewing experience." + ] + }, + { + "title": "Versatile Features and Apple Pencil Support", + "text": [ + "Unlock new possibilities with the iPad Air's versatile features. It supports Apple Pencil (2nd generation), allowing you to take notes, sketch, and annotate documents with precision.", + "With Touch ID built into the top button, you can securely unlock your iPad, make secure purchases, and authenticate apps with a simple touch." + ] + } + ], + "screen": "10.9' Liquid Retina", + "resolution": "2360x1640", + "processor": "Apple A14 Bionic", + "ram": "4GB", + "camera": "12MP", + "zoom": "Digital zoom up to 5x", + "cell": ["Not applicable"] + }, + { + "id": "apple-ipad-air-4th-gen-256gb-green", + "category": "tablets", + "namespaceId": "apple-ipad-air-4th-gen", + "name": "Apple iPad Air (4th Gen) 256GB Green", + "capacityAvailable": ["64GB", "256GB"], + "capacity": "256GB", + "priceRegular": 749, + "priceDiscount": 699, + "colorsAvailable": ["rose gold", "silver", "green", "sky blue"], + "color": "green", + "images": [ + "img/tablets/apple-ipad-air-4th-gen/green/00.webp", + "img/tablets/apple-ipad-air-4th-gen/green/01.webp", + "img/tablets/apple-ipad-air-4th-gen/green/02.webp", + "img/tablets/apple-ipad-air-4th-gen/green/03.webp" + ], + "description": [ + { + "title": "Thin, Light, and Powerful", + "text": [ + "The Apple iPad Air (4th Gen) combines sleek design with powerful performance. With its thin and light form factor, it's incredibly portable and easy to carry wherever you go.", + "Featuring the A14 Bionic chip with Neural Engine, the iPad Air delivers fast and efficient performance, making it ideal for multitasking, gaming, and creative tasks." + ] + }, + { + "title": "Stunning Liquid Retina Display", + "text": [ + "Immerse yourself in vivid visuals on the iPad Air's Liquid Retina display. With True Tone and P3 wide color gamut, it offers true-to-life colors and incredible detail.", + "Whether you're watching movies, editing photos, or browsing the web, the iPad Air's display provides an immersive and enjoyable viewing experience." + ] + }, + { + "title": "Versatile Features and Apple Pencil Support", + "text": [ + "Unlock new possibilities with the iPad Air's versatile features. It supports Apple Pencil (2nd generation), allowing you to take notes, sketch, and annotate documents with precision.", + "With Touch ID built into the top button, you can securely unlock your iPad, make secure purchases, and authenticate apps with a simple touch." + ] + } + ], + "screen": "10.9' Liquid Retina", + "resolution": "2360x1640", + "processor": "Apple A14 Bionic", + "ram": "4GB", + "camera": "12MP", + "zoom": "Digital zoom up to 5x", + "cell": ["Not applicable"] + }, + { + "id": "apple-ipad-air-4th-gen-64gb-green", + "category": "tablets", + "namespaceId": "apple-ipad-air-4th-gen", + "name": "Apple iPad Air (4th Gen) 64GB Green", + "capacityAvailable": ["64GB", "256GB"], + "capacity": "64GB", + "priceRegular": 599, + "priceDiscount": 549, + "colorsAvailable": ["rose gold", "silver", "green", "sky blue"], + "color": "green", + "images": [ + "img/tablets/apple-ipad-air-4th-gen/green/00.webp", + "img/tablets/apple-ipad-air-4th-gen/green/01.webp", + "img/tablets/apple-ipad-air-4th-gen/green/02.webp", + "img/tablets/apple-ipad-air-4th-gen/green/03.webp" + ], + "description": [ + { + "title": "Thin, Light, and Powerful", + "text": [ + "The Apple iPad Air (4th Gen) combines sleek design with powerful performance. With its thin and light form factor, it's incredibly portable and easy to carry wherever you go.", + "Featuring the A14 Bionic chip with Neural Engine, the iPad Air delivers fast and efficient performance, making it ideal for multitasking, gaming, and creative tasks." + ] + }, + { + "title": "Stunning Liquid Retina Display", + "text": [ + "Immerse yourself in vivid visuals on the iPad Air's Liquid Retina display. With True Tone and P3 wide color gamut, it offers true-to-life colors and incredible detail.", + "Whether you're watching movies, editing photos, or browsing the web, the iPad Air's display provides an immersive and enjoyable viewing experience." + ] + }, + { + "title": "Versatile Features and Apple Pencil Support", + "text": [ + "Unlock new possibilities with the iPad Air's versatile features. It supports Apple Pencil (2nd generation), allowing you to take notes, sketch, and annotate documents with precision.", + "With Touch ID built into the top button, you can securely unlock your iPad, make secure purchases, and authenticate apps with a simple touch." + ] + } + ], + "screen": "10.9' Liquid Retina", + "resolution": "2360x1640", + "processor": "Apple A14 Bionic", + "ram": "4GB", + "camera": "12MP", + "zoom": "Digital zoom up to 5x", + "cell": ["Not applicable"] + }, + { + "id": "apple-ipad-air-4th-gen-64gb-sky-blue", + "category": "tablets", + "namespaceId": "apple-ipad-air-4th-gen", + "name": "Apple iPad Air (4th Gen) 64GB Sky Blue", + "capacityAvailable": ["64GB", "256GB"], + "capacity": "64GB", + "priceRegular": 599, + "priceDiscount": 549, + "colorsAvailable": ["rose gold", "silver", "green", "sky blue"], + "color": "sky blue", + "images": [ + "img/tablets/apple-ipad-air-4th-gen/sky-blue/00.webp", + "img/tablets/apple-ipad-air-4th-gen/sky-blue/01.webp", + "img/tablets/apple-ipad-air-4th-gen/sky-blue/02.webp", + "img/tablets/apple-ipad-air-4th-gen/sky-blue/03.webp" + ], + "description": [ + { + "title": "Thin, Light, and Powerful", + "text": [ + "The Apple iPad Air (4th Gen) combines sleek design with powerful performance. With its thin and light form factor, it's incredibly portable and easy to carry wherever you go.", + "Featuring the A14 Bionic chip with Neural Engine, the iPad Air delivers fast and efficient performance, making it ideal for multitasking, gaming, and creative tasks." + ] + }, + { + "title": "Stunning Liquid Retina Display", + "text": [ + "Immerse yourself in vivid visuals on the iPad Air's Liquid Retina display. With True Tone and P3 wide color gamut, it offers true-to-life colors and incredible detail.", + "Whether you're watching movies, editing photos, or browsing the web, the iPad Air's display provides an immersive and enjoyable viewing experience." + ] + }, + { + "title": "Versatile Features and Apple Pencil Support", + "text": [ + "Unlock new possibilities with the iPad Air's versatile features. It supports Apple Pencil (2nd generation), allowing you to take notes, sketch, and annotate documents with precision.", + "With Touch ID built into the top button, you can securely unlock your iPad, make secure purchases, and authenticate apps with a simple touch." + ] + } + ], + "screen": "10.9' Liquid Retina", + "resolution": "2360x1640", + "processor": "Apple A14 Bionic", + "ram": "4GB", + "camera": "12MP", + "zoom": "Digital zoom up to 5x", + "cell": ["Not applicable"] + }, + { + "id": "apple-ipad-air-4th-gen-256gb-sky-blue", + "category": "tablets", + "namespaceId": "apple-ipad-air-4th-gen", + "name": "Apple iPad Air (4th Gen) 256GB Sky Blue", + "capacityAvailable": ["64GB", "256GB"], + "capacity": "256GB", + "priceRegular": 749, + "priceDiscount": 699, + "colorsAvailable": ["rose gold", "silver", "green", "sky blue"], + "color": "sky blue", + "images": [ + "img/tablets/apple-ipad-air-4th-gen/sky-blue/00.webp", + "img/tablets/apple-ipad-air-4th-gen/sky-blue/01.webp", + "img/tablets/apple-ipad-air-4th-gen/sky-blue/02.webp", + "img/tablets/apple-ipad-air-4th-gen/sky-blue/03.webp" + ], + "description": [ + { + "title": "Thin, Light, and Powerful", + "text": [ + "The Apple iPad Air (4th Gen) combines sleek design with powerful performance. With its thin and light form factor, it's incredibly portable and easy to carry wherever you go.", + "Featuring the A14 Bionic chip with Neural Engine, the iPad Air delivers fast and efficient performance, making it ideal for multitasking, gaming, and creative tasks." + ] + }, + { + "title": "Stunning Liquid Retina Display", + "text": [ + "Immerse yourself in vivid visuals on the iPad Air's Liquid Retina display. With True Tone and P3 wide color gamut, it offers true-to-life colors and incredible detail.", + "Whether you're watching movies, editing photos, or browsing the web, the iPad Air's display provides an immersive and enjoyable viewing experience." + ] + }, + { + "title": "Versatile Features and Apple Pencil Support", + "text": [ + "Unlock new possibilities with the iPad Air's versatile features. It supports Apple Pencil (2nd generation), allowing you to take notes, sketch, and annotate documents with precision.", + "With Touch ID built into the top button, you can securely unlock your iPad, make secure purchases, and authenticate apps with a simple touch." + ] + } + ], + "screen": "10.9' Liquid Retina", + "resolution": "2360x1640", + "processor": "Apple A14 Bionic", + "ram": "4GB", + "camera": "12MP", + "zoom": "Digital zoom up to 5x", + "cell": ["Not applicable"] + }, + { + "id": "apple-ipad-mini-6th-gen-64gb-spacegray", + "category": "tablets", + "namespaceId": "apple-ipad-mini-6th-gen", + "name": "Apple iPad Mini (6th Gen) 64GB Space Gray", + "capacityAvailable": ["64GB", "256GB"], + "capacity": "64GB", + "priceRegular": 499, + "priceDiscount": 469, + "colorsAvailable": ["spacegray", "starlight", "pink"], + "color": "spacegray", + "images": [ + "img/tablets/apple-ipad-mini-6th-gen/spacegray/00.webp", + "img/tablets/apple-ipad-mini-6th-gen/spacegray/01.webp", + "img/tablets/apple-ipad-mini-6th-gen/spacegray/02.webp" + ], + "description": [ + { + "title": "Compact and Portable", + "text": [ + "Experience the power of an iPad in a compact size with the Apple iPad Mini (6th Gen). With its 8.3-inch Liquid Retina display and slim design, it's perfect for on-the-go productivity and entertainment.", + "Whether you're reading, gaming, or watching videos, the iPad Mini delivers a stunning visual experience in a portable package." + ] + }, + { + "title": "A15 Bionic Chip and Neural Engine", + "text": [ + "The iPad Mini (6th Gen) is equipped with the powerful A15 Bionic chip and Neural Engine, delivering fast and efficient performance. It can handle demanding tasks and graphics-intensive apps with ease, making it suitable for both work and play.", + "Experience smooth multitasking, immersive gaming, and seamless app usage on the iPad Mini." + ] + }, + { + "title": "Advanced Cameras and Center Stage", + "text": [ + "Capture stunning photos and videos with the iPad Mini's advanced cameras. With a 12MP front camera and a 12MP rear camera, you can take high-quality shots and record impressive videos.", + "The iPad Mini also features Center Stage, a feature that automatically keeps you in frame during video calls, making your conversations more engaging and dynamic." + ] + } + ], + "screen": "8.3' Liquid Retina", + "resolution": "2266x1488", + "processor": "Apple A15 Bionic", + "ram": "4GB", + "camera": "12MP", + "zoom": "Digital zoom up to 5x", + "cell": ["Not applicable"] + }, + { + "id": "apple-ipad-mini-6th-gen-256gb-spacegray", + "category": "tablets", + "namespaceId": "apple-ipad-mini-6th-gen", + "name": "Apple iPad Mini (6th Gen) 256GB Space Gray", + "capacityAvailable": ["64GB", "256GB"], + "capacity": "256GB", + "priceRegular": 649, + "priceDiscount": 599, + "colorsAvailable": ["spacegray", "starlight", "pink"], + "color": "spacegray", + "images": [ + "img/tablets/apple-ipad-mini-6th-gen/spacegray/00.webp", + "img/tablets/apple-ipad-mini-6th-gen/spacegray/01.webp", + "img/tablets/apple-ipad-mini-6th-gen/spacegray/02.webp" + ], + "description": [ + { + "title": "Compact and Portable", + "text": [ + "Experience the power of an iPad in a compact size with the Apple iPad Mini (6th Gen). With its 8.3-inch Liquid Retina display and slim design, it's perfect for on-the-go productivity and entertainment.", + "Whether you're reading, gaming, or watching videos, the iPad Mini delivers a stunning visual experience in a portable package." + ] + }, + { + "title": "A15 Bionic Chip and Neural Engine", + "text": [ + "The iPad Mini (6th Gen) is equipped with the powerful A15 Bionic chip and Neural Engine, delivering fast and efficient performance. It can handle demanding tasks and graphics-intensive apps with ease, making it suitable for both work and play.", + "Experience smooth multitasking, immersive gaming, and seamless app usage on the iPad Mini." + ] + }, + { + "title": "Advanced Cameras and Center Stage", + "text": [ + "Capture stunning photos and videos with the iPad Mini's advanced cameras. With a 12MP front camera and a 12MP rear camera, you can take high-quality shots and record impressive videos.", + "The iPad Mini also features Center Stage, a feature that automatically keeps you in frame during video calls, making your conversations more engaging and dynamic." + ] + } + ], + "screen": "8.3' Liquid Retina", + "resolution": "2266x1488", + "processor": "Apple A15 Bionic", + "ram": "4GB", + "camera": "12MP", + "zoom": "Digital zoom up to 5x", + "cell": ["Not applicable"] + }, + { + "id": "apple-ipad-mini-6th-gen-256gb-starlight", + "category": "tablets", + "namespaceId": "apple-ipad-mini-6th-gen", + "name": "Apple iPad Mini (6th Gen) 256GB Starlight", + "capacityAvailable": ["64GB", "256GB"], + "capacity": "256GB", + "priceRegular": 649, + "priceDiscount": 599, + "colorsAvailable": ["spacegray", "starlight", "pink"], + "color": "starlight", + "images": [ + "img/tablets/apple-ipad-mini-6th-gen/starlight/00.webp", + "img/tablets/apple-ipad-mini-6th-gen/starlight/01.webp", + "img/tablets/apple-ipad-mini-6th-gen/starlight/02.webp" + ], + "description": [ + { + "title": "Compact and Portable", + "text": [ + "Experience the power of an iPad in a compact size with the Apple iPad Mini (6th Gen). With its 8.3-inch Liquid Retina display and slim design, it's perfect for on-the-go productivity and entertainment.", + "Whether you're reading, gaming, or watching videos, the iPad Mini delivers a stunning visual experience in a portable package." + ] + }, + { + "title": "A15 Bionic Chip and Neural Engine", + "text": [ + "The iPad Mini (6th Gen) is equipped with the powerful A15 Bionic chip and Neural Engine, delivering fast and efficient performance. It can handle demanding tasks and graphics-intensive apps with ease, making it suitable for both work and play.", + "Experience smooth multitasking, immersive gaming, and seamless app usage on the iPad Mini." + ] + }, + { + "title": "Advanced Cameras and Center Stage", + "text": [ + "Capture stunning photos and videos with the iPad Mini's advanced cameras. With a 12MP front camera and a 12MP rear camera, you can take high-quality shots and record impressive videos.", + "The iPad Mini also features Center Stage, a feature that automatically keeps you in frame during video calls, making your conversations more engaging and dynamic." + ] + } + ], + "screen": "8.3' Liquid Retina", + "resolution": "2266x1488", + "processor": "Apple A15 Bionic", + "ram": "4GB", + "camera": "12MP", + "zoom": "Digital zoom up to 5x", + "cell": ["Not applicable"] + }, + { + "id": "apple-ipad-mini-6th-gen-64gb-starlight", + "category": "tablets", + "namespaceId": "apple-ipad-mini-6th-gen", + "name": "Apple iPad Mini (6th Gen) 64GB Starlight", + "capacityAvailable": ["64GB", "256GB"], + "capacity": "64GB", + "priceRegular": 499, + "priceDiscount": 469, + "colorsAvailable": ["spacegray", "starlight", "pink"], + "color": "starlight", + "images": [ + "img/tablets/apple-ipad-mini-6th-gen/starlight/00.webp", + "img/tablets/apple-ipad-mini-6th-gen/starlight/01.webp", + "img/tablets/apple-ipad-mini-6th-gen/starlight/02.webp" + ], + "description": [ + { + "title": "Compact and Portable", + "text": [ + "Experience the power of an iPad in a compact size with the Apple iPad Mini (6th Gen). With its 8.3-inch Liquid Retina display and slim design, it's perfect for on-the-go productivity and entertainment.", + "Whether you're reading, gaming, or watching videos, the iPad Mini delivers a stunning visual experience in a portable package." + ] + }, + { + "title": "A15 Bionic Chip and Neural Engine", + "text": [ + "The iPad Mini (6th Gen) is equipped with the powerful A15 Bionic chip and Neural Engine, delivering fast and efficient performance. It can handle demanding tasks and graphics-intensive apps with ease, making it suitable for both work and play.", + "Experience smooth multitasking, immersive gaming, and seamless app usage on the iPad Mini." + ] + }, + { + "title": "Advanced Cameras and Center Stage", + "text": [ + "Capture stunning photos and videos with the iPad Mini's advanced cameras. With a 12MP front camera and a 12MP rear camera, you can take high-quality shots and record impressive videos.", + "The iPad Mini also features Center Stage, a feature that automatically keeps you in frame during video calls, making your conversations more engaging and dynamic." + ] + } + ], + "screen": "8.3' Liquid Retina", + "resolution": "2266x1488", + "processor": "Apple A15 Bionic", + "ram": "4GB", + "camera": "12MP", + "zoom": "Digital zoom up to 5x", + "cell": ["Not applicable"] + }, + { + "id": "apple-ipad-mini-6th-gen-64gb-pink", + "category": "tablets", + "namespaceId": "apple-ipad-mini-6th-gen", + "name": "Apple iPad Mini (6th Gen) 64GB Pink", + "capacityAvailable": ["64GB", "256GB"], + "capacity": "64GB", + "priceRegular": 499, + "priceDiscount": 469, + "colorsAvailable": ["spacegray", "starlight", "pink"], + "color": "pink", + "images": [ + "img/tablets/apple-ipad-mini-6th-gen/pink/00.webp", + "img/tablets/apple-ipad-mini-6th-gen/pink/01.webp", + "img/tablets/apple-ipad-mini-6th-gen/pink/02.webp" + ], + "description": [ + { + "title": "Compact and Portable", + "text": [ + "Experience the power of an iPad in a compact size with the Apple iPad Mini (6th Gen). With its 8.3-inch Liquid Retina display and slim design, it's perfect for on-the-go productivity and entertainment.", + "Whether you're reading, gaming, or watching videos, the iPad Mini delivers a stunning visual experience in a portable package." + ] + }, + { + "title": "A15 Bionic Chip and Neural Engine", + "text": [ + "The iPad Mini (6th Gen) is equipped with the powerful A15 Bionic chip and Neural Engine, delivering fast and efficient performance. It can handle demanding tasks and graphics-intensive apps with ease, making it suitable for both work and play.", + "Experience smooth multitasking, immersive gaming, and seamless app usage on the iPad Mini." + ] + }, + { + "title": "Advanced Cameras and Center Stage", + "text": [ + "Capture stunning photos and videos with the iPad Mini's advanced cameras. With a 12MP front camera and a 12MP rear camera, you can take high-quality shots and record impressive videos.", + "The iPad Mini also features Center Stage, a feature that automatically keeps you in frame during video calls, making your conversations more engaging and dynamic." + ] + } + ], + "screen": "8.3' Liquid Retina", + "resolution": "2266x1488", + "processor": "Apple A15 Bionic", + "ram": "4GB", + "camera": "12MP", + "zoom": "Digital zoom up to 5x", + "cell": ["Not applicable"] + }, + { + "id": "apple-ipad-mini-6th-gen-256gb-pink", + "category": "tablets", + "namespaceId": "apple-ipad-mini-6th-gen", + "name": "Apple iPad Mini (6th Gen) 256GB Pink", + "capacityAvailable": ["64GB", "256GB"], + "capacity": "256GB", + "priceRegular": 649, + "priceDiscount": 619, + "colorsAvailable": ["spacegray", "starlight", "pink"], + "color": "pink", + "images": [ + "img/tablets/apple-ipad-mini-6th-gen/pink/00.webp", + "img/tablets/apple-ipad-mini-6th-gen/pink/01.webp", + "img/tablets/apple-ipad-mini-6th-gen/pink/02.webp" + ], + "description": [ + { + "title": "Compact and Portable", + "text": [ + "Experience the power of an iPad in a compact size with the Apple iPad Mini (6th Gen). With its 8.3-inch Liquid Retina display and slim design, it's perfect for on-the-go productivity and entertainment.", + "Whether you're reading, gaming, or watching videos, the iPad Mini delivers a stunning visual experience in a portable package." + ] + }, + { + "title": "A15 Bionic Chip and Neural Engine", + "text": [ + "The iPad Mini (6th Gen) is equipped with the powerful A15 Bionic chip and Neural Engine, delivering fast and efficient performance. It can handle demanding tasks and graphics-intensive apps with ease, making it suitable for both work and play.", + "Experience smooth multitasking, immersive gaming, and seamless app usage on the iPad Mini." + ] + }, + { + "title": "Advanced Cameras and Center Stage", + "text": [ + "Capture stunning photos and videos with the iPad Mini's advanced cameras. With a 12MP front camera and a 12MP rear camera, you can take high-quality shots and record impressive videos.", + "The iPad Mini also features Center Stage, a feature that automatically keeps you in frame during video calls, making your conversations more engaging and dynamic." + ] + } + ], + "screen": "8.3' Liquid Retina", + "resolution": "2266x1488", + "processor": "Apple A15 Bionic", + "ram": "4GB", + "camera": "12MP", + "zoom": "Digital zoom up to 5x", + "cell": ["Not applicable"] + }, + { + "id": "apple-ipad-10-2-2020-128gb-gold", + "category": "tablets", + "namespaceId": "apple-ipad-10-2-2020", + "name": "Apple iPad 10.2 (2020) 128GB Gold", + "capacityAvailable": ["32GB", "128GB"], + "capacity": "128GB", + "priceRegular": 429, + "priceDiscount": 399, + "colorsAvailable": ["gold", "silver", "spacegray"], + "color": "gold", + "images": [ + "img/tablets/apple-ipad-10-2-2020/gold/00.webp", + "img/tablets/apple-ipad-10-2-2020/gold/01.webp", + "img/tablets/apple-ipad-10-2-2020/gold/02.webp", + "img/tablets/apple-ipad-10-2-2020/gold/03.webp" + ], + "description": [ + { + "title": "Versatile and Affordable", + "text": [ + "The Apple iPad 10.2 (2020) offers a versatile and affordable option for everyday tasks and entertainment. Whether you're browsing the web, streaming content, or using productivity apps, it delivers a smooth and responsive experience.", + "With its large 10.2-inch Retina display, it provides a great viewing experience for all your content." + ] + }, + { + "title": "Powerful Performance", + "text": [ + "Experience powerful performance with the iPad 10.2's A12 Bionic chip. It enables fast and efficient multitasking, allowing you to run multiple apps smoothly and seamlessly.", + "From gaming to editing documents, the iPad 10.2 can handle it all with ease." + ] + }, + { + "title": "Apple Pencil and Smart Keyboard Support", + "text": [ + "Unlock your creativity and productivity with Apple Pencil and Smart Keyboard support. Take notes, draw, and sketch with precision using the Apple Pencil (1st generation), and transform your iPad into a lightweight laptop with the Smart Keyboard.", + "The iPad 10.2 adapts to your needs, whether you're a student, professional, or creative artist." + ] + } + ], + "screen": "10.2' Retina", + "resolution": "2160x1620", + "processor": "Apple A12 Bionic", + "ram": "3GB", + "camera": "8MP", + "zoom": "Digital zoom up to 5x", + "cell": ["Not applicable"] + }, + { + "id": "apple-ipad-10-2-2020-32gb-gold", + "category": "tablets", + "namespaceId": "apple-ipad-10-2-2020", + "name": "Apple iPad 10.2 (2020) 32GB Gold", + "capacityAvailable": ["32GB", "128GB"], + "capacity": "32GB", + "priceRegular": 329, + "priceDiscount": 299, + "colorsAvailable": ["gold", "silver", "spacegray"], + "color": "gold", + "images": [ + "img/tablets/apple-ipad-10-2-2020/gold/00.webp", + "img/tablets/apple-ipad-10-2-2020/gold/01.webp", + "img/tablets/apple-ipad-10-2-2020/gold/02.webp", + "img/tablets/apple-ipad-10-2-2020/gold/03.webp" + ], + "description": [ + { + "title": "Versatile and Affordable", + "text": [ + "The Apple iPad 10.2 (2020) offers a versatile and affordable option for everyday tasks and entertainment. Whether you're browsing the web, streaming content, or using productivity apps, it delivers a smooth and responsive experience.", + "With its large 10.2-inch Retina display, it provides a great viewing experience for all your content." + ] + }, + { + "title": "Powerful Performance", + "text": [ + "Experience powerful performance with the iPad 10.2's A12 Bionic chip. It enables fast and efficient multitasking, allowing you to run multiple apps smoothly and seamlessly.", + "From gaming to editing documents, the iPad 10.2 can handle it all with ease." + ] + }, + { + "title": "Apple Pencil and Smart Keyboard Support", + "text": [ + "Unlock your creativity and productivity with Apple Pencil and Smart Keyboard support. Take notes, draw, and sketch with precision using the Apple Pencil (1st generation), and transform your iPad into a lightweight laptop with the Smart Keyboard.", + "The iPad 10.2 adapts to your needs, whether you're a student, professional, or creative artist." + ] + } + ], + "screen": "10.2' Retina", + "resolution": "2160x1620", + "processor": "Apple A12 Bionic", + "ram": "3GB", + "camera": "8MP", + "zoom": "Digital zoom up to 5x", + "cell": ["Not applicable"] + }, + { + "id": "apple-ipad-10-2-2020-32gb-silver", + "category": "tablets", + "namespaceId": "apple-ipad-10-2-2020", + "name": "Apple iPad 10.2 (2020) 32GB Silver", + "capacityAvailable": ["32GB", "128GB"], + "capacity": "32GB", + "priceRegular": 329, + "priceDiscount": 299, + "colorsAvailable": ["gold", "silver", "spacegray"], + "color": "silver", + "images": [ + "img/tablets/apple-ipad-10-2-2020/silver/00.webp", + "img/tablets/apple-ipad-10-2-2020/silver/01.webp", + "img/tablets/apple-ipad-10-2-2020/silver/02.webp", + "img/tablets/apple-ipad-10-2-2020/silver/03.webp" + ], + "description": [ + { + "title": "Versatile and Affordable", + "text": [ + "The Apple iPad 10.2 (2020) offers a versatile and affordable option for everyday tasks and entertainment. Whether you're browsing the web, streaming content, or using productivity apps, it delivers a smooth and responsive experience.", + "With its large 10.2-inch Retina display, it provides a great viewing experience for all your content." + ] + }, + { + "title": "Powerful Performance", + "text": [ + "Experience powerful performance with the iPad 10.2's A12 Bionic chip. It enables fast and efficient multitasking, allowing you to run multiple apps smoothly and seamlessly.", + "From gaming to editing documents, the iPad 10.2 can handle it all with ease." + ] + }, + { + "title": "Apple Pencil and Smart Keyboard Support", + "text": [ + "Unlock your creativity and productivity with Apple Pencil and Smart Keyboard support. Take notes, draw, and sketch with precision using the Apple Pencil (1st generation), and transform your iPad into a lightweight laptop with the Smart Keyboard.", + "The iPad 10.2 adapts to your needs, whether you're a student, professional, or creative artist." + ] + } + ], + "screen": "10.2' Retina", + "resolution": "2160x1620", + "processor": "Apple A12 Bionic", + "ram": "3GB", + "camera": "8MP", + "zoom": "Digital zoom up to 5x", + "cell": ["Not applicable"] + }, + { + "id": "apple-ipad-10-2-2020-128gb-silver", + "category": "tablets", + "namespaceId": "apple-ipad-10-2-2020", + "name": "Apple iPad 10.2 (2020) 128GB Silver", + "capacityAvailable": ["32GB", "128GB"], + "capacity": "128GB", + "priceRegular": 429, + "priceDiscount": 399, + "colorsAvailable": ["gold", "silver", "spacegray"], + "color": "silver", + "images": [ + "img/tablets/apple-ipad-10-2-2020/silver/00.webp", + "img/tablets/apple-ipad-10-2-2020/silver/01.webp", + "img/tablets/apple-ipad-10-2-2020/silver/02.webp", + "img/tablets/apple-ipad-10-2-2020/silver/03.webp" + ], + "description": [ + { + "title": "Versatile and Affordable", + "text": [ + "The Apple iPad 10.2 (2020) offers a versatile and affordable option for everyday tasks and entertainment. Whether you're browsing the web, streaming content, or using productivity apps, it delivers a smooth and responsive experience.", + "With its large 10.2-inch Retina display, it provides a great viewing experience for all your content." + ] + }, + { + "title": "Powerful Performance", + "text": [ + "Experience powerful performance with the iPad 10.2's A12 Bionic chip. It enables fast and efficient multitasking, allowing you to run multiple apps smoothly and seamlessly.", + "From gaming to editing documents, the iPad 10.2 can handle it all with ease." + ] + }, + { + "title": "Apple Pencil and Smart Keyboard Support", + "text": [ + "Unlock your creativity and productivity with Apple Pencil and Smart Keyboard support. Take notes, draw, and sketch with precision using the Apple Pencil (1st generation), and transform your iPad into a lightweight laptop with the Smart Keyboard.", + "The iPad 10.2 adapts to your needs, whether you're a student, professional, or creative artist." + ] + } + ], + "screen": "10.2' Retina", + "resolution": "2160x1620", + "processor": "Apple A12 Bionic", + "ram": "3GB", + "camera": "8MP", + "zoom": "Digital zoom up to 5x", + "cell": ["Not applicable"] + }, + { + "id": "apple-ipad-10-2-2020-128gb-spacegray", + "category": "tablets", + "namespaceId": "apple-ipad-10-2-2020", + "name": "Apple iPad 10.2 (2020) 128GB Space Gray", + "capacityAvailable": ["32GB", "128GB"], + "capacity": "128GB", + "priceRegular": 429, + "priceDiscount": 399, + "colorsAvailable": ["gold", "silver", "spacegray"], + "color": "spacegray", + "images": [ + "img/tablets/apple-ipad-10-2-2020/spacegray/00.webp", + "img/tablets/apple-ipad-10-2-2020/spacegray/01.webp", + "img/tablets/apple-ipad-10-2-2020/spacegray/02.webp", + "img/tablets/apple-ipad-10-2-2020/spacegray/03.webp" + ], + "description": [ + { + "title": "Versatile and Affordable", + "text": [ + "The Apple iPad 10.2 (2020) offers a versatile and affordable option for everyday tasks and entertainment. Whether you're browsing the web, streaming content, or using productivity apps, it delivers a smooth and responsive experience.", + "With its large 10.2-inch Retina display, it provides a great viewing experience for all your content." + ] + }, + { + "title": "Powerful Performance", + "text": [ + "Experience powerful performance with the iPad 10.2's A12 Bionic chip. It enables fast and efficient multitasking, allowing you to run multiple apps smoothly and seamlessly.", + "From gaming to editing documents, the iPad 10.2 can handle it all with ease." + ] + }, + { + "title": "Apple Pencil and Smart Keyboard Support", + "text": [ + "Unlock your creativity and productivity with Apple Pencil and Smart Keyboard support. Take notes, draw, and sketch with precision using the Apple Pencil (1st generation), and transform your iPad into a lightweight laptop with the Smart Keyboard.", + "The iPad 10.2 adapts to your needs, whether you're a student, professional, or creative artist." + ] + } + ], + "screen": "10.2' Retina", + "resolution": "2160x1620", + "processor": "Apple A12 Bionic", + "ram": "3GB", + "camera": "8MP", + "zoom": "Digital zoom up to 5x", + "cell": ["Not applicable"] + }, + { + "id": "apple-ipad-10-2-2020-32gb-spacegray", + "category": "tablets", + "namespaceId": "apple-ipad-10-2-2020", + "name": "Apple iPad 10.2 (2020) 32GB Space Gray", + "capacityAvailable": ["32GB", "128GB"], + "capacity": "32GB", + "priceRegular": 329, + "priceDiscount": 299, + "colorsAvailable": ["gold", "silver", "spacegray"], + "color": "spacegray", + "images": [ + "img/tablets/apple-ipad-10-2-2020/spacegray/00.webp", + "img/tablets/apple-ipad-10-2-2020/spacegray/01.webp", + "img/tablets/apple-ipad-10-2-2020/spacegray/02.webp", + "img/tablets/apple-ipad-10-2-2020/spacegray/03.webp" + ], + "description": [ + { + "title": "Versatile and Affordable", + "text": [ + "The Apple iPad 10.2 (2020) offers a versatile and affordable option for everyday tasks and entertainment. Whether you're browsing the web, streaming content, or using productivity apps, it delivers a smooth and responsive experience.", + "With its large 10.2-inch Retina display, it provides a great viewing experience for all your content." + ] + }, + { + "title": "Powerful Performance", + "text": [ + "Experience powerful performance with the iPad 10.2's A12 Bionic chip. It enables fast and efficient multitasking, allowing you to run multiple apps smoothly and seamlessly.", + "From gaming to editing documents, the iPad 10.2 can handle it all with ease." + ] + }, + { + "title": "Apple Pencil and Smart Keyboard Support", + "text": [ + "Unlock your creativity and productivity with Apple Pencil and Smart Keyboard support. Take notes, draw, and sketch with precision using the Apple Pencil (1st generation), and transform your iPad into a lightweight laptop with the Smart Keyboard.", + "The iPad 10.2 adapts to your needs, whether you're a student, professional, or creative artist." + ] + } + ], + "screen": "10.2' Retina", + "resolution": "2160x1620", + "processor": "Apple A12 Bionic", + "ram": "3GB", + "camera": "8MP", + "zoom": "Digital zoom up to 5x", + "cell": ["Not applicable"] + }, + { + "id": "apple-ipad-mini-5th-gen-256gb-silver", + "category": "tablets", + "namespaceId": "apple-ipad-mini-5th-gen", + "name": "Apple iPad Mini (5th Gen) 256GB Silver", + "capacityAvailable": ["64GB", "256GB"], + "capacity": "256GB", + "priceRegular": 549, + "priceDiscount": 499, + "colorsAvailable": ["silver", "spacegray", "gold"], + "color": "silver", + "images": [ + "img/tablets/apple-ipad-mini-5th-gen/silver/00.webp", + "img/tablets/apple-ipad-mini-5th-gen/silver/01.webp" + ], + "description": [ + { + "title": "Compact and Powerful", + "text": [ + "The Apple iPad Mini (5th Gen) packs a punch with its compact size and powerful performance. Whether you're on the go or at home, it's perfect for productivity, entertainment, and creativity.", + "With its A12 Bionic chip, the iPad Mini delivers fast and efficient performance, allowing you to run demanding apps and games smoothly." + ] + }, + { + "title": "Retina Display and True Tone", + "text": [ + "Experience stunning visuals on the iPad Mini's Retina display. With True Tone technology, it adjusts the display's color temperature to match the ambient lighting, providing a natural and comfortable viewing experience.", + "From reading ebooks to browsing photos, the iPad Mini's display brings content to life with vibrant colors and sharp details." + ] + }, + { + "title": "Apple Pencil and Smart Keyboard Support", + "text": [ + "Unlock your creativity and productivity with Apple Pencil and Smart Keyboard support. Take notes, sketch, and annotate documents with precision using the Apple Pencil (1st generation), and turn your iPad Mini into a versatile workstation with the Smart Keyboard.", + "The iPad Mini adapts to your needs, making it a powerful tool for both work and play." + ] + } + ], + "screen": "7.9' Retina", + "resolution": "2048x1536", + "processor": "Apple A12 Bionic", + "ram": "3GB", + "camera": "8MP", + "zoom": "Digital zoom up to 5x", + "cell": ["Not applicable"] + }, + { + "id": "apple-ipad-mini-5th-gen-64gb-silver", + "category": "tablets", + "namespaceId": "apple-ipad-mini-5th-gen", + "name": "Apple iPad Mini (5th Gen) 64GB Silver", + "capacityAvailable": ["64GB", "256GB"], + "capacity": "64GB", + "priceRegular": 549, + "priceDiscount": 499, + "colorsAvailable": ["silver", "spacegray", "gold"], + "color": "silver", + "images": [ + "img/tablets/apple-ipad-mini-5th-gen/silver/00.webp", + "img/tablets/apple-ipad-mini-5th-gen/silver/01.webp" + ], + "description": [ + { + "title": "Compact and Powerful", + "text": [ + "The Apple iPad Mini (5th Gen) packs a punch with its compact size and powerful performance. Whether you're on the go or at home, it's perfect for productivity, entertainment, and creativity.", + "With its A12 Bionic chip, the iPad Mini delivers fast and efficient performance, allowing you to run demanding apps and games smoothly." + ] + }, + { + "title": "Retina Display and True Tone", + "text": [ + "Experience stunning visuals on the iPad Mini's Retina display. With True Tone technology, it adjusts the display's color temperature to match the ambient lighting, providing a natural and comfortable viewing experience.", + "From reading ebooks to browsing photos, the iPad Mini's display brings content to life with vibrant colors and sharp details." + ] + }, + { + "title": "Apple Pencil and Smart Keyboard Support", + "text": [ + "Unlock your creativity and productivity with Apple Pencil and Smart Keyboard support. Take notes, sketch, and annotate documents with precision using the Apple Pencil (1st generation), and turn your iPad Mini into a versatile workstation with the Smart Keyboard.", + "The iPad Mini adapts to your needs, making it a powerful tool for both work and play." + ] + } + ], + "screen": "7.9' Retina", + "resolution": "2048x1536", + "processor": "Apple A12 Bionic", + "ram": "3GB", + "camera": "8MP", + "zoom": "Digital zoom up to 5x", + "cell": ["Not applicable"] + }, + { + "id": "apple-ipad-mini-5th-gen-64gb-spacegray", + "category": "tablets", + "namespaceId": "apple-ipad-mini-5th-gen", + "name": "Apple iPad Mini (5th Gen) 64GB Space Gray", + "capacityAvailable": ["64GB", "256GB"], + "capacity": "64GB", + "priceRegular": 549, + "priceDiscount": 499, + "colorsAvailable": ["silver", "spacegray", "gold"], + "color": "spacegray", + "images": [ + "img/tablets/apple-ipad-mini-5th-gen/spacegray/00.webp", + "img/tablets/apple-ipad-mini-5th-gen/spacegray/01.webp" + ], + "description": [ + { + "title": "Compact and Powerful", + "text": [ + "The Apple iPad Mini (5th Gen) packs a punch with its compact size and powerful performance. Whether you're on the go or at home, it's perfect for productivity, entertainment, and creativity.", + "With its A12 Bionic chip, the iPad Mini delivers fast and efficient performance, allowing you to run demanding apps and games smoothly." + ] + }, + { + "title": "Retina Display and True Tone", + "text": [ + "Experience stunning visuals on the iPad Mini's Retina display. With True Tone technology, it adjusts the display's color temperature to match the ambient lighting, providing a natural and comfortable viewing experience.", + "From reading ebooks to browsing photos, the iPad Mini's display brings content to life with vibrant colors and sharp details." + ] + }, + { + "title": "Apple Pencil and Smart Keyboard Support", + "text": [ + "Unlock your creativity and productivity with Apple Pencil and Smart Keyboard support. Take notes, sketch, and annotate documents with precision using the Apple Pencil (1st generation), and turn your iPad Mini into a versatile workstation with the Smart Keyboard.", + "The iPad Mini adapts to your needs, making it a powerful tool for both work and play." + ] + } + ], + "screen": "7.9' Retina", + "resolution": "2048x1536", + "processor": "Apple A12 Bionic", + "ram": "3GB", + "camera": "8MP", + "zoom": "Digital zoom up to 5x", + "cell": ["Not applicable"] + }, + { + "id": "apple-ipad-mini-5th-gen-256gb-spacegray", + "category": "tablets", + "namespaceId": "apple-ipad-mini-5th-gen", + "name": "Apple iPad Mini (5th Gen) 256GB Space Gray", + "capacityAvailable": ["64GB", "256GB"], + "capacity": "256GB", + "priceRegular": 549, + "priceDiscount": 499, + "colorsAvailable": ["silver", "spacegray", "gold"], + "color": "spacegray", + "images": [ + "img/tablets/apple-ipad-mini-5th-gen/spacegray/00.webp", + "img/tablets/apple-ipad-mini-5th-gen/spacegray/01.webp" + ], + "description": [ + { + "title": "Compact and Powerful", + "text": [ + "The Apple iPad Mini (5th Gen) packs a punch with its compact size and powerful performance. Whether you're on the go or at home, it's perfect for productivity, entertainment, and creativity.", + "With its A12 Bionic chip, the iPad Mini delivers fast and efficient performance, allowing you to run demanding apps and games smoothly." + ] + }, + { + "title": "Retina Display and True Tone", + "text": [ + "Experience stunning visuals on the iPad Mini's Retina display. With True Tone technology, it adjusts the display's color temperature to match the ambient lighting, providing a natural and comfortable viewing experience.", + "From reading ebooks to browsing photos, the iPad Mini's display brings content to life with vibrant colors and sharp details." + ] + }, + { + "title": "Apple Pencil and Smart Keyboard Support", + "text": [ + "Unlock your creativity and productivity with Apple Pencil and Smart Keyboard support. Take notes, sketch, and annotate documents with precision using the Apple Pencil (1st generation), and turn your iPad Mini into a versatile workstation with the Smart Keyboard.", + "The iPad Mini adapts to your needs, making it a powerful tool for both work and play." + ] + } + ], + "screen": "7.9' Retina", + "resolution": "2048x1536", + "processor": "Apple A12 Bionic", + "ram": "3GB", + "camera": "8MP", + "zoom": "Digital zoom up to 5x", + "cell": ["Not applicable"] + }, + { + "id": "apple-ipad-mini-5th-gen-256gb-gold", + "category": "tablets", + "namespaceId": "apple-ipad-mini-5th-gen", + "name": "Apple iPad Mini (5th Gen) 256GB Gold", + "capacityAvailable": ["64GB", "256GB"], + "capacity": "256GB", + "priceRegular": 549, + "priceDiscount": 499, + "colorsAvailable": ["silver", "spacegray", "gold"], + "color": "gold", + "images": [ + "img/tablets/apple-ipad-mini-5th-gen/gold/00.webp", + "img/tablets/apple-ipad-mini-5th-gen/gold/01.webp" + ], + "description": [ + { + "title": "Compact and Powerful", + "text": [ + "The Apple iPad Mini (5th Gen) packs a punch with its compact size and powerful performance. Whether you're on the go or at home, it's perfect for productivity, entertainment, and creativity.", + "With its A12 Bionic chip, the iPad Mini delivers fast and efficient performance, allowing you to run demanding apps and games smoothly." + ] + }, + { + "title": "Retina Display and True Tone", + "text": [ + "Experience stunning visuals on the iPad Mini's Retina display. With True Tone technology, it adjusts the display's color temperature to match the ambient lighting, providing a natural and comfortable viewing experience.", + "From reading ebooks to browsing photos, the iPad Mini's display brings content to life with vibrant colors and sharp details." + ] + }, + { + "title": "Apple Pencil and Smart Keyboard Support", + "text": [ + "Unlock your creativity and productivity with Apple Pencil and Smart Keyboard support. Take notes, sketch, and annotate documents with precision using the Apple Pencil (1st generation), and turn your iPad Mini into a versatile workstation with the Smart Keyboard.", + "The iPad Mini adapts to your needs, making it a powerful tool for both work and play." + ] + } + ], + "screen": "7.9' Retina", + "resolution": "2048x1536", + "processor": "Apple A12 Bionic", + "ram": "3GB", + "camera": "8MP", + "zoom": "Digital zoom up to 5x", + "cell": ["Not applicable"] + }, + { + "id": "apple-ipad-mini-5th-gen-64gb-gold", + "category": "tablets", + "namespaceId": "apple-ipad-mini-5th-gen", + "name": "Apple iPad Mini (5th Gen) 64GB Gold", + "capacityAvailable": ["64GB", "256GB"], + "capacity": "64GB", + "priceRegular": 549, + "priceDiscount": 499, + "colorsAvailable": ["silver", "spacegray", "gold"], + "color": "gold", + "images": [ + "img/tablets/apple-ipad-mini-5th-gen/gold/00.webp", + "img/tablets/apple-ipad-mini-5th-gen/gold/01.webp" + ], + "description": [ + { + "title": "Compact and Powerful", + "text": [ + "The Apple iPad Mini (5th Gen) packs a punch with its compact size and powerful performance. Whether you're on the go or at home, it's perfect for productivity, entertainment, and creativity.", + "With its A12 Bionic chip, the iPad Mini delivers fast and efficient performance, allowing you to run demanding apps and games smoothly." + ] + }, + { + "title": "Retina Display and True Tone", + "text": [ + "Experience stunning visuals on the iPad Mini's Retina display. With True Tone technology, it adjusts the display's color temperature to match the ambient lighting, providing a natural and comfortable viewing experience.", + "From reading ebooks to browsing photos, the iPad Mini's display brings content to life with vibrant colors and sharp details." + ] + }, + { + "title": "Apple Pencil and Smart Keyboard Support", + "text": [ + "Unlock your creativity and productivity with Apple Pencil and Smart Keyboard support. Take notes, sketch, and annotate documents with precision using the Apple Pencil (1st generation), and turn your iPad Mini into a versatile workstation with the Smart Keyboard.", + "The iPad Mini adapts to your needs, making it a powerful tool for both work and play." + ] + } + ], + "screen": "7.9' Retina", + "resolution": "2048x1536", + "processor": "Apple A12 Bionic", + "ram": "3GB", + "camera": "8MP", + "zoom": "Digital zoom up to 5x", + "cell": ["Not applicable"] + } +] diff --git a/src/app/store.ts b/src/app/store.ts new file mode 100644 index 0000000000..6a7e3e60a1 --- /dev/null +++ b/src/app/store.ts @@ -0,0 +1,18 @@ +import favouritesReducer from '../features/favourites'; +import cartReducer from '../features/cart'; +import prodsReducer from '../features/prods'; +import themeReducer from '../features/theme'; +import { configureStore } from '@reduxjs/toolkit'; + +const store = configureStore({ + reducer: { + favourites: favouritesReducer, + cart: cartReducer, + prods: prodsReducer, + theme: themeReducer, + }, +}); + +export default store; +export type RootState = ReturnType; +export type AppDispatch = typeof store.dispatch; diff --git a/src/components/BreadCrumbs/BreadCrumbs.scss b/src/components/BreadCrumbs/BreadCrumbs.scss new file mode 100644 index 0000000000..fc79558383 --- /dev/null +++ b/src/components/BreadCrumbs/BreadCrumbs.scss @@ -0,0 +1,42 @@ +@import '../../styles/main'; + +.breadCrumbs { + height: 16px; + gap: 8px; + margin-top: 24px; + + &__contant { + display: flex; + flex-direction: row; + align-items: center; + height: 16px; + gap: 8px; + } + + &__title { + font-family: Mont, sans-serif; + font-weight: 600; + font-size: 12px; + line-height: 15.34px; + color: var(--secondary-color-dark); + text-decoration: none; + + &-active { + color: var(--text-color); + } + } + + &__arrow { + opacity: 0.5; + } +} + +.box { + display: flex; +} + +.img { + width: 40px; + height: 40px; + display: flex; +} diff --git a/src/components/BreadCrumbs/BreadCrumbs.tsx b/src/components/BreadCrumbs/BreadCrumbs.tsx new file mode 100644 index 0000000000..2b6d49837f --- /dev/null +++ b/src/components/BreadCrumbs/BreadCrumbs.tsx @@ -0,0 +1,92 @@ +import './BreadCrumbs.scss'; +import home from '../../images/icons/icon_home.png'; +import homeDark from '../../images/icons/home_dark.svg'; +import arrow from '../../images/icons/arrow_right.png'; +import arrowDark from '../../images/icons/arrow_dark.svg'; +import { Link, useLocation } from 'react-router-dom'; +import { useAppSelector } from '../../hooks/hooks'; +import classNames from 'classnames'; +import { useTranslation } from 'react-i18next'; + +export const BreadCrumbs = () => { + const { pathname } = useLocation(); + const { theme } = useAppSelector(state => state.theme); + const { t } = useTranslation(); + const productName = pathname.slice(1).split('/')[1]; + const categoryName = pathname.slice(1).split('/')[0]; + + function capitalize(word: string) { + return word[0].toUpperCase() + word.slice(1); + } + + function translate(category: string) { + switch (category) { + case 'phones': + return t('breadCrumbs.phones'); + + case 'tablets': + return t('breadCrumbs.tablets'); + + case 'accessories': + return t('breadCrumbs.accessories'); + + case 'favourites': + return t('breadCrumbs.favourites'); + + default: + return; + } + } + + return ( +
+
+
+ + IconHome + +
+ + + Arrow + + + {!productName ? ( +

{translate(categoryName)}

+ ) : ( + <> + + {translate(categoryName)} + + + + Arrow + + +

+ {capitalize(productName.slice(1))} +

+ + )} +
+ {/*
*/} + + ); +}; diff --git a/src/components/BreadCrumbs/index.tsx b/src/components/BreadCrumbs/index.tsx new file mode 100644 index 0000000000..8ffa35f61f --- /dev/null +++ b/src/components/BreadCrumbs/index.tsx @@ -0,0 +1 @@ +export * from './BreadCrumbs'; diff --git a/src/components/Carousel/Carousel.scss b/src/components/Carousel/Carousel.scss new file mode 100644 index 0000000000..01766415a5 --- /dev/null +++ b/src/components/Carousel/Carousel.scss @@ -0,0 +1,123 @@ +@import '../../styles/main'; + +.Carousel { + margin-top: 24px; + + @include on-tablet { + margin-top: 32px; + } + + @include on-desktop { + margin-top: 56px; + } + + &__slider { + height: 352px; + max-width: 1200px; + + @include on-tablet { + display: flex; + gap: 19px; + height: 221px; + padding-inline: 24px; + } + + @include on-desktop { + height: 432px; + gap: 16px; + margin: 0 auto; + } + + &-button { + display: none; + + @include on-tablet { + display: flex; + justify-content: center; + align-items: center; + height: 189px; + width: 32px; + background-color: var(--surface-color2); + border: 1px solid var(--carousel-border-btn); + cursor: pointer; + + &:hover { + border-color: $primaryColor; + background-color: var(--hov-bg-slider-btn); + } + } + + @include on-desktop { + height: 400px; + } + } + + &-container { + height: 320px; + width: 100%; + overflow: hidden; + + @include on-tablet { + height: 189px; + } + + @include on-desktop { + height: 400px; + } + } + + &-list { + height: 100%; + width: 300%; + display: flex; + transition: transform 1s; + } + + &-item { + height: 100%; + width: 100%; + } + + &-image { + height: 100%; + width: 100%; + object-fit: cover; + } + } + + &__dots { + display: flex; + gap: 4px; + justify-content: center; + margin-top: 8px; + + &-container { + display: flex; + width: 24px; + height: 24px; + cursor: pointer; + align-items: center; + justify-content: center; + } + + &-item { + width: 14px; + height: 4px; + background-color: var(--elements-color); + border: none; + cursor: pointer; + } + } +} + +.banner-active { + background-color: var(--text-color); +} + +.icon { + &--left { + &_img { + transform: rotate(180deg); + } + } +} diff --git a/src/components/Carousel/Carousel.tsx b/src/components/Carousel/Carousel.tsx new file mode 100644 index 0000000000..3788493d0d --- /dev/null +++ b/src/components/Carousel/Carousel.tsx @@ -0,0 +1,126 @@ +import bannerPhones from '../../images/slider/banner-phones.png'; +import bannerTablets from '../../images/slider/banner-tablets.png'; +import bannerAccess from '../../images/slider/banner-accessories.png'; +import arrow from '../../images/icons/arrow_right.png'; +import arrowDark from '../../images/icons/arrow_dark.svg'; +import './Carousel.scss'; +import { useState, useRef, useEffect, useCallback } from 'react'; +import classNames from 'classnames'; +import { useAppSelector } from '../../hooks/hooks'; + +const images = [bannerPhones, bannerTablets, bannerAccess]; + +export const Carousel = () => { + const firstImageIndex = 0; + const lastImageIndex = images.length - 1; + + const [sliderWidth, setSliderWidth] = useState(0); + const [currentImageIndex, setCurrentImageIndex] = useState(firstImageIndex); + + const { theme } = useAppSelector(state => state.theme); + + const banner = useRef(null); + + const transformValue = sliderWidth * currentImageIndex; + + const handleLeftSlide = () => { + if (currentImageIndex !== firstImageIndex) { + setCurrentImageIndex(currentImageIndex - 1); + } else { + setCurrentImageIndex(lastImageIndex); + } + }; + + const handleRightSlide = useCallback(() => { + if (currentImageIndex !== lastImageIndex) { + setCurrentImageIndex(currentImageIndex + 1); + } else { + setCurrentImageIndex(firstImageIndex); + } + }, [currentImageIndex, lastImageIndex]); + + const handlerDotActive = (i: number) => { + setCurrentImageIndex(i); + }; + + useEffect(() => { + if (banner.current) { + setSliderWidth(banner.current.offsetWidth); + } + }, [currentImageIndex]); + + useEffect(() => { + const timerID = setInterval(() => { + handleRightSlide(); + }, 5000); + + return () => clearInterval(timerID); + }, [currentImageIndex, handleRightSlide]); + + return ( +
+
+ + +
+
    + {images.map(image => ( +
  • + Banner +
  • + ))} +
+
+ + +
+ +
+ {images.map((image, i) => ( + // eslint-disable-next-line jsx-a11y/label-has-associated-control + + ))} +
+
+ ); +}; diff --git a/src/components/Carousel/index.tsx b/src/components/Carousel/index.tsx new file mode 100644 index 0000000000..c0ab19964d --- /dev/null +++ b/src/components/Carousel/index.tsx @@ -0,0 +1 @@ +export * from './Carousel'; diff --git a/src/components/CartItem/CartItem.scss b/src/components/CartItem/CartItem.scss new file mode 100644 index 0000000000..603f34ed60 --- /dev/null +++ b/src/components/CartItem/CartItem.scss @@ -0,0 +1,136 @@ +@import '../../styles/main'; + +.cartItem { + width: 100%; + height: 160px; + display: flex; + flex-direction: column; + padding: 16px; + border: 1px solid var(--cart-item-border); + background-color: var(--cart-item-bg); + + @include on-tablet { + height: 128px; + flex-direction: row; + gap: 24px; + align-items: center; + padding: 24px; + } + + @include on-desktop { + width: 752px; + } + + &__blockPhoto { + width: 100%; + height: 80px; + display: flex; + flex-direction: row; + align-items: center; + gap: 16px; + + @include on-tablet { + gap: 24px; + } + + &--close { + cursor: pointer; + } + + &--image { + width: 80px; + height: 80px; + + @include on-tablet { + margin-left: 8px; + width: 66px; + height: 66px; + } + + &_img { + width: 80px; + height: 80px; + + @include on-tablet { + width: 66px; + height: 66px; + } + } + } + + &--title { + font-family: Mont, sans-serif; + font-weight: 600; + font-size: 14px; + line-height: 21px; + color: var(--text-color); + } + } + + &__blockInfo { + width: 100%; + display: flex; + flex-direction: row; + align-items: center; + justify-content: space-between; + margin-top: 16px; + + @include on-tablet { + margin-top: 0; + justify-content: center; + } + + &--price { + font-family: Mont, sans-serif; + font-weight: 800; + font-size: 22px; + line-height: 30.8px; + color: var(--text-color); + + @include on-tablet { + width: 80px; + text-align: right; + } + } + } +} + +.count { + display: flex; + flex-direction: row; + align-items: center; + + &__button { + width: 32px; + height: 32px; + display: flex; + justify-content: center; + align-items: center; + border: 1px solid var(--cart-item-btn-border); + background-color: var(--cart-item-btn-bg); + cursor: pointer; + + &-left { + &-disabled { + border-color: var(--elements-color); + background-color: var(--bg-color); + } + } + + &:hover { + border-color: var(--cart-item-btn-border-hover); + background-color: var(--cart-item-btn-bg-hover); + } + } + + &__info { + font-family: Mont, sans-serif; + font-size: 14px; + font-weight: 600; + line-height: 21px; + width: 32px; + display: flex; + justify-content: center; + color: var(--text-color); + } +} diff --git a/src/components/CartItem/CartItem.tsx b/src/components/CartItem/CartItem.tsx new file mode 100644 index 0000000000..aad5efad53 --- /dev/null +++ b/src/components/CartItem/CartItem.tsx @@ -0,0 +1,100 @@ +import './CartItem.scss'; +import close from '../../images/icons/close.svg'; +import closeDark from '../../images/icons/close_cart_dark.svg'; +import plus from '../../images/icons/plus.svg'; +import plusDark from '../../images/icons/plus_dark.svg'; +import minus from '../../images/icons/minus.svg'; +import minusDark from '../../images/icons/minus_dark.svg'; +import minusDisabled from '../../images/icons/minus_default.svg'; +import minusDisabledDark from '../../images/icons/minus_disable_dark.svg'; +import { useAppDispath, useAppSelector } from '../../hooks/hooks'; +import { decrement, increment, removeFromCart } from '../../features/cart'; +import { UpdatedProduct } from '../../types/UpdatedProduct'; +import React, { useState } from 'react'; +import classNames from 'classnames'; + +type Props = { + product: UpdatedProduct; +}; + +export const CartItem: React.FC = React.memo(({ product }) => { + const [price, setPrice] = useState(product.price * product.quantity); + const dispatch = useAppDispath(); + const { theme } = useAppSelector(state => state.theme); + + const handlePlus = (prodId: number) => { + dispatch(increment(prodId)); + setPrice(prev => prev + product.price); + }; + + const handleMinus = (prodId: number) => { + if (product.quantity === 1) { + return; + } else { + setPrice(prev => prev - product.price); + } + + dispatch(decrement(prodId)); + }; + + return ( +
+
+
dispatch(removeFromCart(product.id))} + > + Close +
+ +
+ {product.name} +
+ +

{product.name}

+
+ +
+
+
handleMinus(product.id)} + > + Minus +
+ +
{product.quantity}
+ +
handlePlus(product.id)}> + Plus +
+
+
{`$${price}`}
+
+
+ ); +}); + +CartItem.displayName = 'CartItem'; diff --git a/src/components/CartItem/index.tsx b/src/components/CartItem/index.tsx new file mode 100644 index 0000000000..37a0553540 --- /dev/null +++ b/src/components/CartItem/index.tsx @@ -0,0 +1 @@ +export * from './CartItem'; diff --git a/src/components/Categories/Categories.scss b/src/components/Categories/Categories.scss new file mode 100644 index 0000000000..75a2eaa69f --- /dev/null +++ b/src/components/Categories/Categories.scss @@ -0,0 +1,99 @@ +@import '../../styles/main'; + +.categories { + margin-top: 56px; + + @include on-tablet { + margin-top: 64px; + } + + @include on-desktop { + margin-top: 80px; + } + + &__content { + display: flex; + flex-direction: column; + gap: 32px; + } + + &__title { + font-family: Mont, sans-serif; + font-weight: 800; + font-size: 22px; + line-height: 30.8px; + color: var(--text-color); + margin-bottom: 24px; + + @include on-tablet { + font-size: 32px; + line-height: 41px; + letter-spacing: -1%; + } + } + + &__items { + @include on-tablet { + @include page-grid; + } + } + + &__item { + grid-column: span 4; + + @include on-desktop { + grid-column: span 8; + } + + &_link { + height: 288px; + width: 100%; + cursor: pointer; + + &-img { + height: 288px; + width: 100%; + object-fit: cover; + transition: transform 0.5s; + } + + &-img:hover { + transform: scale(1.05); + } + } + } + + &__info { + margin-top: 24px; + + &--title { + font-family: Mont, sans-serif; + font-weight: 700; + font-size: 20px; + line-height: 25.56px; + color: var(--text-color); + } + + &--text { + font-family: Mont, sans-serif; + font-weight: 600; + font-size: 14px; + line-height: 21px; + color: $secondaryColor; + } + } +} + +.container { + padding-inline: 16px; + + @include on-tablet { + padding-inline: 24px; + } + + @include on-desktop { + padding-inline: 32px; + max-width: 1200px; + margin-inline: auto; + } +} diff --git a/src/components/Categories/Categories.tsx b/src/components/Categories/Categories.tsx new file mode 100644 index 0000000000..6ffa295835 --- /dev/null +++ b/src/components/Categories/Categories.tsx @@ -0,0 +1,78 @@ +import './Categories.scss'; +import phones from '../../images/categories/Phones.png'; +import tablets from '../../images/categories/tablets.png'; +import accessories from '../../images/categories/accessories.png'; +import { Link } from 'react-router-dom'; +import { useAppSelector } from '../../hooks/hooks'; +import { useTranslation } from 'react-i18next'; + +type CategoriesCard = { + title: string; + image: string; + type: string; +}; + +type CategoriesList = { + phones: CategoriesCard; + tablets: CategoriesCard; + accessories: CategoriesCard; +}; + +export const Categories = () => { + const { prods } = useAppSelector(state => state.prods); + const { t } = useTranslation(); + + const productsCount = (type: string) => { + const newProds = prods.filter(product => product.category === type); + + return newProds.length; + }; + + const categoriesList: CategoriesList = { + phones: { + title: t('homePage.categories.category.phones'), + image: phones, + type: 'phones', + }, + tablets: { + title: t('homePage.categories.category.tablets'), + image: tablets, + type: 'tablets', + }, + accessories: { + title: t('homePage.categories.category.accessories'), + image: accessories, + type: 'accessories', + }, + }; + + return ( +
+
+
+

+ {t('homePage.categories.categoriesTitle')} +

+
+ {Object.values(categoriesList).map(category => ( +
+ + Phones + + +
+

{category.title}

+

{`${productsCount(category.type)} models`}

+
+
+ ))} +
+
+
+
+ ); +}; diff --git a/src/components/Categories/index.tsx b/src/components/Categories/index.tsx new file mode 100644 index 0000000000..79c7c7dcde --- /dev/null +++ b/src/components/Categories/index.tsx @@ -0,0 +1 @@ +export * from './Categories'; diff --git a/src/components/DropdownMenu/DropdownMenu.scss b/src/components/DropdownMenu/DropdownMenu.scss new file mode 100644 index 0000000000..d2198004ac --- /dev/null +++ b/src/components/DropdownMenu/DropdownMenu.scss @@ -0,0 +1,92 @@ +@import '../../styles/main'; + +.dropdownMenu { + height: 59px; + width: 136px; + + @include on-tablet { + width: 187px; + } + + &__label { + font-family: Mont, sans-serif; + font-weight: 700; + font-size: 12px; + line-height: 15.34px; + color: var(--secondary-color); + } + + &__button { + width: 100%; + height: 40px; + display: flex; + justify-content: space-between; + align-items: center; + padding-inline: 12px; + border: 1px solid var(--dropdown-border-color); + background-color: var(--dropdown-bg-color); + cursor: pointer; + + &:hover { + border-color: var(--dropdown-border-hover-color); + } + + &-text { + font-family: Mont, sans-serif; + font-weight: 700; + font-size: 14px; + line-height: 21px; + color: var(--text-color); + } + + &-img { + width: 16px; + height: 16px; + + &-active { + transform: rotate(90deg); + } + } + } + + &__list { + display: none; + + &-active { + width: 136px; + background-color: var(--bg-color); + border: 1px solid var(--dropdown-list-border); + display: flex; + flex-direction: column; + justify-content: center; + gap: 8px; + position: absolute; + margin-top: 5px; + z-index: 100; + + @include on-tablet { + width: 187px; + } + } + } + + &__item { + height: 40px; + font-family: Mont, sans-serif; + font-weight: 700; + font-size: 14px; + line-height: 21px; + color: var(--secondary-color); + cursor: pointer; + position: relative; + display: flex; + align-items: center; + padding-left: 12px; + + &:hover, + &:focus { + background-color: var(--dropdown-list-bg-hover); + color: var(--text-color); + } + } +} diff --git a/src/components/DropdownMenu/DropdownMenu.tsx b/src/components/DropdownMenu/DropdownMenu.tsx new file mode 100644 index 0000000000..c1a29c9573 --- /dev/null +++ b/src/components/DropdownMenu/DropdownMenu.tsx @@ -0,0 +1,162 @@ +import './DropdownMenu.scss'; +import { useEffect, useRef, useState } from 'react'; +import arrow from '../../images/icons/arrow_right.png'; +import arrowDark from '../../images/icons/arrow_dark.svg'; +import classNames from 'classnames'; +import { useSearchParams } from 'react-router-dom'; +import { useAppSelector } from '../../hooks/hooks'; +import { useTranslation } from 'react-i18next'; +import i18next from 'i18next'; + +export const DropdownMenu = () => { + const [isActive, setIsActive] = useState(false); + const { theme } = useAppSelector(state => state.theme); + const { t } = useTranslation(); + const [searchParams, setSearchParams] = useSearchParams(); + const dropdownRef = useRef(null); + + const options = [ + t('dropdownMenu.item.newest'), + t('dropdownMenu.item.alphabetically'), + t('dropdownMenu.item.cheapset'), + ]; + + const handleClickOutside = (event: MouseEvent) => { + if ( + dropdownRef.current && + !dropdownRef.current.contains(event.target as Node) + ) { + setIsActive(false); + } + }; + + const handleSelectOpiton = (option: string) => { + const params = new URLSearchParams(searchParams); + + params.set('sort', option); + + setSearchParams(params); + }; + + const toggleMenu = () => { + if (isActive) { + setIsActive(false); + } else { + setIsActive(true); + } + + return setIsActive; + }; + + const transSort = (sort: string | null) => { + const params = new URLSearchParams(searchParams); + + if (sort === 'Найновіші' && i18next.language === 'en') { + params.set('sort', 'Newest'); + setSearchParams(params); + } else if (sort === 'Newest' && i18next.language === 'uk') { + params.set('sort', 'Найновіші'); + setSearchParams(params); + } + + if (sort === 'Алфавітом' && i18next.language === 'en') { + params.set('sort', 'Alphabetically'); + setSearchParams(params); + } else if (sort === 'Alphabetically' && i18next.language === 'uk') { + params.set('sort', 'Алфавітом'); + setSearchParams(params); + } + + if (sort === 'Найдешевші' && i18next.language === 'en') { + params.set('sort', 'Cheapset'); + setSearchParams(params); + } else if (sort === 'Cheapset' && i18next.language === 'uk') { + params.set('sort', 'Найдешевші'); + setSearchParams(params); + } + + return sort; + }; + + useEffect(() => { + if (isActive) { + document.addEventListener('mousedown', handleClickOutside); + } else { + document.removeEventListener('mousedown', handleClickOutside); + } + + return () => { + document.removeEventListener('mousedown', handleClickOutside); + }; + }); + + return ( +
+ + + + +
    + {options.map(option => ( +
  • { + setIsActive(false); + + handleSelectOpiton(option); + }} + > + {option} +
  • + ))} + + {/*
  • { + setIsActive(false); + + handleSelectOpiton(t('dropdownMenu.item.newest')); + }} + > + {t('dropdownMenu.item.newest')} +
  • +
  • { + setIsActive(false); + handleSelectOpiton(t('dropdownMenu.item.alphabetically')); + }} + > + {t('dropdownMenu.item.alphabetically')} +
  • +
  • { + setIsActive(false); + handleSelectOpiton(t('dropdownMenu.item.cheapset')); + }} + > + {t('dropdownMenu.item.cheapset')} +
  • */} +
+
+ ); +}; diff --git a/src/components/DropdownMenu/index.tsx b/src/components/DropdownMenu/index.tsx new file mode 100644 index 0000000000..8aadf2fa5f --- /dev/null +++ b/src/components/DropdownMenu/index.tsx @@ -0,0 +1 @@ +export * from './DropdownMenu'; diff --git a/src/components/Filter/Filter.scss b/src/components/Filter/Filter.scss new file mode 100644 index 0000000000..10ad5e7d90 --- /dev/null +++ b/src/components/Filter/Filter.scss @@ -0,0 +1,73 @@ +@import '../../styles/main'; + +.filter { + margin-top: 40px; + + @include on-tablet { + margin-top: 0; + } + + &__top { + display: flex; + justify-content: space-between; + + &-title { + font-family: Mont, sans-serif; + font-weight: 600; + font-size: 12px; + line-height: 15.34px; + color: var(--secondary-color); + } + + &-id { + font-family: Mont, sans-serif; + font-weight: 700; + font-size: 12px; + line-height: 15.34px; + color: var(--secondary-color); + + @include on-desktop { + position: absolute; + right: 0; + } + } + } + + &__list { + display: flex; + flex-direction: row; + margin-top: 8px; + gap: 8px; + + &-item { + display: flex; + width: 32px; + height: 32px; + justify-content: center; + align-items: center; + border: 1px solid var(--elements-color); + border-radius: 50%; + background-color: var(--bg-color); + cursor: pointer; + + &_is-active { + border-color: var(--text-color); + pointer-events: none; + } + + &:hover { + border-color: var(--filter-color-border-hover); + } + } + + &-circle { + display: flex; + width: 100%; + height: 100%; + justify-content: center; + align-items: center; + border: 2px solid var(--bg-color); + border-radius: 50%; + } + } +} diff --git a/src/components/Filter/Filter.tsx b/src/components/Filter/Filter.tsx new file mode 100644 index 0000000000..fa0153a2b3 --- /dev/null +++ b/src/components/Filter/Filter.tsx @@ -0,0 +1,85 @@ +import React from 'react'; +import './Filter.scss'; +import { ProductDetails } from '../../types/ProductDetails'; +import { useLocation, useNavigate, useParams } from 'react-router-dom'; +import classNames from 'classnames'; +import { Product } from '../../types/Product'; +import { Colors } from '../../constants/Colors'; +import { useTranslation } from 'react-i18next'; + +type Props = { + product: ProductDetails | undefined; + products: Product[]; +}; + +export const Filter: React.FC = React.memo(({ product, products }) => { + const colors = product?.colorsAvailable; + const { productId } = useParams(); + const { t } = useTranslation(); + const navigate = useNavigate(); + const { pathname } = useLocation(); + + let path = pathname.split('-'); + + const replaceColor = (newColor: string) => { + if ( + path.some(item => { + switch (item) { + case 'space': + return true; + + case 'rose': + return true; + + case 'sky': + return true; + + default: + return false; + } + }) + ) { + path = path.slice(0, -2); + path.push(newColor); + } else { + path = path.slice(0, -1); + path.push(newColor.replace(' ', '-')); + } + + const newPath = path.join('-'); + + navigate(newPath); + }; + + const selectedItem = products.find( + item => item.itemId === productId?.slice(1), + ); + + return ( +
+
+
{t('filter.title')}
+
{`ID: 802${selectedItem?.id}`}
+
+ +
    + {colors?.map(item => ( +
  • +
    replaceColor(item)} + >
    +
  • + ))} +
+
+ ); +}); + +Filter.displayName = 'Filter'; diff --git a/src/components/Filter/index.tsx b/src/components/Filter/index.tsx new file mode 100644 index 0000000000..0eea77907f --- /dev/null +++ b/src/components/Filter/index.tsx @@ -0,0 +1 @@ +export * from './Filter'; diff --git a/src/components/FilterCapacity/FilterCapacity.scss b/src/components/FilterCapacity/FilterCapacity.scss new file mode 100644 index 0000000000..db19398f4b --- /dev/null +++ b/src/components/FilterCapacity/FilterCapacity.scss @@ -0,0 +1,49 @@ +@import '../../styles/main'; + +.filterCapacity { + width: 100%; + margin-top: 40px; + + &__top { + display: flex; + justify-content: space-between; + + &-title { + font-family: Mont, sans-serif; + font-weight: 600; + font-size: 12px; + line-height: 15.34px; + color: var(--secondary-color); + } + } + + &__list { + display: flex; + flex-flow: wrap; + flex-direction: row; + margin-top: 8px; + gap: 8px; + + &-item { + height: 32px; + border: 1px solid var(--icons-color); + cursor: pointer; + padding: 7px 8px 4px; + font-family: Mont, sans-serif; + font-weight: 500; + font-size: 14px; + line-height: 21px; + color: var(--text-color); + + &:hover { + background-color: var(--filter-capacity-hover); + } + } + } +} + +.is-active { + background-color: var(--text-color); + color: var(--filter-capacity-btn-text-active); + pointer-events: none; +} diff --git a/src/components/FilterCapacity/FilterCapacity.tsx b/src/components/FilterCapacity/FilterCapacity.tsx new file mode 100644 index 0000000000..6e5ac021ce --- /dev/null +++ b/src/components/FilterCapacity/FilterCapacity.tsx @@ -0,0 +1,85 @@ +import React from 'react'; +import './FilterCapacity.scss'; +import { ProductDetails } from '../../types/ProductDetails'; +import { useLocation, useNavigate } from 'react-router-dom'; +import classNames from 'classnames'; +import { useTranslation } from 'react-i18next'; + +type Props = { + product: ProductDetails | undefined; +}; + +export const FilterCapacity: React.FC = React.memo(({ product }) => { + const capacityArr = product?.capacityAvailable; + + const { t } = useTranslation(); + + const navigate = useNavigate(); + + const { pathname } = useLocation(); + + const replaceCapacity = (newCapacity: string) => { + const path = pathname.split('-'); + + if ( + path.some(item => { + switch (item) { + case '38mm': + return true; + + case '40mm': + return true; + + case '42mm': + return true; + + case '44mm': + return true; + + default: + return false; + } + }) + ) { + const indexCapacity = path.findIndex( + item => + item.includes('38mm') || + item.includes('42mm') || + item.includes('40mm') || + item.includes('44mm'), + ); + + path[indexCapacity] = newCapacity.toLowerCase(); + } else { + path[path.length - 2] = newCapacity.toLowerCase(); + } + + const newPath = path.join('-'); + + navigate(newPath); + }; + + return ( +
+
+ {t('filterCapacity.title')} +
+ +
    + {capacityArr?.map(item => ( +
  • replaceCapacity(item)} + > + {item} +
  • + ))} +
+
+ ); +}); + +FilterCapacity.displayName = 'FilterCapacity'; diff --git a/src/components/FilterCapacity/index.tsx b/src/components/FilterCapacity/index.tsx new file mode 100644 index 0000000000..df539ad5dc --- /dev/null +++ b/src/components/FilterCapacity/index.tsx @@ -0,0 +1 @@ +export * from './FilterCapacity'; diff --git a/src/components/Footer/Footer.scss b/src/components/Footer/Footer.scss new file mode 100644 index 0000000000..1edc15c1db --- /dev/null +++ b/src/components/Footer/Footer.scss @@ -0,0 +1,125 @@ +@import '../../styles/main'; + +.Footer { + margin-top: auto; + border-top: 1px solid var(--elements-color); + width: 100%; + background-color: var(--bg-color); + bottom: 0; + + &__content { + width: 100%; + height: 257px; + display: flex; + flex-direction: column; + gap: 32px; + + @include on-tablet { + width: 100%; + height: 96px; + flex-direction: row; + justify-content: space-between; + align-items: center; + gap: 0; + } + } + + &__logo { + margin-top: 32px; + + @include on-tablet { + margin-top: 0; + } + } + + &__nav { + &-list { + display: flex; + flex-direction: column; + gap: 16px; + + @include on-tablet { + flex-direction: row; + gap: 13.5px; + } + + @include on-desktop { + gap: 106.83px; + } + } + + &-item { + width: 70px; + font-family: Mont, sans-serif; + font-weight: 800; + font-size: 12px; + line-height: 11px; + letter-spacing: 4%; + color: var(--footer-nav-link-color); + cursor: pointer; + + &-link { + text-decoration: none; + color: var(--footer-nav-link-color); + + &:hover { + color: var(--footer-nav-link-hover-color); + } + } + } + + &-item:hover { + color: var(--footer-nav-link-hover-color); + } + } + + &__button { + margin-inline: auto; + display: flex; + align-items: center; + gap: 16px; + + &-hiden { + display: none; + + @include on-tablet { + display: block; + opacity: 0; + pointer-events: none; + } + } + + @include on-tablet { + margin-inline: 0; + } + + &-text { + font-family: Mont, sans-serif; + font-weight: 700; + font-size: 12px; + line-height: 15.34px; + color: var(--header-link-color); + } + + &-link { + display: flex; + justify-content: center; + align-items: center; + width: 32px; + height: 32px; + background-color: var(--footer-btn-bg-color); + border: 1px solid var(--slider-border-btn); + cursor: pointer; + transition-duration: transform 0.5s; + + &:hover { + border-color: $primaryColor; + background-color: var(--hov-bg-slider-btn); + } + } + + &-img { + transform: rotate(270deg); + } + } +} diff --git a/src/components/Footer/Footer.tsx b/src/components/Footer/Footer.tsx new file mode 100644 index 0000000000..a4562ab995 --- /dev/null +++ b/src/components/Footer/Footer.tsx @@ -0,0 +1,82 @@ +import './Footer.scss'; +import logo from '../../images/logo/logo-header.svg'; +import logoDark from '../../images/logo/logo_dark.svg'; +import arrow from '../../images/icons/arrow_right.png'; +import arrowDark from '../../images/icons/arrow_dark.svg'; +import { Link } from 'react-router-dom'; +import { useAppSelector } from '../../hooks/hooks'; +import { useTranslation } from 'react-i18next'; +import { useState, useEffect } from 'react'; +import classNames from 'classnames'; + +export const Footer: React.FC = () => { + const goTop = () => window.scrollTo({ top: 0, behavior: 'smooth' }); + const [isScrolled, setIsScrolled] = useState(false); + const { theme } = useAppSelector(state => state.theme); + const { t } = useTranslation(); + + useEffect(() => { + const handleScroll = () => { + if (window.scrollY > 0) { + setIsScrolled(true); + } else { + setIsScrolled(false); + } + }; + + window.addEventListener('scroll', handleScroll); + + return () => { + window.removeEventListener('scroll', handleScroll); + }; + }, []); + + return ( +
+
+
+
+ + Logo + +
+ +
+
    +
  • + + GITHUB + +
  • +
  • {t('footer.contacts')}
  • +
  • {t('footer.rights')}
  • +
+
+ +
+

{t('footer.backToTop')}

+ +
+
+
+
+ ); +}; diff --git a/src/components/Footer/index.tsx b/src/components/Footer/index.tsx new file mode 100644 index 0000000000..ddcc5a9cd1 --- /dev/null +++ b/src/components/Footer/index.tsx @@ -0,0 +1 @@ +export * from './Footer'; diff --git a/src/components/Header/Header.scss b/src/components/Header/Header.scss new file mode 100644 index 0000000000..f0c3e9396b --- /dev/null +++ b/src/components/Header/Header.scss @@ -0,0 +1,469 @@ +@import '../../styles/main'; + +.header { + &__top-bar { + display: flex; + flex-direction: row; + justify-content: space-between; + align-items: center; + height: 48px; + width: 100%; + border-bottom: 1px solid var(--border-color); + + @include on-desktop { + height: 64px; + } + + &_left { + display: flex; + align-items: center; + gap: 16px; + height: 100%; + } + + &_right { + display: flex; + flex-direction: row; + justify-content: end; + width: 100%; + height: 100%; + } + } + + &__nav { + display: none; + + @include on-tablet { + display: flex; + gap: 16px; + justify-content: space-between; + height: 48px; + width: 100%; + } + + &--list { + display: flex; + align-items: center; + gap: 32px; + + @include on-desktop { + gap: 64px; + } + } + + &--item { + gap: 32px; + + &_link { + text-decoration: none; + font-family: Mont, sans-serif; + font-weight: 800; + font-size: 12px; + line-height: 11px; + letter-spacing: 4%; + color: var(--header-link-color); + + &--active { + color: var(--text-color); + border-bottom: 2px solid var(--text-color); + + @include on-tablet { + padding-bottom: 11px; + } + + @include on-desktop { + padding-bottom: 20px; + } + } + } + + &_link:hover { + color: var(--text-color); + } + } + } + + &__theme { + width: 48px; + height: 48px; + display: flex; + justify-content: center; + align-items: center; + border-left: 1px solid var(--border-color); + cursor: pointer; + + &:hover { + background-color: var(--elements-color); + } + + @include on-desktop { + width: 64px; + height: 64px; + } + + &-button { + font-family: Mont, sans-serif; + font-weight: 800; + font-size: 12px; + line-height: 11px; + letter-spacing: 4%; + color: var(--text-color); + cursor: pointer; + + &-img { + width: 24px; + height: 24px; + display: flex; + } + } + } + + &__lang { + width: 48px; + height: 48px; + display: flex; + justify-content: center; + align-items: center; + border-left: 1px solid var(--border-color); + cursor: pointer; + + &:hover { + background-color: var(--elements-color); + } + + @include on-desktop { + width: 64px; + height: 64px; + } + + &-button { + font-family: Mont, sans-serif; + font-weight: 800; + font-size: 12px; + line-height: 11px; + letter-spacing: 4%; + color: var(--text-color); + cursor: pointer; + } + } + + &__icons { + display: none; + + @include on-tablet { + display: flex; + justify-content: end; + } + + &--favourites { + width: 48px; + height: 48px; + border-inline: 1px solid var(--elements-color); + position: relative; + + &-isActive { + background-color: var(--elements-color); + } + + &:hover { + background-color: var(--elements-color); + } + + @include on-desktop { + width: 64px; + height: 64px; + } + + &_img { + padding: 16px; + + &-count { + width: 14px; + height: 14px; + background-color: #eb5757; + border: 2px solid $whiteColor; + border-radius: 50%; + position: absolute; + top: 30%; + left: 50%; + font-family: Mont, sans-serif; + font-weight: 700; + font-size: 9px; + line-height: 11.5px; + color: $whiteColor; + display: flex; + justify-content: center; + } + + @include on-desktop { + padding: 24px; + } + } + } + + &--cart { + width: 48px; + height: 48px; + position: relative; + + &-isActive { + background-color: var(--elements-color); + } + + &:hover { + background-color: var(--elements-color); + } + + @include on-desktop { + width: 64px; + height: 64px; + } + + &_img { + padding: 16px; + + &-count { + width: 14px; + height: 14px; + background-color: #eb5757; + border: 2px solid $whiteColor; + border-radius: 50%; + position: absolute; + top: 30%; + left: 50%; + font-family: Mont, sans-serif; + font-weight: 700; + font-size: 9px; + line-height: 11.5px; + color: $whiteColor; + display: flex; + justify-content: center; + } + + @include on-desktop { + padding: 24px; + } + } + } + } + + &__logo { + padding: 16px; + + @include on-desktop { + padding: 18px 24px; + } + + &_img { + height: 22px; + width: 64px; + + @include on-desktop { + height: 28px; + width: 80px; + } + } + } +} + +.burger_menu_icon { + padding: 13px; + height: 48px; + width: 48px; + border-left: 1px solid var(--elements-color); + display: flex; + justify-content: center; + align-items: center; + + &_link { + height: 16px; + width: 16px; + } + + &_img { + display: flex; + justify-content: center; + } + + @include on-tablet { + display: none; + } +} + +.burger_menu { + height: 100vh; + position: fixed; + top: 0; + left: 0; + right: 0; + pointer-events: none; + background-color: var(--bg-color); + z-index: 0; + transform: translateX(-100%); + transition: transform 0.3s; + + &__top { + display: flex; + flex-direction: row; + justify-content: space-between; + align-items: center; + height: 48px; + border-bottom: 1px solid var(--elements-color); + } + + &__logo { + padding: 16px; + + &_img { + height: 22px; + width: 64px; + } + } + + &__icon { + padding: 16px; + height: 48px; + width: 48px; + border-left: 1px solid var(--elements-color); + display: flex; + justify-content: center; + align-items: center; + + &_img { + display: flex; + justify-content: center; + } + } + + &__nav { + display: flex; + justify-content: center; + margin-top: 24px; + width: 100%; + + &--list { + display: flex; + gap: 16px; + flex-direction: column; + } + + &--item { + text-align: center; + + &_link { + text-decoration: none; + font-family: Mont, sans-serif; + font-weight: 800; + font-size: 12px; + line-height: 11px; + letter-spacing: 4%; + color: $secondaryColor; + + &--active { + border-bottom: 1px solid $primaryColor; + } + } + + &_link:hover { + color: var(--text-color); + } + } + } + + &__bottom { + display: flex; + justify-content: center; + position: fixed; + bottom: 0; + left: 0; + right: 0; + + &-theme { + display: flex; + justify-content: center; + align-items: center; + cursor: pointer; + + &-button { + &-img { + width: 24px; + height: 24px; + display: flex; + } + } + } + + &-lang { + display: flex; + justify-content: center; + align-items: center; + cursor: pointer; + + &-button { + font-family: Mont, sans-serif; + font-weight: 800; + font-size: 12px; + line-height: 11px; + letter-spacing: 4%; + color: var(--text-color); + } + } + + &-fav { + display: flex; + justify-content: center; + align-items: center; + } + + &-cart { + display: flex; + justify-content: center; + align-items: center; + } + + &_icon { + height: 64px; + width: 100%; + position: relative; + border: 1px solid var(--elements-color); + + &:hover { + background-color: var(--elements-color); + } + + &--img { + position: relative; + + &-count { + width: 14px; + height: 14px; + background-color: $redColor; + border: 2px solid $whiteColor; + border-radius: 50%; + position: absolute; + top: 30%; + left: 50%; + font-family: Mont, sans-serif; + font-weight: 700; + font-size: 9px; + line-height: 11.5px; + color: $whiteColor; + display: flex; + justify-content: center; + align-items: center; + } + } + } + } +} + +.burger_menu:target { + opacity: 1; + pointer-events: all; + z-index: 2; + transform: translateX(0); +} + +.scroll { + overflow: hidden; +} diff --git a/src/components/Header/Header.tsx b/src/components/Header/Header.tsx new file mode 100644 index 0000000000..77b6ff7ef7 --- /dev/null +++ b/src/components/Header/Header.tsx @@ -0,0 +1,314 @@ +import logo from '../../images/logo/logo-header.svg'; +import logoDark from '../../images/logo/logo_dark.svg'; +import fav from '../../images/icons/favourites.svg'; +import favDark from '../../images/icons/fav_dark.svg'; +import cart from '../../images/icons/cart.svg'; +import cartDark from '../../images/icons/cart_dark.svg'; +import burgerMenu from '../../images/icons/burger-menu.svg'; +import burgerMenuDark from '../../images/icons/menu_dark.svg'; +import close from '../../images/icons/close.svg'; +import closeDark from '../../images/icons/close_dark.svg'; +import sun from '../../images/icons/sun_white.svg'; +import moon from '../../images/icons/moon_png.png'; +import { Link, NavLink, useLocation } from 'react-router-dom'; +import { useState, useEffect } from 'react'; +import { useAppDispath, useAppSelector } from '../../hooks/hooks'; +import classNames from 'classnames'; +import { SearchField } from '../SearchField'; +import { toggleTheme } from '../../features/theme'; +import i18next from 'i18next'; +import { useTranslation } from 'react-i18next'; +import { Lang } from '../../types/Language'; + +import './Header.scss'; + +const getLinkClass = ({ isActive }: { isActive: boolean }) => + classNames('header__nav--item_link', { + 'header__nav--item_link--active': isActive, + }); + +export const Header = () => { + const [isOpen, setIsOpen] = useState(false); + const { favourites } = useAppSelector(state => state.favourites); + const { productsOfCart } = useAppSelector(state => state.cart); + + const { theme } = useAppSelector(state => state.theme); + + const { t } = useTranslation(); + + const dispatch = useAppDispath(); + + const location = useLocation(); + const isSearchField = + location.pathname === '/phones' || + location.pathname === '/tablets' || + location.pathname === '/accessories'; + + const changeLang = () => { + const lang = i18next.language === Lang.EN ? Lang.UK : Lang.EN; + + i18next.changeLanguage(lang); + }; + + useEffect(() => { + localStorage.setItem('theme', theme); + document.body.classList.remove('light-theme', 'dark-theme'); + document.body.classList.add(theme); + + if (isOpen === true) { + document.body.classList.add('scroll'); + } else { + document.body.classList.remove('scroll'); + } + }, [theme, isOpen]); + + return ( + <> +
+
+
+
+ + Logo + +
+ + +
+ +
+ {isSearchField && } + +
+ {/* eslint-disable-next-line jsx-a11y/label-has-associated-control */} + + + + + classNames('header__icons--favourites', { + 'header__icons--favourites-isActive': isActive, + }) + } + > + Favourites + {favourites.length > 0 && ( +
+ {favourites.length} +
+ )} +
+ + + classNames('header__icons--cart', { + 'header__icons--cart-isActive': isActive, + }) + } + > + Cart + {productsOfCart.length > 0 && ( +
+ {/* {productsOfCart.length} */} + {productsOfCart.reduce( + (acc, item) => acc + item.quantity, + 0, + )} +
+ )} +
+
+
+ + setIsOpen(true)} + > + Burger-menu + +
+
+ + {isOpen && ( + + )} + + ); +}; diff --git a/src/components/Header/index.tsx b/src/components/Header/index.tsx new file mode 100644 index 0000000000..266dec8a1b --- /dev/null +++ b/src/components/Header/index.tsx @@ -0,0 +1 @@ +export * from './Header'; diff --git a/src/components/ItemsDropdown/ItemsDropdown.scss b/src/components/ItemsDropdown/ItemsDropdown.scss new file mode 100644 index 0000000000..cca1e1b6d4 --- /dev/null +++ b/src/components/ItemsDropdown/ItemsDropdown.scss @@ -0,0 +1,103 @@ +@import '../../styles/main'; + +.itemsDropdown { + height: 59px; + width: 136px; + + @include on-tablet { + width: 136px; + } + + &__label { + font-family: Mont, sans-serif; + font-weight: 700; + font-size: 12px; + line-height: 15.34px; + color: var(--secondary-color); + } + + &__button { + width: 100%; + height: 40px; + display: flex; + justify-content: space-between; + align-items: center; + padding-inline: 12px; + border: 1px solid var(--dropdown-border-color); + background-color: var(--dropdown-bg-color); + cursor: pointer; + + &:hover { + border-color: var(--dropdown-border-hover-color); + } + + &-text { + font-family: Mont, sans-serif; + font-weight: 700; + font-size: 14px; + line-height: 21px; + color: var(--text-color); + } + + &-img { + width: 16px; + height: 16px; + + &-active { + transform: rotate(90deg); + } + } + } + + &__list { + display: none; + + &-isActive { + display: initial; + width: 136px; + background-color: var(--bg-color); + border: 1px solid var(--dropdown-list-border); + flex-direction: column; + justify-content: center; + gap: 8px; + position: absolute; + margin-top: 5px; + z-index: 100; + } + } + + &__item { + width: 100%; + height: 40px; + font-family: Mont, sans-serif; + font-weight: 700; + font-size: 14px; + line-height: 21px; + color: var(--secondary-color); + cursor: pointer; + position: relative; + display: flex; + align-items: center; + padding-left: 12px; + + &:hover { + background-color: var(--dropdown-list-bg-hover); + color: var(--text-color); + } + } +} + +// .active { +// display: initial; +// width: 136px; +// background-color: $whiteColor; +// padding-inline: 12px; +// border: 1px solid $iconsColor; +// display: flex; +// flex-direction: column; +// justify-content: center; +// gap: 8px; +// position: absolute; +// margin-top: 5px; +// z-index: 100; +// } diff --git a/src/components/ItemsDropdown/ItemsPropdown.tsx b/src/components/ItemsDropdown/ItemsPropdown.tsx new file mode 100644 index 0000000000..55fbfa7cfc --- /dev/null +++ b/src/components/ItemsDropdown/ItemsPropdown.tsx @@ -0,0 +1,102 @@ +import './ItemsDropdown.scss'; +import arrow from '../../images/icons/arrow_right.png'; +import arrowDark from '../../images/icons/arrow_dark.svg'; +import classNames from 'classnames'; +import { useState, useEffect, useRef } from 'react'; +import { useSearchParams } from 'react-router-dom'; +import { useAppSelector } from '../../hooks/hooks'; +import { useTranslation } from 'react-i18next'; + +export const ItemsDropdown = () => { + const [isActive, setIsActive] = useState(false); + const { theme } = useAppSelector(state => state.theme); + const { t } = useTranslation(); + const [searchParams, setSearchParams] = useSearchParams(); + const dropdownRef = useRef(null); + + const options: string[] = ['4', '8', '16', t('itemsDropdown.all')]; + + const handleClickOutside = (event: MouseEvent) => { + if ( + dropdownRef.current && + !dropdownRef.current.contains(event.target as Node) + ) { + setIsActive(false); + } + }; + + const handleSelectOption = (option: string) => { + const params = new URLSearchParams(searchParams); + + if (option === t('itemsDropdown.all')) { + params.delete('perPage'); + params.delete('page'); + } else { + params.set('perPage', option); + } + + setSearchParams(params); + }; + + const toggleMenu = () => { + if (isActive) { + setIsActive(false); + } else { + setIsActive(true); + } + + return setIsActive; + }; + + useEffect(() => { + if (isActive) { + document.addEventListener('mousedown', handleClickOutside); + } else { + document.removeEventListener('mousedown', handleClickOutside); + } + + return () => { + document.removeEventListener('mousedown', handleClickOutside); + }; + }); + + return ( +
+ + + + +
    + {options.map(option => ( +
  • { + handleSelectOption(option); + setIsActive(false); + }} + > + {option} +
  • + ))} +
+
+ ); +}; diff --git a/src/components/ItemsDropdown/index.tsx b/src/components/ItemsDropdown/index.tsx new file mode 100644 index 0000000000..bd21496902 --- /dev/null +++ b/src/components/ItemsDropdown/index.tsx @@ -0,0 +1 @@ +export * from '../ItemsDropdown'; diff --git a/src/components/Loader/Loader.scss b/src/components/Loader/Loader.scss new file mode 100644 index 0000000000..6356b44223 --- /dev/null +++ b/src/components/Loader/Loader.scss @@ -0,0 +1,28 @@ +@import '../../styles/main'; + +.loader { + display: flex; + width: 100%; + height: 50vh; + justify-content: center; + align-items: center; + + &__content { + width: 30px; + height: 30px; + border-radius: 50%; + border: 5px solid #ddd; + border-left-color: #000; + animation: load 1.2s infinite linear; + } +} + +@keyframes load { + 0% { + transform: rotate(0deg); + } + + 100% { + transform: rotate(360deg); + } +} diff --git a/src/components/Loader/Loader.tsx b/src/components/Loader/Loader.tsx new file mode 100644 index 0000000000..13153ad22b --- /dev/null +++ b/src/components/Loader/Loader.tsx @@ -0,0 +1,9 @@ +import './Loader.scss'; + +export const Loader = () => { + return ( +
+
+
+ ); +}; diff --git a/src/components/Loader/index.tsx b/src/components/Loader/index.tsx new file mode 100644 index 0000000000..d5ce981151 --- /dev/null +++ b/src/components/Loader/index.tsx @@ -0,0 +1 @@ +export * from './Loader'; diff --git a/src/components/Modal/Modal.scss b/src/components/Modal/Modal.scss new file mode 100644 index 0000000000..d0785cd3eb --- /dev/null +++ b/src/components/Modal/Modal.scss @@ -0,0 +1,74 @@ +@import '../../styles/main'; + +.modal { + position: fixed; + top: 0; + left: 0; + z-index: 1000; + background-color: rgba(108, 109, 116, 0.49); + width: 100%; + height: 100%; + display: flex; + justify-content: center; + align-items: center; + + &__box { + width: 420px; + height: 200px; + display: flex; + flex-direction: column; + border: 2px solid $primaryColor; + border-radius: 15px; + justify-content: center; + align-items: center; + padding: 10px; + background-color: var(--bg-color); + } + + &__title { + font-family: Mont, sans-serif; + font-weight: 700; + font-size: 25px; + line-height: 25px; + color: var(--text-color); + } + + &__question { + font-family: Mont, sans-serif; + font-weight: 600; + font-size: 20px; + line-height: 25px; + color: var(--text-color); + margin-top: 15px; + } + + &__buttons { + margin-top: 25px; + display: flex; + flex-direction: row; + gap: 16px; + justify-content: center; + align-items: center; + height: 40px; + width: 100%; + } + + &__button { + width: 100%; + background-color: var(--modal-btn-bg); + border: 1px solid var(--icons-color); + cursor: pointer; + height: 40px; + font-family: Mont, sans-serif; + font-weight: 700; + font-size: 16px; + line-height: 21px; + color: var(--secondary-color); + border-radius: 15px; + + &:hover { + border-color: $primaryColor; + color: var(--text-color); + } + } +} diff --git a/src/components/Modal/Modal.tsx b/src/components/Modal/Modal.tsx new file mode 100644 index 0000000000..72a349d3bb --- /dev/null +++ b/src/components/Modal/Modal.tsx @@ -0,0 +1,45 @@ +import { useTranslation } from 'react-i18next'; +import { clearCart } from '../../features/cart'; +import { useAppDispath } from '../../hooks/hooks'; +import './Modal.scss'; +import React from 'react'; + +type Props = { + setIsOpen: (value: boolean) => void; +}; + +export const Modal: React.FC = React.memo(({ setIsOpen }) => { + const dispatch = useAppDispath(); + + const { t } = useTranslation(); + + const handleClearCart = () => { + dispatch(clearCart()); + setIsOpen(false); + }; + + return ( +
+
+

{t('modal.title')}

+

{t('modal.question')}

+
+ + +
+
+
+ ); +}); + +Modal.displayName = 'Modal'; diff --git a/src/components/Modal/index.tsx b/src/components/Modal/index.tsx new file mode 100644 index 0000000000..cb89ee1788 --- /dev/null +++ b/src/components/Modal/index.tsx @@ -0,0 +1 @@ +export * from './Modal'; diff --git a/src/components/Pagination/Pagination.scss b/src/components/Pagination/Pagination.scss new file mode 100644 index 0000000000..35191dbaf5 --- /dev/null +++ b/src/components/Pagination/Pagination.scss @@ -0,0 +1,94 @@ +@import '../../styles/main'; + +.pagination { + width: 100%; + height: 32px; + display: flex; + justify-content: center; + flex-flow: row wrap; + margin-top: 24px; + + @include on-tablet { + margin-top: 40px; + } + + &__button { + display: flex; + width: 32px; + height: 32px; + border: 1px solid var(--pagination-btn-border); + border-style: none; + background-color: var(--pagination-btn-bg); + justify-content: center; + align-items: center; + cursor: pointer; + + &:hover { + border-color: var(--pagination-btn-border-hover); + background-color: var(--pagination-btn-bg-hover); + } + + &-right { + &--disable { + pointer-events: none; + opacity: 0.5; + } + } + + &-left { + &--disable { + pointer-events: none; + opacity: 0.5; + } + } + + &-imgLeft { + transform: rotate(180deg); + } + + &-imgRight { + &--disable { + transform: rotate(180deg); + } + } + } + + &__block { + width: 152px; + margin-inline: 16px; + overflow: hidden; + } + + &__list { + display: flex; + max-width: 184px; + gap: 8px; + } + + &__item { + font-family: Mont, sans-serif; + font-size: 14px; + font-weight: 600; + line-height: 21px; + flex-shrink: 0; + width: 32px; + height: 32px; + display: flex; + justify-content: center; + align-items: center; + border: 1px solid var(--pagination-item-border); + color: var(--pagination-item); + cursor: pointer; + + &:hover { + border-color: var(--pagination-item-border-hover); + background-color: var(--pagination-item-bg-hover); + } + + &--active { + background-color: var(--pagination-item-bg-active); + color: $whiteColor; + pointer-events: none; + } + } +} diff --git a/src/components/Pagination/Pagination.tsx b/src/components/Pagination/Pagination.tsx new file mode 100644 index 0000000000..d26e469ce2 --- /dev/null +++ b/src/components/Pagination/Pagination.tsx @@ -0,0 +1,152 @@ +import React, { useEffect, useState } from 'react'; +import './Pagination.scss'; +import { useSearchParams } from 'react-router-dom'; +import arrow from '../../images/icons/arrow_right.png'; +import arrowDark from '../../images/icons/arrow_dark.svg'; +import classNames from 'classnames'; +import { useAppSelector } from '../../hooks/hooks'; + +type Props = { + totalItems: number; +}; + +export const Pagination: React.FC = ({ totalItems }) => { + const [searchParams, setSearchParams] = useSearchParams(); + const [transformValue, setTransformValue] = useState( + searchParams.get('trans') || 0, + ); + const currPage = searchParams.get('page') || 1; + const perPage = searchParams.get('perPage') || 'All'; + const totalPages = Math.ceil(totalItems / +perPage); + const query = searchParams.get('query'); + + const { theme } = useAppSelector(state => state.theme); + + const getNumberOfPages = (total: number) => { + const numbers = []; + + for (let i = 1; i <= total; i += 1) { + numbers.push(i); + } + + return numbers; + }; + + const numbersOfPage = getNumberOfPages(totalPages); + + const [groupIndex, setGroupIndex] = useState(searchParams.get('group') || 0); + + const itemsPerPage = 4; + const start = +groupIndex * itemsPerPage; + const end = start + itemsPerPage; + const currentGroup = numbersOfPage.slice(start, end); + + const firstItemOnPage = currentGroup[0]; + const lastItemOnPage = currentGroup[3]; + + const handleButtonRight = () => { + const params = new URLSearchParams(searchParams); + + if (+currPage !== totalPages) { + params.set('page', `${+currPage + 1}`); + } else { + params.get('page'); + } + + if (+currPage === lastItemOnPage) { + setGroupIndex(+groupIndex + 1); + setTransformValue(+transformValue + 160); + params.set('group', `${+groupIndex + 1}`); + params.set('trans', `${+transformValue + 160}`); + } + + setSearchParams(params); + }; + + const handleButtonLeft = () => { + const params = new URLSearchParams(searchParams); + + if (+currPage !== 1) { + params.set('page', `${+currPage - 1}`); + } else { + params.get('page'); + } + + if (+currPage === firstItemOnPage) { + setGroupIndex(+groupIndex - 1); + setTransformValue(+transformValue - 160); + params.set('group', `${+groupIndex - 1}`); + params.set('trans', `${+transformValue - 160}`); + } + + setSearchParams(params); + }; + + const handleChange = (item: number) => { + const params = new URLSearchParams(searchParams); + + params.set('page', item.toString()); + + setSearchParams(params); + }; + + useEffect(() => { + if (query || query === '') { + setTransformValue(0); + setGroupIndex(0); + } + }, [query]); + + return ( +
+ + +
+
    + {numbersOfPage.map(item => ( +
  • handleChange(item)} + > + {item} +
  • + ))} +
+
+ + +
+ ); +}; + +Pagination.displayName = 'Pagination'; diff --git a/src/components/Pagination/index.tsx b/src/components/Pagination/index.tsx new file mode 100644 index 0000000000..e016c96b72 --- /dev/null +++ b/src/components/Pagination/index.tsx @@ -0,0 +1 @@ +export * from './Pagination'; diff --git a/src/components/ProductCard/ProductCard.scss b/src/components/ProductCard/ProductCard.scss new file mode 100644 index 0000000000..dae96044ae --- /dev/null +++ b/src/components/ProductCard/ProductCard.scss @@ -0,0 +1,158 @@ +@import '../../styles/main'; + +.productCard { + width: 100%; + height: 100%; + + &__content { + width: 100%; + height: 100%; + display: flex; + flex-direction: column; + justify-content: space-between; + gap: 8px; + } + + &__link { + height: 100%; + width: 100%; + display: flex; + justify-content: center; + transition: transform 0.3s; + + &:hover { + transform: scale(1.1); + } + + &_img { + height: 129px; + width: 148px; + object-fit: contain; + + @include on-tablet { + height: 173px; + width: 202px; + } + + @include on-desktop { + height: 196px; + width: 208px; + } + } + } + + &__title { + font-family: Mont, sans-serif; + font-weight: 600; + font-size: 14px; + line-height: 21px; + color: var(--text-color); + text-decoration: none; + } + + &__block-price { + display: flex; + gap: 8px; + } + + &__price { + font-family: Mont, sans-serif; + font-weight: 800; + font-size: 22px; + line-height: 30.8px; + color: var(--text-color); + } + + &__fullPrice { + font-family: Mont, sans-serif; + font-weight: 800; + font-size: 22px; + line-height: 30.8px; + color: $secondaryColor; + text-decoration: line-through; + } + + &__line { + display: flex; + height: 1px; + width: 100%; + background-color: var(--elements-color); + } + + &__info { + display: flex; + flex-direction: column; + gap: 8px; + + &_block { + display: flex; + justify-content: space-between; + + &--name { + font-family: Mont, sans-serif; + font-weight: 700; + font-size: 12px; + line-height: 15.34px; + color: $secondaryColor; + } + + &--value { + font-family: Mont, sans-serif; + font-weight: 700; + font-size: 12px; + line-height: 15.34px; + color: var(--text-color); + } + } + } + + &__buttons { + box-sizing: border-box; + display: flex; + flex-direction: row; + justify-content: center; + align-items: center; + width: 100%; + height: 40px; + gap: 8px; + + &_cart { + background-color: var(--prod-card-btn); + color: $whiteColor; + width: 100%; + height: 40px; + cursor: pointer; + transition: transform 0.3s; + + &-isActive { + background-color: var(--active-prod-card-btn); + color: var(--active-prod-card-btn-text); + border: 1px solid var(--active-prod-card-btn-border); + } + } + + &_cart:hover { + transform: scale(1.05); + } + + &_favourites { + flex-shrink: 0; + border: 1px solid var(--prod-card-fav-border); + border-style: none; + width: 40px; + height: 40px; + background-color: var(--prod-card-fav-bg); + cursor: pointer; + + &-isActive { + border-color: var(--prod-card-fav-border-active); + background-color: var(--prod-card-fav-bg-active); + } + } + + &_favourites:hover { + border-color: var(--prod-card-fav-border-hover); + background-color: var(--prod-card-fav-bg-hover); + } + } +} diff --git a/src/components/ProductCard/ProductCard.tsx b/src/components/ProductCard/ProductCard.tsx new file mode 100644 index 0000000000..ea816f2f39 --- /dev/null +++ b/src/components/ProductCard/ProductCard.tsx @@ -0,0 +1,140 @@ +import { Product } from '../../types/Product'; +import fav from '../../images/icons/favourites16px.svg'; +import favDark from '../../images/icons/fav_dark.svg'; +import favLike from '../../images/icons/favourites_like.png'; +import './ProductCard.scss'; +import { Link } from 'react-router-dom'; +import { useAppDispath, useAppSelector } from '../../hooks/hooks'; +import { addProduct, removeProduct } from '../../features/favourites'; +import { addToCart, removeFromCart } from '../../features/cart'; +import classNames from 'classnames'; +import { useTranslation } from 'react-i18next'; +import React from 'react'; + +type Props = { + product: Product; + discount?: boolean; + slash?: boolean; +}; + +export const ProductCard: React.FC = React.memo( + ({ product, discount, slash }) => { + const { image, name, price, screen, capacity, ram, fullPrice } = product; + + const { theme } = useAppSelector(state => state.theme); + + const { t } = useTranslation(); + + const dispatch = useAppDispath(); + const { favourites } = useAppSelector(state => state.favourites); + const { productsOfCart } = useAppSelector(state => state.cart); + + const handleFavourites = (prod: Product) => { + if (favourites.some(item => item.id === prod.id)) { + dispatch(removeProduct(prod)); + } else { + dispatch(addProduct(prod)); + } + }; + + const handleCart = (prod: Product) => { + if (productsOfCart.some(item => item.id === prod.id)) { + dispatch(removeFromCart(prod.id)); + } else { + dispatch(addToCart(prod)); + } + }; + + const isProductFav = favourites.some(item => item.id === product.id); + const isProductInCart = productsOfCart.some(prod => prod.id === product.id); + + return ( +
+
+ + {slash ? ( + {name} + ) : ( + {name} + )} + + + + {name} + +
+

{`$${price}`}

+ {discount && ( +

{`$${fullPrice}`}

+ )} +
+ + + +
+
+
+ {t('productCard.info.screen')} +
+
{screen}
+
+ +
+
+ {t('productCard.info.capacity')} +
+
{capacity}
+
+ +
+
+ {t('productCard.info.ram')} +
+
{ram}
+
+
+ +
+ + + +
+
+
+ ); + }, +); + +ProductCard.displayName = 'ProductCard'; diff --git a/src/components/ProductCard/index.tsx b/src/components/ProductCard/index.tsx new file mode 100644 index 0000000000..7ce031c382 --- /dev/null +++ b/src/components/ProductCard/index.tsx @@ -0,0 +1 @@ +export * from './ProductCard'; diff --git a/src/components/ProductDetailsCard/ProductDetailsCard.scss b/src/components/ProductDetailsCard/ProductDetailsCard.scss new file mode 100644 index 0000000000..9e8c82d254 --- /dev/null +++ b/src/components/ProductDetailsCard/ProductDetailsCard.scss @@ -0,0 +1,420 @@ +@import '../../styles/main'; + +.productDetailsCard { + margin-top: 16px; + + &__contant { + width: 100%; + height: 100%; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + position: relative; + + @include on-tablet { + width: 100%; + height: 100%; + + @include page-grid; + } + } + + &__title { + font-family: Mont, sans-serif; + font-weight: 800; + font-size: 22px; + line-height: 30.8px; + color: var(--text-color); + + @include on-tablet { + grid-column: 1 / 13; + } + + @include on-desktop { + grid-column: 1 / 17; + } + } + + &__blockPhoto { + display: flex; + flex-direction: column-reverse; + justify-content: center; + margin-top: 32px; + + @include on-tablet { + display: grid; + grid-template-columns: repeat(7, 1fr); + grid-column: 1 / 8; + align-items: start; + width: 100%; + height: 100%; + margin-top: 0; + } + + @include on-desktop { + grid-column: 1 / 13; + display: grid; + grid-template-columns: repeat(12, 1fr); + gap: 16px; + } + } + + &__photo { + width: 288px; + height: 288px; + margin-inline: auto; + justify-content: center; + align-items: center; + + @include on-tablet { + margin-inline: 0; + grid-column: 2 / 8; + padding: 6.8px; + } + + @include on-desktop { + width: 464px; + height: 464px; + grid-column: 3 / 13; + padding: 11px; + } + + &-img { + width: 100%; + height: 100%; + object-fit: contain; + justify-content: center; + + @include on-tablet { + grid-column: 3 / 7; + width: 273.39px; + height: 273.39px; + } + + @include on-desktop { + grid-column: 4 / 12; + width: 442px; + height: 442px; + } + } + + &-list { + display: flex; + justify-content: center; + width: 100%; + height: 49px; + margin-top: 16px; + gap: 8px; + + @include on-tablet { + grid-column: 1 / 2; + flex-direction: column; + width: 35px; + justify-content: start; + height: 100%; + margin-top: 0; + } + + @include on-desktop { + grid-column: 1 / 3; + flex-direction: column; + width: 80px; + } + } + + &-link { + display: flex; + height: 100%; + cursor: pointer; + + @include on-desktop { + width: 100%; + height: 100%; + } + } + + &-item { + width: 51.2px; + height: 49px; + padding: 5px; + border: 1px solid var(--elements-color); + + &:hover { + border-color: var(--text-color); + } + + &-active { + border: 1px solid var(--text-color); + pointer-events: none; + } + + @include on-tablet { + width: 35px; + height: 35px; + } + + @include on-desktop { + width: 80px; + height: 80px; + } + + &--img { + width: 100%; + height: 100%; + object-fit: contain; + } + } + } + + &__options { + @include on-tablet { + height: 100%; + grid-column: 8 / 13; + } + + @include on-desktop { + grid-column: 14 / 21; + } + } + + &__about { + margin-top: 56px; + height: 100%; + + @include on-tablet { + grid-column: 1 / -1; + } + + @include on-desktop { + grid-column: 1 / 13; + margin-top: 80px; + } + + &-top { + font-family: Mont, sans-serif; + font-weight: 700; + font-size: 20px; + line-height: 26.65px; + color: var(--text-color); + } + + &-block { + margin-top: 16px; + + &--title { + font-family: Mont, sans-serif; + font-weight: 700; + font-size: 16px; + line-height: 20.45px; + color: var(--text-color); + } + + &--text { + font-family: Mont, sans-serif; + font-weight: 600; + font-size: 14px; + line-height: 21px; + color: var(--secondary-color); + margin-top: 16px; + } + } + } + + &__line { + width: 100%; + height: 1px; + background-color: var(--elements-color); + display: flex; + flex-direction: row; + margin-top: 16px; + + &-filter { + width: 100%; + height: 1px; + background-color: var(--elements-color); + display: flex; + flex-direction: row; + margin-top: 24px; + } + } + + &__priceBlock { + width: 288px; + height: 105px; + margin-top: 32px; + + @include on-tablet { + // width: 237px; + width: 100%; + } + + @include on-desktop { + width: 100%; + } + } + + &__price { + display: flex; + align-items: center; + gap: 8px; + + &--discountPrice { + font-family: Mont, sans-serif; + font-weight: 800; + font-size: 32px; + line-height: 41px; + letter-spacing: -1%; + color: var(--text-color); + } + + &--regularPrice { + font-family: Mont, sans-serif; + font-weight: 500; + font-size: 22px; + line-height: 28.12px; + color: var(--secondary-color); + text-decoration: line-through; + } + } + + &__buttons { + box-sizing: border-box; + display: flex; + flex-direction: row; + justify-content: center; + align-items: center; + width: 100%; + height: 48px; + gap: 8px; + + @include on-desktop { + width: 100%; + } + + &_cart { + background-color: var(--prod-card-btn); + color: $whiteColor; + width: 100%; + height: 100%; + cursor: pointer; + transition: transform 0.3s; + + &-isActive { + background-color: var(--active-prod-card-btn); + color: var(--active-prod-card-btn-text); + border: 1px solid var(--active-prod-card-btn-border); + } + } + + &_cart:hover { + transform: scale(1.05); + } + + &_favourites { + flex-shrink: 0; + border: 1px solid var(--prod-card-fav-border); + border-style: none; + width: 48px; + height: 48px; + background-color: var(--prod-card-fav-bg); + cursor: pointer; + + &-active { + border-color: var(--prod-card-fav-border-active); + background-color: var(--prod-card-fav-bg-active); + } + } + + &_favourites:hover { + border-color: var(--prod-card-fav-border-hover); + background-color: var(--prod-card-fav-bg-hover); + } + } + + &__info { + display: flex; + flex-direction: column; + gap: 8px; + + &_block { + display: flex; + justify-content: space-between; + + &--name { + font-family: Mont, sans-serif; + font-weight: 700; + font-size: 12px; + line-height: 15.34px; + color: var(--secondary-color); + } + + &--value { + font-family: Mont, sans-serif; + font-weight: 700; + font-size: 12px; + line-height: 15.34px; + color: var(--text-color); + } + } + } + + &__techSpecs { + width: 100%; + height: 100%; + display: flex; + flex-direction: column; + justify-content: space-between; + margin-top: 56px; + + @include on-tablet { + grid-column: 1 / -1; + } + + @include on-desktop { + justify-content: start; + margin-top: 80px; + grid-column: 14 / -1; + } + + &-top { + display: flex; + justify-content: left; + font-family: Mont, sans-serif; + font-weight: 700; + font-size: 20px; + line-height: 26.65px; + color: var(--text-color); + } + + &-info { + display: flex; + justify-content: space-between; + flex-direction: column; + margin-top: 30px; + gap: 8px; + } + + &-block { + display: flex; + flex-direction: row; + justify-content: space-between; + + &--title { + font-family: Mont, sans-serif; + font-weight: 500; + font-size: 14px; + line-height: 21px; + color: var(--secondary-color); + } + + &--text { + font-family: Mont, sans-serif; + font-weight: 500; + font-size: 14px; + line-height: 21px; + color: var(--text-color); + } + } + } +} diff --git a/src/components/ProductDetailsCard/ProductDetailsCard.tsx b/src/components/ProductDetailsCard/ProductDetailsCard.tsx new file mode 100644 index 0000000000..f701b7e58f --- /dev/null +++ b/src/components/ProductDetailsCard/ProductDetailsCard.tsx @@ -0,0 +1,325 @@ +import fav from '../../images/icons/favourites.svg'; +import favDark from '../../images/icons/fav_dark.svg'; +import favLike from '../../images/icons/favourites_like.png'; +import React, { useState, useEffect } from 'react'; +import { ProductDetails } from '../../types/ProductDetails'; +import { Filter } from '../Filter'; +import { FilterCapacity } from '../FilterCapacity'; +import { Product } from '../../types/Product'; +import { useAppDispath, useAppSelector } from '../../hooks/hooks'; +import { addProduct, removeProduct } from '../../features/favourites'; +import { addToCart, removeFromCart } from '../../features/cart'; +import classNames from 'classnames'; +import { NotFoundProductPage } from '../../pages/NotFoundProductPage'; +import { useParams } from 'react-router-dom'; +import { useTranslation } from 'react-i18next'; + +import './ProductDetailsCard.scss'; + +type Props = { + products: Product[]; + currProd: ProductDetails | undefined; +}; + +export const ProductDetailsCard: React.FC = React.memo( + ({ products, currProd }) => { + const dispatch = useAppDispath(); + const { favourites } = useAppSelector(state => state.favourites); + const { productsOfCart } = useAppSelector(state => state.cart); + + const { theme } = useAppSelector(state => state.theme); + + const { t } = useTranslation(); + + const { productId = '' } = useParams(); + + const id = productId.slice(1); + + const images = currProd?.images; + + const [selectedImage, setSelectedImage] = useState(''); + + const handleCartsDetails = (prodId: string) => { + const index = products.findIndex(item => item.itemId === prodId); + + if (productsOfCart.some(item => item.itemId === prodId)) { + dispatch(removeFromCart(+products[index].id)); + } else { + dispatch(addToCart(products[index])); + } + }; + + const isProductFav = favourites.some(item => item.itemId === id); + const isProductInCart = productsOfCart.some(prod => prod.itemId === id); + + const handleFavouritesDetails = (prodId: string) => { + const index = products.findIndex(item => item.itemId === prodId); + + if (favourites.some(item => item.itemId === prodId)) { + dispatch(removeProduct(products[index])); + } else { + dispatch(addProduct(products[index])); + } + }; + + useEffect(() => { + const currImage = currProd?.images[0]; + + setSelectedImage(currImage); + }, [currProd]); + + if (!currProd?.id) { + return ; + } + + return ( +
+
+
+

{currProd?.name}

+ +
+
    + {images?.map((image, i) => ( +
  • +
    setSelectedImage(image)} + > + {currProd?.namespaceId} +
    +
  • + ))} +
+ +
+ {currProd?.namespaceId} +
+
+ +
+
+ + + + + +
+ +
+ +
+
+

+ {currProd?.priceDiscount} +

+

+ {currProd?.priceRegular} +

+
+ +
+ + + +
+
+ +
+
+
+ {t('productDetailsCard.info.screen')} +
+
+ {currProd?.screen} +
+
+ +
+
+ {t('productDetailsCard.info.resolution')} +
+
+ {currProd?.resolution} +
+
+ +
+
+ {t('productDetailsCard.info.processor')} +
+
+ {currProd?.processor} +
+
+ +
+
+ {t('productDetailsCard.info.ram')} +
+
+ {currProd?.ram} +
+
+
+
+
+

+ {t('productDetailsCard.about')} +

+ + {currProd?.description.map(item => ( +
+

+ {item.title} +

+

+ {item.text} +

+
+ ))} +
+
+

+ {t('productDetailsCard.info.title')} +

+ + + +
+
+
+ {t('productDetailsCard.info.screen')} +
+
+ {currProd?.screen} +
+
+ +
+
+ {t('productDetailsCard.info.resolution')} +
+
+ {currProd?.resolution} +
+
+ +
+
+ {t('productDetailsCard.info.processor')} +
+
+ {currProd?.processor} +
+
+ +
+
+ {t('productDetailsCard.info.ram')} +
+
+ {currProd?.ram} +
+
+ +
+
+ {t('productDetailsCard.info.memory')} +
+
+ {currProd?.capacity} +
+
+ + {currProd?.camera && ( +
+
+ {t('productDetailsCard.info.camera')} +
+
+ {currProd?.camera || ''} +
+
+ )} + + {currProd?.zoom && ( +
+
+ {t('productDetailsCard.info.zoom')} +
+
+ {currProd?.zoom || ''} +
+
+ )} + +
+
+ {t('productDetailsCard.info.cell')} +
+
+ {currProd?.cell.join(', ')} +
+
+
+
+
+
+
+ ); + }, +); + +ProductDetailsCard.displayName = 'ProductDetailsCard'; diff --git a/src/components/ProductDetailsCard/index.tsx b/src/components/ProductDetailsCard/index.tsx new file mode 100644 index 0000000000..c0493cf5a5 --- /dev/null +++ b/src/components/ProductDetailsCard/index.tsx @@ -0,0 +1 @@ +export * from './ProductDetailsCard'; diff --git a/src/components/ProductList/ProductList.scss b/src/components/ProductList/ProductList.scss new file mode 100644 index 0000000000..f8212ab088 --- /dev/null +++ b/src/components/ProductList/ProductList.scss @@ -0,0 +1,42 @@ +@import '../../styles/main'; + +.productList { + margin-top: 24px; + + &__list { + width: 100%; + height: 100%; + display: flex; + flex-wrap: wrap; + justify-content: center; + gap: 16px; + + @include on-tablet { + justify-content: left; + } + + &-item { + height: 440px; + width: 288px; + min-height: 229px; + border: 1px solid var(--elements-color); + padding: 32px; + display: flex; + justify-content: center; + + &:hover { + border-color: var(--text-color); + } + + @include on-tablet { + height: 506px; + width: 288px; + } + + @include on-desktop { + height: 506px; + width: 272px; + } + } + } +} diff --git a/src/components/ProductList/ProductList.tsx b/src/components/ProductList/ProductList.tsx new file mode 100644 index 0000000000..ba255e8fdc --- /dev/null +++ b/src/components/ProductList/ProductList.tsx @@ -0,0 +1,24 @@ +import React from 'react'; +import { Product } from '../../types/Product'; +import { ProductCard } from '../ProductCard'; +import './ProductList.scss'; + +type Props = { + products: Product[]; +}; + +export const PorductList: React.FC = React.memo(({ products }) => { + return ( +
+
    + {products.map(product => ( +
  • + +
  • + ))} +
+
+ ); +}); + +PorductList.displayName = 'PorductList'; diff --git a/src/components/ProductList/index.tsx b/src/components/ProductList/index.tsx new file mode 100644 index 0000000000..c71910ae05 --- /dev/null +++ b/src/components/ProductList/index.tsx @@ -0,0 +1 @@ +export * from './ProductList'; diff --git a/src/components/SearchField/SearchField.scss b/src/components/SearchField/SearchField.scss new file mode 100644 index 0000000000..dcfd9ed846 --- /dev/null +++ b/src/components/SearchField/SearchField.scss @@ -0,0 +1,31 @@ +@import '../../styles/main'; + +.searchField { + width: 170px; + height: 100%; + box-sizing: border-box; + + &__content { + display: flex; + height: 100%; + } + + &__input { + width: 100%; + height: 100%; + border-style: none; + border-left: 1px solid var(--elements-color); + padding-left: 5px; + outline: none; + background-color: var(--bg-color); + color: var(--text-color); + } + + &__close { + background-color: var(--bg-color); + display: flex; + align-items: center; + padding: 5px; + cursor: pointer; + } +} diff --git a/src/components/SearchField/SearchField.tsx b/src/components/SearchField/SearchField.tsx new file mode 100644 index 0000000000..1d450c9405 --- /dev/null +++ b/src/components/SearchField/SearchField.tsx @@ -0,0 +1,113 @@ +import './SearchField.scss'; +import { useCallback, useEffect, useRef, useState } from 'react'; +import close from '../../images/icons/close.svg'; +import closeDark from '../../images/icons/close_dark.svg'; +import { useLocation, useSearchParams } from 'react-router-dom'; +import debounce from 'lodash.debounce'; +import classNames from 'classnames'; +import { useAppSelector } from '../../hooks/hooks'; +import { useTranslation } from 'react-i18next'; + +export const SearchField = () => { + const [searchParams, setSearchParams] = useSearchParams(); + const [query, setQueery] = useState(searchParams.get('query') || ''); + const firstRender = useRef(true); + const titleField = useRef(null); + const { theme } = useAppSelector(state => state.theme); + + // eslint-disable-next-line react-hooks/exhaustive-deps + const debouncedSearch = useCallback( + debounce((params: URLSearchParams) => { + setSearchParams(params); + }, 1000), + [searchParams], + ); + + const handleQueryChange = (event: React.ChangeEvent) => { + const params = new URLSearchParams(searchParams); + + params.set('query', event.target.value); + params.set('page', '1'); + params.set('trans', '0'); + params.set('group', '0'); + + debouncedSearch(params); + setQueery(event.target.value); + }; + + const handleClear = () => { + const params = new URLSearchParams(searchParams); + + params.set('query', ''); + params.set('page', '1'); + params.set('trans', '0'); + params.set('group', '0'); + + setSearchParams(params); + setQueery(''); + }; + + const location = useLocation(); + let categorySearch = location.pathname.slice(1); + + const { t } = useTranslation(); + + const categoryTrans = (category: string) => { + if (category === 'accessories') { + return (categorySearch = t('searchField.category.accessories')); + } + + if (category === 'phones') { + return (categorySearch = t('searchField.category.phones')); + } + + if (category === 'tablets') { + return (categorySearch = t('searchField.category.tablets')); + } else { + return category; + } + }; + + useEffect(() => { + if (firstRender.current) { + firstRender.current = false; + + return; + } + + setQueery(''); + }, [location.pathname]); + + return ( +
+ +
+ ); +}; diff --git a/src/components/SearchField/index.tsx b/src/components/SearchField/index.tsx new file mode 100644 index 0000000000..9f5ef33472 --- /dev/null +++ b/src/components/SearchField/index.tsx @@ -0,0 +1 @@ +export * from './SearchField'; diff --git a/src/components/Skeletons/Skeletons.scss b/src/components/Skeletons/Skeletons.scss new file mode 100644 index 0000000000..93bfaa5813 --- /dev/null +++ b/src/components/Skeletons/Skeletons.scss @@ -0,0 +1,36 @@ +@import '../../styles/main'; + +.skeletons { + margin-top: 24px; + + &__content { + width: 100%; + height: 100%; + } + + &__list { + display: flex; + flex-flow: wrap; + flex-direction: row; + justify-content: center; + gap: 16px; + + @include on-tablet { + justify-content: start; + } + } + + &__item { + width: 287px; + height: 506px; + border: 1px solid $elementsColor; + + @include on-tablet { + width: 288px; + } + + @include on-desktop { + width: 272px; + } + } +} diff --git a/src/components/Skeletons/Skeletons.tsx b/src/components/Skeletons/Skeletons.tsx new file mode 100644 index 0000000000..6743a23b89 --- /dev/null +++ b/src/components/Skeletons/Skeletons.tsx @@ -0,0 +1,42 @@ +import React from 'react'; +import { Product } from '../../types/Product'; +import './Skeletons.scss'; +import ContentLoader from 'react-content-loader'; + +type Props = { + products: Product[]; +}; + +export const Skeletons: React.FC = React.memo(({ products }) => { + return ( +
+
+
+ {products.map(product => ( +
+ + + + + + + + + + +
+ ))} +
+
+
+ ); +}); + +Skeletons.displayName = 'Skeletons'; diff --git a/src/components/Skeletons/index.tsx b/src/components/Skeletons/index.tsx new file mode 100644 index 0000000000..5bfa0c56f7 --- /dev/null +++ b/src/components/Skeletons/index.tsx @@ -0,0 +1 @@ +export * from './Skeletons'; diff --git a/src/components/Slider/Slider.scss b/src/components/Slider/Slider.scss new file mode 100644 index 0000000000..39df0edea3 --- /dev/null +++ b/src/components/Slider/Slider.scss @@ -0,0 +1,131 @@ +@import '../../styles/main'; + +.Slider { + margin-top: 56px; + + &__content { + overflow: hidden; + } + + &__top { + display: flex; + justify-content: space-between; + align-items: center; + padding-right: 16px; + + @include on-tablet { + padding-right: 24px; + } + + @include on-desktop { + padding-right: 32px; + } + } + + &__title { + font-family: Mont, sans-serif; + font-weight: 800; + font-size: 22px; + line-height: 30.8px; + color: var(--text-color); + width: 136px; + + @include on-tablet { + width: 100%; + font-size: 32px; + line-height: 42px; + letter-spacing: -1%; + } + } + + &__buttons { + display: flex; + gap: 16px; + } + + &__button { + height: 32px; + width: 32px; + display: flex; + justify-content: center; + align-items: center; + background-color: var(--surface-color2); + border: 1px solid var(--slider-border-btn); + cursor: pointer; + + &-left { + &-disabled { + pointer-events: none; + background-color: var(--bg-color); + } + } + + &-right-disabled { + pointer-events: none; + background-color: var(--bg-color); + } + + &:hover { + border-color: $primaryColor; + background-color: var(--hov-bg-slider-btn); + } + + &--leftImg { + transform: rotate(180deg); + } + } + + &__cardsBlock { + @include on-desktop { + max-width: 1136px; + overflow: hidden; + } + } + + &__productCards { + margin-top: 24px; + display: flex; + flex-direction: row; + gap: 16px; + transition-duration: 0.5s; + + @include on-desktop { + padding-right: 32px; + } + + &-item { + height: 439px; + width: 212px; + border: 1px solid var(--elements-color); + padding: 32px; + + &:hover { + border-color: var(--text-color); + } + + @include on-tablet { + height: 512px; + width: 237px; + } + + @include on-desktop { + height: 506px; + width: 272px; + } + } + } + + &__container { + padding-left: 16px; + + @include on-tablet { + padding-left: 24px; + } + + @include on-desktop { + padding-left: 32px; + max-width: 1200px; + margin-inline: auto; + } + } +} diff --git a/src/components/Slider/Slider.tsx b/src/components/Slider/Slider.tsx new file mode 100644 index 0000000000..785a4f81f4 --- /dev/null +++ b/src/components/Slider/Slider.tsx @@ -0,0 +1,130 @@ +import React from 'react'; +import arrow from '../../images/icons/arrow_right.png'; +import arrowDark from '../../images/icons/arrow_dark.svg'; +import arrowDisabled from '../../images/icons/arrow_disabled_right.svg'; +import { ProductCard } from '../ProductCard'; +import { useEffect, useRef, useState } from 'react'; +import { Product } from '../../types/Product'; +import { useAppSelector } from '../../hooks/hooks'; +import classNames from 'classnames'; + +import './Slider.scss'; + +type Props = { + products: Product[]; + discount?: boolean; + title: string; + slash?: boolean | undefined; +}; + +export const Slider: React.FC = React.memo( + ({ products, discount, title, slash }) => { + const firstCardIndex = 0; + const lastCardIndex = products.length - 1; + + const card = useRef(null); + + const [cardWidth, setCardWith] = useState(0); + const [currentCardIndex, setCurrentCardIndex] = useState(firstCardIndex); + + const CARD_GAP = 16; + const CARD_BLOCK = cardWidth + CARD_GAP; + + const transformValue = CARD_BLOCK * currentCardIndex; + + const { theme } = useAppSelector(state => state.theme); + + const handleRightClick = () => { + if (currentCardIndex === lastCardIndex) { + return; + } else { + setCurrentCardIndex(currentCardIndex + 1); + } + }; + + const handleLeftClick = () => { + if (currentCardIndex === firstCardIndex) { + return; + } else { + setCurrentCardIndex(currentCardIndex - 1); + } + }; + + useEffect(() => { + if (card.current) { + setCardWith(card.current.offsetWidth); + } + }, [currentCardIndex]); + + return ( +
+
+
+
+

{title}

+
+ + +
+
+ +
+
    + {products.map(product => ( +
  • + +
  • + ))} +
+
+
+
+
+ ); + }, +); + +Slider.displayName = 'Slider'; diff --git a/src/components/Slider/index.tsx b/src/components/Slider/index.tsx new file mode 100644 index 0000000000..f48a854158 --- /dev/null +++ b/src/components/Slider/index.tsx @@ -0,0 +1 @@ +export * from './Slider'; diff --git a/src/constants/Colors.ts b/src/constants/Colors.ts new file mode 100644 index 0000000000..ccbef9f804 --- /dev/null +++ b/src/constants/Colors.ts @@ -0,0 +1,28 @@ +import { ColorPalette } from '../types/ColorPalet'; + +export const Colors: ColorPalette = { + 'space gray': '#6E6E73', + spacegray: '#6E6E73', + 'space-gray': '#6E6E73', + silver: '#C0C0C0', + gold: '#D4AF37', + blue: '#0071E3', + red: '#FF3B30', + 'rose gold': '#B76E79', + rosegold: '#B76E79', + green: '#34C759', + 'sky blue': '#87CEEB', + starlight: '#F9F3EE', + pink: '#FFD3E1', + black: '#1C1C1E', + 'midnight green': '#004E3F', + midnightgreen: '#004E3F', + midnight: '#001E3C', + coral: '#FF6F61', + white: '#F5F5F7', + yellow: '#FFD60A', + purple: '#A020F0', + spaceblack: '#1D1D1F', + graphite: '#4A4A4C', + sierrablue: '#9BB5CE', +}; diff --git a/src/declaration.d.ts b/src/declaration.d.ts new file mode 100644 index 0000000000..34fc97fcc7 --- /dev/null +++ b/src/declaration.d.ts @@ -0,0 +1,3 @@ +declare module '*.svg'; +declare module '*.png'; +declare module '*.webp'; diff --git a/src/features/cart.ts b/src/features/cart.ts new file mode 100644 index 0000000000..c85b7c7bf8 --- /dev/null +++ b/src/features/cart.ts @@ -0,0 +1,89 @@ +import { PayloadAction, createSlice } from '@reduxjs/toolkit'; +import { UpdatedProduct } from '../types/UpdatedProduct'; +import { Product } from '../types/Product'; + +type CartState = { + productsOfCart: UpdatedProduct[]; +}; + +const initialState: CartState = { + productsOfCart: JSON.parse(localStorage.getItem('cart') || '[]'), +}; + +const updatedLocalStorage = (products: UpdatedProduct[]) => { + localStorage.setItem('cart', JSON.stringify(products)); +}; + +const CartSlice = createSlice({ + name: 'cart', + initialState, + reducers: { + addToCart: (state, action: PayloadAction) => { + const { id } = action.payload; + + const existProduct = state.productsOfCart.find(item => item.id === id); + + if (existProduct) { + if (existProduct.quantity !== undefined) { + existProduct.quantity += 1; + } else { + state.productsOfCart.push({ ...existProduct, quantity: 1 }); + } + } else { + state.productsOfCart.push({ ...action.payload, quantity: 1 }); + } + + updatedLocalStorage(state.productsOfCart); + }, + + removeFromCart: (state, action: PayloadAction) => { + // eslint-disable-next-line no-param-reassign + state.productsOfCart = state.productsOfCart.filter( + item => item.id !== action.payload, + ); + updatedLocalStorage(state.productsOfCart); + }, + + clearCart: state => { + // eslint-disable-next-line no-param-reassign + state.productsOfCart = []; + updatedLocalStorage(state.productsOfCart); + }, + + increment: (state, action: PayloadAction) => { + const id = action.payload; + const index = state.productsOfCart.findIndex(item => item.id === id); + + if (index !== -1) { + // eslint-disable-next-line no-param-reassign + state.productsOfCart[index].quantity += 1; + } + + updatedLocalStorage(state.productsOfCart); + }, + + decrement: (state, action: PayloadAction) => { + const id = action.payload; + const index = state.productsOfCart.findIndex(item => item.id === id); + + if (index !== -1) { + if (state.productsOfCart[index].quantity === 1) { + return; + } + + if (state.productsOfCart[index].quantity > 1) { + // eslint-disable-next-line no-param-reassign + state.productsOfCart[index].quantity -= 1; + } else { + state.productsOfCart.splice(index, 1); + } + } + + updatedLocalStorage(state.productsOfCart); + }, + }, +}); + +export default CartSlice.reducer; +export const { addToCart, removeFromCart, increment, decrement, clearCart } = + CartSlice.actions; diff --git a/src/features/favourites.ts b/src/features/favourites.ts new file mode 100644 index 0000000000..fb8e8050e9 --- /dev/null +++ b/src/features/favourites.ts @@ -0,0 +1,35 @@ +import { PayloadAction, createSlice } from '@reduxjs/toolkit'; +import { Product } from '../types/Product'; + +type FavouritesState = { + favourites: Product[]; +}; + +const initialState: FavouritesState = { + favourites: JSON.parse(localStorage.getItem('favourites') || '[]'), +}; + +const updatedLocalStorage = (products: Product[]) => { + localStorage.setItem('favourites', JSON.stringify(products)); +}; + +const favouritesSlice = createSlice({ + name: 'favourites', + initialState, + reducers: { + addProduct: (state, action: PayloadAction) => { + state.favourites.push(action.payload); + updatedLocalStorage(state.favourites); + }, + removeProduct: (state, action: PayloadAction) => { + // eslint-disable-next-line no-param-reassign + state.favourites = state.favourites.filter( + item => item.id !== action.payload.id, + ); + updatedLocalStorage(state.favourites); + }, + }, +}); + +export default favouritesSlice.reducer; +export const { addProduct, removeProduct } = favouritesSlice.actions; diff --git a/src/features/prods.ts b/src/features/prods.ts new file mode 100644 index 0000000000..81e192a055 --- /dev/null +++ b/src/features/prods.ts @@ -0,0 +1,24 @@ +import { PayloadAction, createSlice } from '@reduxjs/toolkit'; +import { Product } from '../types/Product'; + +type ProdsState = { + prods: Product[]; +}; + +const initialState: ProdsState = { + prods: [], +}; + +const prodsSlice = createSlice({ + name: 'prods', + initialState, + reducers: { + setProds: (state, action: PayloadAction) => { + // eslint-disable-next-line no-param-reassign + state.prods = action.payload; + }, + }, +}); + +export default prodsSlice.reducer; +export const { setProds } = prodsSlice.actions; diff --git a/src/features/theme.ts b/src/features/theme.ts new file mode 100644 index 0000000000..b891bd699d --- /dev/null +++ b/src/features/theme.ts @@ -0,0 +1,32 @@ +import { createSlice } from '@reduxjs/toolkit'; + +type ThemeState = { + theme: string; +}; + +const initialState: ThemeState = { + theme: localStorage.getItem('theme') || 'light-theme', +}; + +const themeSlice = createSlice({ + name: 'theme', + initialState, + reducers: { + toggleTheme: state => { + if (state.theme === 'light-theme') { + // eslint-disable-next-line no-param-reassign + state.theme = 'dark-theme'; + } else if (state.theme === 'dark-theme') { + // eslint-disable-next-line no-param-reassign + state.theme = 'light-theme'; + } + + localStorage.setItem('theme', state.theme); + document.body.classList.remove('light-theme', 'dark-theme'); + document.body.classList.add(state.theme); + }, + }, +}); + +export default themeSlice.reducer; +export const { toggleTheme } = themeSlice.actions; diff --git a/src/fonts/Mont-Bold.otf b/src/fonts/Mont-Bold.otf new file mode 100644 index 0000000000..7f1598293a Binary files /dev/null and b/src/fonts/Mont-Bold.otf differ diff --git a/src/fonts/Mont-Regular.otf b/src/fonts/Mont-Regular.otf new file mode 100644 index 0000000000..d5543feaf0 Binary files /dev/null and b/src/fonts/Mont-Regular.otf differ diff --git a/src/fonts/Mont-SemiBold.otf b/src/fonts/Mont-SemiBold.otf new file mode 100644 index 0000000000..a9fa16a9c5 Binary files /dev/null and b/src/fonts/Mont-SemiBold.otf differ diff --git a/src/hooks/hooks.ts b/src/hooks/hooks.ts new file mode 100644 index 0000000000..fef64b5939 --- /dev/null +++ b/src/hooks/hooks.ts @@ -0,0 +1,7 @@ +import { TypedUseSelectorHook, useSelector } from 'react-redux'; +import { RootState } from '../app/store'; +import { useDispatch } from 'react-redux'; +import { AppDispatch } from '../app/store'; + +export const useAppSelector: TypedUseSelectorHook = useSelector; +export const useAppDispath: () => AppDispatch = useDispatch; diff --git a/src/hooks/useLocalStorage.ts b/src/hooks/useLocalStorage.ts new file mode 100644 index 0000000000..91dcf8155f --- /dev/null +++ b/src/hooks/useLocalStorage.ts @@ -0,0 +1,27 @@ +import React, { useState } from 'react'; + +export function useLocalStorage( + key: string, + startValue: T, +): [T, (val: React.SetStateAction) => void] { + const [value, setValue] = useState(() => { + const data = localStorage.getItem(key); + + if (data === null) { + return startValue; + } + + try { + return JSON.parse(data); + } catch (e) { + return startValue; + } + }); + + const save = (newValue: React.SetStateAction) => { + localStorage.setItem(key, JSON.stringify(newValue)); + setValue(newValue); + }; + + return [value, save]; +} diff --git a/src/i18n/index.js b/src/i18n/index.js new file mode 100644 index 0000000000..8cedf7f366 --- /dev/null +++ b/src/i18n/index.js @@ -0,0 +1,29 @@ +import i18n from 'i18next'; +import { initReactI18next } from 'react-i18next'; +import LanguageDetector from 'i18next-browser-languagedetector'; +import { Lang } from '../types/Language'; +import { en } from './languages/en'; +import { uk } from './languages/uk'; + +const resources = { + [Lang.EN]: { + translation: en, + }, + [Lang.UK]: { + translation: uk, + }, +}; + +i18n + .use(initReactI18next) // passes i18n down to react-i18next + .use(LanguageDetector) + .init({ + resources, + fallbackLng: Lang.EN, + + interpolation: { + escapeValue: false, // react already safes from xss + }, + }); + +export default i18n; diff --git a/src/i18n/languages/en.js b/src/i18n/languages/en.js new file mode 100644 index 0000000000..2cc3412244 --- /dev/null +++ b/src/i18n/languages/en.js @@ -0,0 +1,184 @@ +export const en = { + 'Welcome to React': 'Welcome to React and react-i18next', + header: { + nav: { + home: 'HOME', + phones: 'PHONES', + tablets: 'TABLETS', + accessories: 'ACCESSORIES', + }, + + lang: 'UK', + + theme: { + light: 'dark', + dark: 'light', + }, + }, + + homePage: { + title: 'Welcome to Nice Gadgets store!', + newModel: 'Brand new model', + hotPrices: 'Hot prices', + categories: { + categoriesTitle: 'Shop by category', + category: { + phones: 'Mobile phones', + tablets: 'Tablets', + accessories: 'Accessories', + }, + }, + }, + + searchField: { + title: 'Search in {{category}}', + category: { + phones: 'phones', + tablets: 'tablets', + accessories: 'accessories', + }, + }, + + footer: { + contacts: 'CONTACTS', + rights: 'RIGHTS', + backToTop: 'Back to top', + }, + + phonesPage: { + title: { + text: 'Mobile phones', + count: '{{count}} models', + }, + notFoundProduct: { + phones: 'There are no phones products matching the query', + }, + }, + + tabletsPage: { + title: { + text: 'Tablets', + count: '{{count}} models', + }, + notFoundProduct: { + tablets: 'There are no tablets products matching the query', + }, + }, + + accessoriesPage: { + title: { + text: 'Accessories', + count: '{{count}} models', + }, + notFoundProduct: { + accessories: 'There are no accessories products matching the query', + }, + }, + + dropdownMenu: { + title: 'Sort by', + select: 'Select', + item: { + newest: 'Newest', + alphabetically: 'Alphabetically', + cheapset: 'Cheapset', + }, + }, + + itemsDropdown: { + title: 'Items on page', + all: 'All', + }, + + favouritesPage: { + title: { + text: 'Favourites', + count: '{{count}} models', + empty: 'Favourites is empty', + }, + }, + + cartPage: { + back: 'Back', + title: { + text: 'Cart', + empty: 'Cart is empty', + }, + total: { + checkout: 'Checkout', + item: 'Total for 1 item', + items: 'Total for {{total}} items', + }, + }, + + notFoundPage: { + title: 'Page not found', + backToHome: 'Back to home', + }, + + productDetailsPage: { + back: 'Back', + slider: { + title: 'You may also like', + }, + notFoundProduct: { + title: 'Product was not found', + }, + }, + + productCard: { + info: { + screen: 'Screen', + capacity: 'Capacity', + ram: 'RAM', + }, + + button: { + add: 'Add to cart', + added: 'Added to cart', + }, + }, + + productDetailsCard: { + button: { + add: 'Add to cart', + added: 'Added to cart', + }, + about: 'About', + info: { + title: 'Tech specs', + screen: 'Screen', + resolution: 'Resolution', + processor: 'Processor', + ram: 'RAM', + memory: 'Built in memory', + camera: 'Camera', + zoom: 'Zoom', + cell: 'Cell', + }, + }, + + filter: { + title: 'Available colors', + }, + + filterCapacity: { + title: 'Select capacity', + }, + + modal: { + title: 'Checkout is not implemented.', + question: 'Do you want to clear the Cart?', + button: { + clear: 'Clear the cart', + cancel: 'Cancel', + }, + }, + + breadCrumbs: { + phones: 'Phones', + tablets: 'Tablets', + accessories: 'Accessories', + favourites: 'Favourites', + }, +}; diff --git a/src/i18n/languages/uk.js b/src/i18n/languages/uk.js new file mode 100644 index 0000000000..a5115ded6f --- /dev/null +++ b/src/i18n/languages/uk.js @@ -0,0 +1,185 @@ +export const uk = { + 'Welcome to React': 'Вітаю', + header: { + nav: { + home: 'ДОМАШНЯ', + phones: 'ТЕЛЕФОНИ', + tablets: 'ПЛАНШЕТИ', + accessories: 'АКСЕСУАРИ', + }, + + lang: 'EN', + + theme: { + light: 'темна', + dark: 'світла', + }, + }, + + homePage: { + title: 'Вітаємо в магазині Nice Gadgets!', + newModel: 'Нові моделі', + hotPrices: 'Найкращі пропозиції', + categories: { + categoriesTitle: 'Купуйте за категоріями', + category: '{{category}}', + category: { + phones: 'Мобільні телефони', + tablets: 'Планшети', + accessories: 'Аксесуари', + }, + }, + }, + + searchField: { + title: 'Пошук в {{category}}', + category: { + phones: 'телефонах', + tablets: 'планшетах', + accessories: 'аксесуарах', + }, + }, + + footer: { + contacts: 'КОНТАКТИ', + rights: 'ПРАВА', + backToTop: 'Повернутись до початку', + }, + + phonesPage: { + title: { + text: 'Мобільні телефони', + count: '{{count}} моделей', + }, + notFoundProduct: { + phones: 'Немає мобільних телефонів, що відповідають запиту', + }, + }, + + tabletsPage: { + title: { + text: 'Планшети', + count: '{{count}} моделей', + }, + notFoundProduct: { + tablets: 'Немає планшетів, що відповідають запиту', + }, + }, + + accessoriesPage: { + title: { + text: 'Аксесуари', + count: '{{count}} моделей', + }, + notFoundProduct: { + accessories: 'Немає аксесуарів, що відповідають запиту', + }, + }, + + dropdownMenu: { + title: 'Сортувати за', + select: 'Вибрати', + item: { + newest: 'Найновіші', + alphabetically: 'Алфавітом', + cheapset: 'Найдешевші', + }, + }, + + itemsDropdown: { + title: 'Кількість на сторінці', + all: 'Всі', + }, + + favouritesPage: { + title: { + text: 'Обране', + count: '{{count}} моделей', + empty: 'Немає товарів', + }, + }, + + cartPage: { + back: 'Назад', + title: { + text: 'Корзина', + empty: 'Корзина порожня', + }, + total: { + checkout: 'Сплатити', + item: 'Вартість 1 товару', + items: 'Вартість {{total}} товарів', + }, + }, + + notFoundPage: { + title: 'Сторінка не знайдена', + backToHome: 'Повернутись на домашню сторінку', + }, + + productDetailsPage: { + back: 'Назад', + slider: { + title: 'Вам також може сподобатися', + }, + notFoundProduct: { + title: 'Товар не знайдено', + }, + }, + + productCard: { + info: { + screen: 'Екран', + capacity: 'Ємність', + ram: "Оперативна пам'ять", + }, + + button: { + add: 'В корзину', + added: 'Уже в корзині', + }, + }, + + productDetailsCard: { + button: { + add: 'В корзину', + added: 'Уже в корзині', + }, + about: 'Про товар', + info: { + title: 'Технічні характеристики', + screen: 'Екран', + resolution: 'Роздільна здатность', + processor: 'Процесор', + ram: "Оперативна пам'ять", + memory: "Вбудована пам'ять", + camera: 'Камера', + zoom: 'Зум', + cell: 'Мережа', + }, + }, + + filter: { + title: 'Можливі кольори', + }, + + filterCapacity: { + title: 'Оберіть ємність', + }, + + modal: { + title: 'Оплата не реалізована.', + question: 'Бажаєте очистити кошик?', + button: { + clear: 'Очистити кошик', + cancel: 'Скасувати', + }, + }, + + breadCrumbs: { + phones: 'Мобільні телефони', + tablets: 'Планшети', + accessories: 'Аксесуари', + favourites: 'Обрані', + }, +}; diff --git a/src/images/cart-is-empty.png b/src/images/cart-is-empty.png new file mode 100644 index 0000000000..bacf336719 Binary files /dev/null and b/src/images/cart-is-empty.png differ diff --git a/src/images/categories/Phones.png b/src/images/categories/Phones.png new file mode 100644 index 0000000000..f70d88d553 Binary files /dev/null and b/src/images/categories/Phones.png differ diff --git a/src/images/categories/accessories.png b/src/images/categories/accessories.png new file mode 100644 index 0000000000..5612ec1b23 Binary files /dev/null and b/src/images/categories/accessories.png differ diff --git a/src/images/categories/tablets.png b/src/images/categories/tablets.png new file mode 100644 index 0000000000..a51fccd98f Binary files /dev/null and b/src/images/categories/tablets.png differ diff --git a/src/images/icons/arrow_dark.svg b/src/images/icons/arrow_dark.svg new file mode 100644 index 0000000000..3609b14bd6 --- /dev/null +++ b/src/images/icons/arrow_dark.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/images/icons/arrow_disable.png b/src/images/icons/arrow_disable.png new file mode 100644 index 0000000000..71d5467a0e Binary files /dev/null and b/src/images/icons/arrow_disable.png differ diff --git a/src/images/icons/arrow_disabled_right.svg b/src/images/icons/arrow_disabled_right.svg new file mode 100644 index 0000000000..a15457b9ad --- /dev/null +++ b/src/images/icons/arrow_disabled_right.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/images/icons/arrow_right.png b/src/images/icons/arrow_right.png new file mode 100644 index 0000000000..552e4c6f7e Binary files /dev/null and b/src/images/icons/arrow_right.png differ diff --git a/src/images/icons/burger-menu.svg b/src/images/icons/burger-menu.svg new file mode 100644 index 0000000000..2c535f4586 --- /dev/null +++ b/src/images/icons/burger-menu.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/images/icons/cart.svg b/src/images/icons/cart.svg new file mode 100644 index 0000000000..6030970f2e --- /dev/null +++ b/src/images/icons/cart.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/images/icons/cart_dark.svg b/src/images/icons/cart_dark.svg new file mode 100644 index 0000000000..425ee63976 --- /dev/null +++ b/src/images/icons/cart_dark.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/images/icons/close.svg b/src/images/icons/close.svg new file mode 100644 index 0000000000..78d418ab46 --- /dev/null +++ b/src/images/icons/close.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/images/icons/close_cart_dark.svg b/src/images/icons/close_cart_dark.svg new file mode 100644 index 0000000000..aec415e35a --- /dev/null +++ b/src/images/icons/close_cart_dark.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/images/icons/close_dark.svg b/src/images/icons/close_dark.svg new file mode 100644 index 0000000000..925e5fce49 --- /dev/null +++ b/src/images/icons/close_dark.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/images/icons/fav_dark.svg b/src/images/icons/fav_dark.svg new file mode 100644 index 0000000000..8fb5abef51 --- /dev/null +++ b/src/images/icons/fav_dark.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/images/icons/favourites.svg b/src/images/icons/favourites.svg new file mode 100644 index 0000000000..ca57cfedd8 --- /dev/null +++ b/src/images/icons/favourites.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/images/icons/favourites16px.svg b/src/images/icons/favourites16px.svg new file mode 100644 index 0000000000..2a8accecf4 --- /dev/null +++ b/src/images/icons/favourites16px.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/images/icons/favourites_like.png b/src/images/icons/favourites_like.png new file mode 100644 index 0000000000..1d1b8d2283 Binary files /dev/null and b/src/images/icons/favourites_like.png differ diff --git a/src/images/icons/home_dark.svg b/src/images/icons/home_dark.svg new file mode 100644 index 0000000000..e16ca7d794 --- /dev/null +++ b/src/images/icons/home_dark.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/images/icons/icon-moon.svg b/src/images/icons/icon-moon.svg new file mode 100644 index 0000000000..199a7e27e2 --- /dev/null +++ b/src/images/icons/icon-moon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/images/icons/icon-sun.svg b/src/images/icons/icon-sun.svg new file mode 100644 index 0000000000..cefec2d339 --- /dev/null +++ b/src/images/icons/icon-sun.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/images/icons/icon_home.png b/src/images/icons/icon_home.png new file mode 100644 index 0000000000..f1792bad95 Binary files /dev/null and b/src/images/icons/icon_home.png differ diff --git a/src/images/icons/menu_dark.svg b/src/images/icons/menu_dark.svg new file mode 100644 index 0000000000..c8c52c08a9 --- /dev/null +++ b/src/images/icons/menu_dark.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/images/icons/minus.svg b/src/images/icons/minus.svg new file mode 100644 index 0000000000..97c41038ac --- /dev/null +++ b/src/images/icons/minus.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/images/icons/minus_dark.svg b/src/images/icons/minus_dark.svg new file mode 100644 index 0000000000..7ca53e577a --- /dev/null +++ b/src/images/icons/minus_dark.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/images/icons/minus_default.svg b/src/images/icons/minus_default.svg new file mode 100644 index 0000000000..5f797b23a1 --- /dev/null +++ b/src/images/icons/minus_default.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/images/icons/minus_disable_dark.svg b/src/images/icons/minus_disable_dark.svg new file mode 100644 index 0000000000..1d341d507d --- /dev/null +++ b/src/images/icons/minus_disable_dark.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/images/icons/moon.svg b/src/images/icons/moon.svg new file mode 100644 index 0000000000..bb492027d1 --- /dev/null +++ b/src/images/icons/moon.svg @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/src/images/icons/moon_png.png b/src/images/icons/moon_png.png new file mode 100644 index 0000000000..da87d1a6ee Binary files /dev/null and b/src/images/icons/moon_png.png differ diff --git a/src/images/icons/plus.svg b/src/images/icons/plus.svg new file mode 100644 index 0000000000..338f8c2f87 --- /dev/null +++ b/src/images/icons/plus.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/images/icons/plus_dark.svg b/src/images/icons/plus_dark.svg new file mode 100644 index 0000000000..c00fea3914 --- /dev/null +++ b/src/images/icons/plus_dark.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/images/icons/sun.svg b/src/images/icons/sun.svg new file mode 100644 index 0000000000..9dcb93c45d --- /dev/null +++ b/src/images/icons/sun.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/images/icons/sun_white.svg b/src/images/icons/sun_white.svg new file mode 100644 index 0000000000..04a2622688 --- /dev/null +++ b/src/images/icons/sun_white.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/images/logo/Logo.png b/src/images/logo/Logo.png new file mode 100644 index 0000000000..6057823e1a Binary files /dev/null and b/src/images/logo/Logo.png differ diff --git a/src/images/logo/logo-header.svg b/src/images/logo/logo-header.svg new file mode 100644 index 0000000000..0a2d076bef --- /dev/null +++ b/src/images/logo/logo-header.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/images/logo/logo.svg.svg b/src/images/logo/logo.svg.svg new file mode 100644 index 0000000000..0a2d076bef --- /dev/null +++ b/src/images/logo/logo.svg.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/images/logo/logo_dark.svg b/src/images/logo/logo_dark.svg new file mode 100644 index 0000000000..d59f941639 --- /dev/null +++ b/src/images/logo/logo_dark.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/images/page-not-found copy.png b/src/images/page-not-found copy.png new file mode 100644 index 0000000000..b39a562f7a Binary files /dev/null and b/src/images/page-not-found copy.png differ diff --git a/src/images/product-not-found copy.png b/src/images/product-not-found copy.png new file mode 100644 index 0000000000..aa335c9f77 Binary files /dev/null and b/src/images/product-not-found copy.png differ diff --git a/src/images/slider/banner-accessories.png b/src/images/slider/banner-accessories.png new file mode 100644 index 0000000000..ba41c4e8f0 Binary files /dev/null and b/src/images/slider/banner-accessories.png differ diff --git a/src/images/slider/banner-phones.png b/src/images/slider/banner-phones.png new file mode 100644 index 0000000000..c8fea5b6ee Binary files /dev/null and b/src/images/slider/banner-phones.png differ diff --git a/src/images/slider/banner-tablets.png b/src/images/slider/banner-tablets.png new file mode 100644 index 0000000000..d8079734bc Binary files /dev/null and b/src/images/slider/banner-tablets.png differ diff --git a/src/images/test-phone.png b/src/images/test-phone.png new file mode 100644 index 0000000000..f7c00182e8 Binary files /dev/null and b/src/images/test-phone.png differ diff --git a/src/images/test-phone1.png b/src/images/test-phone1.png new file mode 100644 index 0000000000..029b5260dd Binary files /dev/null and b/src/images/test-phone1.png differ diff --git a/src/images/test-phone2.png b/src/images/test-phone2.png new file mode 100644 index 0000000000..b8e2be93a6 Binary files /dev/null and b/src/images/test-phone2.png differ diff --git a/src/images/test-phone3.png b/src/images/test-phone3.png new file mode 100644 index 0000000000..5218f537a5 Binary files /dev/null and b/src/images/test-phone3.png differ diff --git a/src/images/test-phone4.png b/src/images/test-phone4.png new file mode 100644 index 0000000000..c9d1c84a1e Binary files /dev/null and b/src/images/test-phone4.png differ diff --git a/src/images/test-phone5.png b/src/images/test-phone5.png new file mode 100644 index 0000000000..d2c4e36e48 Binary files /dev/null and b/src/images/test-phone5.png differ diff --git a/src/index.tsx b/src/index.tsx index 50470f1508..363d9f7be2 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,4 +1,10 @@ import { createRoot } from 'react-dom/client'; -import { App } from './App'; +import { Provider } from 'react-redux'; +import { Root } from './Root'; +import store from './app/store'; -createRoot(document.getElementById('root') as HTMLElement).render(); +createRoot(document.getElementById('root') as HTMLElement).render( + + + , +); diff --git a/src/pages/AccessoriesPage/AccessoriesPage.scss b/src/pages/AccessoriesPage/AccessoriesPage.scss new file mode 100644 index 0000000000..fbb8eaaef3 --- /dev/null +++ b/src/pages/AccessoriesPage/AccessoriesPage.scss @@ -0,0 +1,45 @@ +@import '../../styles/main'; + +.accessoriesPage { + width: 100%; + height: 100%; + + &__title { + display: flex; + flex-direction: column; + gap: 8px; + margin-top: 24px; + + &-text { + font-family: Mont, sans-serif; + font-weight: 800; + font-size: 32px; + line-height: 41px; + letter-spacing: -1%; + color: var(--text-color); + } + + &-count { + font-family: Mont, sans-serif; + font-weight: 600; + font-size: 14px; + line-height: 21px; + color: var(--secondary-color); + } + } + + &__dropdownBox { + width: 100%; + height: 100%; + display: flex; + justify-content: center; + flex-direction: row; + gap: 16px; + margin-top: 32px; + + @include on-tablet { + justify-content: left; + margin-top: 40px; + } + } +} diff --git a/src/pages/AccessoriesPage/AccessoriesPage.tsx b/src/pages/AccessoriesPage/AccessoriesPage.tsx new file mode 100644 index 0000000000..e7546f7a08 --- /dev/null +++ b/src/pages/AccessoriesPage/AccessoriesPage.tsx @@ -0,0 +1,125 @@ +import { useSearchParams } from 'react-router-dom'; +import { DropdownMenu } from '../../components/DropdownMenu'; +import { ItemsDropdown } from '../../components/ItemsDropdown/ItemsPropdown'; +import { Pagination } from '../../components/Pagination'; +import { PorductList } from '../../components/ProductList'; +import { CategoriesTypes } from '../../types/CategoriesTypes'; +import { Product } from '../../types/Product'; +import './AccessoriesPage.scss'; +import { useEffect, useState } from 'react'; +import { getItemsOnPage } from '../../services/getItemsOnPage'; +import { BreadCrumbs } from '../../components/BreadCrumbs'; +import { getNewProducts } from '../../services/getNewProducts'; +import { useAppDispath, useAppSelector } from '../../hooks/hooks'; +import { setProds } from '../../features/prods'; +import { Skeletons } from '../../components/Skeletons'; +import { NotFoundProductPage } from '../NotFoundProductPage'; +import { useTranslation } from 'react-i18next'; + +export const AccessoriesPage: React.FC = () => { + const [isloading, setIsLoading] = useState(false); + const type = CategoriesTypes.Accessories; + const { t } = useTranslation(); + const { prods } = useAppSelector(state => state.prods); + const dispatch = useAppDispath(); + const [searchParams] = useSearchParams(); + + const sort = searchParams.get('sort'); + const query = searchParams.get('query'); + + const filteredProducts = prods.filter(product => { + if (query) { + return ( + product.category === type && + product.name.toLowerCase().includes(query.toLowerCase()) + ); + } else { + return product.category === type; + } + }); + + const sortProducts = (item: Product[], sortType: string) => { + switch (sortType) { + case `${t('dropdownMenu.item.newest')}`: + return item.sort((a, b) => b.year - a.year); + + case `${t('dropdownMenu.item.alphabetically')}`: + return item.sort((a, b) => a.name.localeCompare(b.name)); + + case `${t('dropdownMenu.item.cheapset')}`: + return item.sort((a, b) => a.price - b.price); + + default: + return item; + } + }; + + const page = searchParams.get('page') || 1; + const perPage = searchParams.get('perPage'); + const sortedProducts = sortProducts(filteredProducts, sort as string); + const itemsOnPage = getItemsOnPage(perPage, page, filteredProducts); + + useEffect(() => { + setIsLoading(true); + + getNewProducts() + .then(resolve => { + const newProds = resolve.map(item => ({ ...item, quantity: 1 })); + + dispatch(setProds(newProds)); + }) + .catch(() => 'Unable to load data from server!') + .finally(() => { + setTimeout(() => { + setIsLoading(false); + }, 500); + }); + }, [dispatch, searchParams]); + + useEffect(() => { + window.scrollTo({ top: 0 }); + }, []); + + if (!itemsOnPage.length && !isloading) { + return ( + + ); + } + + return ( +
+
+ + +
+

+ {t('accessoriesPage.title.text')} +

+

+ {t('accessoriesPage.title.count', { + count: filteredProducts.length, + })} +

+
+ +
+ + + +
+ + {isloading ? ( + + ) : ( + <> + + + )} + + {perPage && } +
+
+ ); +}; diff --git a/src/pages/AccessoriesPage/index.tsx b/src/pages/AccessoriesPage/index.tsx new file mode 100644 index 0000000000..486474aa0b --- /dev/null +++ b/src/pages/AccessoriesPage/index.tsx @@ -0,0 +1 @@ +export * from './AccessoriesPage'; diff --git a/src/pages/CartPage/CartPage.scss b/src/pages/CartPage/CartPage.scss new file mode 100644 index 0000000000..def92b79e2 --- /dev/null +++ b/src/pages/CartPage/CartPage.scss @@ -0,0 +1,196 @@ +@import '../../styles/main'; + +.cart { + box-sizing: border-box; + width: 100%; + + &__back { + width: 66px; + height: 16px; + gap: 4px; + display: flex; + align-items: center; + margin-top: 24px; + border-style: none; + background-color: inherit; + cursor: pointer; + + &--img { + transform: rotate(180deg); + } + + &--text { + font-family: Mont, sans-serif; + font-weight: 700; + font-size: 12px; + line-height: 15.34px; + color: var(--cart-back-text); + } + } + + &__title { + font-family: Mont, sans-serif; + font-weight: 800; + font-size: 48px; + line-height: 56px; + letter-spacing: -1%; + color: var(--text-color); + margin-top: 24px; + + @include on-tablet { + margin-top: 16px; + } + } + + &__content { + width: 100%; + height: 100%; + margin-top: 32px; + display: flex; + flex-direction: column; + + @include on-desktop { + display: flex; + flex-direction: row; + justify-content: center; + gap: 16px; + } + } + + &__empty { + width: 100%; + height: 100%; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + gap: 10px; + + &-title { + font-family: Mont, sans-serif; + font-weight: 700; + font-size: 30px; + line-height: 25px; + color: $secondaryColor; + } + + &-img { + width: 300px; + height: 300px; + display: flex; + } + } + + &__count { + font-family: Mont, sans-serif; + font-weight: 600; + font-size: 14px; + line-height: 21px; + color: $secondaryColor; + margin-top: 8px; + } + + &__list { + width: 100%; + height: 100%; + display: flex; + flex-direction: column; + gap: 16px; + + @include on-desktop { + width: 752px; + } + } + + &__item { + @include on-desktop { + width: 752px; + } + } + + &__total { + width: 100%; + height: 190px; + border: 1px solid var(--elements-color); + margin-top: 32px; + padding: 24px; + display: flex; + flex-direction: column; + gap: 16px; + + @include on-desktop { + width: 368px; + height: 206px; + margin-top: 0; + } + + &-priceBlock { + display: flex; + justify-content: center; + flex-direction: column; + align-items: center; + } + + &-price { + font-family: Mont, sans-serif; + font-weight: 800; + font-size: 32px; + line-height: 41px; + letter-spacing: -1%; + color: var(--text-color); + } + + &-count { + font-family: Mont, sans-serif; + font-weight: 600; + font-size: 14px; + line-height: 21px; + color: var(--secondary-color); + } + + &-line { + display: flex; + width: 100%; + height: 1px; + background-color: var(--elements-color); + } + + &-button { + font-family: Mont, sans-serif; + font-weight: 700; + font-size: 14px; + line-height: 21px; + color: $whiteColor; + width: 100%; + height: 48px; + background-color: var(--prod-card-btn); + cursor: pointer; + transition: transform 0.3s; + + &:hover { + transform: scale(1.05); + } + } + } +} + +.count { + display: flex; + flex-direction: row; + align-items: center; + + &__button { + width: 32px; + height: 32px; + display: flex; + justify-content: center; + align-items: center; + border: 1px solid $iconsColor; + } + + &__info { + width: 32px; + display: flex; + justify-content: center; + } +} diff --git a/src/pages/CartPage/CartPage.tsx b/src/pages/CartPage/CartPage.tsx new file mode 100644 index 0000000000..c106dd6377 --- /dev/null +++ b/src/pages/CartPage/CartPage.tsx @@ -0,0 +1,100 @@ +import './CartPage.scss'; +import cartEmpty from '../../images/cart-is-empty.png'; +import arrow from '../../images/icons/arrow_right.png'; +import arrowDark from '../../images/icons/arrow_dark.svg'; +import { useState, useEffect } from 'react'; +import { useAppSelector } from '../../hooks/hooks'; +import { CartItem } from '../../components/CartItem'; +import { useNavigate } from 'react-router-dom'; +import { Modal } from '../../components/Modal'; +import { useTranslation } from 'react-i18next'; + +export const CartPage: React.FC = () => { + const { productsOfCart } = useAppSelector(state => state.cart); + + const { theme } = useAppSelector(state => state.theme); + + const { t } = useTranslation(); + + const [isOpen, setIsOpen] = useState(false); + + const navigate = useNavigate(); + + const totalInitPrice = productsOfCart.reduce( + (prev, acc) => prev + acc.price * acc.quantity, + 0, + ); + + const totalCartQuantity = productsOfCart.reduce( + (prev, acc) => prev + acc.quantity, + 0, + ); + + useEffect(() => { + window.scrollTo({ top: 0 }); + }, [productsOfCart]); + + return ( +
+
+ +

{t('cartPage.title.text')}

+ +
+ {productsOfCart.length ? ( + <> +
    + {productsOfCart.map(product => { + return ( +
  • + +
  • + ); + })} +
+ +
+
+

{`$${totalInitPrice}`}

+

+ {/* {productsOfCart.length === 1 */} + {totalCartQuantity === 1 + ? `${t('cartPage.total.item')}` + : `${t('cartPage.total.items', { total: totalCartQuantity })}`} +

+
+ + + + + + {isOpen && } +
+ + ) : ( +
+

{t('cartPage.title.empty')}

+ EmptyCart +
+ )} +
+
+
+ ); +}; diff --git a/src/pages/CartPage/index.tsx b/src/pages/CartPage/index.tsx new file mode 100644 index 0000000000..90c010237a --- /dev/null +++ b/src/pages/CartPage/index.tsx @@ -0,0 +1 @@ +export * from './CartPage'; diff --git a/src/pages/FavouritesPage/FavouritesPage.scss b/src/pages/FavouritesPage/FavouritesPage.scss new file mode 100644 index 0000000000..c3eee64905 --- /dev/null +++ b/src/pages/FavouritesPage/FavouritesPage.scss @@ -0,0 +1,52 @@ +@import '../../styles/main'; + +.favourites { + width: 100%; + + &__title { + font-family: Mont, sans-serif; + font-weight: 800; + font-size: 48px; + line-height: 56px; + letter-spacing: -1%; + color: var(--text-color); + margin-top: 24px; + + @include on-tablet { + margin-top: 40px; + } + } + + &__count { + font-family: Mont, sans-serif; + font-weight: 600; + font-size: 14px; + line-height: 21px; + color: var(--secondary-color); + margin-top: 8px; + } + + &__empty { + width: 100%; + height: 100%; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + gap: 10px; + + &-title { + font-family: Mont, sans-serif; + font-weight: 700; + font-size: 30px; + line-height: 25px; + color: $secondaryColor; + } + + &-img { + width: 300px; + height: 300px; + display: flex; + } + } +} diff --git a/src/pages/FavouritesPage/FavouritesPage.tsx b/src/pages/FavouritesPage/FavouritesPage.tsx new file mode 100644 index 0000000000..d3998d7b51 --- /dev/null +++ b/src/pages/FavouritesPage/FavouritesPage.tsx @@ -0,0 +1,45 @@ +import { BreadCrumbs } from '../../components/BreadCrumbs'; +import './FavouritesPage.scss'; +// import favouritesEmpty from '../../images/cart-is-empty.png'; +import { PorductList } from '../../components/ProductList'; +import { useAppSelector } from '../../hooks/hooks'; +import { useTranslation } from 'react-i18next'; +import { useEffect } from 'react'; + +export const FavouritesPage: React.FC = () => { + const { favourites } = useAppSelector(state => state.favourites); + + const { t } = useTranslation(); + + useEffect(() => { + window.scrollTo({ top: 0 }); + }, []); + + return ( +
+
+ +

{t('favouritesPage.title.text')}

+ +
+ {t('favouritesPage.title.count', { count: favourites.length })} +
+ + {favourites.length ? ( + + ) : ( +
+

+ {t('favouritesPage.title.empty')} +

+ {/* Emptyfavourites */} +
+ )} +
+
+ ); +}; diff --git a/src/pages/FavouritesPage/index.tsx b/src/pages/FavouritesPage/index.tsx new file mode 100644 index 0000000000..4663a94130 --- /dev/null +++ b/src/pages/FavouritesPage/index.tsx @@ -0,0 +1 @@ +export * from './FavouritesPage'; diff --git a/src/pages/HomePage/HomePage.scss b/src/pages/HomePage/HomePage.scss new file mode 100644 index 0000000000..e5d814f1be --- /dev/null +++ b/src/pages/HomePage/HomePage.scss @@ -0,0 +1,37 @@ +@import '../..//styles/main'; + +.homePage { + &__title { + display: flex; + justify-content: center; + margin-top: 24px; + padding-inline: 16px; + + @include on-tablet { + margin-top: 32px; + padding-inline: 24px; + justify-content: left; + } + + @include on-desktop { + margin-top: 56px; + padding-inline: 32px; + max-width: 1200px; + margin-inline: auto; + } + + &--text { + font-family: Mont, sans-serif; + font-weight: 800; + font-size: 32px; + line-height: 41px; + letter-spacing: -1%; + color: var(--text-color); + + @include on-tablet { + font-size: 48px; + line-height: 56px; + } + } + } +} diff --git a/src/pages/HomePage/HomePage.tsx b/src/pages/HomePage/HomePage.tsx new file mode 100644 index 0000000000..6ce4562808 --- /dev/null +++ b/src/pages/HomePage/HomePage.tsx @@ -0,0 +1,82 @@ +import { useTranslation } from 'react-i18next'; +import { Carousel } from '../../components/Carousel'; +import { Categories } from '../../components/Categories'; +import { Loader } from '../../components/Loader'; +import { Slider } from '../../components/Slider'; +import { setProds } from '../../features/prods'; +import { useAppDispath, useAppSelector } from '../../hooks/hooks'; +import { getNewProducts } from '../../services/getNewProducts'; +import './HomePage.scss'; +import { useEffect, useState } from 'react'; + +export const HomePage = () => { + const [isloading, setIsLoading] = useState(false); + const discount = true; + + const { t } = useTranslation(); + + const dispatch = useAppDispath(); + + const { prods } = useAppSelector(state => state.prods); + + useEffect(() => { + setIsLoading(true); + + getNewProducts() + .then(resolve => { + dispatch(setProds(resolve)); + }) + .catch(() => 'Unable to load data from server!') + .finally(() => { + setTimeout(() => { + setIsLoading(false); + }, 500); + }); + }, [dispatch]); + + useEffect(() => { + window.scrollTo({ top: 0 }); + }, []); + + const discountProducts = [...prods] + .sort((a, b) => b.fullPrice - b.price - (a.fullPrice - a.price)) + .filter(prod => prod.fullPrice - prod.price > 80); + + const newProducts = [...prods] + .filter(prod => prod.year === 2022) + .sort((prod1, prod2) => prod1.year - prod2.year); + + return ( +
+
+

{t('homePage.title')}

+
+ +
+ +
+ + {isloading ? ( + + ) : ( + <> +
+ +
+ +
+ +
+ +
+ +
+ + )} +
+ ); +}; diff --git a/src/pages/HomePage/index.tsx b/src/pages/HomePage/index.tsx new file mode 100644 index 0000000000..11e53da674 --- /dev/null +++ b/src/pages/HomePage/index.tsx @@ -0,0 +1 @@ +export * from './HomePage'; diff --git a/src/pages/NotFoundPage/NotFoundPage.scss b/src/pages/NotFoundPage/NotFoundPage.scss new file mode 100644 index 0000000000..38f6dd5a7c --- /dev/null +++ b/src/pages/NotFoundPage/NotFoundPage.scss @@ -0,0 +1,54 @@ +@import '../../styles/main'; + +.notFoundPage { + width: 100%; + height: 100%; + margin-top: 50px; + + &__back { + display: flex; + justify-content: center; + align-items: center; + gap: 8px; + + &-arrow { + transform: rotate(180deg); + } + + &-link { + text-decoration: none; + font-family: Mont, sans-serif; + font-weight: 600; + font-size: 14px; + color: var(--secondary-color); + + &:hover { + color: var(--text-color); + } + } + } + + &__content { + width: 100%; + height: 100%; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + gap: 50px; + } + + &__title { + font-family: Mont, sans-serif; + font-weight: 700; + font-size: 40px; + letter-spacing: 2px; + color: var(--text-color); + text-align: center; + } + + &__img { + width: 300px; + height: 300px; + } +} diff --git a/src/pages/NotFoundPage/NotFoundPage.tsx b/src/pages/NotFoundPage/NotFoundPage.tsx new file mode 100644 index 0000000000..6a2c4d14f2 --- /dev/null +++ b/src/pages/NotFoundPage/NotFoundPage.tsx @@ -0,0 +1,33 @@ +import './NotFoundPage.scss'; +import notPage from '../../images/page-not-found copy.png'; +import arrow from '../../images/icons/arrow_right.png'; +import arrowDark from '../../images/icons/arrow_dark.svg'; +import { Link } from 'react-router-dom'; +import { useAppSelector } from '../../hooks/hooks'; +import { useTranslation } from 'react-i18next'; + +export const NotFoundPage = () => { + const { theme } = useAppSelector(state => state.theme); + + const { t } = useTranslation(); + + return ( +
+
+
+ Arrow + + {t('notFoundPage.backToHome')} + +
+ +

{t('notFoundPage.title')}

+ NotFoundPage +
+
+ ); +}; diff --git a/src/pages/NotFoundPage/index.tsx b/src/pages/NotFoundPage/index.tsx new file mode 100644 index 0000000000..6197aa75aa --- /dev/null +++ b/src/pages/NotFoundPage/index.tsx @@ -0,0 +1 @@ +export * from './NotFoundPage'; diff --git a/src/pages/NotFoundProductPage/NotFoundProductPage.scss b/src/pages/NotFoundProductPage/NotFoundProductPage.scss new file mode 100644 index 0000000000..970319c938 --- /dev/null +++ b/src/pages/NotFoundProductPage/NotFoundProductPage.scss @@ -0,0 +1,54 @@ +@import '../../styles/main'; + +.notFoundProductPage { + width: 100%; + height: 100%; + margin-top: 50px; + + &__back { + display: flex; + justify-content: center; + align-items: center; + gap: 8px; + + &-arrow { + transform: rotate(180deg); + } + + &-link { + text-decoration: none; + font-family: Mont, sans-serif; + font-weight: 600; + font-size: 14px; + color: var(--secondary-color); + + &:hover { + color: var(--text-color); + } + } + } + + &__content { + width: 100%; + height: 100%; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + gap: 50px; + } + + &__title { + font-family: Mont, sans-serif; + font-weight: 700; + font-size: 25px; + letter-spacing: 2px; + color: var(--text-color); + text-align: center; + } + + &__img { + width: 300px; + height: 300px; + } +} diff --git a/src/pages/NotFoundProductPage/NotFoundProductPage.tsx b/src/pages/NotFoundProductPage/NotFoundProductPage.tsx new file mode 100644 index 0000000000..0c4de3c32d --- /dev/null +++ b/src/pages/NotFoundProductPage/NotFoundProductPage.tsx @@ -0,0 +1,44 @@ +import './NotFoundProductPage.scss'; +import notProduct from '../../images/product-not-found copy.png'; +import arrow from '../../images/icons/arrow_right.png'; +import arrowDark from '../../images/icons/arrow_dark.svg'; +import { Link } from 'react-router-dom'; +import { useAppSelector } from '../../hooks/hooks'; +import { useTranslation } from 'react-i18next'; +import React from 'react'; + +type Props = { + title: string; +}; + +export const NotFoundProductPage: React.FC = React.memo(({ title }) => { + const { theme } = useAppSelector(state => state.theme); + + const { t } = useTranslation(); + + return ( +
+
+
+ Arrow + + {t('notFoundPage.backToHome')} + +
+ +

{title}

+ notFoundProductPage +
+
+ ); +}); + +NotFoundProductPage.displayName = 'NotFoundProductPage'; diff --git a/src/pages/NotFoundProductPage/index.tsx b/src/pages/NotFoundProductPage/index.tsx new file mode 100644 index 0000000000..5e8e5949d2 --- /dev/null +++ b/src/pages/NotFoundProductPage/index.tsx @@ -0,0 +1 @@ +export * from './NotFoundProductPage'; diff --git a/src/pages/PhonesPage/PhonesPage.scss b/src/pages/PhonesPage/PhonesPage.scss new file mode 100644 index 0000000000..2585988073 --- /dev/null +++ b/src/pages/PhonesPage/PhonesPage.scss @@ -0,0 +1,45 @@ +@import '../../styles/main'; + +.phonesPage { + width: 100%; + height: 100%; + + &__title { + display: flex; + flex-direction: column; + gap: 8px; + margin-top: 24px; + + &-text { + font-family: Mont, sans-serif; + font-weight: 800; + font-size: 32px; + line-height: 41px; + letter-spacing: -1%; + color: var(--text-color); + } + + &-count { + font-family: Mont, sans-serif; + font-weight: 600; + font-size: 14px; + line-height: 21px; + color: var(--secondary-color); + } + } + + &__dropdownBox { + width: 100%; + height: 100%; + display: flex; + justify-content: center; + flex-direction: row; + gap: 16px; + margin-top: 32px; + + @include on-tablet { + justify-content: left; + margin-top: 40px; + } + } +} diff --git a/src/pages/PhonesPage/PhonesPage.tsx b/src/pages/PhonesPage/PhonesPage.tsx new file mode 100644 index 0000000000..baea048195 --- /dev/null +++ b/src/pages/PhonesPage/PhonesPage.tsx @@ -0,0 +1,123 @@ +import { DropdownMenu } from '../../components/DropdownMenu'; +import { PorductList } from '../../components/ProductList'; +import { CategoriesTypes } from '../../types/CategoriesTypes'; +import { ItemsDropdown } from '../../components/ItemsDropdown/ItemsPropdown'; +import { useSearchParams } from 'react-router-dom'; +import { BreadCrumbs } from '../../components/BreadCrumbs'; +import { getItemsOnPage } from '../../services/getItemsOnPage'; +import { Pagination } from '../../components/Pagination'; +import { useAppSelector } from '../../hooks/hooks'; +import React, { useEffect } from 'react'; +import { getNewProducts } from '../../services/getNewProducts'; +import { useDispatch } from 'react-redux'; +import { setProds } from '../../features/prods'; +import { useState } from 'react'; +import { Product } from '../../types/Product'; + +import './PhonesPage.scss'; +import { Skeletons } from '../../components/Skeletons'; +import { NotFoundProductPage } from '../NotFoundProductPage'; +import { useTranslation } from 'react-i18next'; + +export const PhonesPage: React.FC = () => { + const [isloading, setIsLoading] = useState(false); + const type = CategoriesTypes.Phones; + const { t } = useTranslation(); + + const { prods } = useAppSelector(state => state.prods); + + const dispatch = useDispatch(); + + const [searchParams] = useSearchParams(); + const query = searchParams.get('query'); + const sort = searchParams.get('sort'); + + const sortProducts = (item: Product[], sortType: string) => { + switch (sortType) { + case `${t('dropdownMenu.item.newest')}`: + return item.sort((a, b) => b.year - a.year); + + case `${t('dropdownMenu.item.alphabetically')}`: + return item.sort((a, b) => a.name.localeCompare(b.name)); + + case `${t('dropdownMenu.item.cheapset')}`: + return item.sort((a, b) => a.price - b.price); + + default: + return item; + } + }; + + const filteredProducts = prods.filter(product => { + if (query) { + return ( + product.category === type && + product.name.toLowerCase().includes(query.toLowerCase()) + ); + } else { + return product.category === type; + } + }); + + const sortedProducts = sortProducts(filteredProducts, sort as string); + + const page = searchParams.get('page') || 1; + const perPage = searchParams.get('perPage'); + + const itemsOnPage = getItemsOnPage(perPage, page, filteredProducts); + + useEffect(() => { + setIsLoading(true); + + getNewProducts() + .then(resolve => { + const newProds = resolve.map(item => ({ ...item, quantity: 1 })); + + dispatch(setProds(newProds)); + }) + .catch(() => 'Unable to load data from server!') + .finally(() => { + setTimeout(() => { + setIsLoading(false); + }, 500); + }); + }, [dispatch, searchParams]); + + useEffect(() => { + window.scrollTo({ top: 0 }); + }, []); + + if (!itemsOnPage.length && !isloading) { + return ( + + ); + } + + return ( +
+
+ +
+

+ {t('phonesPage.title.text')} +

+

+ {t('phonesPage.title.count', { count: filteredProducts.length })} +

+
+ +
+ + + +
+ + {isloading && } + + {!isloading && } + + {perPage && } +
+
+ ); +}; diff --git a/src/pages/PhonesPage/index.tsx b/src/pages/PhonesPage/index.tsx new file mode 100644 index 0000000000..380be65cc7 --- /dev/null +++ b/src/pages/PhonesPage/index.tsx @@ -0,0 +1 @@ +export * from './PhonesPage'; diff --git a/src/pages/ProductDetailsPage/ProductDetailsPage.scss b/src/pages/ProductDetailsPage/ProductDetailsPage.scss new file mode 100644 index 0000000000..97fdc27528 --- /dev/null +++ b/src/pages/ProductDetailsPage/ProductDetailsPage.scss @@ -0,0 +1,31 @@ +@import '../../styles/main'; + +.productDetailsPage { + &__back { + width: 66px; + height: 16px; + gap: 4px; + display: flex; + align-items: center; + margin-top: 24px; + border-style: none; + background-color: inherit; + cursor: pointer; + + @include on-tablet { + margin-top: 40px; + } + + &--img { + transform: rotate(180deg); + } + + &--text { + font-family: Mont, sans-serif; + font-weight: 700; + font-size: 12px; + line-height: 15.34px; + color: var(--cart-back-text); + } + } +} diff --git a/src/pages/ProductDetailsPage/ProductDetailsPage.tsx b/src/pages/ProductDetailsPage/ProductDetailsPage.tsx new file mode 100644 index 0000000000..5f3af378fa --- /dev/null +++ b/src/pages/ProductDetailsPage/ProductDetailsPage.tsx @@ -0,0 +1,107 @@ +import { useLocation, useNavigate, useParams } from 'react-router-dom'; +import { BreadCrumbs } from '../../components/BreadCrumbs'; +import { ProductDetailsCard } from '../../components/ProductDetailsCard'; +import './ProductDetailsPage.scss'; +import React, { useEffect, useState } from 'react'; +import { getNewProducts } from '../../services/getNewProducts'; +import { Slider } from '../../components/Slider'; +import arrow from '../../images/icons/arrow_right.png'; +import arrowDark from '../../images/icons/arrow_dark.svg'; +import { useAppDispath, useAppSelector } from '../../hooks/hooks'; +import { NotFoundProductPage } from '../NotFoundProductPage'; +import { setProds } from '../../features/prods'; +import { Loader } from '../../components/Loader'; +import { ProductDetails } from '../../types/ProductDetails'; +import { getProductsDetails } from '../../services/getProductsDetails'; +import { useTranslation } from 'react-i18next'; + +export const ProductDetailsPage: React.FC = () => { + const [isLoading, setIsLoading] = useState(false); + const [productsDetails, setProductsDetails] = useState([]); + const { theme } = useAppSelector(state => state.theme); + const { t } = useTranslation(); + const navigate = useNavigate(); + const { prods } = useAppSelector(state => state.prods); + const dispatch = useAppDispath(); + const slash = true; + const { productId = '' } = useParams(); + const { pathname } = useLocation(); + const id = productId.slice(1); + const currProd: ProductDetails | undefined = productsDetails.find( + item => item.id === id, + ); + + const path = pathname.slice(1); + const category = path.split('/').slice(0, 1).join(); + + useEffect(() => { + setIsLoading(true); + + getNewProducts() + .then(resolve => { + dispatch(setProds(resolve)); + }) + .catch(() => 'Unable to load data from server!') + .finally(() => { + setTimeout(() => { + setIsLoading(false); + }, 500); + }); + }, [dispatch]); + + useEffect(() => { + getProductsDetails(category).then(setProductsDetails); + }, [category, id]); + + useEffect(() => { + window.scrollTo({ top: 0 }); + }, [id]); + + const filteredProducts = prods + .filter(product => product.itemId !== id) + .filter(item => item.category === category); + + if (!isLoading && !currProd) { + return ( + + ); + } + + return ( +
+
+ + +
+ + {isLoading ? ( + + ) : ( + <> + + {currProd && ( + + )} + + )} +
+ ); +}; diff --git a/src/pages/ProductDetailsPage/index.tsx b/src/pages/ProductDetailsPage/index.tsx new file mode 100644 index 0000000000..6615089e5e --- /dev/null +++ b/src/pages/ProductDetailsPage/index.tsx @@ -0,0 +1 @@ +export * from './ProductDetailsPage'; diff --git a/src/pages/TabletsPage/TabletsPage.scss b/src/pages/TabletsPage/TabletsPage.scss new file mode 100644 index 0000000000..293edd8de1 --- /dev/null +++ b/src/pages/TabletsPage/TabletsPage.scss @@ -0,0 +1,45 @@ +@import '../../styles/main'; + +.tabletsPage { + width: 100%; + height: 100%; + + &__title { + display: flex; + flex-direction: column; + gap: 8px; + margin-top: 24px; + + &-text { + font-family: Mont, sans-serif; + font-weight: 800; + font-size: 32px; + line-height: 41px; + letter-spacing: -1%; + color: var(--text-color); + } + + &-count { + font-family: Mont, sans-serif; + font-weight: 600; + font-size: 14px; + line-height: 21px; + color: var(--secondary-color); + } + } + + &__dropdownBox { + width: 100%; + height: 100%; + display: flex; + justify-content: center; + flex-direction: row; + gap: 16px; + margin-top: 32px; + + @include on-tablet { + justify-content: left; + margin-top: 40px; + } + } +} diff --git a/src/pages/TabletsPage/TabletsPage.tsx b/src/pages/TabletsPage/TabletsPage.tsx new file mode 100644 index 0000000000..dfac7634d0 --- /dev/null +++ b/src/pages/TabletsPage/TabletsPage.tsx @@ -0,0 +1,124 @@ +import { useSearchParams } from 'react-router-dom'; +import { BreadCrumbs } from '../../components/BreadCrumbs'; +import { DropdownMenu } from '../../components/DropdownMenu'; +import { ItemsDropdown } from '../../components/ItemsDropdown/ItemsPropdown'; +import { Pagination } from '../../components/Pagination'; +import { PorductList } from '../../components/ProductList'; +import { CategoriesTypes } from '../../types/CategoriesTypes'; +import { Product } from '../../types/Product'; +import './TabletsPage.scss'; +import { getItemsOnPage } from '../../services/getItemsOnPage'; +import { useAppSelector } from '../../hooks/hooks'; +import { useEffect } from 'react'; +import { getNewProducts } from '../../services/getNewProducts'; +import { setProds } from '../../features/prods'; +import { useDispatch } from 'react-redux'; +import { useState } from 'react'; +import { Skeletons } from '../../components/Skeletons'; +import { NotFoundProductPage } from '../NotFoundProductPage'; +import { useTranslation } from 'react-i18next'; + +export const TabletsPage: React.FC = () => { + const [isloading, setIsLoading] = useState(false); + const type = CategoriesTypes.Tablets; + + const { t } = useTranslation(); + const { prods } = useAppSelector(state => state.prods); + const dispatch = useDispatch(); + const [searchParams] = useSearchParams(); + const sort = searchParams.get('sort' || ''); + const query = searchParams.get('query' || ''); + + const filteredProducts = prods.filter(product => { + if (query) { + return ( + product.category === type && + product.name.toLowerCase().includes(query.toLowerCase()) + ); + } else { + return product.category === type; + } + }); + + const sortProducts = (item: Product[], sortType: string) => { + switch (sortType) { + case `${t('dropdownMenu.item.newest')}`: + return item.sort((a, b) => b.year - a.year); + + case `${t('dropdownMenu.item.alphabetically')}`: + return item.sort((a, b) => a.name.localeCompare(b.name)); + + case `${t('dropdownMenu.item.cheapset')}`: + return item.sort((a, b) => a.price - b.price); + + default: + return item; + } + }; + + const sortedProducts = sortProducts(filteredProducts, sort as string); + + const curPage = searchParams.get('page') || 1; + const perPage = searchParams.get('perPage'); + + const itemsOnPage = getItemsOnPage(perPage, curPage, filteredProducts); + + useEffect(() => { + setIsLoading(true); + + getNewProducts() + .then(resolve => { + const newProds = resolve.map(item => ({ ...item, quantity: 1 })); + + dispatch(setProds(newProds)); + }) + .catch(() => 'Unable to load data from server!') + .finally(() => { + setTimeout(() => { + setIsLoading(false); + }, 500); + }); + }, [dispatch, searchParams]); + + useEffect(() => { + window.scrollTo({ top: 0 }); + }, []); + + if (!itemsOnPage.length && !isloading) { + return ( + + ); + } + + return ( +
+
+ +
+

+ {t('tabletsPage.title.text')} +

+

+ {t('tabletsPage.title.count', { count: filteredProducts.length })} +

+
+ +
+ + + +
+ + {isloading ? ( + + ) : ( + <> + + + )} + + {perPage && } +
+
+ ); +}; diff --git a/src/pages/TabletsPage/index.tsx b/src/pages/TabletsPage/index.tsx new file mode 100644 index 0000000000..6988826db6 --- /dev/null +++ b/src/pages/TabletsPage/index.tsx @@ -0,0 +1 @@ +export * from './TabletsPage'; diff --git a/src/react-app-env.d.ts b/src/react-app-env.d.ts new file mode 100644 index 0000000000..30da896298 --- /dev/null +++ b/src/react-app-env.d.ts @@ -0,0 +1 @@ +// / diff --git a/src/services/getItemsOnPage.tsx b/src/services/getItemsOnPage.tsx new file mode 100644 index 0000000000..3d1940a08e --- /dev/null +++ b/src/services/getItemsOnPage.tsx @@ -0,0 +1,22 @@ +import { Product } from '../types/Product'; + +export const getItemsOnPage = ( + perPage: string | null, + currPage: number | string, + products: Product[], +): Product[] => { + let newProducts = [...products]; + + switch (perPage) { + case '4': + case '8': + case '16': + newProducts = newProducts.splice(+perPage * (+currPage - 1), +perPage); + break; + + default: + break; + } + + return newProducts; +}; diff --git a/src/services/getNewProducts.tsx b/src/services/getNewProducts.tsx new file mode 100644 index 0000000000..c374e5ffea --- /dev/null +++ b/src/services/getNewProducts.tsx @@ -0,0 +1,6 @@ +import { Product } from '../types/Product'; +import { getData } from '../utils/httpClient'; + +export function getNewProducts(): Promise { + return getData('/products.json'); +} diff --git a/src/services/getNumbers.ts b/src/services/getNumbers.ts new file mode 100644 index 0000000000..ab24e2b564 --- /dev/null +++ b/src/services/getNumbers.ts @@ -0,0 +1,9 @@ +export function getNumbers(from: number, to: number): number[] { + const numbers = []; + + for (let n = from; n <= to; n += 1) { + numbers.push(n); + } + + return numbers; +} diff --git a/src/services/getProductsByCategory.tsx b/src/services/getProductsByCategory.tsx new file mode 100644 index 0000000000..30aa91862d --- /dev/null +++ b/src/services/getProductsByCategory.tsx @@ -0,0 +1,12 @@ +import { CategoriesTypes } from '../types/CategoriesTypes'; +// import { Product } from '../types/Product'; +import { UpdatedProduct } from '../types/UpdatedProduct'; +import { getData } from '../utils/httpClient'; + +export function getProductsByCategory( + type: CategoriesTypes, +): Promise { + return getData(`products.json`).then(products => + products.filter(product => product.category === type), + ); +} diff --git a/src/services/getProductsDetails.tsx b/src/services/getProductsDetails.tsx new file mode 100644 index 0000000000..85c4399e87 --- /dev/null +++ b/src/services/getProductsDetails.tsx @@ -0,0 +1,8 @@ +import { ProductDetails } from '../types/ProductDetails'; +import { getData } from '../utils/httpClient'; + +export function getProductsDetails( + category: string, +): Promise { + return getData(`${category}.json`); +} diff --git a/src/styles/main.scss b/src/styles/main.scss new file mode 100644 index 0000000000..20174e77e8 --- /dev/null +++ b/src/styles/main.scss @@ -0,0 +1,5 @@ +@import './utils/fonts'; +@import './utils/normalize'; +@import './utils/variables'; +@import './utils/mixins'; +@import './theme'; diff --git a/src/styles/theme.scss b/src/styles/theme.scss new file mode 100644 index 0000000000..aa3af16cd3 --- /dev/null +++ b/src/styles/theme.scss @@ -0,0 +1,130 @@ +:root { + --primary-color-light: #313237; + --secondary-color-light: #89939a; + --icons-color-light: #b4bdc3; + --elements-color-light: #e2e6e9; + --background-color-light: #fafbfc; + --white-color-light: #fff; + --green-color-light: #27ae60; + + $redColor-light: #eb5757; + $primaryColor-dark: #f1f2f9; + $greenColor-dark: #27ae60; + $redColor-dark: #eb5757; + + --secondary-color-dark: #75767f; + --icons-color-dark: #4a4d58; + --elements-color-dark: #3b3e4a; + --background-color-dark: #0f1121; + --white-color-dark: #fff; + --surface-color2-dark: #323542; + --surface-color1-dark: #161827; + --accent-color: #905bff; + --black-color-dark: #0f1121; +} + +.light-theme { + --bg-color: var(--white-color-light); + --text-color: var(--primary-color-light); + --border-color: var(--elements-color-light); + --elements-color: var(--elements-color-light); + --icons-color: var(--icons-color-light); + --surface-color2: var(--white-color-light); + --secondary-color: var(--secondary-color-light); + --header-link-color: var(--secondary-color-light); + --carousel-border-btn: var(--icons-color-light); + --slider-border-btn: var(--icons-color-light); + --slider-bg-col-btn: var(--white-color-light); + --hov-bg-slider-btn: var(--white-color-light); + --prod-card-btn: var(--primary-color-light); + --active-prod-card-btn: var(--white-color-light); + --active-prod-card-btn-text: var(--green-color-light); + --active-prod-card-btn-border: var(--elements-color-light); + --prod-card-fav-bg: var(--white-color-light); + --prod-card-fav-border: var(--elements-color-light); + --prod-card-fav-border-hover: var(--primary-color-light); + --prod-card-fav-bg-hover: var(--white-color-light); + --prod-card-fav-border-active: var(--elements-color-light); + --prod-card-fav-bg-active: var(--white-color-light); + --footer-nav-link-color: var(--secondary-color-light); + --footer-nav-link-hover-color: var(--primary-color-light); + --footer-btn-bg-color: var(--white-color-light); + --dropdown-bg-color: var(--white-color-light); + --dropdown-border-color: var(--icons-color-light); + --dropdown-border-hover-color: var(--secondary-color-light); + --dropdown-list-border: var(--icons-color-light); + --dropdown-list-bg-hover: var(--background-color-light); + --cart-back-text: var(--secondary-color-light); + --cart-item-bg: var(--white-color-light); + --cart-item-border: var(--elements-color-light); + --cart-item-btn-bg: var(--white-color-light); + --cart-item-btn-border: var(--icons-color-light); + --cart-item-btn-border-hover: var(--primary-color-light); + --cart-item-btn-bg-hover: var(--white-color-light); + --modal-btn-bg: var(--white-color-light); + --filter-color-border-hover: var(--icons-color-light); + --filter-capacity-btn-text-active: var(--white-color-light); + --pagination-item: #000; + --pagination-item-border: var(--elements-color-light); + --pagination-item-bg-active: var(--primary-color-light); + --pagination-item-border-hover: var(--primary-color-light); + --pagination-item-bg-hover: var(--white-color-light); + --pagination-btn-bg: var(--white-color-light); + --pagination-btn-border: var(--icons-color); + --pagination-btn-border-hover: var(--primary-color-light); + --pagination-btn-bg-hover: var(--white-color-light); + --filter-capacity-hover: var(--icons-color-light); +} + +.dark-theme { + --bg-color: var(--background-color-dark); + --text-color: var(--white-color-dark); + --border-color: var(--elements-color-dark); + --elements-color: var(--elements-color-dark); + --icons-color: var(--icons-color-dark); + --surface-color2: var(--surface-color2-dark); + --secondary-color: var(--secondary-color-dark); + --header-link-color: var(--secondary-color-dark); + --carousel-border-btn: var(--surface-color2-dark); + --slider-border-btn: var(--surface-color2-dark); + --slider-bg-col-btn: var(--icons-color-dark); + --hov-bg-slider-btn: var(--icons-color-dark); + --prod-card-btn: var(--accent-color); + --active-prod-card-btn: var(--surface-color2-dark); + --active-prod-card-btn-text: var(--white-color-light); + --active-prod-card-btn-border: var(--surface-color2-dark); + --prod-card-fav-bg: var(--surface-color2-dark); + --prod-card-fav-border: var(--surface-color2-dark); + --prod-card-fav-border-hover: var(--surface-color2-dark); + --prod-card-fav-bg-hover: var(--icons-color-dark); + --prod-card-fav-border-active: var(--elements-color-dark); + --prod-card-fav-bg-active: var(--background-color-dark); + --footer-nav-link-color: var(--white-color-light); + --footer-nav-link-hover-color: var(--secondary-color-dark); + --footer-btn-bg-color: var(--surface-color2-dark); + --dropdown-bg-color: var(--surface-color2-dark); + --dropdown-border-color: var(--surface-color2-dark); + --dropdown-border-hover-color: var(--icons-color-dark); + --dropdown-list-border: var(--elements-color-dark); + --dropdown-list-bg-hover: var(--surface-color2-dark); + --cart-back-text: var(--white-color-light); + --cart-item-bg: var(--surface-color1-dark); + --cart-item-border: var(--surface-color1-dark); + --cart-item-btn-bg: var(--surface-color2-dark); + --cart-item-btn-border: var(--surface-color2-dark); + --cart-item-btn-border-hover: var(--surface-color2-dark); + --cart-item-btn-bg-hover: var(--icons-color-dark); + --modal-btn-bg: var(--surface-color2-dark); + --filter-color-border-hover: var(--secondary-color-dark); + --filter-capacity-btn-text-active: var(--black-color-dark); + --pagination-item: #f1f2f9; + --pagination-item-border: var(--surface-color1-dark); + --pagination-item-bg-active: var(--accent-color); + --pagination-item-border-hover: var(--elements-color-dark); + --pagination-item-bg-hover: var(--elements-color-dark); + --pagination-btn-bg: var(--surface-color2); + --pagination-btn-border: var(--surface-color2-dark); + --pagination-btn-border-hover: var(--icons-color-dark); + --pagination-btn-bg-hover: var(--icons-color-dark); + --filter-capacity-hover: var(--icons-color-dark); +} diff --git a/src/styles/utils/_fonts.scss b/src/styles/utils/_fonts.scss new file mode 100644 index 0000000000..1c9ca2f645 --- /dev/null +++ b/src/styles/utils/_fonts.scss @@ -0,0 +1,17 @@ +@font-face { + font-family: Mont; + src: url(../../fonts/Mont-Regular.otf); + font-weight: 500; +} + +@font-face { + font-family: Mont; + src: url(../../fonts/Mont-SemiBold.otf); + font-weight: 600; +} + +@font-face { + font-family: Mont; + src: url(../../fonts/Mont-Bold.otf); + font-weight: 800; +} diff --git a/src/styles/utils/_normalize.scss b/src/styles/utils/_normalize.scss new file mode 100644 index 0000000000..31c47ca4de --- /dev/null +++ b/src/styles/utils/_normalize.scss @@ -0,0 +1,22 @@ +iframe { + display: none; +} + +* { + box-sizing: border-box; + margin: 0; + padding: 0; +} + +ul, +li { + list-style: none; +} + +button { + border-style: none; +} + +body { + background-color: var(--bg-color); +} diff --git a/src/styles/utils/_variables.scss b/src/styles/utils/_variables.scss new file mode 100644 index 0000000000..0fbbf3a5ec --- /dev/null +++ b/src/styles/utils/_variables.scss @@ -0,0 +1,8 @@ +$primaryColor: #313237; +$secondaryColor: #89939a; +$iconsColor: #b4bdc3; +$elementsColor: #e2e6e9; +$backgroundColor: #fafbfc; +$whiteColor: #fff; +$greenColor: #27ae60; +$redColor: #eb5757; diff --git a/src/styles/utils/mixins.scss b/src/styles/utils/mixins.scss new file mode 100644 index 0000000000..ed1b15164b --- /dev/null +++ b/src/styles/utils/mixins.scss @@ -0,0 +1,25 @@ +@mixin on-tablet { + @media (min-width: 640px) { + @content; + } +} + +@mixin on-desktop { + @media (min-width: 1200px) { + @content; + } +} + +@mixin page-grid { + display: grid; + grid-template-columns: repeat(4, 1fr); + gap: 16px; + + @include on-tablet { + grid-template-columns: repeat(12, 1fr); + } + + @include on-desktop { + grid-template-columns: repeat(24, 1fr); + } +} diff --git a/src/types/CategoriesTypes.ts b/src/types/CategoriesTypes.ts new file mode 100644 index 0000000000..cfa3010249 --- /dev/null +++ b/src/types/CategoriesTypes.ts @@ -0,0 +1,5 @@ +export enum CategoriesTypes { + Phones = 'phones', + Tablets = 'tablets', + Accessories = 'accessories', +} diff --git a/src/types/ColorPalet.ts b/src/types/ColorPalet.ts new file mode 100644 index 0000000000..c6a2a61406 --- /dev/null +++ b/src/types/ColorPalet.ts @@ -0,0 +1 @@ +export type ColorPalette = Record; diff --git a/src/types/Language.ts b/src/types/Language.ts new file mode 100644 index 0000000000..27e4fb6cd4 --- /dev/null +++ b/src/types/Language.ts @@ -0,0 +1,4 @@ +export enum Lang { + EN = 'en', + UK = 'uk', +} diff --git a/src/types/Product.ts b/src/types/Product.ts new file mode 100644 index 0000000000..02ab4c6da9 --- /dev/null +++ b/src/types/Product.ts @@ -0,0 +1,16 @@ +import { CategoriesTypes } from './CategoriesTypes'; + +export interface Product { + id: number; + category: CategoriesTypes; + itemId: string; + name: string; + fullPrice: number; + price: number; + screen: string; + capacity: string; + color: string; + ram: string; + year: number; + image: string; +} diff --git a/src/types/ProductDetails.ts b/src/types/ProductDetails.ts new file mode 100644 index 0000000000..f11cdb2cb2 --- /dev/null +++ b/src/types/ProductDetails.ts @@ -0,0 +1,26 @@ +export interface ProductDetails { + id: string; + category: string; + namespaceId: string; + name: string; + capacityAvailable: string[]; + capacity: string; + priceRegular: number; + priceDiscount: number; + colorsAvailable: string[]; + color: string; + images: string[]; + description: Disription[]; + screen: string; + resolution: string; + processor: string; + ram: string; + cell: string[]; + camera: string; + zoom: string; +} + +export type Disription = { + title: string; + text: string[]; +}; diff --git a/src/types/UpdatedProduct.ts b/src/types/UpdatedProduct.ts new file mode 100644 index 0000000000..36c2f3c100 --- /dev/null +++ b/src/types/UpdatedProduct.ts @@ -0,0 +1,17 @@ +import { CategoriesTypes } from './CategoriesTypes'; + +export type UpdatedProduct = { + id: number; + category: CategoriesTypes; + itemId: string; + name: string; + fullPrice: number; + price: number; + screen: string; + capacity: string; + color: string; + ram: string; + year: number; + image: string; + quantity: number; +}; diff --git a/src/utils/httpClient.ts b/src/utils/httpClient.ts new file mode 100644 index 0000000000..0140c2f033 --- /dev/null +++ b/src/utils/httpClient.ts @@ -0,0 +1,11 @@ +const BASE_URL = 'https://antonshtef.github.io/react_phone-catalog/api/'; + +export function getData(url: string): Promise { + return fetch(BASE_URL + url).then(response => { + if (!response.ok) { + throw new Error(`${response.status} ${response.text}`); + } + + return response.json(); + }); +} diff --git a/src/vite-env.d.ts b/src/vite-env.d.ts deleted file mode 100644 index 11f02fe2a0..0000000000 --- a/src/vite-env.d.ts +++ /dev/null @@ -1 +0,0 @@ -///