initial commit
- contains basic chat via websocket - contains button to test websocket - contains button to test rest api
This commit is contained in:
20
src/app/app.component.html
Normal file
20
src/app/app.component.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<div class="chat">
|
||||
<app-chat></app-chat>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div class="card-container">
|
||||
<div class="card card-small" (click)="onClickSocket()" tabindex="0">
|
||||
<svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/></svg>
|
||||
|
||||
<span>Send test message</span>
|
||||
</div>
|
||||
|
||||
<div class="card card-small" (click)="onClickApi()" tabindex="0">
|
||||
<svg class="material-icons" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/></svg>
|
||||
|
||||
<span>Call rest api</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<router-outlet></router-outlet>
|
||||
Reference in New Issue
Block a user