Skip to content

Commit

Permalink
feat: add evga (#17)
Browse files Browse the repository at this point in the history
Signed-off-by: Jef LeCompte <jeffreylec@gmail.com>
  • Loading branch information
jef committed Sep 18, 2020
1 parent efe799b commit 487e5aa
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/store/evga.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import {Store} from './store';

export const Evga: Store = {
cartUrl: '',
links: [
{
brand: 'evga',
model: 'ftw3, xc3 black, xc3 gaming, xc3 ultra gaming',
url: 'https://www.evga.com/products/productlist.aspx?type=0&family=GeForce+30+Series+Family&chipset=RTX+3080',
oosLabels: ['out of stock']
},
],
name: 'evga'
};
6 changes: 6 additions & 0 deletions src/store/index.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import {BestBuy} from './bestbuy';
import {BAndH} from './bandh';
import {Evga} from './evga';
import {NewEgg} from './newegg';
import {Nvidia} from './nvidia';
import {Config} from '../config';

const list = new Map([
['bestbuy', BestBuy],
['bandh', BAndH],
['evga', Evga],
['newegg', NewEgg],
['nvidia', Nvidia]
]);
Expand All @@ -19,6 +21,10 @@ if (!Config.stores.toLowerCase().includes('bandh')) {
list.delete('bandh');
}

if (!Config.stores.toLowerCase().includes('evga')) {
list.delete('evga');
}

if (!Config.stores.toLowerCase().includes('newegg')) {
list.delete('newegg');
}
Expand Down

0 comments on commit 487e5aa

Please sign in to comment.