mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Add section icons
This commit is contained in:
parent
6a70d2e0bf
commit
497b8cde10
4 changed files with 8 additions and 5 deletions
|
|
@ -76,7 +76,7 @@
|
|||
style="transition-property: border;"
|
||||
>
|
||||
<template v-if="seenItems[app.slug] === false && hasStartedAnyQuery === false">
|
||||
{{ app.endpoint.includes('/game/') ? `🕹${app.name}` : app.name }}
|
||||
{{ app.section.icon.length !== 0 ? `${app.section.icon} ${app.name}` : app.name }}
|
||||
<div class="text-sm leading-5 font-bold">
|
||||
{{ app.text }}
|
||||
</div>
|
||||
|
|
@ -89,7 +89,7 @@
|
|||
</div>
|
||||
</client-only>
|
||||
|
||||
{{ app.endpoint.includes('/game/') ? `🕹${app.name}` : app.name }}
|
||||
{{ app.section.icon.length !== 0 ? `${app.section.icon} ${app.name}` : app.name }}
|
||||
<div class="text-sm leading-5 font-bold">
|
||||
{{ app.text }}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -194,7 +194,8 @@ export default async function () {
|
|||
endpoint,
|
||||
section: {
|
||||
label: sectionTitle,
|
||||
slug: sectionSlug
|
||||
slug: sectionSlug,
|
||||
icon: ''
|
||||
},
|
||||
content: token.content,
|
||||
relatedLinks
|
||||
|
|
|
|||
|
|
@ -125,7 +125,8 @@ export default async function () {
|
|||
endpoint: `/game/${slug}`,
|
||||
section: {
|
||||
label: 'Games',
|
||||
slug: 'games'
|
||||
slug: 'games',
|
||||
icon: '🎮'
|
||||
},
|
||||
content: '',
|
||||
relatedLinks: [
|
||||
|
|
|
|||
|
|
@ -151,7 +151,8 @@ export default async function () {
|
|||
endpoint: `/formula/${slug}`,
|
||||
section: {
|
||||
label: 'Homebrew',
|
||||
slug: 'homebrew'
|
||||
slug: 'homebrew',
|
||||
icon: '🍺'
|
||||
},
|
||||
content: formulae.comments,
|
||||
relatedLinks: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue