Basic ConverseJS landing page

This commit is contained in:
Mike Barnes 2021-02-25 22:45:51 +00:00
parent 284f85bca3
commit b196181ce2

46
www/index.html Normal file
View file

@ -0,0 +1,46 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Social Chat</title>
<link rel="shortcut icon" type="image/ico" href="css/images/favicon.ico"/>
<link rel="stylesheet" type="text/css" media="screen" href="https://cdn.conversejs.org/7.0.4/dist/converse.min.css">
<script src="js/libsignal-protocol.js"></script>
<script src="https://cdn.conversejs.org/7.0.4/dist/converse.min.js" charset="utf-8"></script>
</head>
<body class="reset">
<div class="converse-content" style="display:none">
<div class="inner-content converse-brand row">
<div class="converse-brand__padding"></div>
<div class="converse-brand__heading">
<div class="converse-brand__text"><i class="icon-conversejs"></i>Converse</div>
</div>
</div>
</div>
</body>
<script>
converse.initialize({
//bosh_service_url: 'https://chat.chinwag.org/bosh',
websocket_url: 'wss://chat.chinwag.org:443/ws',
authentication: 'login',
allow_registration: false,
auto_away: 300,
auto_join_rooms: ['beergarden@rooms.chinwag.org'],
auto_list_rooms: true,
auto_reconnect: true,
discover_connection_methods: false,
domain_placeholder: 'chinwag.org',
keepalive: true,
locked_domain: 'chinwag.org',
message_archiving: 'always',
message_carbons: true,
muc_domain: 'rooms.chinwag.org',
muc_nickname_from_jid: true,
muc_show_join_leave: false,
persistent_store: 'IndexedDB',
theme: 'concord',
use_system_emojis: false,
view_mode: 'fullscreen'
});
</script>
</html>