Mod icons link to the mod page (#92)

This commit is contained in:
Prospector 2021-01-23 21:16:03 -08:00 committed by GitHub
parent 0dbde32ed4
commit e53d8fd4fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,10 +1,12 @@
<template>
<article class="project-card">
<div class="icon">
<nuxt-link v-if="isModrinth" :to="'/mod/' + id">
<img
:src="iconUrl ? iconUrl : 'https://cdn.modrinth.com/placeholder.svg'"
:alt="name"
/>
</nuxt-link>
</div>
<div class="info">
<div class="top">