# LegalConnect.Portals.MasterLayout

Master-Layout contains the LegalConnect master layout for the new CP redesign.

## Installation
npm install master-layout

## Usage
Add MasterLayoutModule to your module's imports

```typescript
import { AppComponent } from './app.component';
import { MasterLayoutModule } from 'master-layout';

@NgModule({
  declarations: [
    AppComponent,
  ],
  imports: [
    MasterLayoutModule]
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
```
And then use it in your component
```html
<app-full-layout userFullName="John Smith" userEmail="jsmith@legalconnect.com" tenantId="1" tenantCustomerNumber="10000">
  <div>
     Add your own components here to display inside the master layout
  </div>
</app-full-layout>
```

## Parameters
* userFullName: Logged in user first name and last name
* userEmail: Logged in user email address
* tenantId: Logged in user tenant id
* tenantCustomerNumber: Logged in user tenant customer number
