From 2abcb040ebd2d7fdfb04b21b2311e660f20f368d Mon Sep 17 00:00:00 2001 From: Ben Hong Date: Thu, 28 Mar 2024 09:49:10 -0700 Subject: [PATCH] docs: add missing h1 to page for skip to main content on home page (#55052) PR Close #55052 --- .../src/app/features/home/home.component.html | 60 ++++++++++++++++--- .../src/app/features/home/home.component.scss | 1 + 2 files changed, 53 insertions(+), 8 deletions(-) diff --git a/adev/src/app/features/home/home.component.html b/adev/src/app/features/home/home.component.html index d99b53cc6b4..03bb94db374 100644 --- a/adev/src/app/features/home/home.component.html +++ b/adev/src/app/features/home/home.component.html @@ -3,9 +3,7 @@
-

- Welcome to Angular.dev — the future home for Angular! -

+

Welcome to Angular.dev — the future home for Angular!

Read about our beta launch

@@ -13,7 +11,51 @@
@@ -72,15 +114,17 @@
- @defer(on viewport(buildForEveryone); prefetch on viewport(lovedByMillions)) { - + @defer (on viewport(buildForEveryone); prefetch on viewport(lovedByMillions)) { + } @loading { - Code editor + Code editor }
- +
diff --git a/adev/src/app/features/home/home.component.scss b/adev/src/app/features/home/home.component.scss index c0f4b9310bf..c4508d43559 100644 --- a/adev/src/app/features/home/home.component.scss +++ b/adev/src/app/features/home/home.component.scss @@ -36,6 +36,7 @@ box-sizing: border-box; transition: background 0.3s ease, border 0.3s ease; + h1, p { display: inline; font-size: 0.875rem;