[Add] vote introduction, rules and link

Style: article text style
Style: vote button
Style: ordered list
This commit is contained in:
Tony Yang 2021-04-01 01:55:24 +08:00
parent 49fb3065c7
commit 39d778ab43
Signed by: t510599
GPG Key ID: D88388851C28715D
2 changed files with 86 additions and 12 deletions

View File

@ -1,16 +1,56 @@
@import './breakpoint';
@import './color';
$fontFamily: "Noto Serif CJK TC -Black";
#agenda {
margin: 0 auto;
max-width: 1200px;
margin: 0 auto;
max-width: 1200px;
div.event.container {
display: grid;
grid-template-columns: min-content repeat(6, 1fr) min-content;
column-gap: 30px;
font-family: $fontFamily;
font-size: 22px;
img.arrow {
margin: auto;
width: fit-content;
height: calc(99/217 * 100%);
}
article {
white-space: pre-wrap;
line-height: 2;
}
p.vote {
text-align: center;
padding: 80px 0;
a.vote.button {
display: inline-block;
padding: 7px 20px;
background-color: $indigo-blue;
border: none;
border-radius: 32px;
font: inherit;
color: white;
font-size: 26px;
line-height: 1.44;
}
}
ol.vote.rule {
counter-reset: 0;
li {
line-height: 2;
}
}
div.event.container {
display: grid;
grid-template-columns: min-content repeat(6, 1fr) min-content;
column-gap: 30px;
img.arrow {
margin: auto;
width: fit-content;
height: calc(99/217 * 100%);
}
}
}

View File

@ -1,6 +1,27 @@
<template>
<div id="agenda">
<div class="event container">
<!-- Vote Section -->
<BlockTitle text="人氣投票" id="#vote" />
<article>
投票時間4/2 () 20:00 4/9 () 23:59UTC+8<br />
投票資格 4/9 () 23:59 前取得 2021 年會門票的與會者不分票種2021 年會志工2021 年會講者
</article>
<p class="vote"><a class="vote button" href="https://docs.google.com/forms/d/e/1FAIpQLSdWJtLP96bqXWukmOEar0xiBfGScm3qAlp-Xii05-cmU2Gxlg/viewform" target="_blank" rel="noopeener">投票去</a></p>
<article>
注意事項
<ol class="vote rule">
<li>0. 事前人氣投票結果將作為議程組與審稿委員會於安排議程時段與會議廳的參考依據之一</li>
<li>1. 投票為記名投票使用 KKTIX 四碼檢查碼作為投票依據議程組以檢查碼辨識投票的人是否持有年會門票不對外公布各組檢查碼的具體投票內容</li>
<li>2. 三個議程種類EspressoDouble Espresso Presentation可各選擇投給 1 個議程</li>
<li>3. 若同一議程種類選擇超過一個議程或不選擇任何議程視為無效票各個議程種類的選票有效性互相獨立無效票不影響其他議程種類的選票認定舉例來說 Espresso 選擇 2 個議程Double Espresso 選擇 1 個議程Presentation 選擇 0 個議程 Double Espresso 的部分為有效票其他二種議程為無效票</li>
<li>4. 此投票表單使用 Google Forms隨機決定問題順序功能決定各個議程的顯示順序</li>
<li>5. 在投票截止前可以使用同一組檢查碼重複投票計票時以最新一筆投票記錄為準</li>
</ol>
</article>
<!-- Vote Section End -->
<!-- Event Section -->
<BlockTitle text="活動" id="#event" />
<div v-if="!isMobile()" class="event container">
<img class="arrow" src="@/assets/images/arrow-left.svg">
<EventBlock icon="union" text="大地遊戲"/>
<EventBlock icon="stall-outline" text="社群攤位"/>
@ -10,19 +31,32 @@
<EventBlock text="開放式\n議程"/>
<img class="arrow" src="@/assets/images/arrow-right.svg">
</div>
<div v-if="isMobile()" class="mobile event container">
<!-- TODO -->
</div>
<!-- Event Section End -->
</div>
</template>
<script lang="ts">
import { Watch, Component, Prop, Vue } from 'vue-property-decorator';
import { Action, Getter } from 'vuex-class';
import { DeviceType } from '@/store/types/app';
import EventBlock from '../components/EventBlock.vue';
import BlockTitle from '../components/BlockTitle.vue';
@Component({
components: {
EventBlock
BlockTitle
}
})
export default class Agenda extends Vue {
@Getter('device', { namespace: 'app' }) private device!: DeviceType;
private isMobile (): boolean {
return this.device === DeviceType.MOBILE;
}
}
</script>
<style lang="scss">