> For the complete documentation index, see [llms.txt](https://codedthemes.gitbook.io/gradient-able-angular/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://codedthemes.gitbook.io/gradient-able-angular/page-structure.md).

# Page Structure

## **src/index.html**

```html
<!doctype html>
<html lang="en">
  <head>
    <title>Gradient Able Angular Dashboard Template</title>
    <!-- HTML5 Shim and Respond.js IE11 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 11]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <base href="/" />
    <!-- Meta -->
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=1, minimal-ui" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta
      name="description"
      title="Gradient Able Angular Admin Template"
      content="Gradient Able Angular 21 built with Bootstrap 5, and ng-bootstrap 18 dashboard template, which comes with a wide range of pre-built pages."
    />
    <meta
      name="keywords"
      content="Admin templates, Bootstrap Admin templates, Angular 21+, Bootstrap 5.x.x, Dashboard, Dashboard Templates, sass admin templates, html admin templates, Responsive, Bootstrap Admin templates free download, Angular21 Admin templates free download,premium Bootstrap Admin templates,premium Angular21 Admin templates download"
    />
    <meta name="author" content="CodedThemes" />
    <link rel="icon" type="image/x-icon" href="favicon.ico" />
    <!-- font style -->
    <link rel="stylesheet" />

    <!-- Buy Now Link -->
    <script defer src="https://fomo.codedthemes.com/pixel/yRevReYmxkh1j4z7Hc4tgbOKeXSu5Bm1"></script>
  </head>
  <body>
    <app-root></app-root>
  </body>
</html>
```

## **src/app/app.component.html**

```markup
<router-outlet>
    <!-- loadChildren from app-routing.module.ts with admin.component.html or auth.component.html -->
</router-outlet>
```

## **src/app/app-routing.module.ts**

```typescript
import { AdminComponent } from './theme/layout/admin/admin.component';
import { GuestComponent } from './theme/layout/guest/guest.component';

const routes: Routes = [
  {
    path: '',
    component: AdminComponent,
    children: [
      // load children modules with lazy load routing for header, side nav common structure, like, dashboard, blank page, widget, etc..
    ]
  },
  {
    path: '',
    component: GuestComponent,
    children: [
      // load children modules with lazy load routing without a common structure, like login, signup, reset password, lock screen, etc..
    ]
  },  
  {
    path: '**',
    loadComponent: () => import('./demo/pages/maintenance/mainten-error/mainten-error.component').then((c) => c.MaintenErrorComponent)
  }
];
```

## **src/app/theme/layout/admin/admin.component.html**

```markup
<app-navigation></app-navigation> <!-- for side nav - navigation.component.html -->
<app-nav-bar></app-nav-bar> <!-- for header - nav-bar.component.html -->
<div class="pcoded-main-container">
  <div class="pcoded-wrapper">
    <div class="pcoded-content">
      <div class="pcoded-inner-content">
        <app-breadcrumb></app-breadcrumb> <!-- for common breadcrumb - breadcrumb.component.html -->
        <div class="main-body">
          <div class="page-wrapper">
            <router-outlet>
                <!-- page main body - loadChildren as main page body from src/app/demo/... -->
            </router-outlet>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
```

## **src/app/theme/layout/guest/guest.component.html**

```markup
<router-outlet>
    <!-- loadChildren component for auth.component at app-routing.module.ts for authentication blank pages without nav, header, etc. -->
</router-outlet>
```
