Skip to content

Commit b56bd49

Browse files
committed
Minor
1 parent c01839d commit b56bd49

File tree

3 files changed

+37
-9
lines changed

3 files changed

+37
-9
lines changed

examples/example_pro/src/FirestoreApp/App.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ import { DemoImportAction } from "./DemoImportAction";
6767
import { algoliaSearchControllerBuilder } from "./text_search";
6868
import { carsCollection } from "./collections/cars_collection";
6969
import ClientUIComponentsShowcase from "./views/ClientUIComponentsShowcase";
70+
import { TypographyDemo } from "./views/TypographyDemo";
7071

7172
const signInOptions: FirebaseSignInProvider[] = ["google.com", "password"];
7273

@@ -247,6 +248,13 @@ export function App() {
247248
view: <ExampleCMSView/>
248249
},
249250
// {
251+
// path: "typography",
252+
// name: "Typography demo",
253+
// group: "Custom views",
254+
// description: "This is an example of an additional view that is defined by the user",
255+
// view: <TypographyDemo/>
256+
// },
257+
// {
250258
// path: "board_test",
251259
// name: "Board test",
252260
// group: "Content",
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import { CenteredView, Typography } from "@firecms/ui";
2+
3+
export function TypographyDemo() {
4+
5+
return <CenteredView>
6+
<Typography variant="h1" gutterBottom>H1. Heading</Typography>
7+
<Typography variant="h2" gutterBottom>H2. Heading</Typography>
8+
<Typography variant="h3" gutterBottom>H3. Heading</Typography>
9+
<Typography variant="h4" gutterBottom>H4. Heading</Typography>
10+
<Typography variant="h5" gutterBottom>H5. Heading</Typography>
11+
<Typography variant="h6" gutterBottom>H6. Heading</Typography>
12+
<Typography variant="subtitle1" gutterBottom>Subtitle 1</Typography>
13+
<Typography variant="subtitle2" gutterBottom>Subtitle 2</Typography>
14+
<Typography variant="body1" gutterBottom>Body 1</Typography>
15+
<Typography variant="body2" gutterBottom>Body 2</Typography>
16+
<Typography variant="caption" gutterBottom>Caption</Typography>
17+
<Typography variant="label" gutterBottom>Label</Typography>
18+
<Typography variant="button" gutterBottom className={"block"}>Button</Typography>
19+
</CenteredView>
20+
}

packages/firecms_cloud/src/components/subscriptions/ProjectSubscriptionPlans.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, { useEffect, useState } from "react";
22
import { useBrowserTitleAndIcon } from "@firecms/core";
3-
import { Card, Chip, CircularProgress, cls, StarIcon, Typography, } from "@firecms/ui";
3+
import { Card, Chip, CircularProgress, cls, AutoAwesomeIcon, Typography, } from "@firecms/ui";
44
import { useSubscriptionsForUserController } from "../../hooks/useSubscriptionsForUserController";
55
import { ProductUpgradeSmallView } from "./ProductUpgradeSmallView";
66
import { getPriceString, getSubscriptionStatusText } from "../settings/common";
@@ -80,28 +80,28 @@ export function ProjectSubscriptionPlans({ uid }: {
8080
following features:</div>}
8181

8282
<ul className={"px-2 text-base"}>
83-
<li className={"flex gap-4 items-center py-0.5"}><StarIcon size={"small"}/>
83+
<li className={"flex gap-4 items-center py-0.5"}><AutoAwesomeIcon size={"small"}/>
8484
Local text search
8585
</li>
86-
<li className={"flex gap-4 items-center py-0.5"}><StarIcon size={"small"}/>Unlimited
86+
<li className={"flex gap-4 items-center py-0.5"}><AutoAwesomeIcon size={"small"}/>Unlimited
8787
users and roles
8888
</li>
89-
<li className={"flex gap-4 items-center py-0.5"}><StarIcon size={"small"}/>Theme and
89+
<li className={"flex gap-4 items-center py-0.5"}><AutoAwesomeIcon size={"small"}/>Theme and
9090
logo customization
9191
</li>
92-
<li className={"flex gap-4 items-center py-0.5"}><StarIcon size={"small"}/>
92+
<li className={"flex gap-4 items-center py-0.5"}><AutoAwesomeIcon size={"small"}/>
9393
Custom form fields and custom views
9494
</li>
95-
<li className={"flex gap-4 items-center py-0.5"}><StarIcon size={"small"}/>
95+
<li className={"flex gap-4 items-center py-0.5"}><AutoAwesomeIcon size={"small"}/>
9696
Secondary databases
9797
</li>
98-
<li className={"flex gap-4 items-center py-0.5"}><StarIcon size={"small"}/>GPT-4
98+
<li className={"flex gap-4 items-center py-0.5"}><AutoAwesomeIcon size={"small"}/>GPT-4
9999
content generation
100100
</li>
101-
<li className={"flex gap-4 items-center py-0.5"}><StarIcon size={"small"}/>
101+
<li className={"flex gap-4 items-center py-0.5"}><AutoAwesomeIcon size={"small"}/>
102102
Unlimited data export
103103
</li>
104-
<li className={"flex gap-4 items-center py-0.5"}><StarIcon size={"small"}/>
104+
<li className={"flex gap-4 items-center py-0.5"}><AutoAwesomeIcon size={"small"}/>
105105
AppCheck
106106
</li>
107107
</ul>

0 commit comments

Comments
 (0)