|
|
@ -3,16 +3,28 @@ package com.example.what_the_fantasy.ui.screens
|
|
|
|
import androidx.compose.foundation.background
|
|
|
|
import androidx.compose.foundation.background
|
|
|
|
import androidx.compose.foundation.layout.Box
|
|
|
|
import androidx.compose.foundation.layout.Box
|
|
|
|
import androidx.compose.foundation.layout.Column
|
|
|
|
import androidx.compose.foundation.layout.Column
|
|
|
|
|
|
|
|
import androidx.compose.foundation.layout.Row
|
|
|
|
|
|
|
|
import androidx.compose.foundation.layout.Spacer
|
|
|
|
import androidx.compose.foundation.layout.fillMaxSize
|
|
|
|
import androidx.compose.foundation.layout.fillMaxSize
|
|
|
|
|
|
|
|
import androidx.compose.foundation.layout.fillMaxWidth
|
|
|
|
|
|
|
|
import androidx.compose.foundation.layout.height
|
|
|
|
|
|
|
|
import androidx.compose.foundation.layout.padding
|
|
|
|
|
|
|
|
import androidx.compose.foundation.shape.RoundedCornerShape
|
|
|
|
import androidx.compose.material3.Text
|
|
|
|
import androidx.compose.material3.Text
|
|
|
|
import androidx.compose.runtime.Composable
|
|
|
|
import androidx.compose.runtime.Composable
|
|
|
|
import androidx.compose.ui.Alignment
|
|
|
|
import androidx.compose.ui.Alignment
|
|
|
|
import androidx.compose.ui.Modifier
|
|
|
|
import androidx.compose.ui.Modifier
|
|
|
|
|
|
|
|
import androidx.compose.ui.draw.clip
|
|
|
|
import androidx.compose.ui.graphics.Color
|
|
|
|
import androidx.compose.ui.graphics.Color
|
|
|
|
|
|
|
|
import androidx.compose.ui.unit.dp
|
|
|
|
import androidx.compose.ui.unit.sp
|
|
|
|
import androidx.compose.ui.unit.sp
|
|
|
|
|
|
|
|
import com.example.what_the_fantasy.R
|
|
|
|
import com.example.what_the_fantasy.data.services.IServices
|
|
|
|
import com.example.what_the_fantasy.data.services.IServices
|
|
|
|
import com.example.what_the_fantasy.ui.components.NavBar
|
|
|
|
import com.example.what_the_fantasy.ui.components.NavBar
|
|
|
|
|
|
|
|
import com.example.what_the_fantasy.ui.components.SpaceHeightComponent
|
|
|
|
|
|
|
|
import com.example.what_the_fantasy.ui.components.TitlePageComponent
|
|
|
|
import com.example.what_the_fantasy.ui.theme.colorBackground
|
|
|
|
import com.example.what_the_fantasy.ui.theme.colorBackground
|
|
|
|
|
|
|
|
import com.example.what_the_fantasy.ui.theme.gradienBox
|
|
|
|
|
|
|
|
|
|
|
|
@Composable
|
|
|
|
@Composable
|
|
|
|
fun FavoritePage(
|
|
|
|
fun FavoritePage(
|
|
|
@ -35,7 +47,25 @@ fun FavoritePage(
|
|
|
|
contentAlignment = Alignment.Center
|
|
|
|
contentAlignment = Alignment.Center
|
|
|
|
){
|
|
|
|
){
|
|
|
|
Column {
|
|
|
|
Column {
|
|
|
|
Text("Favorite", color = Color.White, fontSize = 20.sp)
|
|
|
|
Box(
|
|
|
|
|
|
|
|
modifier = Modifier
|
|
|
|
|
|
|
|
.fillMaxSize()
|
|
|
|
|
|
|
|
.background(Color(0xFF100C1B)),
|
|
|
|
|
|
|
|
contentAlignment = Alignment.Center
|
|
|
|
|
|
|
|
) {
|
|
|
|
|
|
|
|
Row(
|
|
|
|
|
|
|
|
modifier = Modifier
|
|
|
|
|
|
|
|
.fillMaxWidth(0.9f)
|
|
|
|
|
|
|
|
.padding(20.dp)
|
|
|
|
|
|
|
|
.clip(RoundedCornerShape(16.dp))
|
|
|
|
|
|
|
|
.background(gradienBox)
|
|
|
|
|
|
|
|
.padding(20.dp),
|
|
|
|
|
|
|
|
) {
|
|
|
|
|
|
|
|
Text("Une image")
|
|
|
|
|
|
|
|
Text("Une citation d'un personnage")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|