From 2376044021d10751a01997e49b8bf8eaa755da29 Mon Sep 17 00:00:00 2001 From: Kiryanick Date: Thu, 12 Dec 2024 11:43:59 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D1=8B=20=D0=BD=D0=BE=D0=B2=D1=8B=D0=B5=20=D1=8D=D0=BA?= =?UTF-8?q?=D1=80=D0=B0=D0=BD=D1=8B=20GUI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../beeapp/ui/screens/AuthorRequestsScreen.kt | 38 +++++++++++++++++++ .../ui/screens/CustomerRequestsScreen.kt | 38 +++++++++++++++++++ .../ru/csasq/beeapp/ui/screens/Signatures.kt | 38 +++++++++++++++++++ .../ru/csasq/beeapp/ui/screens/UsersScreen.kt | 37 ++++++++++++++++++ 4 files changed, 151 insertions(+) create mode 100644 composeApp/src/commonMain/kotlin/ru/csasq/beeapp/ui/screens/AuthorRequestsScreen.kt create mode 100644 composeApp/src/commonMain/kotlin/ru/csasq/beeapp/ui/screens/CustomerRequestsScreen.kt create mode 100644 composeApp/src/commonMain/kotlin/ru/csasq/beeapp/ui/screens/Signatures.kt create mode 100644 composeApp/src/commonMain/kotlin/ru/csasq/beeapp/ui/screens/UsersScreen.kt diff --git a/composeApp/src/commonMain/kotlin/ru/csasq/beeapp/ui/screens/AuthorRequestsScreen.kt b/composeApp/src/commonMain/kotlin/ru/csasq/beeapp/ui/screens/AuthorRequestsScreen.kt new file mode 100644 index 0000000..c30ba8e --- /dev/null +++ b/composeApp/src/commonMain/kotlin/ru/csasq/beeapp/ui/screens/AuthorRequestsScreen.kt @@ -0,0 +1,38 @@ +package ru.csasq.beeapp.ui.screens + +import androidx.compose.foundation.layout.Column +import androidx.compose.foundation.layout.PaddingValues +import androidx.compose.foundation.layout.fillMaxSize +import androidx.compose.foundation.layout.padding +import androidx.compose.foundation.rememberScrollState +import androidx.compose.foundation.verticalScroll +import androidx.compose.material3.Text +import androidx.compose.runtime.Composable +import androidx.compose.ui.Modifier +import androidx.compose.ui.unit.dp +import androidx.navigation.NavController + +@Composable +fun AuthorRequestsScreen( + navController: NavController, + paddingValues: PaddingValues, +) { + Column( + modifier = Modifier + .padding( + paddingValues = paddingValues, + ) + .fillMaxSize() + .verticalScroll( + state = rememberScrollState(), + ), + ) { + Text ( + text = "Здесь будет список обращений авторов", + modifier = Modifier + .padding( + horizontal = 16.dp, + ) + ) + } +} \ No newline at end of file diff --git a/composeApp/src/commonMain/kotlin/ru/csasq/beeapp/ui/screens/CustomerRequestsScreen.kt b/composeApp/src/commonMain/kotlin/ru/csasq/beeapp/ui/screens/CustomerRequestsScreen.kt new file mode 100644 index 0000000..780e770 --- /dev/null +++ b/composeApp/src/commonMain/kotlin/ru/csasq/beeapp/ui/screens/CustomerRequestsScreen.kt @@ -0,0 +1,38 @@ +package ru.csasq.beeapp.ui.screens + +import androidx.compose.foundation.layout.Column +import androidx.compose.foundation.layout.PaddingValues +import androidx.compose.foundation.layout.fillMaxSize +import androidx.compose.foundation.layout.padding +import androidx.compose.foundation.rememberScrollState +import androidx.compose.foundation.verticalScroll +import androidx.compose.material3.Text +import androidx.compose.runtime.Composable +import androidx.compose.ui.Modifier +import androidx.compose.ui.unit.dp +import androidx.navigation.NavController + +@Composable +fun CustomerRequestsScreen( + navController: NavController, + paddingValues: PaddingValues, +) { + Column( + modifier = Modifier + .padding( + paddingValues = paddingValues, + ) + .fillMaxSize() + .verticalScroll( + state = rememberScrollState(), + ), + ) { + Text ( + text = "Здесь будет список обращений пользователей", + modifier = Modifier + .padding( + horizontal = 16.dp, + ) + ) + } +} \ No newline at end of file diff --git a/composeApp/src/commonMain/kotlin/ru/csasq/beeapp/ui/screens/Signatures.kt b/composeApp/src/commonMain/kotlin/ru/csasq/beeapp/ui/screens/Signatures.kt new file mode 100644 index 0000000..c6c0da2 --- /dev/null +++ b/composeApp/src/commonMain/kotlin/ru/csasq/beeapp/ui/screens/Signatures.kt @@ -0,0 +1,38 @@ +package ru.csasq.beeapp.ui.screens + +import androidx.compose.foundation.layout.Column +import androidx.compose.foundation.layout.PaddingValues +import androidx.compose.foundation.layout.fillMaxSize +import androidx.compose.foundation.layout.padding +import androidx.compose.foundation.rememberScrollState +import androidx.compose.foundation.verticalScroll +import androidx.compose.material3.Text +import androidx.compose.runtime.Composable +import androidx.compose.ui.Modifier +import androidx.compose.ui.unit.dp +import androidx.navigation.NavController + +@Composable +fun SignaturesScreen( + navController: NavController, + paddingValues: PaddingValues, +) { + Column( + modifier = Modifier + .padding( + paddingValues = paddingValues, + ) + .fillMaxSize() + .verticalScroll( + state = rememberScrollState(), + ), + ) { + Text ( + text = "Здесь будет список подписей", + modifier = Modifier + .padding( + horizontal = 16.dp, + ) + ) + } +} \ No newline at end of file diff --git a/composeApp/src/commonMain/kotlin/ru/csasq/beeapp/ui/screens/UsersScreen.kt b/composeApp/src/commonMain/kotlin/ru/csasq/beeapp/ui/screens/UsersScreen.kt new file mode 100644 index 0000000..c9d57b7 --- /dev/null +++ b/composeApp/src/commonMain/kotlin/ru/csasq/beeapp/ui/screens/UsersScreen.kt @@ -0,0 +1,37 @@ +package ru.csasq.beeapp.ui.screens + +import androidx.compose.foundation.layout.Column +import androidx.compose.foundation.layout.PaddingValues +import androidx.compose.foundation.layout.fillMaxSize +import androidx.compose.foundation.layout.padding +import androidx.compose.foundation.rememberScrollState +import androidx.compose.foundation.verticalScroll +import androidx.compose.runtime.Composable +import androidx.compose.ui.Modifier +import androidx.navigation.NavController +import ru.csasq.beeapp.ui.components.UserButton + +@Composable +fun UsersScreen( + navController: NavController, + paddingValues: PaddingValues, +) { + Column( + modifier = Modifier + .padding( + paddingValues = paddingValues, + ) + .fillMaxSize() + .verticalScroll( + state = rememberScrollState(), + ), + ) { + repeat(25) { + UserButton( + title = "Иваницкий Глеб Олегович", + caption = "Гавносос последней степени критенизма", + onClick = {}, + ) + } + } +} \ No newline at end of file