Skip to content

Commit f86b616

Browse files
committed
status homepage
1 parent ea19096 commit f86b616

8 files changed

Lines changed: 186 additions & 0 deletions

File tree

‎config.sample.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"bug_report_endpoint_url": "https://riot.im/bugreports/submit",
88
"enableLabs": true,
99
"default_federate": true,
10+
"welcomePageUrl": "home.html",
1011
"default_theme": "light",
1112
"roomDirectory": {
1213
"servers": [

‎res/home-status.html‎

Lines changed: 184 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,184 @@
1+
<style type="text/css">
2+
3+
/* we deliberately inline style here to avoid flash-of-CSS problems, and to avoid
4+
* voodoo where we have to set display: none by default
5+
*/
6+
7+
.mx_HomePage_container {
8+
text-align: center;
9+
display: block ! important;
10+
width: 690px;
11+
margin: 20px;
12+
}
13+
14+
.mx_HomePage_header {
15+
margin-top: 37px;
16+
margin-left: 10px;
17+
width: 670px;
18+
box-sizing: border-box;
19+
font-size: 18px;
20+
background-color: #fff;
21+
box-shadow: 0px 2px 10px 0px rgba(48,55,81,0.05);
22+
border-radius: 5px;
23+
padding: 20px 80px 20px 80px;
24+
align-items: center;
25+
}
26+
27+
.mx_HomePage_header h1 {
28+
font-size: 29px;
29+
margin-bottom: 10px;
30+
}
31+
32+
.mx_HomePage_intro h2 {
33+
margin-top: 32px;
34+
font-size: 25px;
35+
color: #49555F;
36+
}
37+
38+
.mx_HomePage_intro {
39+
margin: auto;
40+
width: 600px;
41+
margin-top: 40px;
42+
margin-bottom: 40px;
43+
font-size: 18px;
44+
}
45+
46+
.mx_HomePage_coc {
47+
font-size: 16px;
48+
}
49+
50+
.mx_HomePage_coc a {
51+
color: #4360DF;
52+
}
53+
54+
.mx_HomePage_room, .mx_HomePage_telegram {
55+
float: left;
56+
background-color: #fff;
57+
box-shadow: 0px 2px 10px 0px rgba(48,55,81,0.05);
58+
border-radius: 5px;
59+
margin: 10px;
60+
width: 210px;
61+
height: 250px;
62+
display: flex;
63+
flex-direction: column;
64+
align-items: center;
65+
}
66+
67+
.mx_HomePage_telegram {
68+
background-color: transparent;
69+
border: 1px solid rgba(113, 129, 142, 0.2);
70+
box-shadow: none;
71+
display: flex;
72+
align-items: center;
73+
justify-content: center;
74+
flex-direction: column;
75+
font-size: 16px;
76+
line-height: 25px;
77+
box-sizing: border-box;
78+
}
79+
80+
.mx_HomePage_telegram a {
81+
text-transform: uppercase;
82+
color: #4360DF;
83+
font-size: 13px;
84+
font-family: PostGrotesk-Medium;
85+
}
86+
87+
.mx_HomePage_room .mx_HomePage_icon {
88+
margin-top: 24px;
89+
margin-bottom: 16px;
90+
width: 50px;
91+
height: 50px;
92+
}
93+
94+
.mx_HomePage_room .mx_HomePage_name {
95+
display: block;
96+
font-family: PostGrotesk-Medium;
97+
font-weight: 600;
98+
font-size: 15px;
99+
color: #49555F;
100+
line-height: 25px;
101+
margin: 0px 12px 0px 12px;
102+
}
103+
104+
.mx_HomePage_room .mx_HomePage_desc {
105+
flex: 1;
106+
display: block;
107+
margin: 0px 12px 0px 12px;
108+
font-size: 14px;
109+
line-height: 20px;
110+
}
111+
112+
.mx_HomePage_button {
113+
align-self: normal;
114+
margin: 12px;
115+
border-radius: 8px;
116+
border: 1px solid rgba(199, 206, 209, 0.12);
117+
background-color: #6CC1F6;
118+
font-size: 13px;
119+
font-family: PostGrotesk-Medium;
120+
text-transform: uppercase;
121+
letter-spacing: 1px;
122+
color: #fff ! important;
123+
cursor: pointer;
124+
outline: none;
125+
padding: 14px;
126+
box-sizing: border-box;
127+
padding-left: 1.5em;
128+
padding-right: 1.5em;
129+
}
130+
131+
</style>
132+
133+
<div class="mx_HomePage_container">
134+
<div class="mx_HomePage_header">
135+
<div>
136+
<h1>Welcome to Status Community Chat, powered by Riot.</h1>
137+
<p>For contributors, developers and Ethereum-enthusiasts who care about the movement for decentralization.</p>
138+
</div>
139+
</div>
140+
141+
<div class="mx_HomePage_intro">
142+
<h2>Our rooms</h2>
143+
<p>Please abide by the channels discussion categories and remain on topic to the specific category details listed.</p>
144+
<p class="mx_HomePage_coc">Before posting please refer to our <a href="#">Code of Conduct</a></p>
145+
</div>
146+
147+
148+
<div class="mx_HomePage_room">
149+
<img class="mx_HomePage_icon" src="themes/status/img/a.png">
150+
<span class="mx_HomePage_name">#announcements</span>
151+
<span class="mx_HomePage_desc">Company wide announcements.</span>
152+
<a class="mx_HomePage_button" href="#/room/#announcements:status.im">Join</a>
153+
</div>
154+
<div class="mx_HomePage_room">
155+
<img class="mx_HomePage_icon" src="themes/status/img/i.png">
156+
<span class="mx_HomePage_name">#introductions</span>
157+
<span class="mx_HomePage_desc">Newcomer introductions.</span>
158+
<a class="mx_HomePage_button" href="#/room/#introductions:status.im">Join</a>
159+
</div>
160+
<div class="mx_HomePage_room">
161+
<img class="mx_HomePage_icon" src="themes/status/img/g.png">
162+
<span class="mx_HomePage_name">#general</span>
163+
<span class="mx_HomePage_desc">General discussions of Status.</span>
164+
<a class="mx_HomePage_button" href="#/room/#general:status.im">Join</a>
165+
</div>
166+
<div class="mx_HomePage_room">
167+
<img class="mx_HomePage_icon" src="themes/status/img/d.png">
168+
<span class="mx_HomePage_name">#dev-status</span>
169+
<span class="mx_HomePage_desc">Contributing to our codebase? Building a DApp or a chatbot? We're here to help.</span>
170+
<a class="mx_HomePage_button" href="#/room/#dev-status:status.im">Join</a>
171+
</div>
172+
<div class="mx_HomePage_room">
173+
<img class="mx_HomePage_icon" src="themes/status/img/n.png">
174+
<span class="mx_HomePage_name">#news-articles</span>
175+
<span class="mx_HomePage_desc">Share news, articles related to Ethereum or projects you're excited about</span>
176+
<a class="mx_HomePage_button" href="#/room/#news-articles:status.im">Join</a>
177+
</div>
178+
<div class="mx_HomePage_telegram">
179+
<p>
180+
Interested in market and cryptocurrency type discussions?
181+
</p>
182+
<a href="#">Join Telegram</a>
183+
</div>
184+
</div>

‎scripts/copy-res.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ const INCLUDE_LANGS = [
4242
const COPY_LIST = [
4343
["res/manifest.json", "webapp"],
4444
["res/home.html", "webapp"],
45+
["res/home-status.html", "webapp"],
4546
["res/home/**", "webapp/home"],
4647
["res/{media,vector-icons}/**", "webapp"],
4748
["res/flags/*", "webapp/flags/"],
3.69 KB
Loading
3.49 KB
Loading
3.81 KB
Loading
3.1 KB
Loading
3.58 KB
Loading

0 commit comments

Comments
 (0)