Skip to content

Commit

Permalink
stores: add Mediamarkt image and add it to stores.js
Browse files Browse the repository at this point in the history
While at it, also fix a typo in the image name.

Source of the image:
https://upload.wikimedia.org/wikipedia/commons/f/f0/Media_Markt_logo.svg

It was manually converted using ImageMagick with the following
command:
convert -background none -resize 150 mediamarkt.svg mediamarkt.png

Signed-off-by: Raphaël Mélotte <[email protected]>
  • Loading branch information
rmelotte committed Dec 4, 2024
1 parent b15368f commit ec3e094
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion database/seeders/StoreSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ public function run(): void
[
'name'=>'Media Market Spain',
'domain'=>'mediamarkt.es',
'image'=>'mediamarket.png',
'image'=>'mediamarkt.png',
'currency_id'=>Currency::firstOrCreate(['code'=>''])->id,
'slug'=>'mediamarkt_es'
],
Expand Down
8 changes: 8 additions & 0 deletions public/js/stores.js
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,14 @@ const stores={
currency:'£',
color:'blue',
},
{
id:43,
name:'Mediamarkt es',
url:'https://www.mediamarkt.es/fr/product/product_id.html',
image:'mediamarkt.png',
currency:'€',
color:'red',
},

],

Expand Down
Binary file added storage/app/public/store/mediamarkt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ec3e094

Please sign in to comment.