aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/+about/about-instance/about-instance.component.html
blob: 3bc63b7d1a0d2d860df3b6216113a305de68ff5f (plain) (tree)
1
2
3
4
5
6
7
8
9

                                  
 
                                      
                                                          
 
                                                                                                                                                                      
          
 





                                                                                                           
                                   
                                                                       
 
                                                                                                                          
          
 
                                                                                                     
                                     
         

                                                                
                                                    



                                                  
                                                              
                                                                      



                                 
                                                                        
                                                                                    




                                                            
                                                                           



                                
                                                           
                 
         

                                   
                                                     
 


                                                
                                                                                                         
                
         

                                                                                 
                                                                




                                                                  
                                                         

                                                  
          
 
                             
                                               
 
                                          
          
 
                                                                   
                       
         
 
                                                                             
                                                              


                                                        

        
                                  
                                          
                                                             
        

                   
                                              
                                                 

                                                     
      

                                                                    
<div class="row">
  <div class="col-md-12 col-xl-6">

    <div class="about-instance-title">
      <h1 i18n class="title">About {{ instanceName }}</h1>

      <button i18n *ngIf="isContactFormEnabled" (click)="openContactModal()" (keydown.enter)="openContactModal()" class="contact-admin">Contact administrator</button>
    </div>

    <div class="block instance-badges">
      <span *ngFor="let category of categories" class="badge badge-primary category">{{ category }}</span>

      <span *ngFor="let language of languages" class="badge badge-secondary language">{{ language }}</span>
    </div>

    <div class="short-description">
      <div class="block short-description">{{ shortDescription }}</div>

      <div i18n *ngIf="isNSFW" class="block dedicated-to-nsfw">This instance is dedicated to sensitive/NSFW content.</div>
    </div>

    <h2 i18n class="middle-title" *ngIf="html.administrator || maintenanceLifetime || businessModel">
      ADMINISTRATORS & SUSTAINABILITY
    </h2>

    <div class="block administrator" *ngIf="html.administrator">
      <h3 i18n class="section-title">Who we are</h3>

      <div [innerHTML]="html.administrator"></div>
    </div>

    <div class="block creation-reason" *ngIf="creationReason">
      <h3 i18n class="section-title">Why we created this instance</h3>

      <p>{{ creationReason }}</p>
    </div>

    <div class="block maintenance-lifetime" *ngIf="maintenanceLifetime">
      <h3 i18n class="section-title">How long we plan to maintain this instance</h3>

      <p>{{ maintenanceLifetime }}</p>
    </div>

    <div class="block business-model" *ngIf="businessModel">
      <h3 i18n class="section-title">How we will pay for this instance</h3>

      <p>{{ businessModel }}</p>
    </div>

    <h2 i18n class="middle-title" *ngIf="html.description">
      INFORMATION
    </h2>

    <div class="block description">
      <h3 i18n class="section-title">Description</h3>

      <div [innerHTML]="html.description"></div>
    </div>

    <h2 i18n class="middle-title" *ngIf="html.moderationInformation || html.codeOfConduct || html.terms">
      MODERATION
    </h2>

    <div class="block moderation-information" *ngIf="html.moderationInformation">
      <h3 i18n class="section-title">Moderation information</h3>

      <div [innerHTML]="html.moderationInformation"></div>
    </div>

    <div class="block code-of-conduct" *ngIf="html.codeOfConduct">
      <h3 i18n class="section-title">Code of conduct</h3>

      <div [innerHTML]="html.codeOfConduct"></div>
    </div>

    <div class="block terms">
      <h3 i18n class="section-title">Terms</h3>

      <div [innerHTML]="html.terms"></div>
    </div>

    <h2 i18n class="middle-title" *ngIf="html.hardwareInformation">
      OTHER INFORMATION
    </h2>

    <div class="block hardware-information" *ngIf="html.hardwareInformation">
      <h3 i18n class="section-title">Hardware information</h3>

      <div [innerHTML]="html.hardwareInformation"></div>
    </div>
  </div>

  <div class="col-md-12 col-xl-6">
    <h2 class="sr-only" i18n>FEATURES</h2>
    <my-instance-features-table></my-instance-features-table>
  </div>

  <div class="col">
    <div class="anchor" id="statistics"></div>
    <h2 i18n class="middle-title">STATISTICS</h2>
    <my-instance-statistics></my-instance-statistics>
  </div>
</div>

<my-contact-admin-modal #contactAdminModal></my-contact-admin-modal>