2020-10-09 03:15:45 +02:00
|
|
|
<template>
|
2020-10-12 19:41:52 +02:00
|
|
|
<div>
|
|
|
|
<h1 class="title has-text-centered">Tornado.cash <span>Ceremony</span></h1>
|
2020-11-03 07:54:19 +01:00
|
|
|
<h2 class="subtitle has-text-centered">{{ $t('pageSubtitle') }}</h2>
|
2020-10-12 19:41:52 +02:00
|
|
|
|
|
|
|
<div class="buttons is-centered">
|
2020-10-13 09:49:08 +02:00
|
|
|
<b-button
|
|
|
|
type="is-primary"
|
|
|
|
outlined
|
|
|
|
icon-left="tool"
|
|
|
|
@mousedown="(e) => e.preventDefault()"
|
|
|
|
@click="onStart"
|
2020-11-03 07:54:19 +01:00
|
|
|
>{{ $t('startNow') }}</b-button
|
2020-10-13 09:49:08 +02:00
|
|
|
>
|
2020-10-12 19:41:52 +02:00
|
|
|
</div>
|
|
|
|
|
2020-11-03 07:54:19 +01:00
|
|
|
<i18n tag="h3" class="title is-14px mt-6" path="completedTasks">
|
|
|
|
<template v-slot:progress>
|
|
|
|
<span>5/16</span>
|
|
|
|
</template>
|
|
|
|
</i18n>
|
2020-10-12 19:41:52 +02:00
|
|
|
|
|
|
|
<div class="tornado-discoverer image is-16by9"></div>
|
|
|
|
|
2020-10-13 09:49:08 +02:00
|
|
|
<steps ref="steps" />
|
2020-10-12 19:41:52 +02:00
|
|
|
</div>
|
2020-10-09 03:15:45 +02:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2020-10-12 19:41:52 +02:00
|
|
|
import Steps from '@/components/Steps'
|
|
|
|
|
2020-10-09 03:15:45 +02:00
|
|
|
export default {
|
2020-10-12 19:41:52 +02:00
|
|
|
components: {
|
|
|
|
Steps,
|
|
|
|
},
|
2020-10-13 09:49:08 +02:00
|
|
|
methods: {
|
|
|
|
scrollTo(element) {
|
|
|
|
window.scrollTo({
|
|
|
|
behavior: 'smooth',
|
|
|
|
left: 0,
|
|
|
|
top: element.getBoundingClientRect().top,
|
|
|
|
})
|
|
|
|
},
|
|
|
|
onStart() {
|
|
|
|
this.scrollTo(this.$refs.steps.$el)
|
|
|
|
},
|
|
|
|
},
|
2020-10-09 03:15:45 +02:00
|
|
|
}
|
|
|
|
</script>
|