forked from cadence/Carbon
Remove placeholder messages from initial page
This commit is contained in:
parent
33e4a7d7cb
commit
aaa7305b1c
2 changed files with 1 additions and 62 deletions
|
@ -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 "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)</div>
|
||||
<div class="c-message">for now, please assume that current groups ("groups v1") 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>
|
||||
|
|
14
src/home.pug
14
src/home.pug
|
@ -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
|
Loading…
Reference in a new issue