Fix in the news imgs
|
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.0 KiB |
|
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 8.5 KiB |
|
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 5.5 KiB |
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
@@ -1,24 +1,23 @@
|
||||
---
|
||||
id: in_the_news
|
||||
# Add logos in src/assets/images/
|
||||
partners:
|
||||
- path: https://www.forbes.com/sites/johnkoetsier/2020/06/20/largest-distributed-peer-to-peer-grid-on-the-planet-laying-foundation-for-a-decentralized-internet/?fbclid=IwAR1WKCpqLcWPRWg5bPD6RCQE5JJjRPt6ey5vbEnu3db2FvJnp6-YKeVZNW8#79aa340e6798'
|
||||
logo: forbers.png
|
||||
logo: ./logos/forbers.png
|
||||
|
||||
- path: https://cointelegraph.com/news/peer-to-peer-internet-has-lofty-goal-to-bring-true-decentralization
|
||||
logo: thecointel.png
|
||||
logo: ./logos/thecointel.png
|
||||
|
||||
- path: https://hackernoon.com/is-it-possible-to-create-a-decentralized-internet-this-startup-and-its-farmers-think-so-ey2e3ycf
|
||||
logo: hackernoon.png
|
||||
logo: ./logos/hackernoon.png
|
||||
|
||||
- path: https://cryptodaily.co.uk/2019/11/data-centers-are-under-pressure-to-meet-internet-demand
|
||||
logo: cryptodaily.png
|
||||
logo: ./logos/cryptodaily.png
|
||||
|
||||
- path: https://gritdaily.com/belarus-governments-control-internet/
|
||||
logo: grit_daily.png
|
||||
logo: ./logos/grit_daily.png
|
||||
|
||||
- path: https://btcmanager.com/digibyte-dgb-threefold-decentralize-global-internet-architecture/?q=/digibyte-dgb-threefold-decentralize-global-internet-architecture/&q=/digibyte-dgb-threefold-decentralize-global-internet-architecture/
|
||||
logo: btc.png
|
||||
logo: ./logos/btc.png
|
||||
---
|
||||
|
||||
In the News
|
||||
|
||||
BIN
content/page/home/InTheNews/logos/btc.png
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
BIN
content/page/home/InTheNews/logos/cryptodaily.png
Normal file
|
After Width: | Height: | Size: 6.0 KiB |
BIN
content/page/home/InTheNews/logos/forbers.png
Normal file
|
After Width: | Height: | Size: 8.5 KiB |
BIN
content/page/home/InTheNews/logos/grit_daily.png
Normal file
|
After Width: | Height: | Size: 5.5 KiB |
BIN
content/page/home/InTheNews/logos/hackernoon.png
Normal file
|
After Width: | Height: | Size: 4.1 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
BIN
content/page/home/InTheNews/thecointel.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
@@ -1,11 +1,10 @@
|
||||
<template>
|
||||
<div class="bg-white">
|
||||
<div class="max-w-screen-xl mx-auto py-12 px-4 sm:px-6 lg:py-16 lg:px-8">
|
||||
<p
|
||||
<div
|
||||
v-html="news.content"
|
||||
class="text-center text-base leading-6 font-semibold uppercase text-gray-600 tracking-wider"
|
||||
>
|
||||
{{ news.excerpt }}
|
||||
</p>
|
||||
></div>
|
||||
<div class="mt-6 grid grid-cols-2 gap-0.5 md:grid-cols-3 lg:mt-8">
|
||||
<g-link
|
||||
v-for="partner in news.partners"
|
||||
@@ -14,15 +13,7 @@
|
||||
target="_blank"
|
||||
class="col-span-1 flex justify-center py-8 px-8 m-1 bg-gray-100"
|
||||
>
|
||||
<!-- <img
|
||||
class="max-h-12"
|
||||
:src="require(`!!assets-loader!@images/${partner.logo}`)"
|
||||
/> -->
|
||||
|
||||
<img
|
||||
class="max-h-12"
|
||||
:src="partner.logo"
|
||||
/>
|
||||
<img class="max-h-12" :src="img(partner.logo)" />
|
||||
</g-link>
|
||||
</div>
|
||||
</div>
|
||||
@@ -32,5 +23,12 @@
|
||||
<script>
|
||||
export default {
|
||||
props: ["news"],
|
||||
methods: {
|
||||
img(image) {
|
||||
if (!image) return "";
|
||||
if (image.src) return image.src;
|
||||
return image;
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
@@ -156,7 +156,7 @@
|
||||
}
|
||||
inTheNews {
|
||||
id
|
||||
excerpt
|
||||
content
|
||||
partners {
|
||||
path
|
||||
logo
|
||||
|
||||