republisher/repub/pages/publisher.py

20 lines
451 B
Python
Raw Normal View History

from __future__ import annotations
import htpy as h
from htpy import Renderable
from repub.components import app_shell
def publisher_page(*, current_path: str) -> Renderable:
return app_shell(
current_path=current_path,
content=(
h.section[
h.h1(class_="text-3xl font-semibold tracking-tight text-slate-950")[
"Hello publishers"
]
],
),
)