diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/AccueilPage.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/AccueilPage.kt deleted file mode 100644 index 31eb178..0000000 --- a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/AccueilPage.kt +++ /dev/null @@ -1,6 +0,0 @@ -package com.example.what_the_fantasy - -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/FavoritePage.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/FavoritePage.kt deleted file mode 100644 index aa2fb2b..0000000 --- a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/FavoritePage.kt +++ /dev/null @@ -1,11 +0,0 @@ -package com.example.what_the_fantasy - -import android.os.Bundle -import androidx.activity.ComponentActivity -import androidx.activity.compose.setContent -import androidx.activity.enableEdgeToEdge -import androidx.compose.runtime.Composable -import com.example.what_the_fantasy.ui.theme.What_The_FantasyTheme - -@Composable -fun FavoritePage() {} \ No newline at end of file diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/LoginPage.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/LoginPage.kt deleted file mode 100644 index 6a6c77a..0000000 --- a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/LoginPage.kt +++ /dev/null @@ -1,13 +0,0 @@ -package com.example.what_the_fantasy - -import android.os.Bundle -import androidx.activity.ComponentActivity -import androidx.activity.compose.setContent -import androidx.activity.enableEdgeToEdge -import androidx.compose.material3.Text -import androidx.compose.runtime.Composable -import com.example.what_the_fantasy.ui.theme.What_The_FantasyTheme - -@Composable -fun LoginPage() { -} \ No newline at end of file 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 016cadb..ec9c64b 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 @@ -4,15 +4,8 @@ import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.activity.enableEdgeToEdge -import androidx.compose.foundation.layout.fillMaxSize -import androidx.compose.foundation.layout.padding -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.ui.theme.What_The_FantasyTheme -import com.example.what_the_fantasy.LoginPage +import com.example.what_the_fantasy.ui.screens.LoginPage class MainActivity : ComponentActivity() { override fun onCreate(savedInstanceState: Bundle?) { diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/ProfilPage.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/ProfilPage.kt deleted file mode 100644 index ee4af3d..0000000 --- a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/ProfilPage.kt +++ /dev/null @@ -1,17 +0,0 @@ -package com.example.what_the_fantasy - -import android.os.Bundle -import androidx.activity.ComponentActivity -import androidx.activity.compose.setContent -import androidx.activity.enableEdgeToEdge -import androidx.compose.foundation.layout.fillMaxSize -import androidx.compose.foundation.layout.padding -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.ui.theme.What_The_FantasyTheme - -@Composable -fun ProfilPage() {} \ No newline at end of file diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/QuizPage.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/QuizPage.kt deleted file mode 100644 index 27e558f..0000000 --- a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/QuizPage.kt +++ /dev/null @@ -1,11 +0,0 @@ -package com.example.what_the_fantasy - -import android.os.Bundle -import androidx.activity.ComponentActivity -import androidx.activity.compose.setContent -import androidx.activity.enableEdgeToEdge -import androidx.compose.runtime.Composable -import com.example.what_the_fantasy.ui.theme.What_The_FantasyTheme - -@Composable -fun QuizPage() {} \ No newline at end of file diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/QuotePage.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/QuotePage.kt deleted file mode 100644 index 7ac8b66..0000000 --- a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/QuotePage.kt +++ /dev/null @@ -1,11 +0,0 @@ -package com.example.what_the_fantasy - -import android.os.Bundle -import androidx.activity.ComponentActivity -import androidx.activity.compose.setContent -import androidx.activity.enableEdgeToEdge -import androidx.compose.runtime.Composable -import com.example.what_the_fantasy.ui.theme.What_The_FantasyTheme - -@Composable -fun QuotePage() {} \ No newline at end of file diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/SearchPage.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/SearchPage.kt deleted file mode 100644 index af89024..0000000 --- a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/SearchPage.kt +++ /dev/null @@ -1,11 +0,0 @@ -package com.example.what_the_fantasy - -import android.os.Bundle -import androidx.activity.ComponentActivity -import androidx.activity.compose.setContent -import androidx.activity.enableEdgeToEdge -import androidx.compose.runtime.Composable -import com.example.what_the_fantasy.ui.theme.What_The_FantasyTheme - -@Composable -fun SearchPage() {} \ No newline at end of file diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/SignUpPage.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/SignUpPage.kt deleted file mode 100644 index 63b2819..0000000 --- a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/SignUpPage.kt +++ /dev/null @@ -1,11 +0,0 @@ -package com.example.what_the_fantasy - -import android.os.Bundle -import androidx.activity.ComponentActivity -import androidx.activity.compose.setContent -import androidx.activity.enableEdgeToEdge -import androidx.compose.runtime.Composable -import com.example.what_the_fantasy.ui.theme.What_The_FantasyTheme - -@Composable -fun SignUpPage() {} \ No newline at end of file diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/SubmitQuotePage.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/SubmitQuotePage.kt deleted file mode 100644 index 7230412..0000000 --- a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/SubmitQuotePage.kt +++ /dev/null @@ -1,11 +0,0 @@ -package com.example.what_the_fantasy - -import android.os.Bundle -import androidx.activity.ComponentActivity -import androidx.activity.compose.setContent -import androidx.activity.enableEdgeToEdge -import androidx.compose.runtime.Composable -import com.example.what_the_fantasy.ui.theme.What_The_FantasyTheme - -@Composable -fun SubmitQuotePage() {} \ No newline at end of file diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/CharacterStub.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/local/CharacterStub.kt similarity index 89% rename from What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/CharacterStub.kt rename to What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/local/CharacterStub.kt index 2626e54..9166ac1 100644 --- a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/CharacterStub.kt +++ b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/local/CharacterStub.kt @@ -1,4 +1,6 @@ -package com.example.what_the_fantasy.data +package com.example.what_the_fantasy.data.local + +import com.example.what_the_fantasy.data.model.Character object CharacterStub { private val aragorn = Character( diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/ImageStub.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/local/ImageStub.kt similarity index 94% rename from What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/ImageStub.kt rename to What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/local/ImageStub.kt index db3bbfe..616e7e9 100644 --- a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/ImageStub.kt +++ b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/local/ImageStub.kt @@ -1,4 +1,6 @@ -package com.example.what_the_fantasy.data +package com.example.what_the_fantasy.data.local + +import com.example.what_the_fantasy.data.model.Image object ImageStub { private val imageAragorn = Image( diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/QuoteStub.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/local/QuoteStub.kt similarity index 97% rename from What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/QuoteStub.kt rename to What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/local/QuoteStub.kt index 4fab1ac..fb90580 100644 --- a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/QuoteStub.kt +++ b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/local/QuoteStub.kt @@ -1,4 +1,6 @@ -package com.example.what_the_fantasy.data +package com.example.what_the_fantasy.data.local + +import com.example.what_the_fantasy.data.model.Quote object QuoteStub { private val quoteAragorn1 = Quote( diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/SourceStub.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/local/SourceStub.kt similarity index 79% rename from What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/SourceStub.kt rename to What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/local/SourceStub.kt index eec82b6..e25820a 100644 --- a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/SourceStub.kt +++ b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/local/SourceStub.kt @@ -1,4 +1,6 @@ -package com.example.what_the_fantasy.data +package com.example.what_the_fantasy.data.local + +import com.example.what_the_fantasy.data.model.Source object SourceStub { private val sourceLOTR = Source( diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/Character.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/model/Character.kt similarity index 62% rename from What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/Character.kt rename to What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/model/Character.kt index 324f060..68f8b12 100644 --- a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/Character.kt +++ b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/model/Character.kt @@ -1,4 +1,4 @@ -package com.example.what_the_fantasy.data +package com.example.what_the_fantasy.data.model data class Character ( val id: Int, diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/Image.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/model/Image.kt similarity index 54% rename from What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/Image.kt rename to What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/model/Image.kt index d927a48..1068afa 100644 --- a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/Image.kt +++ b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/model/Image.kt @@ -1,4 +1,4 @@ -package com.example.what_the_fantasy.data +package com.example.what_the_fantasy.data.model data class Image( val id: Int, diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/Quote.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/model/Quote.kt similarity index 82% rename from What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/Quote.kt rename to What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/model/Quote.kt index b0c8069..b95a575 100644 --- a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/Quote.kt +++ b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/model/Quote.kt @@ -1,4 +1,4 @@ -package com.example.what_the_fantasy.data +package com.example.what_the_fantasy.data.model data class Quote ( val id: Int, diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/Source.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/model/Source.kt similarity index 62% rename from What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/Source.kt rename to What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/model/Source.kt index db51b32..bfa40e9 100644 --- a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/Source.kt +++ b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/model/Source.kt @@ -1,4 +1,4 @@ -package com.example.what_the_fantasy.data +package com.example.what_the_fantasy.data.model data class Source ( val id: Int, 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