Moved icons into network directories. Improved network logo handling.
|
@ -8,6 +8,7 @@
|
|||
<h2 class="title">
|
||||
{{ network.name }}
|
||||
<a
|
||||
v-if="network.url"
|
||||
:href="network.url"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
|
@ -23,14 +24,16 @@
|
|||
</span>
|
||||
|
||||
<a
|
||||
v-if="network.url"
|
||||
:href="network.url"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
<img
|
||||
:src="`/img/networks/${network.slug}.png`"
|
||||
<object
|
||||
:data="`/img/logos/${network.slug}/network.png`"
|
||||
type="image/png"
|
||||
class="logo"
|
||||
>
|
||||
>{{ network.name }}</object>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -42,8 +42,6 @@
|
|||
>
|
||||
<a
|
||||
:href="`/actor/${actor.slug}`"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
class="actor-link"
|
||||
>{{ actor.name }}</a>
|
||||
</li>
|
||||
|
@ -127,8 +125,6 @@
|
|||
>
|
||||
<a
|
||||
:href="`/tag/${tag.slug}`"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
class="tag-link"
|
||||
>{{ tag.name }}</a>
|
||||
</li>
|
||||
|
|
|
@ -3,13 +3,11 @@
|
|||
:href="`/site/${site.slug}`"
|
||||
class="tile"
|
||||
>
|
||||
<h3 class="title">
|
||||
<object
|
||||
:data="`/img/sites/${site.slug}.png`"
|
||||
type="image/png"
|
||||
class="logo"
|
||||
>{{ site.name }}</object>
|
||||
</h3>
|
||||
<object
|
||||
:data="`/img/logos/${site.network.slug}/${site.slug}.png`"
|
||||
type="image/png"
|
||||
class="logo"
|
||||
>{{ site.name }}</object>
|
||||
</a>
|
||||
</template>
|
||||
|
||||
|
@ -44,9 +42,15 @@ export default {
|
|||
}
|
||||
|
||||
.logo {
|
||||
color: $text;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 4rem;
|
||||
object-fit: contain;
|
||||
font-size: 1rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.title {
|
||||
|
@ -55,6 +59,5 @@ export default {
|
|||
display: flex;
|
||||
align-items: center;
|
||||
margin: 0;
|
||||
font-size: 1rem;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -242,10 +242,16 @@
|
|||
text-decoration: none;
|
||||
}
|
||||
.logo[data-v-f4958086] {
|
||||
color: #222;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 4rem;
|
||||
-o-object-fit: contain;
|
||||
object-fit: contain;
|
||||
font-size: 1rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
.title[data-v-f4958086] {
|
||||
color: #222;
|
||||
|
@ -253,7 +259,6 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
margin: 0;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
/* $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,
|
||||
description: site.description,
|
||||
slug: site.slug,
|
||||
network: {
|
||||
id: network.id,
|
||||
name: network.name,
|
||||
url: network.url,
|
||||
description: network.description,
|
||||
slug: network.slug,
|
||||
},
|
||||
})),
|
||||
studios: studios.map(studio => ({
|
||||
id: studio.id,
|
||||
|
|