-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
37 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 10 additions & 9 deletions
19
app/src/main/java/info/octera/droidstorybox/presentation/onboarding/Page.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,30 @@ | ||
package info.octera.droidstorybox.presentation.onboarding | ||
|
||
import androidx.annotation.DrawableRes | ||
import androidx.compose.ui.res.stringResource | ||
import info.octera.droidstorybox.R | ||
|
||
data class Page( | ||
val title: String, | ||
val description: String, | ||
val title: Int, | ||
val description: Int, | ||
@DrawableRes val image: Int, | ||
) | ||
|
||
val pages = | ||
listOf( | ||
Page( | ||
title = "Welcome to NewsConnect!", | ||
description = "Stay informed with the latest news from around the world. NewsConnect brings you real-time updates on current events, politics, sports, entertainment, and more.", | ||
image = R.drawable.onboarding1, | ||
title = R.string.onboarding_page1_title, | ||
description = R.string.onboarding_page1_desc, | ||
image = R.drawable.icon_splash, | ||
), | ||
Page( | ||
title = "Stay Updated, Anywhere, Anytime", | ||
description = "Get notifications on breaking news and trending stories. With NewsConnect, you'll never miss an important update, whether you're at home or on the go.", | ||
title = R.string.onboarding_page2_title, | ||
description = R.string.onboarding_page2_desc, | ||
image = R.drawable.onboarding2, | ||
), | ||
Page( | ||
title = "Get Started with NewsConnect", | ||
description = "Dive into a world of news tailored just for you. Tap the button below to begin exploring!", | ||
title = R.string.onboarding_page3_title, | ||
description = R.string.onboarding_page3_desc, | ||
image = R.drawable.onboarding3, | ||
), | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<string name="app_name">Nimilou</string> | ||
<string name="onboarding_page1_title">Bienvenue sur Nimilou</string> | ||
<string name="onboarding_page1_desc">Bienvenue sur Nimilou. Cette application vous permet de lire des histoires audio. Elle accepte les format d\'histoire interactifs du type de Telmi, qui permet de naviguer dans les histoire avec simplicité.</string> | ||
<string name="onboarding_page2_title">Ajout des packs d\'histoire</string> | ||
<string name="onboarding_page2_desc">Pour utiliser l\'application vous devez vous rapprocher d\'une communauté qui vous permettra de trouver des packs d\'histoire a ajouter a l\'application. Les listing de packs au format Telmi peuvent être ajouté depuis la page de configuration dans l\'onglet \"Sources de Packs\"</string> | ||
<string name="onboarding_page3_title">Ajout des histoires</string> | ||
<string name="onboarding_page3_desc">Ensuite, vous pourrez télécharger des packs puis les ajouter dans l\'application depuis le bouton \"+\" depuis l\'onglet Pack. Les packs doivent être au format ZIP</string> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
<resources> | ||
<string name="app_name">Droid StoryBox</string> | ||
<string name="app_name">Nimilou</string> | ||
<string name="onboarding_page1_title">Welcome to Nimilou!</string> | ||
<string name="onboarding_page1_desc">Welcome to Nimilou. This app allows you to listen to audio stories. It supports interactive story formats like Telmi, which lets you navigate through the stories with ease.</string> | ||
<string name="onboarding_page2_title">Add story Pack</string> | ||
<string name="onboarding_page2_desc">To use the app, you need to connect with a community that will help you find story packs to add to the app. Telmi-format pack listings can be added from the configuration page in the "Pack Sources" tab.</string> | ||
<string name="onboarding_page3_title">Add story</string> | ||
<string name="onboarding_page3_desc">After that, you can download packs and add them to the app using the "+" button in the Pack tab. The packs must be in ZIP format.</string> | ||
</resources> |