extract page title to its own component

This commit is contained in:
Athou
2022-08-15 10:01:26 +02:00
parent 6f26c54b62
commit a8e818f97f
6 changed files with 25 additions and 39 deletions

View File

@@ -1,6 +1,6 @@
import { Center, Container, RingProgress, Text, Title, useMantineTheme } from "@mantine/core"
import { Logo } from "components/Logo"
import { Center, Container, RingProgress, Text, useMantineTheme } from "@mantine/core"
import { useAppLoading } from "hooks/useAppLoading"
import { PageTitle } from "./PageTitle"
export function LoadingPage() {
const theme = useMantineTheme()
@@ -8,12 +8,7 @@ export function LoadingPage() {
return (
<Container size="xs">
<Center my="xl">
<Logo size={48} />
<Title order={1} ml="md">
CommaFeed
</Title>
</Center>
<PageTitle />
<Center>
<RingProgress