Merge branch 'develop'

This commit is contained in:
Sam Carlton 2020-11-28 16:16:51 -06:00
commit ddeca5d8fb
2 changed files with 33 additions and 14 deletions

View file

@ -72,7 +72,13 @@ export const categories = {
label: 'Games',
pluralLabel: 'Games',
slug: 'games',
icon: '🎮'
icon: '🎮',
requestLinks: [
{
href: 'https://forms.gle/29GWt85i1G1L7Ttj8',
label: 'Request a Game'
}
]
},
'homebrew': {
...categoryTemplate,

View file

@ -18,20 +18,33 @@
@update:query="query = $event"
/>
<div class="flex flex-col md:flex-row space-x-0 space-y-4 md:space-y-0 md:space-x-4">
<LinkButton
:href="`https://github.com/ThatGuySam/doesitarm/issues?q=is%3Aissue+${query}`"
class="text-xs"
>
Request an App with Github
</LinkButton>
<LinkButton
:href="`https://twitter.com/DoesItARM/status/1330027384041508865`"
class="text-xs"
>
Request an App with Twitter
</LinkButton>
<div class="flex flex-col md:flex-row space-x-0 space-y-4 md:space-y-0 md:space-x-4">
<template v-if="category.requestLinks">
<LinkButton
v-for="link in category.requestLinks"
:key="link.label"
:href="link.href"
class="text-xs"
>
{{ link.label }}
</LinkButton>
</template>
<template v-else>
<LinkButton
:href="`https://github.com/ThatGuySam/doesitarm/issues?q=is%3Aissue+${query}`"
class="text-xs"
>
Request an App with Github
</LinkButton>
<LinkButton
:href="`https://twitter.com/DoesItARM/status/1330027384041508865`"
class="text-xs"
>
Request an App with Twitter
</LinkButton>
</template>
</div>
</div>