diff --git a/client/src/app/+login/login.component.ts b/client/src/app/+login/login.component.ts index 1e224db8c..a414a2121 100644 --- a/client/src/app/+login/login.component.ts +++ b/client/src/app/+login/login.component.ts @@ -7,7 +7,7 @@ import { LOGIN_PASSWORD_VALIDATOR, LOGIN_USERNAME_VALIDATOR } from '@app/shared/ import { USER_OTP_TOKEN_VALIDATOR } from '@app/shared/form-validators/user-validators' import { FormReactive, FormReactiveService, InputTextComponent } from '@app/shared/shared-forms' import { InstanceAboutAccordionComponent } from '@app/shared/shared-instance' -import { NgbAccordion, NgbModal, NgbModalRef } from '@ng-bootstrap/ng-bootstrap' +import { NgbAccordionDirective, NgbModal, NgbModalRef } from '@ng-bootstrap/ng-bootstrap' import { getExternalAuthHref } from '@shared/core-utils' import { RegisteredExternalAuthConfig, ServerConfig, ServerErrorCode } from '@shared/models' @@ -23,7 +23,7 @@ export class LoginComponent extends FormReactive implements OnInit, AfterViewIni @ViewChild('forgotPasswordModal', { static: true }) forgotPasswordModal: ElementRef @ViewChild('otpTokenInput') otpTokenInput: InputTextComponent - accordion: NgbAccordion + accordion: NgbAccordionDirective error: string = null forgotPasswordEmail = '' diff --git a/client/src/app/+signup/+register/register.component.ts b/client/src/app/+signup/+register/register.component.ts index 9259d902c..c17a3f380 100644 --- a/client/src/app/+signup/+register/register.component.ts +++ b/client/src/app/+signup/+register/register.component.ts @@ -5,7 +5,7 @@ import { ActivatedRoute } from '@angular/router' import { AuthService } from '@app/core' import { HooksService } from '@app/core/plugins/hooks.service' import { InstanceAboutAccordionComponent } from '@app/shared/shared-instance' -import { NgbAccordion } from '@ng-bootstrap/ng-bootstrap' +import { NgbAccordionDirective } from '@ng-bootstrap/ng-bootstrap' import { UserRegister } from '@shared/models' import { ServerConfig } from '@shared/models/server' import { SignupService } from '../shared/signup.service' @@ -18,7 +18,7 @@ import { SignupService } from '../shared/signup.service' export class RegisterComponent implements OnInit { @ViewChild('lastStep') lastStep: CdkStep - accordion: NgbAccordion + accordion: NgbAccordionDirective signupError: string signupSuccess = false diff --git a/client/src/app/shared/shared-instance/instance-about-accordion.component.html b/client/src/app/shared/shared-instance/instance-about-accordion.component.html index ac8c01856..5c679685b 100644 --- a/client/src/app/shared/shared-instance/instance-about-accordion.component.html +++ b/client/src/app/shared/shared-instance/instance-about-accordion.component.html @@ -2,91 +2,127 @@
{{ about?.instance.shortDescription }}
- - - - +
+
+
+ +
- - - - +
+
+ + + +
+
+
- - - +
+
+ +
- -
- Who are we? -
+
+
+ +
+ Who are we? +
+
+ +
+ How long do we plan to maintain this instance? +
+
+ +
+ How will we finance this instance? +
+
+
+
+
-
- How long do we plan to maintain this instance? -
+
+
+ +
+ +
+
+ +
+
+
+
-
- How will we finance this instance? -
+
+
+ +
+ +
+
+ +
+
- - +
+
- - - +
+
+ +
- -
-
- +
+
+ +
+
+
+
+
- - - +
+
+ +
- -
-
- - - - - - - Code of conduct - - - -
-
-
- - - - - - {{ pluginPanel.title }} - - - -
-
-
+
+
+ +
+
+
+
+
- +
diff --git a/client/src/app/shared/shared-instance/instance-about-accordion.component.ts b/client/src/app/shared/shared-instance/instance-about-accordion.component.ts index e13703c03..e299a64a3 100644 --- a/client/src/app/shared/shared-instance/instance-about-accordion.component.ts +++ b/client/src/app/shared/shared-instance/instance-about-accordion.component.ts @@ -1,6 +1,6 @@ import { Component, EventEmitter, Input, OnInit, Output, ViewChild } from '@angular/core' import { HooksService, Notifier } from '@app/core' -import { NgbAccordion } from '@ng-bootstrap/ng-bootstrap' +import { NgbAccordionDirective } from '@ng-bootstrap/ng-bootstrap' import { ClientFilterHookName, PluginClientScope } from '@shared/models/plugins' import { About } from '@shared/models/server' import { InstanceService } from './instance.service' @@ -11,7 +11,7 @@ import { InstanceService } from './instance.service' styleUrls: [ './instance-about-accordion.component.scss' ] }) export class InstanceAboutAccordionComponent implements OnInit { - @ViewChild('accordion', { static: true }) accordion: NgbAccordion + @ViewChild('accordion', { static: true }) accordion: NgbAccordionDirective @Output() init: EventEmitter = new EventEmitter()