- iOS:
HomeViewControllerin govuk-once/govuk-mobile-ios-app/Production/govuk_ios/ViewControllers/HomeViewController.swift at 3813aa2a - iOS:
HomeContentView, its widgets in orderin govuk-once/govuk-mobile-ios-app/Production/govuk_ios/Views/Home/HomeContentView.swift at 3813aa2a - iOS:
TopicsWidgetViewin govuk-once/govuk-mobile-ios-app/Production/govuk_ios/Views/Home/Topics/TopicsWidgetView.swift at 3813aa2a - iOS:
StoredLocalAuthorityWidgetViewin govuk-once/govuk-mobile-ios-app/Production/govuk_ios/Views/Home/LocalAuthority/StoredLocalAuthorityWidgetView.swift at 3813aa2a - iOS:
RecentActivityWidgetViewin govuk-once/govuk-mobile-ios-app/Production/govuk_ios/Views/Home/RecentActivity/RecentActivityWidgetView.swift at 3813aa2a
Home
The app’s Home tab, as a user sees it once they’ve chosen some topics, set their council and visited some pages: the header and search, then the Topics, Your local services and Pages you’ve visited widgets, and a way to give feedback.
From the app: Home, the root of the Home tab, with its topics, local services and recent activity widgets. To start a prototype from it, copy the folder src/templates/home/ from the repository.
When to start from it
- Prototyping a new widget on Home, or a change to one.
- Prototyping a journey that starts on Home, such as from a topic or a page the user has visited.
- Showing a new feature in the place a user would find it, in the app as it is.
Screens
The journey starts on the first. Open one to try it, in a phone.
- Home
-
The root of the Home tab. Your topics and All topics switch the topics shown; the local council and the pages visited open GOV.UK in the browser.
index.html - Open Home
Using it
- The page has a comment at its top saying what to change and what to leave.
- The topics, Edit, See all and Give feedback go nowhere, as the library has no screens for them. Give a row an href to a page of yours to make it open one.
- Searching isn’t here: the field takes typing, but there are no results.
- Chat and Settings on the tab bar open the Chat and Settings templates, if they’re beside this one.
Components it uses
- Screen,
<govuk-app-screen> - Home header,
<govuk-app-home-header> - Search field,
<govuk-app-search-field> - Grouped list,
<govuk-app-grouped-list> - Segmented control,
<govuk-app-segmented-control> - Section heading,
<govuk-app-section-heading> - Link card,
<govuk-app-link-card> - Text,
<govuk-app-text> - Button,
<govuk-app-button> - Crown,
<govuk-app-crown> - Tab bar,
<govuk-app-tab-bar>