Skip to content

Commit

Permalink
refactor(desk-tool): refactor the text to use br
Browse files Browse the repository at this point in the history
  • Loading branch information
RitaDias authored and skogsmaskin committed Apr 25, 2022
1 parent ecc90f4 commit acbbc7a
Showing 1 changed file with 6 additions and 20 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react'
import {Card, Container, Heading, Stack, Text} from '@sanity/ui'
import {Card, Text} from '@sanity/ui'

export function MissingDocumentTypesMessage() {
return (
Expand All @@ -10,25 +10,11 @@ export function MissingDocumentTypesMessage() {
paddingY={[5, 5, 6]}
sizing="border"
>
<Container>
<Stack space={5}>
<Heading as="h1">Empty schema</Heading>

<Text as="p">
Your schema does not contain any document types. If it did, those types would be listed
here.{' '}
<a
title="Schema documentation"
target="_blank"
rel="noopener noreferrer"
href="https://www.sanity.io/docs/content-studio/the-schema"
>
Read more about how to add schema types
</a>
.
</Text>
</Stack>
</Container>
<Text as="p" align="center">
We’ll generate a UI here
<br aria-hidden="true" />
as soon as you build your first schema.
</Text>
</Card>
)
}

0 comments on commit acbbc7a

Please sign in to comment.