Почти доделал верстку

This commit is contained in:
Vlad Torop 2025-03-11 15:32:43 +03:00
parent c16dabb56b
commit c6c0c8138b

View File

@ -1,11 +1,12 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" <ContentPage
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="MobailApp.MainPage"
x:Class="MobailApp.MainPage" xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
MaximumHeightRequest="812" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
HeightRequest="812" HeightRequest="812"
MaximumWidthRequest="375" MaximumHeightRequest="812"
WidthRequest="375"> MaximumWidthRequest="375"
WidthRequest="375">
<ScrollView> <ScrollView>
<!--<VerticalStackLayout <!--<VerticalStackLayout
@ -30,53 +31,120 @@
<Button <Button
x:Name="CounterBtn" x:Name="CounterBtn"
Text="Click me" Text="Click me"
SemanticProperties.Hint="Counts the number of times you click" SemanticProperties.Hint="Counts the number of times you click"
Clicked="OnCounterClicked" Clicked="OnCounterClicked"
HorizontalOptions="Fill" /> HorizontalOptions="Fill" />
<Button <Button
x:Name="NewPageOpenbtn" x:Name="NewPageOpenbtn"
Text="New page" Text="New page"
SemanticProperties.Hint="Counts the number of times you click" SemanticProperties.Hint="Counts the number of times you click"
Clicked="NewPageOpenbtn_Clicked" Clicked="NewPageOpenbtn_Clicked"
HorizontalOptions="Fill" /> HorizontalOptions="Fill" />
</VerticalStackLayout>--> </VerticalStackLayout>-->
<Grid> <Grid>
<Grid.RowDefinitions> <Grid.RowDefinitions>
<RowDefinition Height="416"/> <RowDefinition Height="416" />
<RowDefinition Height="19"/> <RowDefinition Height="19" />
</Grid.RowDefinitions> </Grid.RowDefinitions>
<StackLayout> <StackLayout Grid.Row="0">
<StackLayout Margin="20,75,20,0"> <StackLayout Margin="20,75,20,0" HorizontalOptions="Center">
<Label Text="Привет!"/> <Label
<Label Text="Заполните Свои Данные Или Продолжите Через Социальные Медиа"/> FontSize="32"
HorizontalOptions="Center"
Text="Привет!"
TextColor="#707B81" />
<Label
FontSize="16"
HorizontalOptions="Center"
Text="Заполните Свои Данные Или"
TextColor="#707B81" />
<Label
FontSize="16"
HorizontalOptions="Center"
Text="Продолжите Через Социальные Медиа"
TextColor="#707B81" />
</StackLayout> </StackLayout>
<StackLayout Margin="20,30,20,0"> <StackLayout Margin="20,30,20,0">
<StackLayout> <Grid HeightRequest="218" WidthRequest="335">
<StackLayout> <Grid HeightRequest="186" WidthRequest="335">
<Label Text="Email"/> <Grid.RowDefinitions>
<HorizontalStackLayout> <RowDefinition Height="80" />
<Frame CornerRadius="15" BackgroundColor="#f7f7f9"> <RowDefinition Height="80" />
<Entry/> </Grid.RowDefinitions>
</Frame> <StackLayout Grid.Row="0" WidthRequest="335">
</HorizontalStackLayout> <Label
</StackLayout> HorizontalOptions="Start"
<StackLayout> Text="Email"
<Label Text="Пароль"/> TextColor="#707B81"
<HorizontalStackLayout> VerticalOptions="Start" />
<Frame CornerRadius="15" BackgroundColor="#f7f7f9"> <HorizontalStackLayout>
<Entry IsPassword="True"/> <Frame
</Frame> Margin="0,12,0,0"
</HorizontalStackLayout> BackgroundColor="#f7f7f9"
</StackLayout> BorderColor="#f7f7f9"
</StackLayout> CornerRadius="15"
<Button Text="Войти" TextColor="White"/> HeightRequest="48"
WidthRequest="335">
<Entry TextColor="#6A6A6A" />
</Frame>
</HorizontalStackLayout>
</StackLayout>
<StackLayout
Grid.Row="1"
Margin="0,26,0,0"
WidthRequest="335">
<Label
HorizontalOptions="Start"
Text="Пароль"
TextColor="#707B81"
VerticalOptions="Start" />
<HorizontalStackLayout>
<Frame
Margin="0,12,0,0"
BackgroundColor="#f7f7f9"
BorderColor="#f7f7f9"
CornerRadius="15"
HeightRequest="48"
WidthRequest="335">
<Entry IsPassword="True" TextColor="#6A6A6A" />
</Frame>
</HorizontalStackLayout>
</StackLayout>
</Grid>
<Label
FontSize="12"
HeightRequest="16"
HorizontalOptions="End"
Text="Восстановить"
TextColor="#707B81"
VerticalOptions="End"
WidthRequest="82" />
</Grid>
<Button
Margin="0,24,0,0"
BackgroundColor="#48B2E7"
CornerRadius="14"
Text="Войти"
TextColor="#F7F7F9" />
</StackLayout> </StackLayout>
</StackLayout> </StackLayout>
<HorizontalStackLayout> <StackLayout
<Label/> Grid.Row="1"
<Button/> HeightRequest="19"
</HorizontalStackLayout> HorizontalOptions="Center"
Orientation="Horizontal"
WidthRequest="335">
<Label
FontSize="16"
Text="Вы впервые? "
TextColor="#6A6A6A" />
<Button
Background="White"
FontSize="16"
Text="Создать Пользователя"
TextColor="#2B2B2B" />
</StackLayout>
</Grid> </Grid>
</ScrollView> </ScrollView>