39 lines
1.2 KiB
Text
39 lines
1.2 KiB
Text
{{define "content"}}
|
|
<section class="hero">
|
|
<p class="eyebrow">{{.Eyebrow}}</p>
|
|
<h1>{{.Heading}}</h1>
|
|
<p class="lede">{{.Description}}</p>
|
|
</section>
|
|
|
|
<section class="metric-grid">
|
|
{{range .Metrics}}
|
|
<article class="metric-card">
|
|
<p class="metric-value">{{.Value}}</p>
|
|
<h2>{{.Label}}</h2>
|
|
<p>{{.Description}}</p>
|
|
</article>
|
|
{{end}}
|
|
</section>
|
|
|
|
<section class="admin-grid">
|
|
<article class="callout">
|
|
<h2>Authenticated User</h2>
|
|
<p class="meta-line"><strong>Email:</strong> {{if .CurrentUser}}{{.CurrentUser.Email}}{{else}}Unavailable{{end}}</p>
|
|
<p class="meta-line"><strong>Role:</strong> {{if .CurrentUser}}{{.CurrentUser.Role}}{{else}}Unknown{{end}}</p>
|
|
</article>
|
|
|
|
<article class="callout">
|
|
<h2>Session And Storage</h2>
|
|
<p>Protected admin routes continue to use the existing session context. Release uploads now persist files under the private artifact directory rather than the public static web root.</p>
|
|
</article>
|
|
</section>
|
|
|
|
<section class="link-grid">
|
|
{{range .Links}}
|
|
<article class="link-card">
|
|
<h2><a href="{{.Href}}">{{.Label}}</a></h2>
|
|
<p>{{.Description}}</p>
|
|
</article>
|
|
{{end}}
|
|
</section>
|
|
{{end}}
|