diff --git a/calculators/telefon-vergisi-hesaplayici/data/brands.js b/calculators/telefon-vergisi-hesaplayici/data/brands.js
new file mode 100644
index 00000000..504115c0
--- /dev/null
+++ b/calculators/telefon-vergisi-hesaplayici/data/brands.js
@@ -0,0 +1,16 @@
+import { mdiApple } from "@mdi/js";
+
+export default [
+ {
+ id: 1,
+ title: "Apple",
+ icon: mdiApple,
+ color: "#555"
+ },
+ {
+ id: 2,
+ title: "Samsung",
+ icon: "samsung.svg",
+ color: "#1428A0"
+ }
+];
diff --git a/calculators/telefon-vergisi-hesaplayici/data/preset-options.js b/calculators/telefon-vergisi-hesaplayici/data/preset-options.js
new file mode 100644
index 00000000..23d298ee
--- /dev/null
+++ b/calculators/telefon-vergisi-hesaplayici/data/preset-options.js
@@ -0,0 +1,503 @@
+const lastUpdatedDateIphone = new Date("Mon Jul 10 2023 04:22:25 GMT+0300 (GMT+03:00)");
+const lastUpdatedDateSamsung = new Date("Wed Jul 12 2023 21:14:13 GMT+0300 (GMT+03:00)");
+
+export default [
+ // Apple iPhone 14 Pro
+ {
+ presetId: 1,
+ title: "128GB",
+ form: {
+ price: 999,
+ currency: "USD"
+ },
+ retailPrice: {
+ value: 62541,
+ lastUpdatedDate: lastUpdatedDateIphone,
+ sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-14-pro"
+ }
+ },
+ {
+ presetId: 1,
+ title: "256GB",
+ form: {
+ price: 1099,
+ currency: "USD"
+ },
+ retailPrice: {
+ value: 66609,
+ lastUpdatedDate: lastUpdatedDateIphone,
+ sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-14-pro"
+ }
+ },
+ {
+ presetId: 1,
+ title: "512GB",
+ form: {
+ price: 1299,
+ currency: "USD"
+ },
+ retailPrice: {
+ value: 74745,
+ lastUpdatedDate: lastUpdatedDateIphone,
+ sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-14-pro"
+ }
+ },
+ {
+ presetId: 1,
+ title: "1TB",
+ form: {
+ price: 1499,
+ currency: "USD"
+ },
+ retailPrice: {
+ value: 82880,
+ lastUpdatedDate: lastUpdatedDateIphone,
+ sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-14-pro"
+ }
+ },
+
+
+ // Apple iPhone 14 Pro Max
+ {
+ presetId: 2,
+ title: "128GB",
+ form: {
+ price: 1099,
+ currency: "USD"
+ },
+ retailPrice: {
+ value: 67118,
+ lastUpdatedDate: lastUpdatedDateIphone,
+ sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-14-pro"
+ }
+ },
+ {
+ presetId: 2,
+ title: "256GB",
+ form: {
+ price: 1199,
+ currency: "USD"
+ },
+ retailPrice: {
+ value: 71185,
+ lastUpdatedDate: lastUpdatedDateIphone,
+ sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-14-pro"
+ }
+ },
+ {
+ presetId: 2,
+ title: "512GB",
+ form: {
+ price: 1399,
+ currency: "USD"
+ },
+ retailPrice: {
+ value: 79321,
+ lastUpdatedDate: lastUpdatedDateIphone,
+ sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-14-pro"
+ }
+ },
+ {
+ presetId: 2,
+ title: "1TB",
+ form: {
+ price: 1599,
+ currency: "USD"
+ },
+ retailPrice: {
+ value: 87457,
+ lastUpdatedDate: lastUpdatedDateIphone,
+ sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-14-pro"
+ }
+ },
+
+
+ // Apple iPhone 14
+ {
+ presetId: 3,
+ title: "128GB",
+ form: {
+ price: 799,
+ currency: "USD"
+ },
+ retailPrice: {
+ value: 48304,
+ lastUpdatedDate: lastUpdatedDateIphone,
+ sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-14"
+ }
+ },
+ {
+ presetId: 3,
+ title: "256GB",
+ form: {
+ price: 899,
+ currency: "USD"
+ },
+ retailPrice: {
+ value: 52372,
+ lastUpdatedDate: lastUpdatedDateIphone,
+ sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-14"
+ }
+ },
+ {
+ presetId: 3,
+ title: "512GB",
+ form: {
+ price: 1099,
+ currency: "USD"
+ },
+ retailPrice: {
+ value: 60507,
+ lastUpdatedDate: lastUpdatedDateIphone,
+ sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-14"
+ }
+ },
+
+
+ // Apple iPhone 14 Plus
+ {
+ presetId: 4,
+ title: "128GB",
+ form: {
+ price: 899,
+ currency: "USD"
+ },
+ retailPrice: {
+ value: 53389,
+ lastUpdatedDate: lastUpdatedDateIphone,
+ sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-14"
+ }
+ },
+ {
+ presetId: 4,
+ title: "256GB",
+ form: {
+ price: 999,
+ currency: "USD"
+ },
+ retailPrice: {
+ value: 57457,
+ lastUpdatedDate: lastUpdatedDateIphone,
+ sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-14"
+ }
+ },
+ {
+ presetId: 4,
+ title: "512GB",
+ form: {
+ price: 1199,
+ currency: "USD"
+ },
+ retailPrice: {
+ value: 65592,
+ lastUpdatedDate: lastUpdatedDateIphone,
+ sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-14"
+ }
+ },
+
+
+ // Apple iPhone 13 mini
+ {
+ presetId: 5,
+ title: "128GB",
+ form: {
+ price: 599,
+ currency: "USD"
+ },
+ retailPrice: {
+ value: 36609,
+ lastUpdatedDate: lastUpdatedDateIphone,
+ sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-13"
+ }
+ },
+ {
+ presetId: 5,
+ title: "256GB",
+ form: {
+ price: 699,
+ currency: "USD"
+ },
+ retailPrice: {
+ value: 40677,
+ lastUpdatedDate: lastUpdatedDateIphone,
+ sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-13"
+ }
+ },
+ {
+ presetId: 5,
+ title: "512GB",
+ form: {
+ price: 899,
+ currency: "USD"
+ },
+ retailPrice: {
+ value: 48813,
+ lastUpdatedDate: lastUpdatedDateIphone,
+ sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-13"
+ }
+ },
+
+
+ // Apple iPhone 13
+ {
+ presetId: 6,
+ title: "128GB",
+ form: {
+ price: 699,
+ currency: "USD"
+ },
+ retailPrice: {
+ value: 40677,
+ lastUpdatedDate: lastUpdatedDateIphone,
+ sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-13"
+ }
+ },
+ {
+ presetId: 6,
+ title: "256GB",
+ form: {
+ price: 799,
+ currency: "USD"
+ },
+ retailPrice: {
+ value: 44745,
+ lastUpdatedDate: lastUpdatedDateIphone,
+ sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-13"
+ }
+ },
+ {
+ presetId: 6,
+ title: "512GB",
+ form: {
+ price: 999,
+ currency: "USD"
+ },
+ retailPrice: {
+ value: 52880,
+ lastUpdatedDate: lastUpdatedDateIphone,
+ sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-13"
+ }
+ },
+
+
+ // Apple iPhone SE 3 (2022)
+ {
+ presetId: 7,
+ title: "64GB",
+ form: {
+ price: 429,
+ currency: "USD"
+ },
+ retailPrice: {
+ value: 24914,
+ lastUpdatedDate: lastUpdatedDateIphone,
+ sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-se"
+ }
+ },
+ {
+ presetId: 7,
+ title: "128GB",
+ form: {
+ price: 479,
+ currency: "USD"
+ },
+ retailPrice: {
+ value: 26948,
+ lastUpdatedDate: lastUpdatedDateIphone,
+ sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-se"
+ }
+ },
+ {
+ presetId: 7,
+ title: "256GB",
+ form: {
+ price: 579,
+ currency: "USD"
+ },
+ retailPrice: {
+ value: 31016,
+ lastUpdatedDate: lastUpdatedDateIphone,
+ sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-se"
+ }
+ },
+
+
+ // Apple iPhone 12
+ {
+ presetId: 8,
+ title: "64GB",
+ form: {
+ price: 599,
+ currency: "USD"
+ },
+ retailPrice: {
+ value: 36609,
+ lastUpdatedDate: lastUpdatedDateIphone,
+ sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-12"
+ }
+ },
+ {
+ presetId: 8,
+ title: "128GB",
+ form: {
+ price: 649,
+ currency: "USD"
+ },
+ retailPrice: {
+ value: 38643,
+ lastUpdatedDate: lastUpdatedDateIphone,
+ sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-12"
+ }
+ },
+ {
+ presetId: 8,
+ title: "256GB",
+ form: {
+ price: 749,
+ currency: "USD"
+ },
+ retailPrice: {
+ value: 42711,
+ lastUpdatedDate: lastUpdatedDateIphone,
+ sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-12"
+ }
+ },
+
+
+ // Apple Vision Pro
+ {
+ presetId: 9,
+ title: "Standart",
+ form: {
+ price: 3499,
+ currency: "USD"
+ }
+ },
+
+
+ // Samsung Galaxy S23
+ {
+ presetId: 10,
+ title: "128GB (8GB)",
+ form: {
+ price: 799.99,
+ currency: "USD"
+ },
+ retailPrice: {
+ value: 34999,
+ lastUpdatedDate: lastUpdatedDateSamsung,
+ sourceUrl: "https://shop.samsung.com/tr/galaxy-s23/"
+ }
+ },
+ {
+ presetId: 10,
+ title: "256GB (8GB)",
+ form: {
+ price: 859.99,
+ currency: "USD"
+ },
+ retailPrice: {
+ value: 36999,
+ lastUpdatedDate: lastUpdatedDateSamsung,
+ sourceUrl: "https://shop.samsung.com/tr/galaxy-s23/"
+ }
+ },
+
+
+ // Samsung Galaxy S23+
+ {
+ presetId: 11,
+ title: "256GB (8GB)",
+ form: {
+ price: 999.99,
+ currency: "USD"
+ },
+ retailPrice: {
+ value: 44999,
+ lastUpdatedDate: lastUpdatedDateSamsung,
+ sourceUrl: "https://shop.samsung.com/tr/galaxy-s23-plus/"
+ }
+ },
+ {
+ presetId: 11,
+ title: "512GB (8GB)",
+ form: {
+ price: 1119.99,
+ currency: "USD"
+ }
+ },
+
+
+ // Samsung Galaxy S23 Ultra
+ {
+ presetId: 12,
+ title: "256GB (8GB)",
+ form: {
+ price: 1199.99,
+ currency: "USD"
+ },
+ retailPrice: {
+ value: 57999,
+ lastUpdatedDate: lastUpdatedDateSamsung,
+ sourceUrl: "https://shop.samsung.com/tr/galaxy-s23-ultra/"
+ }
+ },
+ {
+ presetId: 12,
+ title: "512GB (8GB)",
+ form: {
+ price: 1379.99,
+ currency: "USD"
+ },
+ retailPrice: {
+ value: 60999,
+ lastUpdatedDate: lastUpdatedDateSamsung,
+ sourceUrl: "https://shop.samsung.com/tr/galaxy-s23-ultra/"
+ }
+ },
+ {
+ presetId: 12,
+ title: "1TB (12GB)",
+ form: {
+ price: 1619.99,
+ currency: "USD"
+ },
+ retailPrice: {
+ value: 65999,
+ lastUpdatedDate: lastUpdatedDateSamsung,
+ sourceUrl: "https://shop.samsung.com/tr/galaxy-s23-ultra/"
+ }
+ },
+
+
+ // Samsung Galaxy Z Fold4
+ {
+ presetId: 13,
+ title: "256GB",
+ form: {
+ price: 1599.99,
+ currency: "USD"
+ },
+ retailPrice: {
+ value: 50999,
+ lastUpdatedDate: lastUpdatedDateSamsung,
+ sourceUrl: "https://shop.samsung.com/tr/galaxy-z-fold4/"
+ }
+ },
+ {
+ presetId: 13,
+ title: "512GB",
+ form: {
+ price: 1719.99,
+ currency: "USD"
+ }
+ },
+ {
+ presetId: 13,
+ title: "1TB",
+ form: {
+ price: 1959.99,
+ currency: "USD"
+ }
+ }
+];
diff --git a/calculators/telefon-vergisi-hesaplayici/data/presets.js b/calculators/telefon-vergisi-hesaplayici/data/presets.js
new file mode 100644
index 00000000..56529bba
--- /dev/null
+++ b/calculators/telefon-vergisi-hesaplayici/data/presets.js
@@ -0,0 +1,160 @@
+const buildUrl = slug => `/telefon-vergisi-hesaplayici/${slug}/`;
+
+export default [
+ {
+ id: 1,
+ brandId: 1,
+ title: "iPhone 14 Pro",
+ slug: "iphone-14-pro",
+ releaseDate: new Date("2022-09-07"),
+ thumbnail: "telefon-vergisi-hesaplayici/img/iphone-14-pro.png",
+ url: buildUrl("iphone-14-pro"),
+ ogImageName: "telefon-vergisi-hesaplayici-iphone-14-pro.jpg",
+ pageTitle: "iPhone 14 Pro'nun vergisi ne kadar?",
+ pageDescription: "iPhone 14 Pro'nun vergili ve vergisiz fiyatını hesaplayın, yurt içi ve yurt dışı fiyatlarını karşılaştırın."
+ },
+ {
+ id: 2,
+ brandId: 1,
+ title: "iPhone 14 Pro Max",
+ slug: "iphone-14-pro-max",
+ releaseDate: new Date("2022-09-07"),
+ thumbnail: "telefon-vergisi-hesaplayici/img/iphone-14-pro-max.png",
+ url: buildUrl("iphone-14-pro-max"),
+ ogImageName: "telefon-vergisi-hesaplayici-iphone-14-pro-max.jpg",
+ pageTitle: "iPhone 14 Pro Max'in vergisi ne kadar?",
+ pageDescription: "iPhone 14 Pro Max'in vergili ve vergisiz fiyatını hesaplayın, yurt içi ve yurt dışı fiyatlarını karşılaştırın."
+ },
+ {
+ id: 3,
+ brandId: 1,
+ title: "iPhone 14",
+ slug: "iphone-14",
+ releaseDate: new Date("2022-09-07"),
+ thumbnail: "telefon-vergisi-hesaplayici/img/iphone-14.png",
+ url: buildUrl("iphone-14"),
+ ogImageName: "telefon-vergisi-hesaplayici-iphone-14.jpg",
+ pageTitle: "iPhone 14'ün vergisi ne kadar?",
+ pageDescription: "iPhone 14'ün vergili ve vergisiz fiyatını hesaplayın, yurt içi ve yurt dışı fiyatlarını karşılaştırın."
+ },
+ {
+ id: 4,
+ brandId: 1,
+ title: "iPhone 14 Plus",
+ slug: "iphone-14-plus",
+ releaseDate: new Date("2022-09-07"),
+ thumbnail: "telefon-vergisi-hesaplayici/img/iphone-14-plus.png",
+ url: buildUrl("iphone-14-plus"),
+ ogImageName: "telefon-vergisi-hesaplayici-iphone-14-plus.jpg",
+ pageTitle: "iPhone 14 Plus'ın vergisi ne kadar?",
+ pageDescription: "iPhone 14 Plus'ın vergili ve vergisiz fiyatını hesaplayın, yurt içi ve yurt dışı fiyatlarını karşılaştırın."
+ },
+ {
+ id: 5,
+ brandId: 1,
+ title: "iPhone 13 mini",
+ slug: "iphone-13-mini",
+ releaseDate: new Date("2021-09-24"),
+ thumbnail: "telefon-vergisi-hesaplayici/img/iphone-13-mini.png",
+ url: buildUrl("iphone-13-mini"),
+ ogImageName: "telefon-vergisi-hesaplayici-iphone-13-mini.jpg",
+ pageTitle: "iPhone 13 mini'nin vergisi ne kadar?",
+ pageDescription: "iPhone 13 mini'nin vergili ve vergisiz fiyatını hesaplayın, yurt içi ve yurt dışı fiyatlarını karşılaştırın."
+ },
+ {
+ id: 6,
+ brandId: 1,
+ title: "iPhone 13",
+ slug: "iphone-13",
+ releaseDate: new Date("2021-09-24"),
+ thumbnail: "telefon-vergisi-hesaplayici/img/iphone-13.png",
+ url: buildUrl("iphone-13"),
+ ogImageName: "telefon-vergisi-hesaplayici-iphone-13.jpg",
+ pageTitle: "iPhone 13'ün vergisi ne kadar?",
+ pageDescription: "iPhone 13'ün vergili ve vergisiz fiyatını hesaplayın, yurt içi ve yurt dışı fiyatlarını karşılaştırın."
+ },
+ {
+ id: 7,
+ brandId: 1,
+ title: "iPhone SE 3",
+ slug: "iphone-se-3-2022",
+ releaseDate: new Date("2022-03-08"),
+ thumbnail: "telefon-vergisi-hesaplayici/img/iphone-se-3-2022.png",
+ url: buildUrl("iphone-se-3-2022"),
+ ogImageName: "telefon-vergisi-hesaplayici-iphone-se-2022.jpg",
+ pageTitle: "iPhone SE 3'ün (2022) vergisi ne kadar?",
+ pageDescription: "iPhone SE 3 (2022)'ün vergili ve vergisiz fiyatını hesaplayın, yurt içi ve yurt dışı fiyatlarını karşılaştırın."
+ },
+ {
+ id: 8,
+ brandId: 1,
+ title: "iPhone 12",
+ slug: "iphone-12",
+ releaseDate: new Date("2020-10-13"),
+ thumbnail: "telefon-vergisi-hesaplayici/img/iphone-12.png",
+ url: buildUrl("iphone-12"),
+ ogImageName: "telefon-vergisi-hesaplayici-iphone-12.jpg",
+ pageTitle: "iPhone 12'nin vergisi ne kadar?",
+ pageDescription: "iPhone 12'nin vergili ve vergisiz fiyatını hesaplayın, yurt içi ve yurt dışı fiyatlarını karşılaştırın."
+ },
+ {
+ id: 9,
+ brandId: 1,
+ title: "Vision Pro",
+ slug: "apple-vision-pro",
+ releaseDate: new Date("2023-06-05"),
+ thumbnail: "telefon-vergisi-hesaplayici/img/apple-vision-pro.png",
+ url: buildUrl("apple-vision-pro"),
+ ogImageName: "telefon-vergisi-hesaplayici-apple-vision-pro.jpg",
+ pageTitle: "Apple Vision Pro'nun vergisi ne kadar?",
+ pageDescription: "Apple Vision Pro'nun vergili ve vergisiz fiyatını hesaplayın, yurt içi ve yurt dışı fiyatlarını karşılaştırın."
+ },
+ {
+ id: 10,
+ brandId: 2,
+ title: "Galaxy S23",
+ slug: "samsung-galaxy-s23",
+ releaseDate: new Date("2023-02-01"),
+ thumbnail: "telefon-vergisi-hesaplayici/img/samsung-galaxy-s23.png",
+ url: buildUrl("samsung-galaxy-s23"),
+ ogImageName: "telefon-vergisi-hesaplayici-samsung-galaxy-s23.jpg",
+ pageTitle: "Samsung Galaxy S23'ün vergisi ne kadar?",
+ pageDescription: "Samsung Galaxy S23'ün vergili ve vergisiz fiyatını hesaplayın, yurt içi ve yurt dışı fiyatlarını karşılaştırın."
+ },
+ {
+ id: 11,
+ brandId: 2,
+ title: "Galaxy S23+",
+ slug: "samsung-galaxy-s23-plus",
+ releaseDate: new Date("2023-02-01"),
+ thumbnail: "telefon-vergisi-hesaplayici/img/samsung-galaxy-s23-plus.png",
+ url: buildUrl("samsung-galaxy-s23-plus"),
+ ogImageName: "telefon-vergisi-hesaplayici-samsung-galaxy-s23-plus.jpg",
+ pageTitle: "Samsung Galaxy S23+'ın vergisi ne kadar?",
+ pageDescription: "Samsung Galaxy S23+'ın vergili ve vergisiz fiyatını hesaplayın, yurt içi ve yurt dışı fiyatlarını karşılaştırın."
+ },
+ {
+ id: 12,
+ brandId: 2,
+ title: "Galaxy S23 Ultra",
+ slug: "samsung-galaxy-s23-ultra",
+ releaseDate: new Date("2023-02-01"),
+ thumbnail: "telefon-vergisi-hesaplayici/img/samsung-galaxy-s23-ultra.png",
+ url: buildUrl("samsung-galaxy-s23-ultra"),
+ ogImageName: "telefon-vergisi-hesaplayici-samsung-galaxy-s23-ultra.jpg",
+ pageTitle: "Samsung Galaxy S23 Ultra'nın vergisi ne kadar?",
+ pageDescription: "Samsung Galaxy S23 Ultra'nın vergili ve vergisiz fiyatını hesaplayın, yurt içi ve yurt dışı fiyatlarını karşılaştırın."
+ },
+ {
+ id: 13,
+ brandId: 2,
+ title: "Galaxy Z Fold4",
+ slug: "samsung-galaxy-z-fold4",
+ releaseDate: new Date("2022-10-25"),
+ thumbnail: "telefon-vergisi-hesaplayici/img/samsung-galaxy-z-fold4.png",
+ url: buildUrl("samsung-galaxy-z-fold4"),
+ ogImageName: "telefon-vergisi-hesaplayici-samsung-galaxy-z-fold4.jpg",
+ pageTitle: "Samsung Galaxy Z Fold4'ün vergisi ne kadar?",
+ pageDescription: "Samsung Galaxy Z Fold4'ün vergili ve vergisiz fiyatını hesaplayın, yurt içi ve yurt dışı fiyatlarını karşılaştırın."
+ }
+];
diff --git a/calculators/telefon-vergisi-hesaplayici/img/apple-vision-pro.png b/calculators/telefon-vergisi-hesaplayici/img/apple-vision-pro.png
new file mode 100644
index 00000000..2d89bfe2
Binary files /dev/null and b/calculators/telefon-vergisi-hesaplayici/img/apple-vision-pro.png differ
diff --git a/calculators/telefon-vergisi-hesaplayici/img/iphone-12.png b/calculators/telefon-vergisi-hesaplayici/img/iphone-12.png
new file mode 100644
index 00000000..44e2df00
Binary files /dev/null and b/calculators/telefon-vergisi-hesaplayici/img/iphone-12.png differ
diff --git a/calculators/telefon-vergisi-hesaplayici/img/iphone-13-mini.png b/calculators/telefon-vergisi-hesaplayici/img/iphone-13-mini.png
new file mode 100644
index 00000000..946ca71e
Binary files /dev/null and b/calculators/telefon-vergisi-hesaplayici/img/iphone-13-mini.png differ
diff --git a/calculators/telefon-vergisi-hesaplayici/img/iphone-13.png b/calculators/telefon-vergisi-hesaplayici/img/iphone-13.png
new file mode 100644
index 00000000..946ca71e
Binary files /dev/null and b/calculators/telefon-vergisi-hesaplayici/img/iphone-13.png differ
diff --git a/calculators/telefon-vergisi-hesaplayici/img/iphone-14-plus.png b/calculators/telefon-vergisi-hesaplayici/img/iphone-14-plus.png
new file mode 100644
index 00000000..f47d5e01
Binary files /dev/null and b/calculators/telefon-vergisi-hesaplayici/img/iphone-14-plus.png differ
diff --git a/calculators/telefon-vergisi-hesaplayici/img/iphone-14-pro-max.png b/calculators/telefon-vergisi-hesaplayici/img/iphone-14-pro-max.png
new file mode 100644
index 00000000..c0bd1271
Binary files /dev/null and b/calculators/telefon-vergisi-hesaplayici/img/iphone-14-pro-max.png differ
diff --git a/calculators/telefon-vergisi-hesaplayici/img/iphone-14-pro.png b/calculators/telefon-vergisi-hesaplayici/img/iphone-14-pro.png
new file mode 100644
index 00000000..c0bd1271
Binary files /dev/null and b/calculators/telefon-vergisi-hesaplayici/img/iphone-14-pro.png differ
diff --git a/calculators/telefon-vergisi-hesaplayici/img/iphone-14.png b/calculators/telefon-vergisi-hesaplayici/img/iphone-14.png
new file mode 100644
index 00000000..f47d5e01
Binary files /dev/null and b/calculators/telefon-vergisi-hesaplayici/img/iphone-14.png differ
diff --git a/calculators/telefon-vergisi-hesaplayici/img/iphone-se-3-2022.png b/calculators/telefon-vergisi-hesaplayici/img/iphone-se-3-2022.png
new file mode 100644
index 00000000..7c53fb19
Binary files /dev/null and b/calculators/telefon-vergisi-hesaplayici/img/iphone-se-3-2022.png differ
diff --git a/calculators/telefon-vergisi-hesaplayici/img/samsung-galaxy-s23-plus.png b/calculators/telefon-vergisi-hesaplayici/img/samsung-galaxy-s23-plus.png
new file mode 100644
index 00000000..cb5193fd
Binary files /dev/null and b/calculators/telefon-vergisi-hesaplayici/img/samsung-galaxy-s23-plus.png differ
diff --git a/calculators/telefon-vergisi-hesaplayici/img/samsung-galaxy-s23-ultra.png b/calculators/telefon-vergisi-hesaplayici/img/samsung-galaxy-s23-ultra.png
new file mode 100644
index 00000000..ad369932
Binary files /dev/null and b/calculators/telefon-vergisi-hesaplayici/img/samsung-galaxy-s23-ultra.png differ
diff --git a/calculators/telefon-vergisi-hesaplayici/img/samsung-galaxy-s23.png b/calculators/telefon-vergisi-hesaplayici/img/samsung-galaxy-s23.png
new file mode 100644
index 00000000..0d70a69a
Binary files /dev/null and b/calculators/telefon-vergisi-hesaplayici/img/samsung-galaxy-s23.png differ
diff --git a/calculators/telefon-vergisi-hesaplayici/img/samsung-galaxy-z-fold4.png b/calculators/telefon-vergisi-hesaplayici/img/samsung-galaxy-z-fold4.png
new file mode 100644
index 00000000..eeed9250
Binary files /dev/null and b/calculators/telefon-vergisi-hesaplayici/img/samsung-galaxy-z-fold4.png differ
diff --git a/calculators/telefon-vergisi-hesaplayici/utils.js b/calculators/telefon-vergisi-hesaplayici/utils.js
new file mode 100644
index 00000000..7cd0f6c6
--- /dev/null
+++ b/calculators/telefon-vergisi-hesaplayici/utils.js
@@ -0,0 +1,27 @@
+import brands from "@/calculators/telefon-vergisi-hesaplayici/data/brands.js";
+import presets from "@/calculators/telefon-vergisi-hesaplayici/data/presets.js";
+import presetOptions from "@/calculators/telefon-vergisi-hesaplayici/data/preset-options.js";
+
+const findPresetsByBrandId = (brandId, presets) => {
+ return presets.filter(preset => preset.brandId === brandId);
+};
+
+const findPresetOptionsByPresetId = (presetId, presetOptions) => {
+ return presetOptions.filter(presetOption => presetOption.presetId === presetId);
+};
+
+const buildCalculations = () => {
+ return brands.map(brand => ({
+ brand,
+ presets: findPresetsByBrandId(brand.id, presets).map(preset => ({
+ ...preset,
+ options: findPresetOptionsByPresetId(preset.id, presetOptions)
+ }))
+ }));
+};
+
+export {
+ findPresetsByBrandId,
+ findPresetOptionsByPresetId,
+ buildCalculations
+};
diff --git a/components/Calculation/CalculationPresetBrandCardItem.vue b/components/Calculation/CalculationPresetBrandCardItem.vue
new file mode 100644
index 00000000..09817a63
--- /dev/null
+++ b/components/Calculation/CalculationPresetBrandCardItem.vue
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
+ {{ brand.title }}
+
+
+
+ {{ icons.mdiArrowRight }}
+
+
+
+
+
+
+
diff --git a/components/Calculation/CalculationPresetCardItem.vue b/components/Calculation/CalculationPresetCardItem.vue
new file mode 100644
index 00000000..13e03c91
--- /dev/null
+++ b/components/Calculation/CalculationPresetCardItem.vue
@@ -0,0 +1,59 @@
+
+
+
+ {{ preset.title }}
+
+
+
+ {{ brand.title }} • {{ preset.releaseDate.getFullYear() }}
+
+
+
+
![]()
+
+
+
+
+
+
+
diff --git a/components/Calculation/CalculationPresets.vue b/components/Calculation/CalculationPresets.vue
new file mode 100644
index 00000000..bc1ccb14
--- /dev/null
+++ b/components/Calculation/CalculationPresets.vue
@@ -0,0 +1,64 @@
+
+
+
+
+
+
+
diff --git a/data/pages/telefon-vergisi-hesaplayici/telefon-vergisi-hesaplayici-slug.page.js b/data/pages/telefon-vergisi-hesaplayici/telefon-vergisi-hesaplayici-slug.page.js
index 441ece2e..bee12e7c 100644
--- a/data/pages/telefon-vergisi-hesaplayici/telefon-vergisi-hesaplayici-slug.page.js
+++ b/data/pages/telefon-vergisi-hesaplayici/telefon-vergisi-hesaplayici-slug.page.js
@@ -1,512 +1,10 @@
-import { mdiApple } from "@mdi/js";
import { buildHeadTags } from "@/utils/build-head-tags.js";
import TelefonVergisiHesaplayici from "@/data/pages/telefon-vergisi-hesaplayici/telefon-vergisi-hesaplayici.page.js";
import { findCalculatorPresetBySlug } from "@/utils/find-calculator-preset-by-slug.js";
-const buildUrl = slug => `/telefon-vergisi-hesaplayici/${slug}/`;
-
-const lastUpdatedDateIphone = new Date("Mon Jul 10 2023 04:22:25 GMT+0300 (GMT+03:00)");
-const lastUpdatedDateSamsung = new Date("Wed Jul 12 2023 21:14:13 GMT+0300 (GMT+03:00)");
-
-const presets = [
- // iPhone 14
- {
- brand: "Apple",
- title: "iPhone 14 Pro",
- slug: "iphone-14-pro",
- url: buildUrl("iphone-14-pro"),
- icon: mdiApple,
- color: "#555",
- ogImageName: "telefon-vergisi-hesaplayici-iphone-14-pro.jpg",
- pageTitle: "iPhone 14 Pro'nun vergisi ne kadar?",
- pageDescription: "iPhone 14 Pro'nun vergili ve vergisiz fiyatını hesaplayın, yurt içi ve yurt dışı fiyatlarını karşılaştırın.",
- options: [
- {
- title: "128GB",
- form: { price: 999, currency: "USD" },
- retailPrice: {
- value: 62541,
- lastUpdatedDate: lastUpdatedDateIphone,
- sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-14-pro"
- }
- },
- {
- title: "256GB",
- form: { price: 1099, currency: "USD" },
- retailPrice: {
- value: 66609,
- lastUpdatedDate: lastUpdatedDateIphone,
- sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-14-pro"
- }
- },
- {
- title: "512GB",
- form: { price: 1299, currency: "USD" },
- retailPrice: {
- value: 74745,
- lastUpdatedDate: lastUpdatedDateIphone,
- sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-14-pro"
- }
- },
- {
- title: "1TB",
- form: { price: 1499, currency: "USD" },
- retailPrice: {
- value: 82880,
- lastUpdatedDate: lastUpdatedDateIphone,
- sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-14-pro"
- }
- }
- ]
- },
- {
- brand: "Apple",
- title: "iPhone 14 Pro Max",
- slug: "iphone-14-pro-max",
- url: buildUrl("iphone-14-pro-max"),
- icon: mdiApple,
- color: "#555",
- ogImageName: "telefon-vergisi-hesaplayici-iphone-14-pro-max.jpg",
- pageTitle: "iPhone 14 Pro Max'in vergisi ne kadar?",
- pageDescription: "iPhone 14 Pro Max'in vergili ve vergisiz fiyatını hesaplayın, yurt içi ve yurt dışı fiyatlarını karşılaştırın.",
- options: [
- {
- title: "128GB",
- form: { price: 1099, currency: "USD" },
- retailPrice: {
- value: 67118,
- lastUpdatedDate: lastUpdatedDateIphone,
- sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-14-pro"
- }
- },
- {
- title: "256GB",
- form: { price: 1199, currency: "USD" },
- retailPrice: {
- value: 71185,
- lastUpdatedDate: lastUpdatedDateIphone,
- sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-14-pro"
- }
- },
- {
- title: "512GB",
- form: { price: 1399, currency: "USD" },
- retailPrice: {
- value: 79321,
- lastUpdatedDate: lastUpdatedDateIphone,
- sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-14-pro"
- }
- },
- {
- title: "1TB",
- form: { price: 1599, currency: "USD" },
- retailPrice: {
- value: 87457,
- lastUpdatedDate: lastUpdatedDateIphone,
- sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-14-pro"
- }
- }
- ]
- },
- {
- brand: "Apple",
- title: "iPhone 14",
- slug: "iphone-14",
- url: buildUrl("iphone-14"),
- icon: mdiApple,
- color: "#555",
- ogImageName: "telefon-vergisi-hesaplayici-iphone-14.jpg",
- pageTitle: "iPhone 14'ün vergisi ne kadar?",
- pageDescription: "iPhone 14'ün vergili ve vergisiz fiyatını hesaplayın, yurt içi ve yurt dışı fiyatlarını karşılaştırın.",
- options: [
- {
- title: "128GB",
- form: { price: 799, currency: "USD" },
- retailPrice: {
- value: 48304,
- lastUpdatedDate: lastUpdatedDateIphone,
- sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-14"
- }
- },
- {
- title: "256GB",
- form: { price: 899, currency: "USD" },
- retailPrice: {
- value: 52372,
- lastUpdatedDate: lastUpdatedDateIphone,
- sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-14"
- }
- },
- {
- title: "512GB",
- form: { price: 1099, currency: "USD" },
- retailPrice: {
- value: 60507,
- lastUpdatedDate: lastUpdatedDateIphone,
- sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-14"
- }
- }
- ]
- },
- {
- brand: "Apple",
- title: "iPhone 14 Plus",
- slug: "iphone-14-plus",
- url: buildUrl("iphone-14-plus"),
- icon: mdiApple,
- color: "#555",
- ogImageName: "telefon-vergisi-hesaplayici-iphone-14-plus.jpg",
- pageTitle: "iPhone 14 Plus'ın vergisi ne kadar?",
- pageDescription: "iPhone 14 Plus'ın vergili ve vergisiz fiyatını hesaplayın, yurt içi ve yurt dışı fiyatlarını karşılaştırın.",
- options: [
- {
- title: "128GB",
- form: { price: 899, currency: "USD" },
- retailPrice: {
- value: 53389,
- lastUpdatedDate: lastUpdatedDateIphone,
- sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-14"
- }
- },
- {
- title: "256GB",
- form: { price: 999, currency: "USD" },
- retailPrice: {
- value: 57457,
- lastUpdatedDate: lastUpdatedDateIphone,
- sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-14"
- }
- },
- {
- title: "512GB",
- form: { price: 1199, currency: "USD" },
- retailPrice: {
- value: 65592,
- lastUpdatedDate: lastUpdatedDateIphone,
- sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-14"
- }
- }
- ]
- },
-
-
- // iPhone 13
- {
- brand: "Apple",
- title: "iPhone 13 mini",
- slug: "iphone-13-mini",
- url: buildUrl("iphone-13-mini"),
- icon: mdiApple,
- color: "#555",
- ogImageName: "telefon-vergisi-hesaplayici-iphone-13-mini.jpg",
- pageTitle: "iPhone 13 mini'nin vergisi ne kadar?",
- pageDescription: "iPhone 13 mini'nin vergili ve vergisiz fiyatını hesaplayın, yurt içi ve yurt dışı fiyatlarını karşılaştırın.",
- options: [
- {
- title: "128GB",
- form: { price: 599, currency: "USD" },
- retailPrice: {
- value: 36609,
- lastUpdatedDate: lastUpdatedDateIphone,
- sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-13"
- }
- },
- {
- title: "256GB",
- form: { price: 699, currency: "USD" },
- retailPrice: {
- value: 40677,
- lastUpdatedDate: lastUpdatedDateIphone,
- sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-13"
- }
- },
- {
- title: "512GB",
- form: { price: 899, currency: "USD" },
- retailPrice: {
- value: 48813,
- lastUpdatedDate: lastUpdatedDateIphone,
- sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-13"
- }
- }
- ]
- },
- {
- brand: "Apple",
- title: "iPhone 13",
- slug: "iphone-13",
- url: buildUrl("iphone-13"),
- icon: mdiApple,
- color: "#555",
- ogImageName: "telefon-vergisi-hesaplayici-iphone-13.jpg",
- pageTitle: "iPhone 13'ün vergisi ne kadar?",
- pageDescription: "iPhone 13'ün vergili ve vergisiz fiyatını hesaplayın, yurt içi ve yurt dışı fiyatlarını karşılaştırın.",
- options: [
- {
- title: "128GB",
- form: { price: 699, currency: "USD" },
- retailPrice: {
- value: 40677,
- lastUpdatedDate: lastUpdatedDateIphone,
- sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-13"
- }
- },
- {
- title: "256GB",
- form: { price: 799, currency: "USD" },
- retailPrice: {
- value: 44745,
- lastUpdatedDate: lastUpdatedDateIphone,
- sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-13"
- }
- },
- {
- title: "512GB",
- form: { price: 999, currency: "USD" },
- retailPrice: {
- value: 52880,
- lastUpdatedDate: lastUpdatedDateIphone,
- sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-13"
- }
- }
- ]
- },
-
-
- // iPhone SE
- {
- brand: "Apple",
- title: "iPhone SE 3 (2022)",
- slug: "iphone-se-3-2022",
- url: buildUrl("iphone-se-3-2022"),
- icon: mdiApple,
- color: "#555",
- ogImageName: "telefon-vergisi-hesaplayici-iphone-se-2022.jpg",
- pageTitle: "iPhone SE 3'ün (2022) vergisi ne kadar?",
- pageDescription: "iPhone SE 3 (2022)'ün vergili ve vergisiz fiyatını hesaplayın, yurt içi ve yurt dışı fiyatlarını karşılaştırın.",
- options: [
- {
- title: "64GB",
- form: { price: 429, currency: "USD" },
- retailPrice: {
- value: 24914,
- lastUpdatedDate: lastUpdatedDateIphone,
- sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-se"
- }
- },
- {
- title: "128GB",
- form: { price: 479, currency: "USD" },
- retailPrice: {
- value: 26948,
- lastUpdatedDate: lastUpdatedDateIphone,
- sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-se"
- }
- },
- {
- title: "256GB",
- form: { price: 579, currency: "USD" },
- retailPrice: {
- value: 31016,
- lastUpdatedDate: lastUpdatedDateIphone,
- sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-se"
- }
- }
- ]
- },
-
-
- // iPhone 12
- {
- brand: "Apple",
- title: "iPhone 12",
- slug: "iphone-12",
- url: buildUrl("iphone-12"),
- icon: mdiApple,
- color: "#555",
- ogImageName: "telefon-vergisi-hesaplayici-iphone-12.jpg",
- pageTitle: "iPhone 12'nin vergisi ne kadar?",
- pageDescription: "iPhone 12'nin vergili ve vergisiz fiyatını hesaplayın, yurt içi ve yurt dışı fiyatlarını karşılaştırın.",
- options: [
- {
- title: "64GB",
- form: { price: 599, currency: "USD" },
- retailPrice: {
- value: 36609,
- lastUpdatedDate: lastUpdatedDateIphone,
- sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-12"
- }
- },
- {
- title: "128GB",
- form: { price: 649, currency: "USD" },
- retailPrice: {
- value: 38643,
- lastUpdatedDate: lastUpdatedDateIphone,
- sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-12"
- }
- },
- {
- title: "256GB",
- form: { price: 749, currency: "USD" },
- retailPrice: {
- value: 42711,
- lastUpdatedDate: lastUpdatedDateIphone,
- sourceUrl: "https://www.apple.com/tr/shop/buy-iphone/iphone-12"
- }
- }
- ]
- },
-
- // Apple Vision Pro
- {
- brand: "Apple",
- title: "Apple Vision Pro",
- slug: "apple-vision-pro",
- url: buildUrl("apple-vision-pro"),
- icon: mdiApple,
- color: "#555",
- ogImageName: "telefon-vergisi-hesaplayici-apple-vision-pro.jpg",
- pageTitle: "Apple Vision Pro'nun vergisi ne kadar?",
- pageDescription: "Apple Vision Pro'nun vergili ve vergisiz fiyatını hesaplayın, yurt içi ve yurt dışı fiyatlarını karşılaştırın.",
- options: [
- {
- title: "Standart",
- form: { price: 3499, currency: "USD" }
- }
- ]
- },
-
-
- // Samsung Galaxy S23
- {
- brand: "Samsung",
- title: "Samsung Galaxy S23",
- slug: "samsung-galaxy-s23",
- url: buildUrl("samsung-galaxy-s23"),
- icon: "samsung.svg",
- color: "#1428A0",
- ogImageName: "telefon-vergisi-hesaplayici-samsung-galaxy-s23.jpg",
- pageTitle: "Samsung Galaxy S23'ün vergisi ne kadar?",
- pageDescription: "Samsung Galaxy S23'ün vergili ve vergisiz fiyatını hesaplayın, yurt içi ve yurt dışı fiyatlarını karşılaştırın.",
- options: [
- {
- title: "128GB (8GB)",
- form: { price: 799.99, currency: "USD" },
- retailPrice: {
- value: 34999,
- lastUpdatedDate: lastUpdatedDateSamsung,
- sourceUrl: "https://shop.samsung.com/tr/galaxy-s23/"
- }
- },
- {
- title: "256GB (8GB)",
- form: { price: 859.99, currency: "USD" },
- retailPrice: {
- value: 36999,
- lastUpdatedDate: lastUpdatedDateSamsung,
- sourceUrl: "https://shop.samsung.com/tr/galaxy-s23/"
- }
- }
- ]
- },
- {
- brand: "Samsung",
- title: "Samsung Galaxy S23+",
- slug: "samsung-galaxy-s23-plus",
- url: buildUrl("samsung-galaxy-s23-plus"),
- icon: "samsung.svg",
- color: "#1428A0",
- ogImageName: "telefon-vergisi-hesaplayici-samsung-galaxy-s23-plus.jpg",
- pageTitle: "Samsung Galaxy S23+'ın vergisi ne kadar?",
- pageDescription: "Samsung Galaxy S23+'ın vergili ve vergisiz fiyatını hesaplayın, yurt içi ve yurt dışı fiyatlarını karşılaştırın.",
- options: [
- {
- title: "256GB (8GB)",
- form: { price: 999.99, currency: "USD" },
- retailPrice: {
- value: 44999,
- lastUpdatedDate: lastUpdatedDateSamsung,
- sourceUrl: "https://shop.samsung.com/tr/galaxy-s23-plus/"
- }
- },
- {
- title: "512GB (8GB)",
- form: { price: 1119.99, currency: "USD" }
- }
- ]
- },
- {
- brand: "Samsung",
- title: "Samsung Galaxy S23 Ultra",
- slug: "samsung-galaxy-s23-ultra",
- url: buildUrl("samsung-galaxy-s23-ultra"),
- icon: "samsung.svg",
- color: "#1428A0",
- ogImageName: "telefon-vergisi-hesaplayici-samsung-galaxy-s23-ultra.jpg",
- pageTitle: "Samsung Galaxy S23 Ultra'nın vergisi ne kadar?",
- pageDescription: "Samsung Galaxy S23 Ultra'nın vergili ve vergisiz fiyatını hesaplayın, yurt içi ve yurt dışı fiyatlarını karşılaştırın.",
- options: [
- {
- title: "256GB (8GB)",
- form: { price: 1199.99, currency: "USD" },
- retailPrice: {
- value: 57999,
- lastUpdatedDate: lastUpdatedDateSamsung,
- sourceUrl: "https://shop.samsung.com/tr/galaxy-s23-ultra/"
- }
- },
- {
- title: "512GB (8GB)",
- form: { price: 1379.99, currency: "USD" },
- retailPrice: {
- value: 60999,
- lastUpdatedDate: lastUpdatedDateSamsung,
- sourceUrl: "https://shop.samsung.com/tr/galaxy-s23-ultra/"
- }
- },
- {
- title: "1TB (12GB)",
- form: { price: 1619.99, currency: "USD" },
- retailPrice: {
- value: 65999,
- lastUpdatedDate: lastUpdatedDateSamsung,
- sourceUrl: "https://shop.samsung.com/tr/galaxy-s23-ultra/"
- }
- }
- ]
- },
- {
- brand: "Samsung",
- title: "Samsung Galaxy Z Fold4",
- slug: "samsung-galaxy-z-fold4",
- url: buildUrl("samsung-galaxy-z-fold4"),
- icon: "samsung.svg",
- color: "#1428A0",
- ogImageName: "telefon-vergisi-hesaplayici-samsung-galaxy-z-fold4.jpg",
- pageTitle: "Samsung Galaxy Z Fold4'ün vergisi ne kadar?",
- pageDescription: "Samsung Galaxy Z Fold4'ün vergili ve vergisiz fiyatını hesaplayın, yurt içi ve yurt dışı fiyatlarını karşılaştırın.",
- options: [
- {
- title: "256GB",
- form: { price: 1599.99, currency: "USD" },
- retailPrice: {
- value: 50999,
- lastUpdatedDate: lastUpdatedDateSamsung,
- sourceUrl: "https://shop.samsung.com/tr/galaxy-z-fold4/"
- }
- },
- {
- title: "512GB",
- form: { price: 1719.99, currency: "USD" }
- },
- {
- title: "1TB",
- form: { price: 1959.99, currency: "USD" }
- }
- ]
- }
-];
+import presets from "@/calculators/telefon-vergisi-hesaplayici/data/presets.js";
+import { findPresetOptionsByPresetId } from "@/calculators/telefon-vergisi-hesaplayici/utils.js";
+import presetOptions from "@/calculators/telefon-vergisi-hesaplayici/data/preset-options.js";
export default slug => {
const preset = findCalculatorPresetBySlug(slug, presets);
@@ -527,6 +25,8 @@ export default slug => {
{ title: preset.title, url }
];
+ const options = findPresetOptionsByPresetId(preset.id, presetOptions);
+
return {
title,
calculatorTitle: TelefonVergisiHesaplayici.title,
@@ -534,7 +34,10 @@ export default slug => {
description,
head,
breadcrumbs,
- preset
+ preset: {
+ ...preset,
+ options
+ }
};
};
diff --git a/pages/telefon-vergisi-hesaplayici/_slug.vue b/pages/telefon-vergisi-hesaplayici/_slug.vue
index 1bb7b1ab..67b16a74 100644
--- a/pages/telefon-vergisi-hesaplayici/_slug.vue
+++ b/pages/telefon-vergisi-hesaplayici/_slug.vue
@@ -94,15 +94,14 @@
- Diğer telefonlar
+ Diğer hesaplamalar
-
-
-
- {{ _item.title }}
-
-
+
+
+
@@ -115,7 +114,7 @@