mirror of
https://github.com/BlossomiShymae/clean-cuts.git
synced 2025-12-06 10:10:47 +01:00
Add back to top button
This commit is contained in:
@@ -10,21 +10,27 @@ watch(currentLocale, async () => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="d-flex flex-row flex-wrap gap-2 justify-content-center">
|
||||
<div v-for="item in items" :id="`${item.id}`"
|
||||
style="width: 64px;"
|
||||
data-aos="zoom-out"
|
||||
data-aos-duration="500">
|
||||
<NuxtLink :to="`/items/${item.id}`">
|
||||
<div class="ratio ratio-1x1 position-relative">
|
||||
<img class="rounded" :src="item.getIcon('latest')" loading="lazy"/>
|
||||
<div class="position-absolute z-1 d-flex flex-column justify-content-end">
|
||||
<div class="d-inline-flex justify-content-end align-items-center">
|
||||
<span class="fw-bold bg-dark-subtle rounded m-1" style="font-size: 8pt; padding: 1px;">{{ item.id }}</span>
|
||||
<div class="d-flex flex-column gap-4">
|
||||
<div class="d-flex flex-row flex-wrap gap-2 justify-content-center">
|
||||
<div v-for="item in items" :id="`${item.id}`"
|
||||
style="width: 64px;"
|
||||
data-aos="zoom-out"
|
||||
data-aos-duration="500">
|
||||
<NuxtLink :to="`/items/${item.id}`">
|
||||
<div class="ratio ratio-1x1 position-relative">
|
||||
<img class="rounded" :src="item.getIcon('latest')" loading="lazy"/>
|
||||
<div class="position-absolute z-1 d-flex flex-column justify-content-end">
|
||||
<div class="d-inline-flex justify-content-end align-items-center">
|
||||
<span class="fw-bold bg-dark-subtle rounded m-1" style="font-size: 8pt; padding: 1px;">{{ item.id }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</NuxtLink>
|
||||
</NuxtLink>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="d-flex justify-content-center w-100">
|
||||
<BackToTopButton/>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user