2018-02-14 21:36:42 -06:00
|
|
|
<template>
|
2018-02-23 11:46:09 -06:00
|
|
|
<div class="mkw-donation" :data-mobile="isMobile">
|
2018-02-14 21:36:42 -06:00
|
|
|
<article>
|
|
|
|
<h1>%fa:heart%%i18n:desktop.tags.mk-donation-home-widget.title%</h1>
|
|
|
|
<p>
|
|
|
|
{{ '%i18n:desktop.tags.mk-donation-home-widget.text%'.substr(0, '%i18n:desktop.tags.mk-donation-home-widget.text%'.indexOf('{')) }}
|
2018-02-19 01:08:41 -06:00
|
|
|
<a href="https://syuilo.com">@syuilo</a>
|
2018-02-14 21:36:42 -06:00
|
|
|
{{ '%i18n:desktop.tags.mk-donation-home-widget.text%'.substr('%i18n:desktop.tags.mk-donation-home-widget.text%'.indexOf('}') + 1) }}
|
|
|
|
</p>
|
|
|
|
</article>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
2018-02-24 09:18:09 -06:00
|
|
|
import define from '../../../common/define-widget';
|
2018-02-14 21:36:42 -06:00
|
|
|
export default define({
|
|
|
|
name: 'donation'
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="stylus" scoped>
|
|
|
|
.mkw-donation
|
|
|
|
background #fff
|
|
|
|
border solid 1px #ead8bb
|
|
|
|
border-radius 6px
|
|
|
|
|
|
|
|
> article
|
|
|
|
padding 20px
|
|
|
|
|
|
|
|
> h1
|
|
|
|
margin 0 0 5px 0
|
|
|
|
font-size 1em
|
|
|
|
color #888
|
|
|
|
|
|
|
|
> [data-fa]
|
|
|
|
margin-right 0.25em
|
|
|
|
|
|
|
|
> p
|
|
|
|
display block
|
|
|
|
z-index 1
|
|
|
|
margin 0
|
|
|
|
font-size 0.8em
|
|
|
|
color #999
|
|
|
|
|
2018-02-23 11:46:09 -06:00
|
|
|
&[data-mobile]
|
|
|
|
border none
|
|
|
|
background #ead8bb
|
|
|
|
border-radius 8px
|
|
|
|
box-shadow 0 0 0 1px rgba(0, 0, 0, 0.2)
|
|
|
|
|
|
|
|
> article
|
|
|
|
> h1
|
|
|
|
color #7b8871
|
|
|
|
|
|
|
|
> p
|
|
|
|
color #777d71
|
|
|
|
|
2018-02-14 21:36:42 -06:00
|
|
|
</style>
|