mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
pug to html
This commit is contained in:
@@ -1,28 +1,51 @@
|
||||
<template lang="pug">
|
||||
.container-fluid
|
||||
h1 {{ $t('presskit') }}
|
||||
p {{ $t('presskitText', { pressEnquiryEmail : PRESS_ENQUIRY_EMAIL }) }}
|
||||
p
|
||||
a.btn.btn-lg.btn-success(href='/static/presskit/presskit.zip') presskit.zip
|
||||
|
||||
div(v-for='(images, category) in imgs')
|
||||
h2 {{ $t('pk' + category) }}
|
||||
div(v-if='Array.isArray(images)')
|
||||
div(v-for='img in images')
|
||||
img.img-fluid.img-rendering-auto.press-img(:src="`/static/presskit/${category}/${img}`")
|
||||
div(v-else)
|
||||
div(v-for='(images, secondaryCategory) in images')
|
||||
h3 {{ $t('pk' + secondaryCategory) }}
|
||||
div(v-for='img in images')
|
||||
img.img-fluid.img-rendering-auto.press-img(:src="`/static/presskit/${category}/${secondaryCategory}/${img}`")
|
||||
|
||||
h1 {{ $t('FAQ') }}
|
||||
#faq(role='tablist')
|
||||
.faq-question(v-for='(QA, index) in faq')
|
||||
h2(v-b-toggle="QA.question", tabindex="0", role="button", v-html="$t(QA.question)")
|
||||
b-collapse(:id="QA.question", accordion="pkAccordian", role="tabpanel")
|
||||
p(v-html="$t(QA.answer)")
|
||||
p {{ $t('pkMoreQuestions') }}
|
||||
<template>
|
||||
<div class="container-fluid">
|
||||
<h1>{{ $t('presskit') }}</h1><p>{{ $t('presskitText', { pressEnquiryEmail : PRESS_ENQUIRY_EMAIL }) }}</p><p>
|
||||
<a
|
||||
class="btn btn-lg btn-success"
|
||||
href="/static/presskit/presskit.zip"
|
||||
>presskit.zip</a>
|
||||
</p><div v-for="(images, category) in imgs">
|
||||
<h2>{{ $t('pk' + category) }}</h2><div v-if="Array.isArray(images)">
|
||||
<div v-for="img in images">
|
||||
<img
|
||||
class="img-fluid img-rendering-auto press-img"
|
||||
:src="`/static/presskit/${category}/${img}`"
|
||||
>
|
||||
</div>
|
||||
</div><div v-else>
|
||||
<div v-for="(images, secondaryCategory) in images">
|
||||
<h3>{{ $t('pk' + secondaryCategory) }}</h3><div v-for="img in images">
|
||||
<img
|
||||
class="img-fluid img-rendering-auto press-img"
|
||||
:src="`/static/presskit/${category}/${secondaryCategory}/${img}`"
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><h1>{{ $t('FAQ') }}</h1><div
|
||||
id="faq"
|
||||
role="tablist"
|
||||
>
|
||||
<div
|
||||
v-for="(QA, index) in faq"
|
||||
class="faq-question"
|
||||
>
|
||||
<h2
|
||||
v-b-toggle="QA.question"
|
||||
tabindex="0"
|
||||
role="button"
|
||||
v-html="$t(QA.question)"
|
||||
></h2><b-collapse
|
||||
:id="QA.question"
|
||||
accordion="pkAccordian"
|
||||
role="tabpanel"
|
||||
>
|
||||
<p v-html="$t(QA.answer)"></p>
|
||||
</b-collapse>
|
||||
</div>
|
||||
</div><p>{{ $t('pkMoreQuestions') }}</p>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
Reference in New Issue
Block a user