Vlad Chikalkin 427cc6b5d8
Feature/back button (#17)
* prepare for header back button: fix pages layout
add header with back button

* set header title

* optimize layout

* remove navigation context

* make profile photo bigger

* remove page-header from main pages

* fix profile layout

* profile: use ui/Card

* fix app background

* contacts: use ui/Card component
2025-01-27 17:28:28 +03:00

6 lines
194 B
TypeScript

type Props = { readonly title: string | undefined };
export function PageTitle(props: Readonly<Props>) {
return <span className="h-8 text-lg font-bold tracking-wide">{props?.title}</span>;
}