docs: update homepage headline (#40056)

Reviving @stephenfluin's PR https://github.com/angular/angular/pull/37517

PR Close #40056
This commit is contained in:
mgechev 2020-12-09 23:43:09 +02:00 committed by Joey Perrott
parent 6abc13330b
commit 9e6b3cffea
3 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@
<!-- CONTAINER -->
<div class="homepage-container">
<div class="hero-headline no-toc">One framework.<br>Mobile &amp; desktop.</div>
<div class="hero-headline no-toc">The modern web<br>developer's platform</div>
<a class="button hero-cta" href="docs">Get Started</a>
</div>

View File

@ -101,7 +101,7 @@
<img src="assets/images/logos/angular/angular.svg" width="250" height="250" alt="Angular">
</div>
<div class="homepage-container">
<div class="hero-headline">One framework.<br>Mobile &amp; desktop.</div>
<div class="hero-headline">The modern web<br>developer's platform</div>
</div>
</section>
<h2 style="color: red; margin-top: 40px; position: relative; text-align: center; text-shadow: 1px 1px #fafafa;">

View File

@ -18,8 +18,8 @@ describe(browser.baseUrl, () => {
await page.goTo('');
const text = await page.getDocViewerText();
expect(text).toContain('one framework');
expect(text).toContain('mobile & desktop');
expect(text).toContain('modern web');
expect(text).toContain('developer\'s platform');
});
describe('(marketing pages)', () => {