Skip to content

Commit e1f264c

Browse files
authored
Merge pull request element-hq#13888 from vector-im/t3chguy/riotbot
Get rid of welcome.html's Chat with Riot Bot button to release
2 parents 9e36e7f + c6688f0 commit e1f264c

2 files changed

Lines changed: 9 additions & 21 deletions

File tree

‎res/welcome.html‎

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -96,19 +96,10 @@
9696
color: #2e2f32 !important;
9797
}
9898

99-
.mx_ButtonHeadline {
100-
margin-bottom: 14px;
101-
}
102-
10399
.mx_ButtonLabel {
104100
margin-left: 20px;
105101
}
106102

107-
.mx_ButtonWrapperText {
108-
font-size: 13px;
109-
margin-bottom: 10px;
110-
}
111-
112103
.mx_Header_title {
113104
font-size: 24px;
114105
font-weight: 600;
@@ -158,6 +149,13 @@
158149
display: none;
159150
}
160151

152+
.mx_ButtonRow.mx_WelcomePage_guestFunctions {
153+
margin-top: 20px;
154+
}
155+
.mx_ButtonRow.mx_WelcomePage_guestFunctions > div {
156+
margin: 0 auto;
157+
}
158+
161159
@media only screen and (max-width: 480px) {
162160
.mx_ButtonRow {
163161
flex-direction: column;
@@ -192,15 +190,8 @@ <h4 class="mx_Header_subtitle">_t("Decentralised, encrypted chat &amp; collabora
192190
<!-- BEGIN Ansible: Remove these lines when guest access is disabled -->
193191
<div class="mx_ButtonRow mx_WelcomePage_guestFunctions">
194192
<div>
195-
<div class="mx_ButtonWrapperText">_t("Need help?")</div>
196-
<a href="#/user/@riot-bot:matrix.org?action=chat" class="mx_ButtonParent mx_SecondaryButton mx_Button_iconHelp">
197-
<div class="mx_ButtonLabel">_t("Chat with Riot Bot")</div>
198-
</a>
199-
</div>
200-
<div>
201-
<div class="mx_ButtonWrapperText">_t("Explore rooms")</div>
202193
<a href="#/directory" class="mx_ButtonParent mx_SecondaryButton mx_Button_iconRoomDirectory">
203-
<div class="mx_ButtonLabel">_t("Room Directory")</div>
194+
<div class="mx_ButtonLabel">_t("Explore rooms")</div>
204195
</a>
205196
</div>
206197
</div>

‎src/i18n/strings/en_EN.json‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,5 @@
3131
"Decentralised, encrypted chat &amp; collaboration powered by [matrix]": "Decentralised, encrypted chat &amp; collaboration powered by [matrix]",
3232
"Sign In": "Sign In",
3333
"Create Account": "Create Account",
34-
"Need help?": "Need help?",
35-
"Chat with Riot Bot": "Chat with Riot Bot",
36-
"Explore rooms": "Explore rooms",
37-
"Room Directory": "Room Directory"
34+
"Explore rooms": "Explore rooms"
3835
}

0 commit comments

Comments
 (0)