<!--
  ~ Licensed to the Apache Software Foundation (ASF) under one or more
  ~ contributor license agreements.  See the NOTICE file distributed with
  ~ this work for additional information regarding copyright ownership.
  ~ The ASF licenses this file to You under the Apache License, Version 2.0
  ~ (the "License"); you may not use this file except in compliance with
  ~ the License.  You may obtain a copy of the License at
  ~
  ~    http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  ~
  -->

<div fxLayout="column" class="page-container page-container-padding">
    <div fxFlex fxLayout="row" fxLayoutAlign="start start">
        <div fxFlex="100">
            <div fxFlex="100" fxLayout="column">
                <div class="p-10 header-margin" fxLayoutAlign="center center">
                    <div class="welcome-text">Welcome to {{appConstants.APP_NAME}}!</div>
                </div>
                <div fxLayout="column" fxFlex="100" class="home-margin">
                    <div fxFlex="100" fxLayoutAlign="start center">
                        <status fxFlex="100"></status>
                    </div>
                    <div fxFlex="100">
                        <div class="assemblyOptions sp-blue-bg mt-0 round-border" style="padding:5px;">
                            <h4>{{appConstants.APP_NAME}} Modules</h4>
                        </div>
                        <div class="sp-blue-border pt-0" fxLayout="column">
                            <div fxFlex="100" fxLayout="column">
                                <mat-list class="modules-list">
                                    <mat-list-item *ngFor="let link of serviceLinks"
                                                   (click)="openLink(link)" class="list-item">
                                        <div mat-list-avatar
                                             class="pipeline-avatar sp-accent-bg">
                                            <mat-icon>{{link.icon}}</mat-icon>
                                        </div>
                                        <div mat-line style="font-weight:bold;font-size:14pt;">{{link.name}}</div>
                                        <p mat-line class="module-description">{{link.description}}</p>
                                        <mat-divider></mat-divider>
                                    </mat-list-item>
                                </mat-list>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
