remove most subtitles
This commit is contained in:
parent
d8f2e03d36
commit
947ef8e833
7 changed files with 13 additions and 46 deletions
|
|
@ -55,7 +55,6 @@ def admin_sidebar(*, current_path: str) -> Renderable:
|
|||
h.p(
|
||||
class_="text-xs font-semibold uppercase tracking-[0.24em] text-amber-300"
|
||||
)["Republisher"],
|
||||
h.p(class_="text-sm text-slate-300")["Admin spike"],
|
||||
],
|
||||
],
|
||||
h.nav(class_="mt-10 space-y-2")[
|
||||
|
|
@ -147,7 +146,7 @@ def page_shell(
|
|||
current_path: str,
|
||||
eyebrow: str,
|
||||
title: str,
|
||||
description: str,
|
||||
description: str | None = None,
|
||||
actions: Node | None = None,
|
||||
content: Node,
|
||||
) -> Renderable:
|
||||
|
|
@ -190,7 +189,7 @@ def table_section(
|
|||
*,
|
||||
eyebrow: str | None = None,
|
||||
title: str,
|
||||
subtitle: str,
|
||||
subtitle: str | None = None,
|
||||
headers: tuple[str, ...],
|
||||
rows: tuple[tuple[Node, ...], ...],
|
||||
actions: Node | None = None,
|
||||
|
|
@ -217,7 +216,7 @@ def table_section(
|
|||
class_="text-xs font-semibold uppercase tracking-[0.22em] text-amber-600"
|
||||
)[eyebrow],
|
||||
h.h2(class_="mt-1 text-xl font-semibold text-slate-950")[title],
|
||||
h.p(class_="mt-1 text-sm text-slate-600")[subtitle],
|
||||
subtitle and h.p(class_="mt-1 text-sm text-slate-600")[subtitle],
|
||||
],
|
||||
actions,
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue