Fix scaling issue

This commit is contained in:
Jai A
2020-10-11 22:46:26 -07:00
parent 3df2b4b7f8
commit 80b470cfd3
9 changed files with 57 additions and 339 deletions

View File

@@ -20,31 +20,42 @@
</tr>
</thead>
<tbody>
<tr>
<tr v-for="mod in mods" :key="mod.id">
<td>
<img class="rounded-md" src="~/assets/images/aof-mini.png" />
<img class="rounded-md" :src="mod.icon_url" />
</td>
<td>Finite Water</td>
<td>{{ mod.title }}</td>
<td>Owner</td>
<td><span class="badge green">Active</span></td>
<td>274</td>
<td>Nov 4, 2019</td>
</tr>
<tr>
<td>
<img class="rounded-md" src="~/assets/images/aof-mini.png" />
</td>
<td>Vivatech</td>
<td>Contributor</td>
<td><span class="badge green">Active</span></td>
<td>2,381</td>
<td>Jul 31, 2019</td>
<td>{{ mod.downloads }}</td>
<td>{{ $dayjs(mod.published).format('YYYY-MM-DD') }}</td>
</tr>
</tbody>
</table>
</div>
</template>
<script>
import axios from 'axios'
export default {
async fetch() {
try {
const res = await axios.get(
`https://api.modrinth.com/api/v1/${this.$auth.user.id}/mods`
)
this.mods = res.data
} catch (err) {}
},
data() {
return {
mods: [],
}
},
}
</script>
<style lang="scss">
.section-header {
display: flex;