This repository has been archived by the owner on Aug 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 111
/
Copy pathhome.component.html
273 lines (253 loc) · 13.3 KB
/
home.component.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
<div *ngIf="showPromoPage" class="promo">
<div class="hero">
<img src="/assets/img/logo/banner-sm.png" class="logo">
<h1>{{'An open source integration manager for Matrix' | translate}}</h1>
<div class="banner">
{{'Self-host your favourite bots, bridges, and widgets.' | translate}}
</div>
<div class="links">
<a href="https://github.com/turt2live/matrix-dimension" target="_blank">{{'source' | translate}}</a>
<a href="https://matrix.to/#/#dimension:t2bot.io">#dimension:t2bot.io</a>
</div>
</div>
<div class="wrapper">
<div class="subhero-wrapper">
<div class="info-box try-dimension shadowed">
<h3>{{'Try it out or' | translate}} <a href="https://github.com/turt2live/matrix-dimension#running-your-own" target="_blank">{{'run your own' | translate}}</a></h3>
<p>
{{'Visit' | translate}} <a href="https://element.t2host.io" target="_blank">element.t2host.io</a>
{{'and log in with your Matrix account or point your Element' | translate}} <code>config.json</code> {{'at our servers:' | translate}}
</p>
<pre>{{ integrationsConfig }}</pre>
</div>
<div class="screenshot shadowed">
<img src="/assets/img/screenshot.png">
</div>
</div>
<hr class="spacer">
<div class="integrations">
<h3 class="title">{{'Widgets' | translate}}</h3>
<p class="intro">{{'Add utility for everyone in your room by embedding an application.' | translate}}</p>
<div class="integration-list">
<div class="integration">
<img src="/assets/img/avatars/jitsi.png">
<span>Jitsi</span>
</div>
<div class="integration">
<img src="/assets/img/avatars/etherpad.png">
<span>{{'Notes' | translate}}</span>
</div>
<div class="integration">
<img src="/assets/img/avatars/tradingview.png">
<span>TradingView</span>
</div>
<div class="integration">
<img src="/assets/img/avatars/spotify.png">
<span>Spotify</span>
</div>
<div class="integration">
<img src="/assets/img/avatars/youtube.png">
<span>YouTube</span>
</div>
<div class="integration">
<img src="/assets/img/avatars/twitch.png">
<span>Twitch Livestream</span>
</div>
<div class="integration">
<img src="/assets/img/avatars/grafana.png">
<span>Grafana</span>
</div>
<div class="integration">
<img src="/assets/img/avatars/googledocs.png">
<span>Google Docs</span>
</div>
<div class="integration">
<img src="/assets/img/avatars/googlecalendar.png">
<span>{{'Google Calendar' | translate}}</span>
</div>
<div class="integration">
<img src="/assets/img/avatars/bigbluebutton.png">
<span>BigBlueButton</span>
</div>
<div class="integration">
<img src="/assets/img/avatars/whiteboard.png">
<span>Whiteboard</span>
</div>
<div class="integration">
<img src="/assets/img/avatars/customwidget.png">
<span>{{'Custom Widget' | translate}}</span>
</div>
</div>
</div>
<hr class="spacer">
<div class="integrations">
<h3 class="title">Bots</h3>
<p class="intro">{{'Bots bring entertainment or productivity to the room. They\'re here to help at your command.' | translate}}</p>
<div class="integration-list">
<!--<div class="integration">-->
<!--<img src="/assets/img/avatars/github.png">-->
<!--<span>GitHub</span>-->
<!--</div>-->
<!--<div class="integration">-->
<!--<img src="/assets/img/avatars/jira.png">-->
<!--<span>Jira</span>-->
<!--</div>-->
<div class="integration">
<img src="/assets/img/avatars/guggy.png">
<span>{{'Guggy' | translate}}</span>
</div>
<div class="integration">
<img src="/assets/img/avatars/giphy.png">
<span>{{'Giphy' | translate}}</span>
</div>
<div class="integration">
<img src="/assets/img/avatars/imgur.png">
<span>{{'Imgur' | translate}}</span>
</div>
<div class="integration">
<img src="/assets/img/avatars/google.png">
<span>{{'Google Image Search' | translate}}</span>
</div>
<div class="integration">
<img src="/assets(img/avatars/wikipedia.png">
<span>{{'Wikipedia' | translate}}</span>
</div>
<div class="integration">
<img src="/assets/img/avatars/travisci.png">
<span>{{'Travis CI' | translate}}</span>
</div>
<!--<div class="integration">-->
<!--<img src="/assets/img/avatars/circleci.png">-->
<!--<span>Circle CI</span>-->
<!--</div>-->
<div class="integration">
<img src="/assets/img/avatars/rssbot.png">
<span>{{'RSS Notifications' | translate}}</span>
</div>
<div class="integration">
<img src="/assets/img/avatars/echo.png">
<span>{{'Echo' | translate}}</span>
</div>
<div class="integration">
<img src="/assets/img/avatars/custombots.png">
<span>{{'Custom Bots' | translate}}</span>
</div>
</div>
</div>
<hr class="spacer">
<div class="integrations">
<h3 class="title">Bridges</h3>
<p class="intro">{{'Bring the outside world into your room with bridges.' | translate}}</p>
<div class="integration-list">
<div class="integration">
<img src="/assets/img/avatars/irc.png">
<span>IRC</span>
</div>
<div class="integration">
<img src="/assets/img/avatars/telegram.png">
<span>Telegram</span>
</div>
<div class="integration">
<img src="/assets/img/avatars/slack.png">
<span>Slack</span>
</div>
<div class="integration">
<img src="/assets/img/avatars/github.png">
<span>GitHub</span>
</div>
<div class="integration">
<img src="/assets/img/avatars/webhooks.png">
<span>Webhooks</span>
</div>
</div>
</div>
<hr class="spacer">
<div class="integrations">
<h3 class="title">{{'Stickers' | translate}}</h3>
<p class="intro">{{'Have some fun and post a sticker.' | translate}}</p>
<div class="integration-list">
<div class="integration">
<img src="https://t2bot.io/_matrix/media/r0/thumbnail/t2bot.io/193408b58f5e1eb72d9bea13f23914e6?width=64&height=64&method=scale&animated=true">
<span>{{'Huskies' | translate}}</span>
</div>
<div class="integration">
<img src="https://t2bot.io/_matrix/media/r0/thumbnail/t2bot.io/8c88a05eb8e5a555830c8fffa36043f5?width=64&height=64&method=scale&animated=true">
<span>{{'Cats' | translate}}</span>
</div>
<div class="integration">
<img src="https://t2bot.io/_matrix/media/r0/thumbnail/t2bot.io/01e06e2489185ac5b1fc73c904e1d5f0?width=64&height=64&method=scale&animated=true">
<span>{{'Cat Faces' | translate}}</span>
</div>
<div class="integration">
<img src="https://t2bot.io/_matrix/media/r0/thumbnail/t2bot.io/d7a7c72df5ea59c432eb142646b45a96?width=64&height=64&method=scale&animated=true">
<span>{{'Loading Artist' | translate}}</span>
</div>
</div>
</div>
<hr class="spacer">
</div>
<div class="footer">
<a href="https://github.com/turt2live/matrix-dimension" target="_blank">{{'source on GitHub' | translate}}</a>
<a href="https://matrix.org" target="_blank" class="made-for-matrix-anchor">
<img src="/assets/img/logo/made-for-matrix.svg" class="made-for-matrix">
</a>
<a href="https://matrix.to/#/#dimension:t2bot.io">#dimension:t2bot.io</a>
</div>
</div>
<div *ngIf="!showPromoPage" class="non-promo">
<div class="hero">
<img src="/assets/img/logo/banner-sm.png" class="logo">
<div class="links">
<a href="https://github.com/turt2live/matrix-dimension" target="_blank">{{'source' | translate}}</a>
<a href="https://matrix.to/#/#dimension:t2bot.io">#dimension:t2bot.io</a>
</div>
</div>
<div class="wrapper">
<div class="info-box welcome shadowed">
<h3>{{'Welcome to Dimension!' | translate}}</h3>
<p>
{{'Join' | translate}} <a href="https://matrix.to/#/#dimension:t2bot.io" target="_blank">#dimension:t2bot.io</a>
{{'for news and updates. Don\'t forget to star the repository on' | translate}}
<a href="https://github.com/turt2live/matrix-dimension" target="_blank">GitHub</a>.
</p>
<p>{{'Here\'s the configuration options you\'ll need to update in your Element' | translate}} <code>config.json</code>:</p>
<pre>{{ integrationsConfig }}</pre>
{{'The location of' | translate}} <code>config.json</code>
{{'differs depending on whether the' | translate}}
<a href="https://github.com/vector-im/element-web/blob/develop/docs/config.md" target="_blank">web</a>
{{'or' | translate}}
<a href="https://github.com/vector-im/element-desktop#user-specified-configjson" target="_blank">desktop</a>
{{'version of Element is used.' | translate}}
<h4>{{'Configuring integrations' | translate}}</h4>
<p>
{{'If everything is set up correctly, you\'ll be able to access the admin area of Dimension by clicking the 3x3 grid in the top right of any room in Element. The gear icon' | translate}}
(<i class="fa fa-cog"></i>) {{'in the top right is where you can configure your bots, bridges, and widgets.' | translate}}
</p>
<h4>{{'Could not connect to integrations server error' | translate}}</h4>
<p>
{{'When Element cannot reach Dimension or Dimension is unable to reach your homeserver an error saying \'Could not contact integrations server\' shows up in every room. Before visiting us in' | translate}}
<a href="https://matrix.to/#/#dimension:t2bot.io" target="_blank">#dimension:t2bot.io</a>
{{'on Matrix, here\'s a few things to check:' | translate}}
</p>
<ul>
<li><strong>{{'Verify the homeserver configuration in Dimension.' | translate}}</strong>
{{'The name, client/server URL, and access token all need to be valid and directed at your homeserver.' | translate}}
</li>
<li><strong>{{'Verify federation is enabled on your homeserver.' | translate}}</strong>
{{'Even in a private, or non-federated, environment federation needs to be enabled so Dimension can work correctly. Dimension should still work okay if federation on your homeserver is bound to a private interface instead of being public - just be sure to set the federation URL in your configuration.' | translate}}
</li>
<li><strong>{{'Verify that federation is working on your homeserver.' | translate}}</strong>
{{'Using tools like the' | translate}} <a href="https://matrix.org/federationtester/api/report?server_name=YOUR_SERVER_HERE.com">{{'federation tester' | translate}}</a>
{{', make sure that federation is working on your homeserver.' | translate}}
</li>
</ul>
</div>
</div>
<div class="footer">
<a href="https://github.com/turt2live/matrix-dimension" target="_blank">{{'source on GitHub' | translate}}</a>
<a href="https://matrix.org" target="_blank" class="made-for-matrix-anchor">
<img src="/assets/img/logo/made-for-matrix.svg" class="made-for-matrix">
</a>
<a href="https://matrix.to/#/#dimension:t2bot.io">#dimension:t2bot.io</a>
</div>
</div>