|
| 1 | +<main class="docs-viewer"> |
| 2 | + <header class="docs-header"> |
| 3 | + <div class="docs-page-title"> |
| 4 | + <h1 tabindex="-1"><span class="docs-emoji">Page Not Found 🙃</span></h1> |
| 5 | + </div> |
| 6 | + </header> |
| 7 | + <p> |
| 8 | + We couldn't find what you were looking for. We have initiated a search for the term extracted |
| 9 | + from the URL. |
| 10 | + </p> |
| 11 | + <p> |
| 12 | + If you think this is a mistake, please |
| 13 | + <a |
| 14 | + href="https://github.com/angular/angular/issues/new?template=3-docs-bug.yaml" |
| 15 | + target="_blank" |
| 16 | + > |
| 17 | + open an issue</a |
| 18 | + > |
| 19 | + so we can fix it. |
| 20 | + </p> |
| 21 | + |
| 22 | + <!-- Search results that match the queried URL that we couldn't find --> |
| 23 | + @if (searchResults().length > 0) { |
| 24 | + <!-- The search results are faded in if/once we have results --> |
| 25 | + <div animate.enter="enter-animation"> |
| 26 | + <br /><br /> |
| 27 | + <h2>Feeling lucky?</h2> |
| 28 | + <p>Maybe what you're looking for is in the list below:</p> |
| 29 | + |
| 30 | + <ul class="docs-search-results docs-mini-scroll-track"> |
| 31 | + @for (result of searchResults(); track $index) { |
| 32 | + <li docsSearchItem [item]="result" class="docs-search-result"> |
| 33 | + <a |
| 34 | + [relativeTo]="null" |
| 35 | + [routerLink]="'/' + result.url | relativeLink: 'pathname'" |
| 36 | + [fragment]="result.url | relativeLink: 'hash'" |
| 37 | + > |
| 38 | + <div> |
| 39 | + <p class="docs-search-result__label"> |
| 40 | + <!-- Icon --> |
| 41 | + <span class="docs-search-result-icon" aria-hidden="true"> |
| 42 | + <i role="presentation" class="material-symbols-outlined docs-icon-small"> |
| 43 | + {{ result.type === 'code' ? 'code' : 'description' }} |
| 44 | + </i> |
| 45 | + </span> |
| 46 | + |
| 47 | + <!-- Page title --> |
| 48 | + <span [innerHtml]="result.labelHtml"></span> |
| 49 | + @if (result.package) { |
| 50 | + <span |
| 51 | + [innerHTML]="result.package" |
| 52 | + class="docs-search-result__label__package" |
| 53 | + ></span> |
| 54 | + } |
| 55 | + </p> |
| 56 | + |
| 57 | + @if (result.subLabelHtml) { |
| 58 | + <p class="docs-search-result__sub-label"> |
| 59 | + <span class="docs-search-result-icon" aria-hidden="true"> |
| 60 | + <i role="presentation" class="material-symbols-outlined docs-icon-small"> |
| 61 | + grid_3x3 |
| 62 | + </i> |
| 63 | + </span> |
| 64 | + <span [innerHtml]="result.subLabelHtml"></span> |
| 65 | + </p> |
| 66 | + } |
| 67 | + |
| 68 | + @if (result.contentHtml) { |
| 69 | + <p class="docs-search-result__content" [innerHtml]="result.contentHtml"></p> |
| 70 | + } |
| 71 | + </div> |
| 72 | + <p class="docs-search-result__category"> |
| 73 | + {{ result.category }} |
| 74 | + </p> |
| 75 | + </a> |
| 76 | + </li> |
| 77 | + } |
| 78 | + </ul> |
| 79 | + </div> |
| 80 | + } |
| 81 | +</main> |
0 commit comments