Skip to content

Commit

Permalink
Add "Coming soon!" for recommended plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
mxstbr committed Jul 30, 2020
1 parent 69df1f0 commit 4996aed
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/gatsby-admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"csstype": "^2.6.10",
"formik": "^2.1.4",
"gatsby": "^2.24.14",
"gatsby-interface": "0.0.173",
"gatsby-interface": "0.0.183",
"gatsby-plugin-typescript": "^2.4.16",
"gatsby-plugin-webfonts": "^1.1.3",
"gatsby-source-graphql": "^2.6.2",
Expand Down
16 changes: 14 additions & 2 deletions packages/gatsby-admin/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import { jsx, Flex } from "strict-ui"
import { Spinner } from "theme-ui"
import { useQuery, useMutation } from "urql"
import {
Card,
CardHeader,
Heading,
DropdownMenu,
DropdownMenuButton,
Expand All @@ -13,6 +15,7 @@ import {
Text,
Badge,
Spacer,
CardSection,
} from "gatsby-interface"
import PluginSearchBar from "../components/plugin-search"

Expand Down Expand Up @@ -57,7 +60,7 @@ const InstalledPluginListItem: React.FC<{
"&:hover": { backgroundColor: `grey.10` },
}}
>
<Heading as="h2" sx={{ fontWeight: `bold`, fontSize: 2 }}>
<Heading as="h3" sx={{ fontWeight: `bold`, fontSize: 2 }}>
{plugin.name}
</Heading>
<DropdownMenu>
Expand Down Expand Up @@ -174,7 +177,16 @@ const Index: React.FC<{}> = () => {
<PluginSearchBar />
</Flex>

<Subheading>Recommended plugins</Subheading>
<Flex flexDirection="column" gap={5}>
<Subheading>Recommended plugins</Subheading>
<Card>
<CardSection>
<Heading as="h3" sx={{ fontWeight: `bold`, fontSize: 2 }}>
Coming soon!
</Heading>
</CardSection>
</Card>
</Flex>
</Flex>
</Flex>
</Fragment>
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10453,10 +10453,10 @@ gather-stream@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/gather-stream/-/gather-stream-1.0.0.tgz#b33994af457a8115700d410f317733cbe7a0904b"

gatsby-interface@0.0.173:
version "0.0.173"
resolved "https://registry.yarnpkg.com/gatsby-interface/-/gatsby-interface-0.0.173.tgz#7c48abcf73c9d1633d958f15e39677d8ae5f9023"
integrity sha512-gcx9oCmIKjSlolnQ1OzIJzHF9rUgdNEG8dlQL1VTsaCb7VTDYmMkmo09ybHIkQ/nv9bQEFmOMGiC/jeL02GXLg==
gatsby-interface@0.0.183:
version "0.0.183"
resolved "https://registry.yarnpkg.com/gatsby-interface/-/gatsby-interface-0.0.183.tgz#cc1c7a655edd623635458a632bbf39d0b11f0eb9"
integrity sha512-SXmmyCiTC4xDmDF0ChHywchF3kfoPv2IazWhopBZzEpYR0RP8BmMQVIdXVS+FoEgG5SI0YBRKF6BPf+gRMslnw==
dependencies:
"@mdx-js/react" "^1.5.2"
"@reach/alert" "0.10.3"
Expand Down

0 comments on commit 4996aed

Please sign in to comment.