diff --git a/What_The_Fantasy/app/build.gradle.kts b/What_The_Fantasy/app/build.gradle.kts index 3a053c8..994366b 100644 --- a/What_The_Fantasy/app/build.gradle.kts +++ b/What_The_Fantasy/app/build.gradle.kts @@ -5,12 +5,12 @@ plugins { android { namespace = "com.example.what_the_fantasy" - compileSdk = 34 + compileSdk = 35 defaultConfig { applicationId = "com.example.what_the_fantasy" minSdk = 21 - targetSdk = 34 + targetSdk = 35 versionCode = 1 versionName = "1.0" @@ -59,6 +59,8 @@ dependencies { implementation(libs.androidx.ui.graphics) implementation(libs.androidx.ui.tooling.preview) implementation(libs.androidx.material3) + implementation(libs.androidx.navigation.compose) + implementation(libs.androidx.navigation.common.android) testImplementation(libs.junit) androidTestImplementation(libs.androidx.junit) androidTestImplementation(libs.androidx.espresso.core) diff --git a/What_The_Fantasy/app/src/main/ic_launcher-playstore.png b/What_The_Fantasy/app/src/main/ic_launcher-playstore.png new file mode 100644 index 0000000..5b3e46b Binary files /dev/null and b/What_The_Fantasy/app/src/main/ic_launcher-playstore.png differ diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/MainActivity.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/MainActivity.kt index bcb135d..9194e38 100644 --- a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/MainActivity.kt +++ b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/MainActivity.kt @@ -11,10 +11,8 @@ import androidx.compose.material3.Scaffold import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier -import androidx.compose.ui.tooling.preview.Preview -import com.example.what_the_fantasy.model.Quote -import com.example.what_the_fantasy.model.SrcType import com.example.what_the_fantasy.ui.theme.What_The_FantasyTheme +import com.example.what_the_fantasy.ui.screens.LoginPage class MainActivity : ComponentActivity() { override fun onCreate(savedInstanceState: Bundle?) { @@ -28,11 +26,9 @@ class MainActivity : ComponentActivity() { title = "What The Fantasy", modifier = Modifier.padding(innerPadding) ) - Quote( - q = Quote(1,"Test n°1","test","null","test",100,"fr",SrcType.Movie) - ) } } + LoginPage() } } } @@ -46,22 +42,3 @@ fun Title(title: String, modifier: Modifier = Modifier) { ) } -@Composable -fun Quote(q: Quote){ - Column { - Text( - text = q.id.toString() - ) - Text( - text = q.content - ) - } -} - -@Preview(showBackground = true) -@Composable -fun GreetingPreview() { - What_The_FantasyTheme { - Title("What the fantasy") - } -} \ No newline at end of file diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/local/CharacterStub.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/local/CharacterStub.kt new file mode 100644 index 0000000..9166ac1 --- /dev/null +++ b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/local/CharacterStub.kt @@ -0,0 +1,65 @@ +package com.example.what_the_fantasy.data.local + +import com.example.what_the_fantasy.data.model.Character + +object CharacterStub { + private val aragorn = Character( + 1, + "Aragorn", + 1 + ) + + private val gandalf = Character( + 2, + "Gandalf", + 2 + ) + + private val legolas = Character( + 3, + "Legolas", + 3 + ) + + private val geralt = Character( + 4, + "Geralt de Riv", + 4 + ) + + private val yennefer = Character( + 5, + "Yennefer de Vengerberg", + 5 + ) + + private val ciri = Character( + 6, + "Cirilla Fiona Elen Riannon", + 6 + ) + + private val jonSnow = Character( + 7, + "Jon Snow", + 7 + ) + + private val daenerys = Character( + 8, + "Daenerys Targaryen", + 8 + ) + + private val tywin = Character( + 9, + "Tywin Lannister", + 9 + ) + + private val elric = Character( + 10, + "Elric de Melniboné", + 10 + ) +} \ No newline at end of file diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/local/ImageStub.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/local/ImageStub.kt new file mode 100644 index 0000000..616e7e9 --- /dev/null +++ b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/local/ImageStub.kt @@ -0,0 +1,55 @@ +package com.example.what_the_fantasy.data.local + +import com.example.what_the_fantasy.data.model.Image + +object ImageStub { + private val imageAragorn = Image( + 1, + "https://static.posters.cz/image/750/art-photo/aragorn-i142865.jpg" + ) + + private val imageGandalf = Image( + 2, + "https://static.wikia.nocookie.net/seigneur-des-anneaux/images/a/ad/Gandalf_Db.jpg/revision/latest/thumbnail/width/360/height/360?cb=20210919182300&path-prefix=fr" + ) + + private val imageLegolas = Image( + 3, + "https://storage.canalblog.com/81/50/1203904/92832500_o.jpeg" + ) + + private val imageGeralt = Image( + 4, + "https://www.journaldugeek.com/app/uploads/2024/05/the-witcher-3-mod.jpg" + ) + + private val imageYennefer = Image( + 5, + "https://www.parismatch.com/lmnr/var/pm/public/media/image/2022/03/02/01/The-Witcher-qui-est-l-actrice-Anya-Chalotra.jpg?VersionId=kkBQlX3KHlm1X7sTcGJGwJa3UREFwYFd" + ) + + private val imageCiri = Image( + 6, + "https://www.gamelove.com/sites/www.gamelove.com/files/Guide/the_witcher_3/ciri/guide-the-witcher-3-personnages-ciri-001.jpg²" + ) + + private val imageJonSnow = Image( + 7, + "https://i0.wp.com/imagesociale.fr/wp-content/uploads/got_jonsnow.jpg?ssl=1" + ) + + private val imageDaenerys = Image( + 8, + "https://www.leparisien.fr/resizer/VgcUVs3QvEeH9RP-T5l0XF2tYQQ=/932x582/cloudfront-eu-central-1.images.arcpublishing.com/leparisien/FXGTC7Z3TDOHOGXQI54NDKHQHI.jpg" + ) + + private val imageTywin = Image( + 9, + "https://media.vanityfair.fr/photos/60df271ce629ebff31500ece/1:1/w_652,h_652,c_limit/vf_tywin_lannister_4413.jpeg" + ) + + private val imageElric = Image( + 10, + "https://cdna.artstation.com/p/assets/images/images/036/577/590/large/maena-paillet-elric11-web.jpg?1618043196" + ) +} \ No newline at end of file diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/local/QuoteStub.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/local/QuoteStub.kt new file mode 100644 index 0000000..fb90580 --- /dev/null +++ b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/local/QuoteStub.kt @@ -0,0 +1,246 @@ +package com.example.what_the_fantasy.data.local + +import com.example.what_the_fantasy.data.model.Quote + +object QuoteStub { + private val quoteAragorn1 = Quote( + 1, + "Un jour viendra où le courage des hommes faillira… mais ce jour n’est pas arrivé !", + 1000, + "fr", + true, + null, + 1, + 1, + 1 + ) + + private val quoteAragorn2 = Quote( + 2, + "Je ne suis pas un homme qui prend aisément la fuite.", + 900, + "fr", + true, + null, + 1, + 1, + 1 + ) + + private val quoteGandalf1 = Quote( + 3, + "Un magicien n'est jamais en retard, ni en avance d'ailleurs. Il arrive précisément à l'heure prévue.", + 1500, + "fr", + true, + null, + 2, + 1, + 1 + ) + + private val quoteGandalf2 = Quote( + 4, + "Fuyez, pauvres fous !", + 2000, + "fr", + true, + null, + 2, + 1, + 1 + ) + + private val quoteLegolas1 = Quote( + 5, + "Ils emmènent les Hobbits à Isengard !", + 1200, + "fr", + true, + null, + 3, + 1, + 1 + ) + + private val quoteLegolas2 = Quote( + 6, + "Un soleil rouge se lève… Beaucoup de sang a dû couler cette nuit.", + 1100, + "fr", + true, + null, + 3, + 1, + 1 + ) + + private val quoteGeralt1 = Quote( + 7, + "Les mauvaises choses arrivent à ceux qui les méritent.", + 1300, + "fr", + true, + null, + 4, + 2, + 1 + ) + + private val quoteGeralt2 = Quote( + 8, + "Si je devais choisir entre un mal et un autre, alors je préfère ne pas choisir du tout.", + 1700, + "fr", + true, + null, + 4, + 2, + 1 + ) + + private val quoteYennefer1 = Quote( + 9, + "La magie, c’est le chaos, l’art et la science combinés.", + 1400, + "fr", + true, + null, + 5, + 2, + 1 + ) + + private val quoteYennefer2 = Quote( + 10, + "Je suis Yennefer de Vengerberg. Je ne supplie jamais.", + 1600, + "fr", + true, + null, + 5, + 2, + 1 + ) + + private val quoteCiri1 = Quote( + 11, + "Je suis une enfant de la destinée.", + 1250, + "fr", + true, + null, + 6, + 2, + 1 + ) + + private val quoteCiri2 = Quote( + 12, + "L’avenir n’est jamais écrit.", + 1350, + "fr", + true, + null, + 6, + 2, + 1 + ) + + private val quoteJonSnow1 = Quote( + 13, + "L’hiver vient.", + 1800, + "fr", + true, + null, + 7, + 3, + 1 + ) + + private val quoteJonSnow2 = Quote( + 14, + "L’amour est la mort du devoir.", + 1900, + "fr", + true, + null, + 7, + 3, + 1 + ) + + private val quoteDaenerys1 = Quote( + 15, + "Je ne suis pas une femme ordinaire. Mes rêves se réalisent.", + 1700, + "fr", + true, + null, + 8, + 3, + 1 + ) + + private val quoteDaenerys2 = Quote( + 16, + "Dracarys !", + 2500, + "fr", + true, + null, + 8, + 3, + 1 + ) + + private val quoteTywin1 = Quote( + 17, + "Un lion ne se soucie pas de l’opinion des moutons.", + 1600, + "fr", + true, + null, + 9, + 3, + 1 + ) + + private val quoteTywin2 = Quote( + 18, + "N’importe quel imbécile peut gagner une bataille, mais il faut un roi pour gagner une guerre.", + 1700, + "fr", + true, + null, + 9, + 3, + 1 + ) + + private val quoteElric1 = Quote( + 19, + "Le destin est une chose étrange, il nous fait souvent croiser des chemins inattendus.", + 1400, + "fr", + true, + null, + 10, + 4, + 1 + ) + + private val quoteElric2 = Quote( + 20, + "Stormbringer ! Lame maudite, mon seul véritable compagnon.", + 1500, + "fr", + true, + null, + 10, + 4, + 1 + ) + +} \ No newline at end of file diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/local/SourceStub.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/local/SourceStub.kt new file mode 100644 index 0000000..e25820a --- /dev/null +++ b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/local/SourceStub.kt @@ -0,0 +1,30 @@ +package com.example.what_the_fantasy.data.local + +import com.example.what_the_fantasy.data.model.Source + +object SourceStub { + private val sourceLOTR = Source( + 1, + "Le Seigneur des Anneaux", + 1954 + ) + + private val sourceWitcher = Source( + 2, + "The Witcher", + 1990 + ) + + private val sourceGOT = Source( + 3, + "Game of Thrones", + 1996 + ) + + private val sourceElric = Source( + 4, + "Elric de Melniboné", + 1972 + ) + +} \ No newline at end of file diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/model/Character.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/model/Character.kt new file mode 100644 index 0000000..995fabc --- /dev/null +++ b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/model/Character.kt @@ -0,0 +1,7 @@ +package com.example.what_the_fantasy.data.model + +data class Character ( + val id: Int, + val name: String, + val imgUrl: String +) \ No newline at end of file diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/model/Image.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/model/Image.kt new file mode 100644 index 0000000..1068afa --- /dev/null +++ b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/model/Image.kt @@ -0,0 +1,6 @@ +package com.example.what_the_fantasy.data.model + +data class Image( + val id: Int, + val url: String +) diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/model/Question.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/model/Question.kt similarity index 77% rename from What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/model/Question.kt rename to What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/model/Question.kt index e31407a..ac27c02 100644 --- a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/model/Question.kt +++ b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/model/Question.kt @@ -1,4 +1,4 @@ -package com.example.what_the_fantasy.model +package com.example.what_the_fantasy.data.model class Question( val id:Int, @@ -8,7 +8,4 @@ class Question( val ansC:String, val ansD:String, val correctAns: String, -) -{ - -} \ No newline at end of file +) \ No newline at end of file diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/model/Quote.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/model/Quote.kt new file mode 100644 index 0000000..8db4084 --- /dev/null +++ b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/model/Quote.kt @@ -0,0 +1,11 @@ +package com.example.what_the_fantasy.data.model + +data class Quote ( + val id: Int, + val content: String, + val likes: Int, + val language: String, + val character: String, + val source: String, + val imgUrl: String +) \ No newline at end of file diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/model/Source.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/model/Source.kt new file mode 100644 index 0000000..fe97842 --- /dev/null +++ b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/model/Source.kt @@ -0,0 +1,8 @@ +package com.example.what_the_fantasy.data.model + +data class Source ( + val id: Int, + val title: String, + val dateS: Int, + val type: SrcType +) \ No newline at end of file diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/model/SrcType.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/model/SrcType.kt similarity index 73% rename from What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/model/SrcType.kt rename to What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/model/SrcType.kt index 8f6af55..6e8671f 100644 --- a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/model/SrcType.kt +++ b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/model/SrcType.kt @@ -1,4 +1,4 @@ -package com.example.what_the_fantasy.model +package com.example.what_the_fantasy.data.model enum class SrcType (val value: String) { Movie("@string/movie"), diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/model/User.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/model/User.kt similarity index 57% rename from What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/model/User.kt rename to What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/model/User.kt index 1366c29..10af186 100644 --- a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/model/User.kt +++ b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/model/User.kt @@ -1,12 +1,9 @@ -package com.example.what_the_fantasy.model +package com.example.what_the_fantasy.data.model class User( val id:Int, var username:String, var email:String, var date:String, - val imagePath:String, + val imgUrl: String ) -{ - -} \ No newline at end of file diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/model/Character.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/model/Character.kt deleted file mode 100644 index 54a066c..0000000 --- a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/model/Character.kt +++ /dev/null @@ -1,10 +0,0 @@ -package com.example.what_the_fantasy.model - -class Character( - val id:Int, - val character:String, - val imgPath: String -) -{ - -} \ No newline at end of file diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/model/Quote.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/model/Quote.kt deleted file mode 100644 index a08ca3a..0000000 --- a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/model/Quote.kt +++ /dev/null @@ -1,14 +0,0 @@ -package com.example.what_the_fantasy.model - -class Quote( - val id:Int, - val content:String, - val character:String, - val imagePath:String, - val titleSrc:String, - var likes:Int, - val lang:String, - val type:SrcType) -{ - -} \ No newline at end of file diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/model/Source.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/model/Source.kt deleted file mode 100644 index 39c4173..0000000 --- a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/model/Source.kt +++ /dev/null @@ -1,11 +0,0 @@ -package com.example.what_the_fantasy.model - -class Source( - val id:Int, - val title:String, - val date:String, - val type:SrcType -) -{ - -} \ No newline at end of file diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/ui/components/NavBar.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/ui/components/NavBar.kt new file mode 100644 index 0000000..dedbd00 --- /dev/null +++ b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/ui/components/NavBar.kt @@ -0,0 +1,4 @@ +package com.example.what_the_fantasy.ui.components + +class NavBar { +} \ No newline at end of file diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/ui/screens/AccueilPage.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/ui/screens/AccueilPage.kt new file mode 100644 index 0000000..8fd4c97 --- /dev/null +++ b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/ui/screens/AccueilPage.kt @@ -0,0 +1,6 @@ +package com.example.what_the_fantasy.ui.screens + +import androidx.compose.runtime.Composable + +@Composable +fun AccueilPage() {} \ No newline at end of file diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/ui/screens/FavoritePage.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/ui/screens/FavoritePage.kt new file mode 100644 index 0000000..72c2e72 --- /dev/null +++ b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/ui/screens/FavoritePage.kt @@ -0,0 +1,6 @@ +package com.example.what_the_fantasy.ui.screens + +import androidx.compose.runtime.Composable + +@Composable +fun FavoritePage() {} \ No newline at end of file diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/ui/screens/LoginPage.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/ui/screens/LoginPage.kt new file mode 100644 index 0000000..40b2f04 --- /dev/null +++ b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/ui/screens/LoginPage.kt @@ -0,0 +1,7 @@ +package com.example.what_the_fantasy.ui.screens + +import androidx.compose.runtime.Composable + +@Composable +fun LoginPage() { +} \ No newline at end of file diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/ui/screens/ProfilPage.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/ui/screens/ProfilPage.kt new file mode 100644 index 0000000..a80fed3 --- /dev/null +++ b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/ui/screens/ProfilPage.kt @@ -0,0 +1,6 @@ +package com.example.what_the_fantasy.ui.screens + +import androidx.compose.runtime.Composable + +@Composable +fun ProfilPage() {} \ No newline at end of file diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/ui/screens/QuizPage.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/ui/screens/QuizPage.kt new file mode 100644 index 0000000..bc7854f --- /dev/null +++ b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/ui/screens/QuizPage.kt @@ -0,0 +1,6 @@ +package com.example.what_the_fantasy.ui.screens + +import androidx.compose.runtime.Composable + +@Composable +fun QuizPage() {} \ No newline at end of file diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/ui/screens/QuotePage.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/ui/screens/QuotePage.kt new file mode 100644 index 0000000..cfb1d2f --- /dev/null +++ b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/ui/screens/QuotePage.kt @@ -0,0 +1,6 @@ +package com.example.what_the_fantasy.ui.screens + +import androidx.compose.runtime.Composable + +@Composable +fun QuotePage() {} \ No newline at end of file diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/ui/screens/SearchPage.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/ui/screens/SearchPage.kt new file mode 100644 index 0000000..9b8d6ac --- /dev/null +++ b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/ui/screens/SearchPage.kt @@ -0,0 +1,6 @@ +package com.example.what_the_fantasy.ui.screens + +import androidx.compose.runtime.Composable + +@Composable +fun SearchPage() {} \ No newline at end of file diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/ui/screens/SignUpPage.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/ui/screens/SignUpPage.kt new file mode 100644 index 0000000..ce60fcf --- /dev/null +++ b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/ui/screens/SignUpPage.kt @@ -0,0 +1,6 @@ +package com.example.what_the_fantasy.ui.screens + +import androidx.compose.runtime.Composable + +@Composable +fun SignUpPage() {} \ No newline at end of file diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/ui/screens/SubmitQuotePage.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/ui/screens/SubmitQuotePage.kt new file mode 100644 index 0000000..0b88b35 --- /dev/null +++ b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/ui/screens/SubmitQuotePage.kt @@ -0,0 +1,6 @@ +package com.example.what_the_fantasy.ui.screens + +import androidx.compose.runtime.Composable + +@Composable +fun SubmitQuotePage() {} \ No newline at end of file diff --git a/What_The_Fantasy/app/src/main/res/drawable-v24/ic_launcher_background.xml b/What_The_Fantasy/app/src/main/res/drawable-v24/ic_launcher_background.xml new file mode 100644 index 0000000..c495e44 --- /dev/null +++ b/What_The_Fantasy/app/src/main/res/drawable-v24/ic_launcher_background.xml @@ -0,0 +1,26 @@ + + + + + + + + + + + + diff --git a/What_The_Fantasy/app/src/main/res/drawable/ic_launcher_background.xml b/What_The_Fantasy/app/src/main/res/drawable/ic_launcher_background.xml deleted file mode 100644 index 07d5da9..0000000 --- a/What_The_Fantasy/app/src/main/res/drawable/ic_launcher_background.xml +++ /dev/null @@ -1,170 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/What_The_Fantasy/app/src/main/res/drawable/icondark.xml b/What_The_Fantasy/app/src/main/res/drawable/icondark.xml new file mode 100644 index 0000000..a8b409b --- /dev/null +++ b/What_The_Fantasy/app/src/main/res/drawable/icondark.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/What_The_Fantasy/app/src/main/res/img/Group 89.svg b/What_The_Fantasy/app/src/main/res/img/Group 89.svg new file mode 100644 index 0000000..503a1bf --- /dev/null +++ b/What_The_Fantasy/app/src/main/res/img/Group 89.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/What_The_Fantasy/app/src/main/res/img/Vector.png b/What_The_Fantasy/app/src/main/res/img/Vector.png new file mode 100644 index 0000000..7dd83e6 Binary files /dev/null and b/What_The_Fantasy/app/src/main/res/img/Vector.png differ diff --git a/What_The_Fantasy/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/What_The_Fantasy/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml index 6f3b755..c4a603d 100644 --- a/What_The_Fantasy/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +++ b/What_The_Fantasy/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -1,6 +1,5 @@ - - - + + \ No newline at end of file diff --git a/What_The_Fantasy/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/What_The_Fantasy/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml index 6f3b755..c4a603d 100644 --- a/What_The_Fantasy/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +++ b/What_The_Fantasy/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -1,6 +1,5 @@ - - - + + \ No newline at end of file diff --git a/What_The_Fantasy/app/src/main/res/mipmap-hdpi/ic_launcher.webp b/What_The_Fantasy/app/src/main/res/mipmap-hdpi/ic_launcher.webp index c209e78..8e05350 100644 Binary files a/What_The_Fantasy/app/src/main/res/mipmap-hdpi/ic_launcher.webp and b/What_The_Fantasy/app/src/main/res/mipmap-hdpi/ic_launcher.webp differ diff --git a/What_The_Fantasy/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp b/What_The_Fantasy/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp new file mode 100644 index 0000000..c2e99f5 Binary files /dev/null and b/What_The_Fantasy/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp differ diff --git a/What_The_Fantasy/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp b/What_The_Fantasy/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp index b2dfe3d..83f45f5 100644 Binary files a/What_The_Fantasy/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp and b/What_The_Fantasy/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp differ diff --git a/What_The_Fantasy/app/src/main/res/mipmap-mdpi/ic_launcher.webp b/What_The_Fantasy/app/src/main/res/mipmap-mdpi/ic_launcher.webp index 4f0f1d6..6bed1f7 100644 Binary files a/What_The_Fantasy/app/src/main/res/mipmap-mdpi/ic_launcher.webp and b/What_The_Fantasy/app/src/main/res/mipmap-mdpi/ic_launcher.webp differ diff --git a/What_The_Fantasy/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp b/What_The_Fantasy/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp new file mode 100644 index 0000000..7074526 Binary files /dev/null and b/What_The_Fantasy/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp differ diff --git a/What_The_Fantasy/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp b/What_The_Fantasy/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp index 62b611d..0962793 100644 Binary files a/What_The_Fantasy/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp and b/What_The_Fantasy/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp differ diff --git a/What_The_Fantasy/app/src/main/res/mipmap-xhdpi/ic_launcher.webp b/What_The_Fantasy/app/src/main/res/mipmap-xhdpi/ic_launcher.webp index 948a307..347bbca 100644 Binary files a/What_The_Fantasy/app/src/main/res/mipmap-xhdpi/ic_launcher.webp and b/What_The_Fantasy/app/src/main/res/mipmap-xhdpi/ic_launcher.webp differ diff --git a/What_The_Fantasy/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp b/What_The_Fantasy/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp new file mode 100644 index 0000000..95d5086 Binary files /dev/null and b/What_The_Fantasy/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp differ diff --git a/What_The_Fantasy/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp b/What_The_Fantasy/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp index 1b9a695..e64cea3 100644 Binary files a/What_The_Fantasy/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp and b/What_The_Fantasy/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp differ diff --git a/What_The_Fantasy/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp b/What_The_Fantasy/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp index 28d4b77..d8fb7eb 100644 Binary files a/What_The_Fantasy/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp and b/What_The_Fantasy/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp differ diff --git a/What_The_Fantasy/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp b/What_The_Fantasy/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp new file mode 100644 index 0000000..5f042e9 Binary files /dev/null and b/What_The_Fantasy/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp differ diff --git a/What_The_Fantasy/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp b/What_The_Fantasy/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp index 9287f50..1f9eaae 100644 Binary files a/What_The_Fantasy/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp and b/What_The_Fantasy/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp differ diff --git a/What_The_Fantasy/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp b/What_The_Fantasy/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp index aa7d642..3f7d7bc 100644 Binary files a/What_The_Fantasy/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp and b/What_The_Fantasy/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp differ diff --git a/What_The_Fantasy/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp b/What_The_Fantasy/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp new file mode 100644 index 0000000..17baa06 Binary files /dev/null and b/What_The_Fantasy/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp differ diff --git a/What_The_Fantasy/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp b/What_The_Fantasy/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp index 9126ae3..439f5e7 100644 Binary files a/What_The_Fantasy/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp and b/What_The_Fantasy/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp differ diff --git a/What_The_Fantasy/gradle/libs.versions.toml b/What_The_Fantasy/gradle/libs.versions.toml index a5f2151..302bb60 100644 --- a/What_The_Fantasy/gradle/libs.versions.toml +++ b/What_The_Fantasy/gradle/libs.versions.toml @@ -8,6 +8,8 @@ espressoCore = "3.5.1" lifecycleRuntimeKtx = "2.6.1" activityCompose = "1.8.0" composeBom = "2024.04.01" +navigationCompose = "2.8.6" +navigationCommonAndroid = "2.9.0-alpha05" [libraries] androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" } @@ -24,6 +26,8 @@ androidx-ui-tooling-preview = { group = "androidx.compose.ui", name = "ui-toolin androidx-ui-test-manifest = { group = "androidx.compose.ui", name = "ui-test-manifest" } androidx-ui-test-junit4 = { group = "androidx.compose.ui", name = "ui-test-junit4" } androidx-material3 = { group = "androidx.compose.material3", name = "material3" } +androidx-navigation-compose = { group = "androidx.navigation", name = "navigation-compose", version.ref = "navigationCompose" } +androidx-navigation-common-android = { group = "androidx.navigation", name = "navigation-common-android", version.ref = "navigationCommonAndroid" } [plugins] android-application = { id = "com.android.application", version.ref = "agp" }