[Gallery] Bring in Fortnightly banner (#317)

pull/320/head
rami-a 5 years ago committed by GitHub
parent 7485904164
commit 96dc89870c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

@ -3475,7 +3475,7 @@ class GalleryLocalizations {
} }
String get fortnightlyDescription { String get fortnightlyDescription {
return Intl.message('A news app', return Intl.message('A content-focused news app',
locale: _localeName, locale: _localeName,
name: 'fortnightlyDescription', name: 'fortnightlyDescription',
desc: r'Study description for Fortnightly.'); desc: r'Study description for Fortnightly.');

@ -123,7 +123,7 @@
"@shrineDescription": { "@shrineDescription": {
"description": "Study description for Shrine." "description": "Study description for Shrine."
}, },
"fortnightlyDescription": "A news app", "fortnightlyDescription": "A content-focused news app",
"@fortnightlyDescription": { "@fortnightlyDescription": {
"description": "Study description for Fortnightly." "description": "Study description for Fortnightly."
}, },

@ -116,7 +116,7 @@
<string <string
name="fortnightlyDescription" name="fortnightlyDescription"
description="Study description for Fortnightly." description="Study description for Fortnightly."
>A news app</string> >A content-focused news app</string>
<string <string
name="rallyDescription" name="rallyDescription"
description="Study description for Rally." description="Study description for Rally."

@ -899,7 +899,7 @@ class MessageLookup extends MessageLookupByLibrary {
"dialogShow": MessageLookupByLibrary.simpleMessage("SHOW DIALOG"), "dialogShow": MessageLookupByLibrary.simpleMessage("SHOW DIALOG"),
"dismiss": MessageLookupByLibrary.simpleMessage("DISMISS"), "dismiss": MessageLookupByLibrary.simpleMessage("DISMISS"),
"fortnightlyDescription": "fortnightlyDescription":
MessageLookupByLibrary.simpleMessage("A news app"), MessageLookupByLibrary.simpleMessage("A content-focused news app"),
"fortnightlyHeadlineArmy": MessageLookupByLibrary.simpleMessage( "fortnightlyHeadlineArmy": MessageLookupByLibrary.simpleMessage(
"Reforming The Green Army From Within"), "Reforming The Green Army From Within"),
"fortnightlyHeadlineBees": MessageLookupByLibrary.simpleMessage( "fortnightlyHeadlineBees": MessageLookupByLibrary.simpleMessage(

@ -84,7 +84,8 @@ class HomePage extends StatelessWidget {
_CarouselCard( _CarouselCard(
title: fortnightlyTitle, title: fortnightlyTitle,
subtitle: GalleryLocalizations.of(context).fortnightlyDescription, subtitle: GalleryLocalizations.of(context).fortnightlyDescription,
// TODO: Provide asset for study banner. asset: 'assets/studies/fortnightly_card.png',
assetDark: 'assets/studies/fortnightly_card_dark.png',
study: FortnightlyApp(navigatorKey: NavigatorKeys.fortnightly), study: FortnightlyApp(navigatorKey: NavigatorKeys.fortnightly),
navigatorKey: NavigatorKeys.fortnightly, navigatorKey: NavigatorKeys.fortnightly,
), ),
@ -914,6 +915,7 @@ class _DesktopPageButton extends StatelessWidget {
onTap: onTap, onTap: onTap,
child: Icon( child: Icon(
isEnd ? Icons.arrow_forward_ios : Icons.arrow_back_ios, isEnd ? Icons.arrow_forward_ios : Icons.arrow_back_ios,
color: Colors.white,
), ),
), ),
), ),

Loading…
Cancel
Save