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;"
|
style="transition-property: border;"
|
||||||
>
|
>
|
||||||
<template v-if="seenItems[app.slug] === false && hasStartedAnyQuery === false">
|
<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">
|
<div class="text-sm leading-5 font-bold">
|
||||||
{{ app.text }}
|
{{ app.text }}
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -89,7 +89,7 @@
|
||||||
</div>
|
</div>
|
||||||
</client-only>
|
</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">
|
<div class="text-sm leading-5 font-bold">
|
||||||
{{ app.text }}
|
{{ app.text }}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -194,7 +194,8 @@ export default async function () {
|
||||||
endpoint,
|
endpoint,
|
||||||
section: {
|
section: {
|
||||||
label: sectionTitle,
|
label: sectionTitle,
|
||||||
slug: sectionSlug
|
slug: sectionSlug,
|
||||||
|
icon: ''
|
||||||
},
|
},
|
||||||
content: token.content,
|
content: token.content,
|
||||||
relatedLinks
|
relatedLinks
|
||||||
|
|
|
||||||
|
|
@ -125,7 +125,8 @@ export default async function () {
|
||||||
endpoint: `/game/${slug}`,
|
endpoint: `/game/${slug}`,
|
||||||
section: {
|
section: {
|
||||||
label: 'Games',
|
label: 'Games',
|
||||||
slug: 'games'
|
slug: 'games',
|
||||||
|
icon: '🎮'
|
||||||
},
|
},
|
||||||
content: '',
|
content: '',
|
||||||
relatedLinks: [
|
relatedLinks: [
|
||||||
|
|
|
||||||
|
|
@ -151,7 +151,8 @@ export default async function () {
|
||||||
endpoint: `/formula/${slug}`,
|
endpoint: `/formula/${slug}`,
|
||||||
section: {
|
section: {
|
||||||
label: 'Homebrew',
|
label: 'Homebrew',
|
||||||
slug: 'homebrew'
|
slug: 'homebrew',
|
||||||
|
icon: '🍺'
|
||||||
},
|
},
|
||||||
content: formulae.comments,
|
content: formulae.comments,
|
||||||
relatedLinks: [
|
relatedLinks: [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue