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

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" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="MobailApp.MainPage"
MaximumHeightRequest="812"
HeightRequest="812"
MaximumWidthRequest="375"
WidthRequest="375">
<ContentPage
x:Class="MobailApp.MainPage"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
HeightRequest="812"
MaximumHeightRequest="812"
MaximumWidthRequest="375"
WidthRequest="375">
<ScrollView>
<!--<VerticalStackLayout
@ -43,40 +44,107 @@
</VerticalStackLayout>-->
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="416"/>
<RowDefinition Height="19"/>
<RowDefinition Height="416" />
<RowDefinition Height="19" />
</Grid.RowDefinitions>
<StackLayout>
<StackLayout Margin="20,75,20,0">
<Label Text="Привет!"/>
<Label Text="Заполните Свои Данные Или Продолжите Через Социальные Медиа"/>
<StackLayout Grid.Row="0">
<StackLayout Margin="20,75,20,0" HorizontalOptions="Center">
<Label
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 Margin="20,30,20,0">
<StackLayout>
<StackLayout>
<Label Text="Email"/>
<HorizontalStackLayout>
<Frame CornerRadius="15" BackgroundColor="#f7f7f9">
<Entry/>
</Frame>
</HorizontalStackLayout>
</StackLayout>
<StackLayout>
<Label Text="Пароль"/>
<HorizontalStackLayout>
<Frame CornerRadius="15" BackgroundColor="#f7f7f9">
<Entry IsPassword="True"/>
</Frame>
</HorizontalStackLayout>
</StackLayout>
</StackLayout>
<Button Text="Войти" TextColor="White"/>
<Grid HeightRequest="218" WidthRequest="335">
<Grid HeightRequest="186" WidthRequest="335">
<Grid.RowDefinitions>
<RowDefinition Height="80" />
<RowDefinition Height="80" />
</Grid.RowDefinitions>
<StackLayout Grid.Row="0" WidthRequest="335">
<Label
HorizontalOptions="Start"
Text="Email"
TextColor="#707B81"
VerticalOptions="Start" />
<HorizontalStackLayout>
<Frame
Margin="0,12,0,0"
BackgroundColor="#f7f7f9"
BorderColor="#f7f7f9"
CornerRadius="15"
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>
<HorizontalStackLayout>
<Label/>
<Button/>
</HorizontalStackLayout>
<StackLayout
Grid.Row="1"
HeightRequest="19"
HorizontalOptions="Center"
Orientation="Horizontal"
WidthRequest="335">
<Label
FontSize="16"
Text="Вы впервые? "
TextColor="#6A6A6A" />
<Button
Background="White"
FontSize="16"
Text="Создать Пользователя"
TextColor="#2B2B2B" />
</StackLayout>
</Grid>
</ScrollView>