Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ldlc): adding ldlc french store #2037

Merged
merged 10 commits into from
Mar 2, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/store/model/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import {config, defaultStoreData} from '../../config';
import {AComPC} from './acompc';
import {Ldlc} from './ldlc';
import {Adorama} from './adorama';
import {Akinformatica} from './akinformatica';
import {Allneeds} from './allneeds';
Expand Down Expand Up @@ -228,6 +229,7 @@ export const storeList = new Map([
[Mediamarkt.name, Mediamarkt],
[Medimax.name, Medimax],
[Megekko.name, Megekko],
[Ldlc.name, Ldlc],
[MemoryExpress.name, MemoryExpress],
[MicroCenter.name, MicroCenter],
[Mindfactory.name, Mindfactory],
Expand Down
244 changes: 244 additions & 0 deletions src/store/model/ldlc.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,244 @@
import {Store} from './store';

export const Ldlc: Store = {
currency: '€',
labels: {
inStock: {
container: '.stock-1',
text: ['en', 'stock'],
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
container: '.stock-1',
text: ['en', 'stock'],
container: '.stock',
text: ['stock'],

Perhaps we just take this change?

MrToshio marked this conversation as resolved.
Show resolved Hide resolved
},
maxPrice: {
container: '.price .price',
euroFormat: true,
},
outOfStock: {
container: '.stock-4 .stock-7',
text: ['RUPTURE'],
},
MrToshio marked this conversation as resolved.
Show resolved Hide resolved
},
links: [
{
brand: 'evga',
model: 'xc3 ultra',
series: '3080',
url: 'https://www.ldlc.com/fr-be/fiche/PB00369303.html',
},
MrToshio marked this conversation as resolved.
Show resolved Hide resolved
{
brand: 'evga',
model: 'ftw3 ultra',
series: '3080',
url: 'https://www.ldlc.com/fr-be/fiche/PB00369299.html',
},
{
brand: 'msi',
model: 'gaming x trio',
series: '3080',
url: 'https://www.ldlc.com/fr-be/fiche/PB00369299.html',
},
{
brand: 'gigabyte',
model: 'gaming oc',
series: '3080',
url: 'https://www.ldlc.com/fr-be/fiche/PB00369299.html',
},
{
brand: 'gigabyte',
model: 'eagle oc',
series: '3080',
url: 'https://www.ldlc.com/fr-be/fiche/PB00369072.html',
},
{
brand: 'gigabyte',
model: 'aorus',
series: '3080',
url: 'https://www.ldlc.com/fr-be/fiche/PB00376208.html',
},
{
brand: 'inno3d',
model: 'twin x2',
series: '3080',
url: 'https://www.ldlc.com/fr-be/fiche/PB00368690.html',
},
{
brand: 'palit',
model: 'gaming pro',
series: '3080',
url: 'https://www.ldlc.com/fr-be/fiche/PB00369094.html',
},
{
brand: 'gainward',
model: 'phoenix',
series: '3080',
url: 'https://www.ldlc.com/fr-be/fiche/PB00369150.html',
},
{
brand: 'evga',
model: 'xc3 black',
series: '3080',
url: 'https://www.ldlc.com/fr-be/fiche/PB00369298.html',
},
{
brand: 'palit',
model: 'gamerock',
series: '3080',
url: 'https://www.ldlc.com/fr-be/fiche/PB00386334.html',
},
{
brand: 'kfa2',
model: 'sg',
series: '3080',
url: 'https://www.ldlc.com/fr-be/fiche/PB00396037.html',
},
{
brand: 'zotac',
model: 'amp holo',
series: '3080',
url: 'https://www.ldlc.com/fr-be/fiche/PB00375625.html',
},
{
brand: 'asus',
model: 'tuf',
series: '3080',
url: 'https://www.ldlc.com/fr-be/fiche/PB00368844.html',
},
{
brand: 'msi',
model: 'ventus 2x oc',
series: '3080',
url: 'https://www.ldlc.com/fr-be/fiche/PB00368506.html',
},
{
brand: 'gigabyte',
model: 'aorus xtreme',
series: '3080',
url: 'https://www.ldlc.com/fr-be/fiche/PB00390466.html',
},
{
brand: 'asus',
model: 'tuf',
series: '3080',
url: 'https://www.ldlc.com/fr-be/fiche/PB00368789.html',
},
{
brand: 'gigabyte',
model: 'aorus xtreme waterforce',
series: '3080',
url: 'https://www.ldlc.com/fr-be/fiche/PB00398370.html',
},
{
brand: 'msi',
model: 'suprim x',
series: '3080',
url: 'https://www.ldlc.com/fr-be/fiche/PB00391682.html',
},
{
brand: 'gigabyte',
model: 'vision oc',
series: '3080',
url: 'https://www.ldlc.com/fr-be/fiche/PB00376207.html',
},
{
brand: 'inno3d',
model: 'ichill x3',
series: '3080',
url: 'https://www.ldlc.com/fr-be/fiche/PB00368691.html',
},
{
brand: 'gainward',
model: 'phoenix gs',
series: '3080',
url: 'https://www.ldlc.com/fr-be/fiche/PB00369158.html',
},
{
brand: 'evga',
model: 'xc3',
series: '3080',
url: 'https://www.ldlc.com/fr-be/fiche/PB00369268.html',
},
{
brand: 'inno3d',
model: 'ichill frostbite',
series: '3080',
url: 'https://www.ldlc.com/fr-be/fiche/PB00391624.html',
},
{
brand: 'evga',
model: 'ftw3 ultra hybrid',
series: '3080',
url: 'https://www.ldlc.com/fr-be/fiche/PB00398046.html',
},
{
brand: 'kfa2',
model: 'sg',
series: '3080',
url: 'https://www.ldlc.com/fr-be/fiche/PB00368931.html',
},
{
brand: 'palit',
model: 'gaming pro',
series: '3080',
url: 'https://www.ldlc.com/fr-be/fiche/PB00375448.html',
},
{
brand: 'asus',
model: 'strix',
series: '3080',
url: 'https://www.ldlc.com/fr-be/fiche/PB00375431.html',
},
{
brand: 'evga',
model: 'ftw3',
series: '3080',
url: 'https://www.ldlc.com/fr-be/fiche/PB00369265.html',
},
{
brand: 'gainward',
model: 'phantom gs',
series: '3080',
url: 'https://www.ldlc.com/fr-be/fiche/PB00390727.html',
},
{
brand: 'evga',
model: 'xc3 ultra hybrid',
series: '3080',
url: 'https://www.ldlc.com/fr-be/fiche/PB00398045.html',
},
{
brand: 'inno3d',
model: 'ichill x4',
series: '3080',
url: 'https://www.ldlc.com/fr-be/fiche/PB00368692.html',
},
{
brand: 'zotac',
model: 'trinity',
series: '3080',
url: 'https://www.ldlc.com/fr-be/fiche/PB00368579.html',
},
{
brand: 'zotac',
model: 'trinity oc',
series: '3080',
url: 'https://www.ldlc.com/fr-be/fiche/PB00375644.html',
},
{
brand: 'asus',
model: 'strix',
series: '3080',
url: 'https://www.ldlc.com/fr-be/fiche/PB00385535.html',
},
{
brand: 'palit',
model: 'gamerock',
series: '3080',
url: 'https://www.ldlc.com/fr-be/fiche/PB00386332.html',
},
{
brand: 'gigabyte',
model: 'aorus xtreme waterforce wb',
series: '3080',
url: 'https://www.ldlc.com/fr-be/fiche/PB00398373.html',
},
],
name: 'ldlc',
};