mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
extract page title to its own component
This commit is contained in:
13
commafeed-client/src/pages/PageTitle.tsx
Normal file
13
commafeed-client/src/pages/PageTitle.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Center, Title } from "@mantine/core"
|
||||
import { Logo } from "../components/Logo"
|
||||
|
||||
export function PageTitle() {
|
||||
return (
|
||||
<Center my="xl">
|
||||
<Logo size={48} />
|
||||
<Title order={1} ml="md">
|
||||
CommaFeed
|
||||
</Title>
|
||||
</Center>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user