Skip to content

Commit 6717dd7

Browse files
authored
Remove ambiguous 'web' from landing blurb. (#3230)
* Remove ambiguous 'web' from landing blurb. * Remove extra 'and'
1 parent b26a2b6 commit 6717dd7

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

app/lib/frontend/templates/_consts.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ SdkDict getSdkDict(String sdk) {
4242
}
4343

4444
final defaultLandingBlurbHtml =
45-
'<p class="text">Find and use packages to build <a href="/flutter">Flutter</a> and '
46-
'<a href="/web">web</a> apps with <a target="_blank" rel="noopener" href="${urls.dartSiteRoot}">Dart</a>.</p>';
45+
'<p class="text">Find and use packages to build <a href="/dart">Dart</a> and '
46+
'<a href="/flutter">Flutter</a> apps.</p>';
4747

4848
final flutterLandingBlurbHtml =
4949
'<p class="text"><a target="_blank" rel="noopener" href="https://flutter.dev/">Flutter<sup><small>↗</small></sup></a> '

app/test/frontend/golden/landing_page.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,8 @@ <h2 class="_visuallyhidden">Dart package manager</h2>
8787
</div>
8888
</div>
8989
<p class="text">Find and use packages to build
90-
<a href="/flutter">Flutter</a> and
91-
<a href="/web">web</a> apps with
92-
<a target="_blank" rel="noopener" href="https://dart.dev">Dart</a>.
90+
<a href="/dart">Dart</a> and
91+
<a href="/flutter">Flutter</a> apps.
9392
</p>
9493
</div>
9594
</div>

0 commit comments

Comments
 (0)