Skip to content

Commit b23d5dd

Browse files
more data added
1 parent fe7fcb3 commit b23d5dd

File tree

4 files changed

+55
-17
lines changed

4 files changed

+55
-17
lines changed

data/data.json

Lines changed: 42 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,77 +3,104 @@
33
{
44
"image": "./images/lipton_tea.png",
55
"en_brand_name": "Lipton",
6-
"ar_brand_name": "شاي ليبتون"
6+
"ar_brand_name": "شاي ليبتون",
7+
"url": "https://www.bloomberg.com/opinion/articles/2018-08-22/pepsico-s-sodastream-purchase-is-sweet-news-for-israelis?leadSource=uverify%20wall"
78
},
89
{
910
"image": "./images/snickers.jpg",
1011
"en_brand_name": "Snickers",
11-
"ar_brand_name": "شوكولا سنيكرز"
12+
"ar_brand_name": "شوكولا سنيكرز",
13+
"url": "https://aus.mars.com/news-and-stories/press-releases/mars-partners-with-jerusalem-venture-partners"
1214
},
1315
{
1416
"image": "./images/quaker.jpg",
1517
"en_brand_name": "َQuaker",
16-
"ar_brand_name": "شوكولا و منتجات كويكر"
18+
"ar_brand_name": "شوكولا و منتجات كويكر",
19+
"url": "https://www.bloomberg.com/view/articles/2018-08-22/pepsico-s-sodastream-purchase-is-sweet-news-for-israelis?leadSource=uverify%20wall"
1720
},
1821
{
1922
"image": "./images/nescafe.png",
2023
"en_brand_name": "Nescafe",
21-
"ar_brand_name": "قهوة نسكافية بأشكالها المختلفة"
24+
"ar_brand_name": "قهوة نسكافية بأشكالها المختلفة",
25+
"url": "https://en.wikipedia.org/wiki/Osem_(company)"
2226
},
2327
{
2428
"image": "./images/knor.png",
2529
"en_brand_name": "Knorr",
26-
"ar_brand_name": "شوربة و معكرونة كنور"
30+
"ar_brand_name": "شوربة و معكرونة كنور",
31+
"url": "https://www.unilever.com/news/press-and-media/press-releases/2022/unilever-reaches-new-business-arrangement-for-ben-jerrys-in-israel/"
32+
},
33+
{
34+
"image": "./images/maggi.png",
35+
"en_brand_name": "Maggi",
36+
"ar_brand_name": "مرقة ماجي",
37+
"url": "https://en.wikipedia.org/wiki/Osem_(company)"
2738
},
2839
{
2940
"image": "./images/mars.png",
3041
"en_brand_name": "Mars chocolate",
31-
"ar_brand_name": "شوكولا مارس"
42+
"ar_brand_name": "شوكولا مارس",
43+
"url": "https://aus.mars.com/news-and-stories/press-releases/mars-partners-with-jerusalem-venture-partners"
3244
},
3345
{
3446
"image": "./images/kit_kat.png",
3547
"en_brand_name": "KitKat chocolate",
36-
"ar_brand_name": "شوكولا كيت كات"
48+
"ar_brand_name": "شوكولا كيت كات",
49+
"url": "https://en.wikipedia.org/wiki/Osem_(company)"
3750
},
3851
{
3952
"image": "./images/lays.png",
4053
"en_brand_name": "Lay's Potato",
41-
"ar_brand_name": "بطاطا ليز"
54+
"ar_brand_name": "بطاطا ليز",
55+
"url": "https://www.bloomberg.com/opinion/articles/2018-08-22/pepsico-s-sodastream-purchase-is-sweet-news-for-israelis?leadSource=uverify%20wall"
4256
},
4357
{
4458
"image": "./images/cad_bury.png",
4559
"en_brand_name": "CadBury Chocolate",
46-
"ar_brand_name": "شوكولا كادبوري"
60+
"ar_brand_name": "شوكولا كادبوري",
61+
"url": "https://ir.mondelezinternational.com/news-releases/news-release-details/mondelez-international-snackfutures-makes-seed-investment"
62+
},
63+
{
64+
"image": "./images/oreo.png",
65+
"en_brand_name": "Oreo",
66+
"ar_brand_name": "شوكولا أوريو",
67+
"url": "https://ir.mondelezinternational.com/news-releases/news-release-details/mondelez-international-snackfutures-makes-seed-investment"
4768
},
4869
{
4970
"image": "./images/twix.png",
5071
"en_brand_name": "Twix",
51-
"ar_brand_name": "بسكويت تويكس"
72+
"ar_brand_name": "بسكويت تويكس",
73+
"url": "https://aus.mars.com/news-and-stories/press-releases/mars-partners-with-jerusalem-venture-partners"
5274
},
5375
{
5476
"image": "./images/m&ms.png",
5577
"en_brand_name": "m&ms",
56-
"ar_brand_name": "ام اند امز"
78+
"ar_brand_name": "ام اند امز",
79+
"url": "https://aus.mars.com/news-and-stories/press-releases/mars-partners-with-jerusalem-venture-partners"
5780
},
5881
{
5982
"image": "./images/doritos.png",
6083
"en_brand_name": "Doritos",
61-
"ar_brand_name": "بطاطا دوريتو"
84+
"ar_brand_name": "بطاطا دوريتو",
85+
"url": "https://www.bloomberg.com/opinion/articles/2018-08-22/pepsico-s-sodastream-purchase-is-sweet-news-for-israelis?leadSource=uverify%20wall"
6286
},
6387
{
6488
"image": "./images/coca_cola.png",
6589
"en_brand_name": "Coca Cola",
66-
"ar_brand_name": "كوكا كولا"
90+
"ar_brand_name": "كوكا كولا",
91+
"url": "https://www.foa.org.uk/campaign/boycottcocacola"
6792
},
6893
{
6994
"image": "./images/pepsi.png",
7095
"en_brand_name": "Pepsi",
71-
"ar_brand_name": "بيبسي كولا"
96+
"ar_brand_name": "بيبسي كولا",
97+
"url": "https://www.bloomberg.com/view/articles/2018-08-22/pepsico-s-sodastream-purchase-is-sweet-news-for-israelis?leadSource=uverify%20wall"
7298
},
7399
{
74100
"image": "./images/sprite.png",
75101
"en_brand_name": "Sprite",
76-
"ar_brand_name": "سبرايت"
102+
"ar_brand_name": "سبرايت",
103+
"url": "https://www.foa.org.uk/campaign/boycottcocacola"
77104
}
78105
]
79106
}

index.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
<title>Poycott</title>
1010
</head>
1111
<body>
12+
<details class="right-align">
13+
<summary>ما الهدف من هذا الموقع؟</summary>
14+
<p>الهدف هو التعريف ببعض البضائع المنتشرة في سوريا و التي تدعم الاحتلال</p>
15+
</details>
1216
<details class="right-align">
1317
<summary>كيف نتأكد من الشركات والمنتجات التي يجب مقاطعتها؟</summary>
1418
<p>يمكنكم البحث بسهولة ضمن الموقع <a href="https://masjidalaqsa.com/israeli-product-checker-boycott-list">التالي</a></p>
@@ -36,13 +40,13 @@
3640
<a href="https://github.com/maamounhajnajeeb/goods.boycott">رابط المشروع</a>
3741
</details>
3842
<details class="right-align">
39-
<summary>مواقع شبية</summary>
43+
<summary>مواقع شبيهة</summary>
4044
<p>موقع <a href="https://boycott.yaqiin.org/">يقين</a></p>
4145
</details>
4246
<div class="flex-container" id="flex-container">
4347

4448
</div>
45-
49+
4650
<script src="scripts/main.js"></script>
4751

4852
</body>

scripts/main.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ function displayBoycottList(items) {
2929
<img src="${item["image"]}" width="100px" height="100px">
3030
<p>${item["en_brand_name"]}</p>
3131
<p>${item["ar_brand_name"]}</p>
32+
<a href="${item["url"]}">
33+
<button class="btn">الدليل | Proof</button>
34+
</a>
3235
</div>
3336
`).join('');
3437

styles/index.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,7 @@
2626
color: red;
2727
background-color: white;
2828
}
29+
30+
.btn:hover {
31+
background-color: #db9e30;
32+
}

0 commit comments

Comments
 (0)