Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion site/lib/src/components/layout/header.dart
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class DashHeader extends StatelessComponent {
ul(classes: 'nav-items', [
_NavItem(
href: '/',
label: 'User Guides',
label: 'Guides',
isActive: activeEntry == ActiveNavEntry.home,
),
_NavItem(
Expand Down
42 changes: 20 additions & 22 deletions site/lib/src/components/layout/sidenav.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,28 +30,26 @@ final class DashSideNav extends StatelessComponent {
final activeEntry = activeNavEntry(context.page.url);

return div(id: 'sidenav', [
// Only show the nav items if the tutorial is active for now.
if (activeEntry == ActiveNavEntry.learn)
ul(classes: 'navbar-nav', [
_TopNavItem(
href: '/',
label: 'Home',
iconId: 'asterisk',
active: activeEntry == ActiveNavEntry.home,
),
_TopNavItem(
href: '/learn',
label: 'Learn',
iconId: 'play_lesson',
active: activeEntry == ActiveNavEntry.learn,
),
const _TopNavItem(
href: 'https://api.flutter.dev',
label: 'Reference',
iconId: 'api',
),
const _SideNavDivider(),
]),
ul(classes: 'navbar-nav', [
_TopNavItem(
href: '/',
label: 'Guides',
iconId: 'asterisk',
active: activeEntry == ActiveNavEntry.home,
),
_TopNavItem(
href: '/learn',
label: 'Learn',
iconId: 'play_lesson',
active: activeEntry == ActiveNavEntry.learn,
),
const _TopNavItem(
href: 'https://api.flutter.dev',
label: 'Reference',
iconId: 'api',
),
const _SideNavDivider(),
]),

nav([
_SideNavLevel(
Expand Down
2 changes: 1 addition & 1 deletion site/lib/src/style_hash.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
// dart format off

/// The generated hash of the `main.css` file.
const generatedStylesHash = 'D1OovaDfTpf7';
const generatedStylesHash = '';
2 changes: 1 addition & 1 deletion src/content/release/whats-new.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ significant changes:
both Flutter and Dart, as announced in a recent [blog post][fwe].
You can find the Flutter [learning pathway][] under the **Learn**
tab at the top of [docs.flutter.dev][]. To return to the rest of the site,
select the **User Guides** tab. As always, the **Reference**
select the **Guides** tab. As always, the **Reference**
tab takes you to the [Flutter API docs][].

* Flutter and Dart now have an [official glossary][].
Expand Down
Loading