fulldev-ui 0.6.0-beta.13 → 0.6.0-beta.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fulldev-ui",
3
- "version": "0.6.0-beta.13",
3
+ "version": "0.6.0-beta.14",
4
4
  "description": "A component library built for Astro",
5
5
  "homepage": "https://ui.full.dev",
6
6
  "bugs": "https://github.com/fulldotdev/ui/issues",
@@ -35,12 +35,12 @@ const {
35
35
  <Writeup align="center">
36
36
  <Tagline text={tagline} />
37
37
  <Heading
38
- size="4xl"
38
+ size="5xl"
39
39
  as="h2"
40
40
  text={heading}
41
41
  />
42
42
  <Paragraph
43
- size="lg"
43
+ size="xl"
44
44
  text={paragraph}
45
45
  />
46
46
  <Fragment set:html={content} />
@@ -44,7 +44,7 @@ const { tagline, heading, paragraph, images, ...rest } = Astro.props
44
44
  }
45
45
 
46
46
  .logos-1-cards {
47
- @apply flex flex-wrap justify-center gap-12;
47
+ @apply flex flex-wrap justify-center gap-8;
48
48
  }
49
49
 
50
50
  .image {
@@ -0,0 +1,72 @@
1
+ ---
2
+ import type { ComponentProps } from 'astro/types'
3
+ import Button from 'fulldev-ui/components/Button.astro'
4
+ import Heading from 'fulldev-ui/components/Heading.astro'
5
+ import List from 'fulldev-ui/components/List.astro'
6
+ import Paragraph from 'fulldev-ui/components/Paragraph.astro'
7
+ import Tagline from 'fulldev-ui/components/Tagline.astro'
8
+ import Card from 'fulldev-ui/structures/Card.astro'
9
+ import Container from 'fulldev-ui/structures/Container.astro'
10
+ import Prose from 'fulldev-ui/structures/Prose.astro'
11
+ import Section from 'fulldev-ui/structures/Section.astro'
12
+ import Stack from 'fulldev-ui/structures/Stack.astro'
13
+
14
+ interface Props {
15
+ depth?: 1 | 2 | undefined
16
+ heading?: string | undefined
17
+ paragraph?: string | undefined
18
+ cards?: {
19
+ tagline?: string | undefined
20
+ heading?: string | undefined
21
+ paragraph?: string | undefined
22
+ list?: string[] | undefined
23
+ button?: ComponentProps<typeof Button> | undefined
24
+ }[]
25
+ }
26
+
27
+ const { depth = 2, heading, paragraph, cards } = Astro.props
28
+ ---
29
+
30
+ <Section class="pricings-1">
31
+ <Container class="flex flex-col items-center gap-16">
32
+ <Prose class="text-center">
33
+ <Heading
34
+ size="5xl"
35
+ text={heading}
36
+ {depth}
37
+ />
38
+ <Paragraph
39
+ size="xl"
40
+ text={paragraph}
41
+ />
42
+ </Prose>
43
+ <Stack class="mx-auto flex flex-wrap items-stretch justify-center">
44
+ {
45
+ cards?.map(({ tagline, heading, paragraph, list, button }) => (
46
+ <Card class="min-w-sm flex max-w-md flex-col justify-between gap-8 p-8">
47
+ <Prose>
48
+ <Tagline text={tagline} />
49
+ <Heading
50
+ as={`h${(depth + 1) as 1 | 2 | 3}`}
51
+ size="3xl"
52
+ text={heading}
53
+ />
54
+ <Paragraph
55
+ muted
56
+ text={paragraph}
57
+ />
58
+ <List
59
+ size="sm"
60
+ items={list}
61
+ />
62
+ </Prose>
63
+ <Button
64
+ class=""
65
+ {...button}
66
+ />
67
+ </Card>
68
+ ))
69
+ }
70
+ </Stack>
71
+ </Container>
72
+ </Section>