From dc2fcf5ab4dba8be459bd5aa6a41e3e097205d45 Mon Sep 17 00:00:00 2001 From: Chloe Isabelle <37297785+TaliZorahVasNormandy@users.noreply.github.com> Date: Thu, 15 Oct 2020 14:50:27 +0200 Subject: [PATCH] feat: add proshop-dk (#524) --- README.md | 1 + src/store/model/index.ts | 2 + src/store/model/proshop-dk.ts | 150 ++++++++++++++++++++++++++++++++++ 3 files changed, 153 insertions(+) create mode 100644 src/store/model/proshop-dk.ts diff --git a/README.md b/README.md index a262f56dbc..a127d0a0a8 100644 --- a/README.md +++ b/README.md @@ -180,6 +180,7 @@ Here is a list of variables that you can use to customize your newly copied `.en | Overclockers | `overclockers`| | PNY | `pny`| | Proshop (DE) | `proshop-de`| +| Proshop (DK) | `proshop-dk`| | Scan | `scan`| | Very | `very`| | Zotac | `zotac`| diff --git a/src/store/model/index.ts b/src/store/model/index.ts index 9b074c627e..d3895672af 100644 --- a/src/store/model/index.ts +++ b/src/store/model/index.ts @@ -32,6 +32,7 @@ import {OfficeDepot} from './officedepot'; import {Overclockers} from './overclockers'; import {Pny} from './pny'; import {ProshopDE} from './proshop-de'; +import {ProshopDK} from './proshop-dk'; import {Scan} from './scan'; import {Store} from './store'; import {Very} from './very'; @@ -73,6 +74,7 @@ const masterList = new Map([ [OfficeDepot.name, OfficeDepot], [Overclockers.name, Overclockers], [ProshopDE.name, ProshopDE], + [ProshopDK.name, ProshopDK], [Pny.name, Pny], [Scan.name, Scan], [Very.name, Very], diff --git a/src/store/model/proshop-dk.ts b/src/store/model/proshop-dk.ts new file mode 100644 index 0000000000..94f7b74eaf --- /dev/null +++ b/src/store/model/proshop-dk.ts @@ -0,0 +1,150 @@ +import {Store} from './store'; + +export const ProshopDK: Store = { + labels: { + inStock: { + container: '.site-stock', + text: ['1-2 dages levering', 'fjernlager'] + }, + outOfStock: { + container: '.site-stock', + text: ['bestilt'] + } + }, + links: [ + { + brand: 'test:brand', + model: 'test:model', + series: 'test:series', + url: 'https://www.proshop.dk/Grafikkort/ASUS-GeForce-RTX-2060-TUF-OC-6GB-GDDR6-RAM-Grafikkort/2694767' + }, + { + brand: 'asus', + model: 'tuf gaming', + series: '3080', + url: 'https://www.proshop.dk/Grafikkort/ASUS-GeForce-RTX-3080-TUF-10GB-GDDR6X-RAM-Grafikkort/2876763' + }, + { + brand: 'asus', + model: 'tuf gaming oc', + series: '3080', + url: 'https://www.proshop.dk/Grafikkort/ASUS-GeForce-RTX-3080-TUF-OC-10GB-GDDR6X-RAM-Grafikkort/2876861' + }, + { + brand: 'asus', + model: 'strix gaming', + series: '3080', + url: 'https://www.proshop.dk/Grafikkort/ASUS-GeForce-RTX-3080-ROG-STRIX-10GB-GDDR6X-RAM-Grafikkort/2876857' + }, + { + brand: 'asus', + model: 'strix gaming oc', + series: '3080', + url: 'https://www.proshop.dk/Grafikkort/ASUS-GeForce-RTX-3080-ROG-STRIX-OC-10GB-GDDR6X-RAM-Grafikkort/2876859' + }, + { + brand: 'msi', + model: 'gaming x trio', + series: '3080', + url: 'https://www.proshop.dk/Grafikkort/MSI-GeForce-RTX-3080-GAMING-X-TRIO-10GB-GDDR6X-RAM-Grafikkort/2876877' + }, + { + brand: 'msi', + model: 'ventus 3x', + series: '3080', + url: 'https://www.proshop.dk/Grafikkort/MSI-GeForce-RTX-3080-Ventus-3X-10GB-GDDR6X-RAM-Grafikkort/2876878' + }, + { + brand: 'msi', + model: 'ventus 3x oc', + series: '3080', + url: 'https://www.proshop.dk/Grafikkort/MSI-GeForce-RTX-3080-Ventus-3X-OC-10GB-GDDR6X-RAM-Grafikkort/2876879' + }, + { + brand: 'inno3d', + model: 'ichill 4x', + series: '3080', + url: 'https://www.proshop.dk/Grafikkort/Inno3D-GeForce-RTX-3080-iCHILL-X4-10GB-GDDR6X-SDRAM-Grafikkort/2878971' + }, + { + brand: 'inno3d', + model: 'ichill 3x', + series: '3080', + url: 'https://www.proshop.dk/Grafikkort/Inno3D-GeForce-RTX-3080-iCHILL-X3-10GB-GDDR6X-SDRAM-Grafikkort/2878969' + }, + { + brand: 'gigabyte', + model: 'gaming oc', + series: '3080', + url: 'https://www.proshop.dk/Grafikkort/GIGABYTE-GeForce-RTX-3080-GAMING-OC-10GB-GDDR6X-RAM-Grafikkort/2876838' + }, + { + brand: 'gigabyte', + model: 'eagle oc', + series: '3080', + url: 'https://www.proshop.dk/Grafikkort/GIGABYTE-GeForce-RTX-3080-Eagle-OC-10GB-GDDR6X-RAM-Grafikkort/2876837' + }, + { + brand: 'inno3d', + model: 'twin 2x oc', + series: '3080', + url: 'https://www.proshop.dk/Grafikkort/Inno3D-GeForce-RTX-3080-Twin-X2-OC-10GB-GDDR6X-SDRAM-Grafikkort/2878968' + }, + { + brand: 'gigabyte', + model: 'vision oc', + series: '3080', + url: 'https://www.proshop.dk/Grafikkort/GIGABYTE-GeForce-RTX-3080-Vision-OC-10GB-GDDR6X-RAM-Grafikkort/2878401' + }, + { + brand: 'gigabyte', + model: 'aorus master', + series: '3080', + url: 'https://www.proshop.dk/Grafikkort/GIGABYTE-GeForce-RTX-3080-AORUS-Master-10GB-GDDR6X-RAM-Grafikkort/2876835' + }, + { + brand: 'asus', + model: 'tuf gaming', + series: '3090', + url: 'https://www.proshop.dk/Grafikkort/ASUS-GeForce-RTX-3090-TUF-24GB-GDDR6X-RAM-Grafikkort/2876764' + }, + { + brand: 'asus', + model: 'tuf gaming oc', + series: '3090', + url: 'https://www.proshop.dk/Grafikkort/ASUS-GeForce-RTX-3090-TUF-OC-24GB-GDDR6X-RAM-Grafikkort/2876869' + }, + { + brand: 'asus', + model: 'strix gaming', + series: '3090', + url: 'https://www.proshop.dk/Grafikkort/ASUS-GeForce-RTX-3090-ROG-STRIX-24GB-GDDR6X-RAM-Grafikkort/2876865' + }, + { + brand: 'asus', + model: 'strix gaming oc', + series: '3090', + url: 'https://www.proshop.dk/Grafikkort/ASUS-GeForce-RTX-3090-ROG-STRIX-OC-24GB-GDDR6X-RAM-Grafikkort/2876867' + }, + { + brand: 'msi', + model: 'gaming x trio', + series: '3090', + url: 'https://www.proshop.dk/Grafikkort/MSI-GeForce-RTX-3090-GAMING-X-TRIO-24GB-GDDR6X-RAM-Grafikkort/2876881' + }, + { + brand: 'gigabyte', + model: 'aorus master', + series: '3090', + url: 'https://www.proshop.dk/Grafikkort/GIGABYTE-GeForce-RTX-3090-AORUS-Master-24GB-GDDR6X-RAM-Grafikkort/2876840' + }, + { + brand: 'gigabyte', + model: 'aorus xtreme', + series: '3090', + url: 'https://www.proshop.dk/Grafikkort/GIGABYTE-GeForce-RTX-3090-AORUS-Xtreme-24GB-GDDR6X-RAM-Grafikkort/2876839' + } + ], + name: 'proshop-dk' +}; +