Moved icons into network directories. Improved network logo handling.
|
@ -8,6 +8,7 @@
|
||||||
<h2 class="title">
|
<h2 class="title">
|
||||||
{{ network.name }}
|
{{ network.name }}
|
||||||
<a
|
<a
|
||||||
|
v-if="network.url"
|
||||||
:href="network.url"
|
:href="network.url"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
|
@ -23,14 +24,16 @@
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<a
|
<a
|
||||||
|
v-if="network.url"
|
||||||
:href="network.url"
|
:href="network.url"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
>
|
>
|
||||||
<img
|
<object
|
||||||
:src="`/img/networks/${network.slug}.png`"
|
:data="`/img/logos/${network.slug}/network.png`"
|
||||||
|
type="image/png"
|
||||||
class="logo"
|
class="logo"
|
||||||
>
|
>{{ network.name }}</object>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -42,8 +42,6 @@
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
:href="`/actor/${actor.slug}`"
|
:href="`/actor/${actor.slug}`"
|
||||||
target="_blank"
|
|
||||||
rel="noopener noreferrer"
|
|
||||||
class="actor-link"
|
class="actor-link"
|
||||||
>{{ actor.name }}</a>
|
>{{ actor.name }}</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -127,8 +125,6 @@
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
:href="`/tag/${tag.slug}`"
|
:href="`/tag/${tag.slug}`"
|
||||||
target="_blank"
|
|
||||||
rel="noopener noreferrer"
|
|
||||||
class="tag-link"
|
class="tag-link"
|
||||||
>{{ tag.name }}</a>
|
>{{ tag.name }}</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -3,13 +3,11 @@
|
||||||
:href="`/site/${site.slug}`"
|
:href="`/site/${site.slug}`"
|
||||||
class="tile"
|
class="tile"
|
||||||
>
|
>
|
||||||
<h3 class="title">
|
<object
|
||||||
<object
|
:data="`/img/logos/${site.network.slug}/${site.slug}.png`"
|
||||||
:data="`/img/sites/${site.slug}.png`"
|
type="image/png"
|
||||||
type="image/png"
|
class="logo"
|
||||||
class="logo"
|
>{{ site.name }}</object>
|
||||||
>{{ site.name }}</object>
|
|
||||||
</h3>
|
|
||||||
</a>
|
</a>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -44,9 +42,15 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
|
color: $text;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
height: 4rem;
|
height: 4rem;
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
|
font-size: 1rem;
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
|
@ -55,6 +59,5 @@ export default {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: 1rem;
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -242,10 +242,16 @@
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
.logo[data-v-f4958086] {
|
.logo[data-v-f4958086] {
|
||||||
|
color: #222;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
height: 4rem;
|
height: 4rem;
|
||||||
-o-object-fit: contain;
|
-o-object-fit: contain;
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
|
font-size: 1rem;
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
.title[data-v-f4958086] {
|
.title[data-v-f4958086] {
|
||||||
color: #222;
|
color: #222;
|
||||||
|
@ -253,7 +259,6 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: 1rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* $primary: #ff886c; */
|
/* $primary: #ff886c; */
|
||||||
|
|
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 30 KiB |
After Width: | Height: | Size: 44 KiB |
After Width: | Height: | Size: 57 KiB |
After Width: | Height: | Size: 30 KiB |
After Width: | Height: | Size: 41 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 31 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 64 KiB |
After Width: | Height: | Size: 37 KiB |
After Width: | Height: | Size: 8.6 KiB |
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 41 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 69 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 30 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 41 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 53 KiB |
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 86 KiB |
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 58 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 170 KiB After Width: | Height: | Size: 170 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 170 KiB After Width: | Height: | Size: 170 KiB |
Before Width: | Height: | Size: 29 KiB |
|
@ -22,6 +22,13 @@ async function curateNetwork(network) {
|
||||||
url: site.url,
|
url: site.url,
|
||||||
description: site.description,
|
description: site.description,
|
||||||
slug: site.slug,
|
slug: site.slug,
|
||||||
|
network: {
|
||||||
|
id: network.id,
|
||||||
|
name: network.name,
|
||||||
|
url: network.url,
|
||||||
|
description: network.description,
|
||||||
|
slug: network.slug,
|
||||||
|
},
|
||||||
})),
|
})),
|
||||||
studios: studios.map(studio => ({
|
studios: studios.map(studio => ({
|
||||||
id: studio.id,
|
id: studio.id,
|
||||||
|
|