📄Page Structure

StarterPage.cshtml

@{
   ViewBag.Title = "Starter";
   ViewBag.pTitle = "Dashboard";
   Layout = "~/Views/Shared/_Layout.cshtml";
}
                            

<!-- Start All Card -->
<div class="flex flex-col gap-4 min-h-[calc(100vh-212px)]">
    <div class="grid grid-cols-1 gap-4">
        <div class="gap-6 p-5 bg-white border rounded dark:bg-darklight dark:border-darkborder md:col-span-2 xl:col-span-2 border-black/10">
            <h2 class="mb-4 text-base font-semibold text-black dark:text-white/80">Card Title</h2>
            <div class="grid grid-cols-1 gap-4">
                <div>
                    <img src="~/assets/images/logo-dark.svg" class="mx-auto h-11 dark:hidden " alt="">
                    <img src="~/assets/images/logo-light.svg" class="hidden mx-auto h-11 dark:block" alt="">
                </div>
            </div>
        </div>
    </div>
</div>
<!-- End All Card -->                           
                            
@section scripts{       
    
    <!-- App js -->
    <script src="~/assets/js/app.js"></script>

}

Layout settings

You can change the default layout from Views\Shared\_Layout.cshtml file in the body tag.

<body data-pc-preset="preset-1" data-pc-sidebar-theme="light"
    data-pc-sidebar-caption="true" data-pc-direction="ltr" data-pc-theme="light">

Last updated