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

Commit ac56e3f

Browse files
authored
Merge pull request #87 from codewizardshq/help-widget
change Twitter/Facebook buttons to open a new Tweet/FB Post
2 parents c0a945e + e01bccd commit ac56e3f

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

src/components/QuizNeedHelp.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ export default {
3737
icons: [
3838
{
3939
icon: "twitter",
40-
to: "https://twitter.com/CodeWizardsHQ"
40+
to: "https://twitter.com/intent/tweet?text=The%20Dragon%20Quest%20%E2%80%93%20Code%20Challenge&url=https%3A%2F%2Fcodewizardshq.com%2Fchallenge%2F&original_referer="
4141
},
4242
{
4343
icon: "facebook",
44-
to: "https://www.facebook.com/events/501020200554546/"
44+
to: "https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fcodewizardshq.com%2Fchallenge%2F&src=sdkpreparse"
4545
},
4646
{
4747
icon: "linkedin",

src/components/Toolbars/QuizBar.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<v-list-item :to="{ name: 'faq' }">
4141
<v-list-item-title>Check The FAQ</v-list-item-title>
4242
</v-list-item>
43-
<v-list-item href="https://discord.gg/HKnpzjQ" target="_blank">
43+
<v-list-item href="https://discord.gg/NuKfKZ8" target="_blank">
4444
<v-list-item-title>Get Help On Discord</v-list-item-title>
4545
</v-list-item>
4646
<v-list-item
@@ -66,9 +66,9 @@
6666
</template>
6767

6868
<script>
69-
import { User, Quiz } from "@/store";
69+
import {Quiz, User} from "@/store";
7070
71-
export default {
71+
export default {
7272
name: "quizBar",
7373
computed: {
7474
...User.mapState(),

src/views/Quiz/QuizCountdown.vue

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
:style="{ backgroundColor: 'white !important' }"
3434
x-large
3535
color="blue"
36-
href="https://www.facebook.com/events/501020200554546/"
36+
href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fcodewizardshq.com%2Fchallenge%2F&amp;src=sdkpreparse"
3737
icon
3838
><v-icon>mdi-facebook</v-icon></v-btn
3939
>
@@ -42,7 +42,7 @@
4242
:style="{ backgroundColor: 'white !important' }"
4343
x-large
4444
color="blue"
45-
href="https://twitter.com/CodeWizardsHQ"
45+
href="https://twitter.com/intent/tweet?text=The%20Dragon%20Quest%20%E2%80%93%20Code%20Challenge&url=https%3A%2F%2Fcodewizardshq.com%2Fchallenge%2F&original_referer="
4646
icon
4747
><v-icon>mdi-twitter</v-icon></v-btn
4848
>
@@ -54,10 +54,11 @@
5454
</template>
5555

5656
<script>
57-
import QuizNeedHelp from "@/components/QuizNeedHelp";
58-
import QuizScroll from "@/components/QuizScroll";
59-
import { Quiz, User } from "@/store";
60-
export default {
57+
import QuizNeedHelp from "@/components/QuizNeedHelp";
58+
import QuizScroll from "@/components/QuizScroll";
59+
import {Quiz, User} from "@/store";
60+
61+
export default {
6162
name: "quiz",
6263
components: {
6364
QuizScroll,

0 commit comments

Comments
 (0)