Remove placeholder messages from initial page

This commit is contained in:
Cadence Ember 2020-10-16 03:12:11 +13:00
parent 33e4a7d7cb
commit aaa7305b1c
Signed by: cadence
GPG key ID: BC1C2C61CF521B17
2 changed files with 1 additions and 62 deletions

View file

@ -21,54 +21,7 @@
<div class="c-rooms" id="c-rooms"></div>
<div class="c-chat">
<div class="c-chat__messages">
<div class="c-chat__inner" id="c-chat">
<div class="c-message-notice">
<div class="c-message-notice__inner">You've reached the start of the conversation.</div>
</div>
<div class="c-message-group">
<div class="c-message-group__avatar">
<div class="c-message-group__icon"></div>
</div>
<div class="c-message-group__messages">
<div class="c-message-group__intro">
<div class="c-message-group__name">Cadence</div>
<div class="c-message-group__date">at 4:20 pm</div>
</div>
<div class="c-message">the second button is for rooms (gonna call them &quot;channels&quot; to make discord users happy) that are not in a group (which will be most rooms - few people set up groups because they're so annoying, and many communities of people only need a single chatroom)</div>
<div class="c-message">for now, please assume that current groups (&quot;groups v1&quot;) will not be recognised by this client at all</div>
<div class="c-message">so yeah, press the second button, you see all the ungrouped channels</div>
</div>
</div>
<div class="c-message-event">
<div class="c-message-event__inner"><img class="c-message-event__icon" src="/static/join-event.svg" alt=""/>riley joined the channel.
</div>
</div>
<div class="c-message-group">
<div class="c-message-group__avatar">
<div class="c-message-group__icon"></div>
</div>
<div class="c-message-group__messages">
<div class="c-message-group__intro">
<div class="c-message-group__name">Cadence</div>
<div class="c-message-group__date">at 4:20 pm</div>
</div>
<div class="c-message">hi riley feel free to catch up in your own time</div>
</div>
</div>
<div class="c-message-group">
<div class="c-message-group__avatar">
<div class="c-message-group__icon"></div>
</div>
<div class="c-message-group__messages">
<div class="c-message-group__intro">
<div class="c-message-group__name">riley</div>
<div class="c-message-group__date">at 4:20 pm</div>
</div>
<div class="c-message">henlo</div>
<div class="c-message">wasuwasuwasuwasuuuuuup</div>
</div>
</div>
</div>
<div class="c-chat__inner" id="c-chat"></div>
</div>
<div class="c-chat-input">
<textarea class="c-chat-input__textarea" placeholder="Send a message..." autocomplete="off" id="c-chat-textarea"></textarea>

View file

@ -50,19 +50,5 @@ html
.c-chat
.c-chat__messages
.c-chat__inner#c-chat
+message-notice("You've reached the start of the conversation.")
+message("Cadence", [
`the second button is for rooms (gonna call them "channels" to make discord users happy) that are not in a group (which will be most rooms - few people set up groups because they're so annoying, and many communities of people only need a single chatroom)`,
`for now, please assume that current groups ("groups v1") will not be recognised by this client at all`,
`so yeah, press the second button, you see all the ungrouped channels`
])
+message-event("/static/join-event.svg", "riley joined the channel.")
+message("Cadence", [
`hi riley feel free to catch up in your own time`
])
+message("riley", [
`henlo`,
`wasuwasuwasuwasuuuuuup`
])
.c-chat-input
textarea(placeholder="Send a message..." autocomplete="off").c-chat-input__textarea#c-chat-textarea