angular/adev/src/app/app.component.html
Matthieu Riegler 9d1d742f1b build: enable angular formatting on all html files
This should also be safe on any html file that isn't an angular template
2025-12-08 10:19:45 -08:00

37 lines
1 KiB
HTML

<button type="button" (click)="focusFirstHeading()" class="adev-skip">Skip to main content</button>
@defer (when isBrowser) {
<adev-progress-bar />
<docs-top-level-banner
expiry="2025-10-20"
id="state-of-js-2025"
link="https://survey.devographics.com/en-US/survey/state-of-js/2025?source=angular_homepage"
text="Share your experience with Angular in The State of JavaScript 2025 survey"
/>
}
<div class="adev-nav"></div>
@if (displaySecondaryNav()) {
<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)" />
}
}
}
<router-outlet />
@if (displayFooter()) {
<footer adev-footer></footer>
}
</div>