angular/adev/src/app/app.component.html

32 lines
923 B
HTML
Raw Normal View History

@defer (when isBrowser) {
2024-05-03 20:05:52 +00:00
<adev-progress-bar />
<docs-top-level-banner expiry="2024-09-27" id="ng-survey-2024" link="https://goo.gle/angular-survey-2024" text="Take the 2024 Angular Developer Survey today!" />
}
<button (click)="focusFirstHeading()" class="adev-skip">Skip to main content</button>
<div class="adev-nav"></div>
@if (displaySecondaryNav()) {
2024-05-03 20:05:52 +00:00
<adev-secondary-navigation />
}
<div class="docs-app-main-content">
<!--
Avoid rendering cookies popup on the server,
since there is no benefit of doing this and
it requires additional state management.
-->
@defer (when isBrowser) {
<docs-cookie-popup />
@defer (when displaySearchDialog(); prefetch on idle) {
@if (displaySearchDialog()) {
<docs-search-dialog (onClose)="displaySearchDialog.set(false)" />
}
}
}
2024-05-03 20:05:52 +00:00
<router-outlet />
@if (displayFooter()) {
2024-05-03 20:05:52 +00:00
<footer adev-footer></footer>
}
</div>