23 lines
705 B
HTML
23 lines
705 B
HTML
@if (checkingServer()) {
|
|
<div class="server-check-overlay">
|
|
<div class="spinner-large"></div>
|
|
<p>{{ 'app.connecting' | translate }}</p>
|
|
</div>
|
|
} @else if (!serverAvailable()) {
|
|
<div class="server-error-overlay">
|
|
<div class="error-icon">⚠️</div>
|
|
<h2>{{ 'app.serverUnavailable' | translate }}</h2>
|
|
<p>{{ 'app.serverError' | translate }}</p>
|
|
<button class="retry-btn" (click)="retryConnection()">{{ 'app.retryConnection' | translate }}</button>
|
|
</div>
|
|
} @else {
|
|
<app-header></app-header>
|
|
@if (!isHomePage()) {
|
|
<app-back-button />
|
|
}
|
|
<main class="main-content">
|
|
<router-outlet></router-outlet>
|
|
</main>
|
|
<app-footer></app-footer>
|
|
<app-telegram-login />
|
|
} |