new structure

This commit is contained in:
2022-10-22 15:20:59 +10:00
parent 3a4d3fea18
commit 56cbf7b140
19 changed files with 296 additions and 57 deletions

View File

@@ -1,23 +1,18 @@
<div class="wrappe">
<img src="http://static.vdk2ch.ru:15555/test-public/16657431265390.png" alt="свiня" width="150">
<app-send-post></app-send-post>,
<app-send-post></app-send-post>,
<button (click)="refreshPosts()">Обновить</button>
<post-single
*ngFor="let post of postsToShow" [post]="post"
></post-single>
<p></p>
<button (click)="refreshPosts()">Обновить</button>
<button (click)="listPosts()">Обновить</button>
<div *ngIf="response">
<div class="singlePost" *ngFor="let post of response">
<a href="#{{post.Id}}"></a>
<img src="http://static.vdk2ch.ru:15555/test-public/оладий.jpg" alt="anonpls" width="140">
<p> >>{{post.Id}} {{post.Date}}</p>
<p>{{post.Text}}</p>
</div>
</div>
<br>
<div class="hexagon">
<div class="hexagon-inside">
<div class="hexagon-image">
</div>
<div class="hexagon-image">
</div>
</div>
</div>
</div>