Improved ArticleView header
This commit is contained in:
parent
21dad2f728
commit
905e322ecc
|
@ -4,8 +4,8 @@
|
||||||
|
|
||||||
@inject IStringLocalizer<Pages.ArticleView> Localizer
|
@inject IStringLocalizer<Pages.ArticleView> Localizer
|
||||||
|
|
||||||
<article class="mb-6">
|
<SectionContent SectionName="GlobalHeader">
|
||||||
<header class="bg-secondary text-secondary-content border-b-2 border-current mt-[-2rem] mx-[-3rem] py-6 px-12 mb-6">
|
<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">
|
<h1 class="text-3xl lg:text-5xl font-light">
|
||||||
@Article.Title
|
@Article.Title
|
||||||
</h1>
|
</h1>
|
||||||
|
@ -35,7 +35,9 @@
|
||||||
}
|
}
|
||||||
</p>
|
</p>
|
||||||
}
|
}
|
||||||
</header>
|
</div>
|
||||||
|
</SectionContent>
|
||||||
|
<article class="mb-6">
|
||||||
<div class="prose prose-neutral max-w-none hyphens-auto text-justify">
|
<div class="prose prose-neutral max-w-none hyphens-auto text-justify">
|
||||||
@Content
|
@Content
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
</svg>
|
</svg>
|
||||||
</label>
|
</label>
|
||||||
</header>
|
</header>
|
||||||
|
<SectionOutlet SectionName="GlobalHeader" />
|
||||||
<main class="flex-1 container mx-auto px-12 py-8">
|
<main class="flex-1 container mx-auto px-12 py-8">
|
||||||
@Body
|
@Body
|
||||||
</main>
|
</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