You've already forked AstralRinth
forked from didirus/AstralRinth
Add "See all" link next to featured versions (#550)
This commit is contained in:
@@ -334,6 +334,15 @@
|
|||||||
</template>
|
</template>
|
||||||
<template v-if="featuredVersions.length > 0">
|
<template v-if="featuredVersions.length > 0">
|
||||||
<h3 class="card-header">Featured versions</h3>
|
<h3 class="card-header">Featured versions</h3>
|
||||||
|
<span class="links">
|
||||||
|
<nuxt-link
|
||||||
|
v-if="project.versions.length > 0 || currentMember"
|
||||||
|
:to="`/${project.project_type}/${
|
||||||
|
project.slug ? project.slug : project.id
|
||||||
|
}/versions`"
|
||||||
|
><span>(See all)</span></nuxt-link
|
||||||
|
></span
|
||||||
|
>
|
||||||
<div
|
<div
|
||||||
v-for="version in featuredVersions"
|
v-for="version in featuredVersions"
|
||||||
:key="version.id"
|
:key="version.id"
|
||||||
@@ -1013,6 +1022,8 @@ export default {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: var(--color-heading);
|
color: var(--color-heading);
|
||||||
margin-bottom: 0.3rem;
|
margin-bottom: 0.3rem;
|
||||||
|
width: fit-content;
|
||||||
|
display: inline;
|
||||||
}
|
}
|
||||||
|
|
||||||
.featured-version {
|
.featured-version {
|
||||||
|
|||||||
Reference in New Issue
Block a user