commit
3f40573350
@ -1,23 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
||||||
x:Class="Stim.HeaderView">
|
|
||||||
|
|
||||||
<Grid>
|
|
||||||
<Grid.ColumnDefinitions>
|
|
||||||
<ColumnDefinition Width="*" />
|
|
||||||
<ColumnDefinition Width="*"/>
|
|
||||||
<ColumnDefinition Width="*"/>
|
|
||||||
</Grid.ColumnDefinitions>
|
|
||||||
|
|
||||||
<Border Grid.Column="0" Grid.Row="0" >
|
|
||||||
<Button Background="transparent" Grid.Column="0" Grid.Row="0" FontSize="40" Text="Home" WidthRequest="325" Clicked="goToMainPage"></Button>
|
|
||||||
</Border>
|
|
||||||
<Border Grid.Column="1" Grid.Row="0" >
|
|
||||||
<Button Background="transparent" Grid.Column="1" Grid.Row="0" FontSize="40" Text="Mes suivis" WidthRequest="325" Clicked="goToFollowPage"></Button>
|
|
||||||
</Border>
|
|
||||||
<Border Grid.Column="2" Grid.Row="0" >
|
|
||||||
<Button Background="transparent" Grid.Column="2" Grid.Row="0" FontSize="40" Text="Profil" WidthRequest="325" Clicked="goToProfilPage"></Button>
|
|
||||||
</Border>
|
|
||||||
</Grid>
|
|
||||||
</ContentView>
|
|
@ -1,21 +0,0 @@
|
|||||||
namespace Stim;
|
|
||||||
|
|
||||||
public partial class HeaderView : ContentView
|
|
||||||
{
|
|
||||||
public HeaderView()
|
|
||||||
{
|
|
||||||
InitializeComponent();
|
|
||||||
}
|
|
||||||
private async void goToMainPage(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
await Navigation.PushModalAsync(new MainPage());
|
|
||||||
}
|
|
||||||
private async void goToFollowPage(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
await Navigation.PushModalAsync(new FollowPage());
|
|
||||||
}
|
|
||||||
private async void goToProfilPage(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
await Navigation.PushModalAsync(new ProfilPage());
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in new issue