forked from DebaucheryLibrarian/traxxx
Moved icons into network directories. Improved network logo handling.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user