<?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="Gready_Poang.BasePage"
             xmlns:viewsPartial="clr-namespace:Gready_Poang.ViewsPartial"
             x:Name="Root">
    <AbsoluteLayout>
        <!-- Huvudinnehåll -->
        <ContentView x:Name="MainContent"
                     AbsoluteLayout.LayoutBounds="0,0,1,1"
                     AbsoluteLayout.LayoutFlags="All" />

        <!-- Overlay: Splash -->
        <viewsPartial:SplashView
            AbsoluteLayout.LayoutBounds="0,0,1,1"
            AbsoluteLayout.LayoutFlags="All"
            x:Name="SplashView"
            IsVisible="True"
            Opacity="1"
            ZIndex="999"
            TranslationY="{Binding SplashTranslationY}"
            InputTransparent="True" >
        </viewsPartial:SplashView>

            <!--
            WidthRequest="250"
            HeightRequest="150"
            IsVisible="{Binding IsSplashVisible}"
            BackgroundColor="{Binding SplashBackgroundColor}"        
            x:Name="SplashView"
            BackgroundColor="Black"
            Opacity="{Binding SplashOpacity}"
            IsVisible="True" 
            Opacity="0.9"
            ZIndex="999"
            BackgroundColor="Black" />-->


    </AbsoluteLayout>
</ContentPage>