Moved icons into network directories. Improved network logo handling.

This commit is contained in:
2019-11-10 04:47:41 +01:00
parent be012bfa40
commit 6ed484af76
53 changed files with 30 additions and 16 deletions

View File

@@ -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>