Home: only latest article reachable via 'read the latest article' link
This commit is contained in:
@@ -102,15 +102,11 @@ useSeoMeta({
|
|||||||
</p>
|
</p>
|
||||||
<p class="read-more">
|
<p class="read-more">
|
||||||
<NuxtLink :to="`/blog/${featured.slug}`">
|
<NuxtLink :to="`/blog/${featured.slug}`">
|
||||||
Leggi l'articolo
|
Leggi l'ultimo articolo
|
||||||
</NuxtLink>
|
</NuxtLink>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
<p class="more">
|
|
||||||
<NuxtLink to="/blog">Vedi tutti gli articoli</NuxtLink>
|
|
||||||
</p>
|
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -213,27 +209,4 @@ useSeoMeta({
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
border-bottom: 1px solid var(--color-ink);
|
border-bottom: 1px solid var(--color-ink);
|
||||||
}
|
}
|
||||||
|
|
||||||
.more {
|
|
||||||
margin-top: var(--gap-section);
|
|
||||||
text-align: center;
|
|
||||||
font-size: 0.75rem;
|
|
||||||
font-weight: 600;
|
|
||||||
letter-spacing: 0.14em;
|
|
||||||
text-transform: uppercase;
|
|
||||||
}
|
|
||||||
|
|
||||||
.more a {
|
|
||||||
padding: 0.85rem 2.5rem;
|
|
||||||
text-decoration: none;
|
|
||||||
border: 1px solid var(--color-ink);
|
|
||||||
color: var(--color-ink);
|
|
||||||
display: inline-block;
|
|
||||||
transition: background 0.2s ease, color 0.2s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
.more a:hover {
|
|
||||||
background: var(--color-ink);
|
|
||||||
color: var(--color-bg);
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user