Improved ArticleView header
This commit is contained in:
parent
21dad2f728
commit
905e322ecc
|
@ -4,8 +4,8 @@
|
|||
|
||||
@inject IStringLocalizer<Pages.ArticleView> Localizer
|
||||
|
||||
<article class="mb-6">
|
||||
<header class="bg-secondary text-secondary-content border-b-2 border-current mt-[-2rem] mx-[-3rem] py-6 px-12 mb-6">
|
||||
<SectionContent SectionName="GlobalHeader">
|
||||
<div class="bg-secondary text-secondary-content border-b-2 border-current py-6 px-12">
|
||||
<h1 class="text-3xl lg:text-5xl font-light">
|
||||
@Article.Title
|
||||
</h1>
|
||||
|
@ -35,7 +35,9 @@
|
|||
}
|
||||
</p>
|
||||
}
|
||||
</header>
|
||||
</div>
|
||||
</SectionContent>
|
||||
<article class="mb-6">
|
||||
<div class="prose prose-neutral max-w-none hyphens-auto text-justify">
|
||||
@Content
|
||||
</div>
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
</svg>
|
||||
</label>
|
||||
</header>
|
||||
<SectionOutlet SectionName="GlobalHeader" />
|
||||
<main class="flex-1 container mx-auto px-12 py-8">
|
||||
@Body
|
||||
</main>
|
||||
|
|
2
Wave/wwwroot/css/main.min.css
vendored
2
Wave/wwwroot/css/main.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue