Skip to content
This repository was archived by the owner on Dec 8, 2022. It is now read-only.

Commit 657cea4

Browse files
committed
use new graphic for intro video
1 parent be3d58f commit 657cea4

File tree

2 files changed

+28
-26
lines changed

2 files changed

+28
-26
lines changed

src/components/SpeechArea.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
<template>
22
<div class="speech-area">
33
<div class="speech-graphic"></div>
4-
54
<div class="speech-head">
65
<div class="speech-title">
76
<slot name="title" />
87
</div>
98
</div>
10-
119
<div class="speech-body">
1210
<slot name="default" />
1311
</div>
@@ -43,6 +41,8 @@ export default {
4341
position: relative
4442
left: -60px
4543
top: -8px
44+
font-family: "Seymour One", sans-serif
45+
text-transform: uppercase
4646
4747
.speech-body
4848
z-index: 1

src/views/Quiz/QuizIntro.vue

Lines changed: 26 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,45 @@
11
<template>
22
<div class="mt-6">
33
<v-row justify="center">
4-
<quiz-scroll>
5-
<template v-slot:title>Welcome Hero</template>
6-
<template v-slot:default>
7-
<p class="text-center">Watch the video</p>
8-
<p class="text-center">
9-
<iframe
10-
width="400px"
11-
height="300px"
12-
src="https://www.youtube.com/embed/G1LcHvSJL8M"
13-
frameborder="0"
14-
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
15-
allowfullscreen
16-
></iframe>
17-
</p>
18-
<p class="text-center">
19-
<v-btn color="secondary darken-2" @click="onClick" x-large
20-
>OK!</v-btn
21-
>
22-
</p>
23-
</template>
24-
</quiz-scroll>
4+
<div class="container">
5+
<speech-area>
6+
<template v-slot:title>Welcome</template>
7+
<template v-slot:default>
8+
<p class="text-center">Watch the video</p>
9+
<p class="text-center">
10+
<iframe
11+
width="500px"
12+
height="360px"
13+
src="https://www.youtube.com/embed/G1LcHvSJL8M"
14+
frameborder="0"
15+
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
16+
allowfullscreen
17+
></iframe>
18+
</p>
19+
<p class="text-center">
20+
<v-btn color="secondary darken-2" @click="onClick" x-large
21+
>OK!
22+
</v-btn>
23+
</p>
24+
</template>
25+
</speech-area>
26+
</div>
2527
</v-row>
2628
</div>
2729
</template>
2830

2931
<script>
30-
import QuizScroll from "@/components/QuizScroll";
32+
import SpeechArea from "@/components/SpeechArea";
3133
3234
export default {
3335
name: "quiz",
3436
components: {
35-
QuizScroll
37+
SpeechArea
3638
},
3739
methods: {
3840
async onClick() {
3941
await this.$store.dispatch("Quiz/markAsSeen");
40-
this.$router.push({ name: "quiz" });
42+
await this.$router.push({ name: "quiz" });
4143
}
4244
}
4345
};

0 commit comments

Comments
 (0)