Add link icon for direct link to deal

This commit is contained in:
Dave Gallant
2023-04-29 22:42:34 -04:00
parent 63838cb734
commit cbc5a0ebb3
5 changed files with 1806 additions and 1711 deletions

View File

@@ -177,10 +177,19 @@ export default {
target="_blank"
v-html="
highlightMatches(
topic.title + ' [' + topic.Offer.dealer_name + ']'
topic.title + ' [' + topic.Offer.dealer_name + '] '
)
"
></a>
<a
:href="`${topic.Offer.url}`"
target="_blank"
v-if="topic.Offer.url"
><span class="material-symbols-outlined"> link </span></a
>
<span v-if="!topic.Offer.url" class="material-symbols-outlined">
link_off
</span>
</td>
<td v-if="topic.score > 0" scope="col" class="green-score">
+{{ topic.score }}

View File

@@ -220,3 +220,7 @@ footer {
background-size: contain;
background-position-y: bottom;
}
.material-symbols-outlined {
font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 48;
}