Skip to content
This repository was archived by the owner on Nov 15, 2024. It is now read-only.

Commit 708fa33

Browse files
committed
Add Discord Link
1 parent e49b179 commit 708fa33

File tree

5 files changed

+48
-7
lines changed

5 files changed

+48
-7
lines changed

pages/contact-us.vue

+13-3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
<div class="container contact-us__wrapper">
44
<h3 class="contact-us__title">Contact Us</h3>
55
<div class="contact-us__body">
6+
<div class="contact-us__link-with-icon">
7+
<p class="contact-us__link-with-icon__link" @click="visitLink('https://discord.gg/zFXKG77vq3')">
8+
Join Aura's Discord Channel
9+
</p>
10+
</div>
11+
612
<p class="contact-us__text">
713
If you have any questions, feedbacks, bugs, or suggestions, please
814
feel free to contact us. fill out the form below and we will get back
@@ -12,24 +18,25 @@
1218
v-model="email"
1319
data-testid="contact-us-email"
1420
placeholder="email (optional)"
15-
style="margin-bottom: 20px"
21+
style="margin: 0 0 20px 0; width: 100%"
1622
></AppInput>
1723
<AppSelectInput
1824
:options="feedbackOptions"
1925
:selected-item="selectedFeedbackOption"
2026
data-testid="contact-us-category"
2127
placeholder="-- feedback type * --"
22-
style="margin-bottom: 20px"
28+
style="margin: 0 0 20px 0; width: 100%"
2329
@handleItemClicked="setSelectedFeedbackOption"
2430
/>
2531
<AppInput
2632
v-model="body"
2733
data-testid="contact-us-text"
2834
placeholder="description *"
29-
style="margin-bottom: 20px"
35+
style="margin: 0 0 20px 0; width: 100%"
3036
type="textarea"
3137
></AppInput>
3238
<AppButton data-testid="contact-us-submit" @click.native="handleSendFeedback">Send</AppButton>
39+
3340
</div>
3441
</div>
3542
</section>
@@ -116,6 +123,9 @@ export default {
116123
}
117124
}
118125
},
126+
visitLink(link) {
127+
window.open(link, '_blank');
128+
},
119129
setSelectedFeedbackOption(item) {
120130
this.selectedFeedbackOption = item
121131
},

pages/index.vue

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
But take care, for making poor decisions will drain your power and
1818
harm those around you.
1919
</p>
20-
<p class="landing__link" @click="visitLink('https://www.brightid.org/about-us')"> Learn More about BrightID </p>
20+
<p class="landing__link" style="margin-top: 30px;" @click="visitLink('https://www.brightid.org/about-us')"> Learn More about BrightID </p>
21+
<p class="landing__link" @click="visitLink('https://discord.gg/zFXKG77vq3')"> Join Aura's Discord community</p>
2122
</div>
2223
<div class="landing__input-form">
2324
<h3 class="landing__input-name">Early Access</h3>

static/images/discord.png

20.1 KB
Loading

styles/pages/contact-us.scss

+32-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
@include semi;
1919
display: flex;
2020
justify-content: center;
21-
align-items: center;
21+
align-items: flex-start;
2222
font-size: 24px;
2323
line-height: 130%;
2424
letter-spacing: -0.03em;
@@ -39,7 +39,37 @@
3939
-webkit-background-clip: text;
4040
-webkit-text-fill-color: transparent;
4141
background-clip: text;
42-
text-align: center;
42+
text-align: start;
4343
margin-bottom: 32px;
4444
}
45+
46+
&__link-with-icon {
47+
display: flex;
48+
flex-direction: row;
49+
text-align: left;
50+
float: left;
51+
align-self: flex-start;
52+
align-items: flex-start;
53+
justify-content: left;
54+
column-gap: 0.5rem;
55+
cursor: pointer;
56+
57+
&__link {
58+
@include med;
59+
font-size: 16px;
60+
line-height: 150%;
61+
color: #dfdfdf;
62+
display: flex;
63+
column-gap: 0.3rem;
64+
65+
&:hover {
66+
text-decoration: underline;
67+
}
68+
}
69+
70+
&__icon {
71+
width: 25px;
72+
height: auto;
73+
}
74+
}
4575
}

styles/pages/landing.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
&__link {
55
@include med;
6-
margin-top: 30px;
6+
margin-top: 10px;
77
font-size: 16px;
88
line-height: 150%;
99
color: '#fff';

0 commit comments

Comments
 (0)