fulldev-ui 0.6.0-beta.9 → 0.6.1
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/astro.config.ts +6 -8
- package/cloudcannon.config.yml +57 -86
- package/package.json +2 -1
- package/public/images/block-code.png +0 -0
- package/public/images/component-code.png +0 -0
- package/src/blocks/Banner.astro +3 -5
- package/src/blocks/Colleagues1.astro +4 -3
- package/src/blocks/Contact1.astro +42 -42
- package/src/blocks/Contact2.astro +98 -0
- package/src/blocks/Content1.astro +6 -27
- package/src/blocks/Content2.astro +26 -49
- package/src/blocks/Content3.astro +26 -54
- package/src/blocks/Content4.astro +34 -50
- package/src/blocks/Content5.astro +7 -36
- package/src/blocks/Content6.astro +57 -0
- package/src/blocks/Content7.astro +65 -0
- package/src/blocks/Content8.astro +48 -0
- package/src/blocks/Cta1.astro +9 -12
- package/src/blocks/Cta2.astro +52 -0
- package/src/blocks/Features1.astro +8 -6
- package/src/blocks/Features2.astro +71 -0
- package/src/blocks/Footer.astro +2 -6
- package/src/blocks/Header.astro +9 -25
- package/src/blocks/Hero1.astro +19 -27
- package/src/blocks/Intro1.astro +6 -7
- package/src/blocks/{Industries1.astro → JobCategories1.astro} +13 -38
- package/src/blocks/JobCategory1.astro +92 -0
- package/src/blocks/Jobs1.astro +7 -10
- package/src/blocks/Logos1.astro +4 -4
- package/src/blocks/Pages1.astro +85 -0
- package/src/blocks/Pricings1.astro +61 -0
- package/src/blocks/Products1.astro +7 -10
- package/src/blocks/Projects1.astro +59 -83
- package/src/blocks/Reviews1.astro +10 -10
- package/src/blocks/Subheader.astro +4 -9
- package/src/components/Avatar.astro +40 -0
- package/src/components/Avatars.astro +20 -0
- package/src/components/Badge.astro +6 -35
- package/src/components/Block.astro +20 -4
- package/src/components/Channel.astro +4 -0
- package/src/components/Chip.astro +73 -0
- package/src/components/Element.astro +1 -0
- package/src/components/Field.astro +33 -0
- package/src/components/Fields.astro +20 -0
- package/src/components/Heading.astro +12 -5
- package/src/components/Image.astro +1 -1
- package/src/components/Link.astro +1 -1
- package/src/components/Menu.astro +9 -5
- package/src/components/Proof.astro +52 -0
- package/src/components/Select.astro +1 -1
- package/src/components/Tagline.astro +6 -6
- package/src/components/Toc.astro +33 -31
- package/src/content/config.ts +5 -0
- package/src/content/layouts/base.yml +135 -142
- package/src/content/pages/{base → _base}/toggle.mdx +1 -1
- package/src/content/pages/_showcase/stark-vulcanising-products.md +0 -1
- package/src/content/pages/docs/blocks/_categories.mdx +1 -17
- package/src/content/pages/docs/blocks/banner.mdx +1 -1
- package/src/content/pages/docs/blocks/colleagues.mdx +1 -1
- package/src/content/pages/docs/blocks/content.mdx +162 -1
- package/src/content/pages/docs/blocks/cta.mdx +1 -1
- package/src/content/pages/docs/blocks/features.mdx +66 -1
- package/src/content/pages/docs/blocks/footer.mdx +1 -1
- package/src/content/pages/docs/blocks/header.mdx +1 -1
- package/src/content/pages/docs/blocks/hero.mdx +1 -1
- package/src/content/pages/docs/blocks/intro.mdx +1 -1
- package/src/content/pages/docs/blocks/logos.mdx +1 -1
- package/src/content/pages/docs/blocks/projects.mdx +1 -1
- package/src/content/pages/docs/blocks/reviews.mdx +1 -1
- package/src/content/pages/docs/blocks.mdx +1 -7
- package/src/content/pages/docs/collections/images.mdx +1 -1
- package/src/content/pages/docs/collections/pages.mdx +1 -1
- package/src/content/pages/docs/collections/presets.mdx +1 -1
- package/src/content/pages/docs/components/_localeswitcher.mdx +1 -1
- package/src/content/pages/docs/components/_table.mdx +1 -1
- package/src/content/pages/docs/components/_tagline.mdx +1 -1
- package/src/content/pages/docs/components/_themer.mdx +1 -1
- package/src/content/pages/docs/components/_toggle.mdx +1 -1
- package/src/content/pages/docs/components/avatar.mdx +32 -0
- package/src/content/pages/docs/components/badge.mdx +1 -34
- package/src/content/pages/docs/components/badges.mdx +1 -13
- package/src/content/pages/docs/components/button.mdx +1 -1
- package/src/content/pages/docs/components/buttons.mdx +1 -1
- package/src/content/pages/docs/components/channel.mdx +1 -1
- package/src/content/pages/docs/components/channels.mdx +1 -1
- package/src/content/pages/docs/components/checkbox.mdx +1 -1
- package/src/content/pages/docs/components/chip.mdx +75 -0
- package/src/content/pages/docs/components/heading.mdx +1 -1
- package/src/content/pages/docs/components/icon.mdx +1 -1
- package/src/content/pages/docs/components/image.mdx +2 -1
- package/src/content/pages/docs/components/input.mdx +1 -1
- package/src/content/pages/docs/components/label.mdx +1 -1
- package/src/content/pages/docs/components/link.mdx +1 -1
- package/src/content/pages/docs/components/links.mdx +11 -52
- package/src/content/pages/docs/components/list.mdx +1 -1
- package/src/content/pages/docs/components/logo.mdx +1 -1
- package/src/content/pages/docs/components/menu.mdx +5 -18
- package/src/content/pages/docs/components/paragraph.mdx +1 -1
- package/src/content/pages/docs/components/rating.mdx +1 -1
- package/src/content/pages/docs/components/select.mdx +1 -1
- package/src/content/pages/docs/components/social.mdx +1 -1
- package/src/content/pages/docs/components/socials.mdx +1 -1
- package/src/content/pages/docs/components/switch.mdx +1 -1
- package/src/content/pages/docs/components/tagline.mdx +1 -1
- package/src/content/pages/docs/components/textarea.mdx +1 -1
- package/src/content/pages/docs/components.mdx +1 -1
- package/src/content/pages/docs/customization.mdx +1 -1
- package/src/content/pages/docs/frameworks.mdx +1 -1
- package/src/content/pages/docs/index.mdx +1 -1
- package/src/content/pages/docs/installation.mdx +1 -24
- package/src/content/pages/docs/layouts/doc.mdx +1 -1
- package/src/content/pages/docs/layouts/page.mdx +1 -1
- package/src/content/pages/docs/pages.mdx +1 -1
- package/src/content/pages/docs/structures/_card.mdx +1 -1
- package/src/content/pages/docs/structures/_dialog.mdx +1 -1
- package/src/content/pages/docs/structures/_drawer.mdx +1 -1
- package/src/content/pages/docs/structures/card.mdx +1 -1
- package/src/content/pages/docs/structures/code.mdx +1 -1
- package/src/content/pages/docs/structures/container.mdx +1 -1
- package/src/content/pages/docs/structures/drawer.mdx +1 -1
- package/src/content/pages/docs/structures/group.mdx +1 -1
- package/src/content/pages/docs/structures/layout.mdx +1 -1
- package/src/content/pages/docs/structures/masonry.mdx +1 -1
- package/src/content/pages/docs/structures/matrix.mdx +1 -1
- package/src/content/pages/docs/structures/panel.mdx +1 -1
- package/src/content/pages/docs/structures/prose.mdx +1 -1
- package/src/content/pages/docs/structures/section.mdx +1 -1
- package/src/content/pages/docs/structures/stack.mdx +1 -1
- package/src/content/pages/docs/structures/writeup.mdx +1 -1
- package/src/content/pages/docs/structures.mdx +1 -1
- package/src/content/pages/index.mdx +20 -25
- package/src/css/custom.css +4 -0
- package/src/integration/index.ts +1 -0
- package/src/layouts/Page.astro +45 -10
- package/src/layouts/{Product.astro → _Product.astro} +6 -6
- package/src/pages/test.astro +16 -0
- package/src/schemas/block.ts +22 -41
- package/src/schemas/button.ts +2 -0
- package/src/schemas/card.ts +43 -0
- package/src/schemas/channel.ts +1 -0
- package/src/schemas/{badge.ts → chip.ts} +3 -3
- package/src/schemas/page.ts +4 -18
- package/src/schemas/proof.ts +12 -0
- package/src/structures/Drawer.astro +2 -3
- package/src/structures/Prose.astro +40 -41
- package/src/structures/Section.astro +1 -1
- package/src/structures/Sidebar.astro +3 -4
- package/src/structures/Split.astro +38 -0
- package/tailwind.config.ts +4 -1
- package/pnpm-lock.yaml +0 -5186
- package/src/blocks/_Hero.astro +0 -245
- package/src/components/Blocks.astro +0 -26
- package/src/components/Sidebar.astro +0 -43
- package/src/content/pages/docs/blocks/feature.mdx +0 -17
- package/src/content/pages/docs/layouts.mdx +0 -80
- package/src/layouts/Block.astro +0 -81
- package/src/layouts/Category.astro +0 -136
- package/src/layouts/Doc.astro +0 -96
- package/src/layouts/Job.astro +0 -60
- package/src/layouts/Jobs.astro +0 -72
- package/src/layouts/Post.astro +0 -53
- /package/src/content/pages/{posts → _posts}/post.md +0 -0
package/astro.config.ts
CHANGED
|
@@ -16,12 +16,10 @@ export default defineConfig({
|
|
|
16
16
|
}),
|
|
17
17
|
svelte(),
|
|
18
18
|
],
|
|
19
|
-
redirects: {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
// '/overview/[...slug]': '/docs/[...slug]',
|
|
26
|
-
},
|
|
19
|
+
// redirects: {
|
|
20
|
+
// '/overview/[...slug]': '/docs/[...slug]',
|
|
21
|
+
// '/typography/[...slug]': '/docs/components/[...slug]',
|
|
22
|
+
// '/structure/[...slug]': '/docs/structures/[...slug]',
|
|
23
|
+
// '/blocks': '/docs/blocks/banner/',
|
|
24
|
+
// },
|
|
27
25
|
})
|
package/cloudcannon.config.yml
CHANGED
|
@@ -1,80 +1,97 @@
|
|
|
1
1
|
paths:
|
|
2
|
-
uploads: public/images
|
|
3
2
|
static: public
|
|
3
|
+
uploads: public/images
|
|
4
4
|
|
|
5
5
|
collection_groups:
|
|
6
6
|
- heading: Content
|
|
7
7
|
collections:
|
|
8
8
|
- pages
|
|
9
|
+
- records
|
|
9
10
|
- heading: Settings
|
|
10
11
|
collections:
|
|
11
12
|
- layouts
|
|
12
13
|
|
|
13
14
|
collections_config:
|
|
14
|
-
layouts:
|
|
15
|
-
path: src/content/layouts
|
|
16
|
-
name: Layouts
|
|
17
|
-
icon: web
|
|
18
|
-
disable_url: true
|
|
19
|
-
disable_add: true
|
|
20
|
-
disable_add_folder: true
|
|
21
|
-
disable_file_actions: true
|
|
22
|
-
_enabled_editors:
|
|
23
|
-
- data
|
|
24
15
|
pages:
|
|
25
16
|
path: src/content/pages
|
|
26
|
-
output: true
|
|
27
17
|
url: /[full_slug]/
|
|
28
18
|
disable_add_folder: true
|
|
29
19
|
_enabled_editors:
|
|
30
20
|
- visual
|
|
21
|
+
- content
|
|
31
22
|
schemas:
|
|
32
23
|
page:
|
|
33
24
|
remove_extra_inputs: false
|
|
34
25
|
remove_empty_inputs: true
|
|
35
26
|
hide_extra_inputs: true
|
|
36
27
|
path: schemas/page.md
|
|
37
|
-
|
|
28
|
+
job:
|
|
29
|
+
remove_extra_inputs: false
|
|
30
|
+
remove_empty_inputs: true
|
|
31
|
+
hide_extra_inputs: true
|
|
32
|
+
path: schemas/job.md
|
|
33
|
+
jobs:
|
|
34
|
+
remove_extra_inputs: false
|
|
35
|
+
remove_empty_inputs: true
|
|
36
|
+
hide_extra_inputs: true
|
|
37
|
+
path: schemas/jobs.md
|
|
38
|
+
post:
|
|
39
|
+
remove_extra_inputs: false
|
|
40
|
+
remove_empty_inputs: true
|
|
41
|
+
hide_extra_inputs: true
|
|
42
|
+
path: schemas/post.md
|
|
43
|
+
records:
|
|
44
|
+
path: src/content/records
|
|
45
|
+
name: Records
|
|
46
|
+
disable_url: true
|
|
47
|
+
disable_add_folder: true
|
|
48
|
+
_enabled_editors:
|
|
49
|
+
- data
|
|
50
|
+
layouts:
|
|
51
|
+
path: src/content/layouts
|
|
52
|
+
name: Layouts
|
|
53
|
+
icon: web
|
|
54
|
+
disable_url: true
|
|
55
|
+
disable_add: true
|
|
56
|
+
disable_add_folder: true
|
|
57
|
+
disable_file_actions: true
|
|
58
|
+
_enabled_editors:
|
|
59
|
+
- data
|
|
38
60
|
_inputs:
|
|
39
|
-
|
|
40
|
-
label: SEO / Settings
|
|
41
|
-
head.title:
|
|
42
|
-
label: SEO title
|
|
43
|
-
comment: 50-60 characters
|
|
44
|
-
head.description:
|
|
45
|
-
label: SEO description
|
|
46
|
-
comment: 50-120 characters
|
|
47
|
-
parents:
|
|
61
|
+
pages:
|
|
48
62
|
type: multiselect
|
|
49
63
|
label: Categorieën
|
|
50
64
|
options:
|
|
51
65
|
values: collections.pages
|
|
52
|
-
|
|
53
|
-
type: multiselect
|
|
54
|
-
label: Subcategorieën
|
|
55
|
-
options:
|
|
56
|
-
values: collections.pages
|
|
57
|
-
siblings:
|
|
66
|
+
categories:
|
|
58
67
|
type: multiselect
|
|
59
|
-
label:
|
|
68
|
+
label: Categorieën
|
|
60
69
|
options:
|
|
61
70
|
values: collections.pages
|
|
62
71
|
href:
|
|
63
72
|
type: url
|
|
64
73
|
label: Link
|
|
65
|
-
rating
|
|
74
|
+
rating:
|
|
66
75
|
label: Rating
|
|
67
76
|
type: range
|
|
68
77
|
options:
|
|
69
78
|
min: 0
|
|
70
79
|
max: 5
|
|
71
80
|
step: 0.1
|
|
81
|
+
head:
|
|
82
|
+
label: SEO / Settings
|
|
83
|
+
head.title:
|
|
84
|
+
label: SEO title
|
|
85
|
+
comment: 50-60 characters
|
|
86
|
+
head.description:
|
|
87
|
+
label: SEO description
|
|
88
|
+
comment: 50-120 characters
|
|
72
89
|
head.image:
|
|
73
90
|
type: image
|
|
74
91
|
label: Image
|
|
75
92
|
comment: Visible when you share a link of the page
|
|
76
93
|
options:
|
|
77
|
-
accepts_mime_types:
|
|
94
|
+
accepts_mime_types: image/jpeg,image/jpg,image/png,image/webp
|
|
78
95
|
mime_type: image/png
|
|
79
96
|
resize_style: contain
|
|
80
97
|
width: 1200
|
|
@@ -85,7 +102,7 @@ _inputs:
|
|
|
85
102
|
images[*]:
|
|
86
103
|
type: image
|
|
87
104
|
options:
|
|
88
|
-
accepts_mime_types:
|
|
105
|
+
accepts_mime_types: image/jpeg,image/jpg,image/png,image/webp
|
|
89
106
|
mime_type: image/webp
|
|
90
107
|
resize_style: contain
|
|
91
108
|
width: 1920
|
|
@@ -94,7 +111,7 @@ _inputs:
|
|
|
94
111
|
type: image
|
|
95
112
|
label: Afbeelding
|
|
96
113
|
options:
|
|
97
|
-
accepts_mime_types:
|
|
114
|
+
accepts_mime_types: image/jpeg,image/jpg,image/png,image/webp
|
|
98
115
|
mime_type: image/webp
|
|
99
116
|
resize_style: contain
|
|
100
117
|
width: 1920
|
|
@@ -140,63 +157,19 @@ _inputs:
|
|
|
140
157
|
type: image
|
|
141
158
|
cascade: true
|
|
142
159
|
options:
|
|
143
|
-
accepts_mime_types:
|
|
160
|
+
accepts_mime_types: image/jpeg,image/jpg,image/png,image/webp
|
|
144
161
|
mime_type: image/webp
|
|
145
162
|
resize_style: contain
|
|
146
163
|
width: 260
|
|
147
164
|
height: 32
|
|
148
|
-
rating:
|
|
149
|
-
type: range
|
|
150
|
-
options:
|
|
151
|
-
min: 0
|
|
152
|
-
max: 5
|
|
153
|
-
step: 0.1
|
|
154
|
-
label: Rating
|
|
155
165
|
price:
|
|
156
166
|
type: number
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
hidden: true
|
|
160
|
-
component:
|
|
161
|
-
hidden: true
|
|
162
|
-
dark:
|
|
163
|
-
hidden: true
|
|
167
|
+
content:
|
|
168
|
+
type: html
|
|
164
169
|
name:
|
|
165
170
|
hidden: true
|
|
166
|
-
color:
|
|
167
|
-
hidden: true
|
|
168
|
-
layout:
|
|
169
|
-
hidden: true
|
|
170
|
-
position:
|
|
171
|
-
hidden: true
|
|
172
|
-
scheme:
|
|
173
|
-
hidden: true
|
|
174
|
-
hue:
|
|
175
|
-
hidden: true
|
|
176
|
-
align:
|
|
177
|
-
hidden: true
|
|
178
|
-
frame:
|
|
179
|
-
hidden: true
|
|
180
|
-
variant:
|
|
181
|
-
hidden: true
|
|
182
|
-
scale:
|
|
183
|
-
hidden: true
|
|
184
|
-
render:
|
|
185
|
-
hidden: true
|
|
186
|
-
collection:
|
|
187
|
-
hidden: true
|
|
188
|
-
slug:
|
|
189
|
-
hidden: true
|
|
190
171
|
id:
|
|
191
172
|
hidden: true
|
|
192
|
-
class:
|
|
193
|
-
hidden: true
|
|
194
|
-
direction:
|
|
195
|
-
hidden: true
|
|
196
|
-
size:
|
|
197
|
-
hidden: true
|
|
198
|
-
structure:
|
|
199
|
-
hidden: true
|
|
200
173
|
|
|
201
174
|
_structures:
|
|
202
175
|
head:
|
|
@@ -205,11 +178,10 @@ _structures:
|
|
|
205
178
|
values:
|
|
206
179
|
- label: SEO / Settings
|
|
207
180
|
value:
|
|
208
|
-
title:
|
|
209
|
-
description:
|
|
210
|
-
image:
|
|
211
|
-
code:
|
|
212
|
-
|
|
181
|
+
title: null
|
|
182
|
+
description: null
|
|
183
|
+
image: null
|
|
184
|
+
code: null
|
|
213
185
|
_editables:
|
|
214
186
|
content:
|
|
215
187
|
allow_custom_markup: false
|
|
@@ -226,7 +198,6 @@ _editables:
|
|
|
226
198
|
table: true
|
|
227
199
|
underline: true
|
|
228
200
|
undo: true
|
|
229
|
-
accepts_mime_types: 'image/jpeg,image/jpg,image/png,image/webp'
|
|
230
201
|
mime_type: image/webp
|
|
231
202
|
resize_style: contain
|
|
232
203
|
width: 1920
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fulldev-ui",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
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",
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
"@astrojs/mdx": "^3.1.9",
|
|
39
39
|
"@astrojs/sitemap": "^3.2.1",
|
|
40
40
|
"@astrojs/svelte": "^6.0.2",
|
|
41
|
+
"@astrojs/tailwind": "^5.1.3",
|
|
41
42
|
"@astrolib/seo": "1.0.0-beta.8",
|
|
42
43
|
"@iconify-json/tabler": "^1.2.7",
|
|
43
44
|
"@nanostores/persistent": "^0.10.2",
|
|
Binary file
|
|
Binary file
|
package/src/blocks/Banner.astro
CHANGED
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
---
|
|
2
|
-
import type { HTMLAttributes, HTMLTag } from 'astro/types'
|
|
3
2
|
import Element from 'fulldev-ui/components/Element.astro'
|
|
4
3
|
import type { BlockSchema } from 'fulldev-ui/schemas/block'
|
|
5
4
|
import Container from 'fulldev-ui/structures/Container.astro'
|
|
6
5
|
|
|
7
|
-
interface Props extends
|
|
8
|
-
as?: HTMLTag
|
|
9
|
-
}
|
|
6
|
+
interface Props extends BlockSchema {}
|
|
10
7
|
|
|
11
|
-
const {
|
|
8
|
+
const { text, ...rest } = Astro.props
|
|
12
9
|
---
|
|
13
10
|
|
|
14
11
|
<Element
|
|
15
12
|
class:list="banner"
|
|
13
|
+
as="header"
|
|
16
14
|
{...rest}
|
|
17
15
|
>
|
|
18
16
|
<Container>
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
---
|
|
2
|
-
import type { ComponentProps } from 'astro/types'
|
|
3
2
|
import Element from 'fulldev-ui/components/Element.astro'
|
|
4
3
|
import Heading from 'fulldev-ui/components/Heading.astro'
|
|
5
4
|
import Image from 'fulldev-ui/components/Image.astro'
|
|
@@ -11,9 +10,9 @@ import Matrix from 'fulldev-ui/structures/Matrix.astro'
|
|
|
11
10
|
import Section from 'fulldev-ui/structures/Section.astro'
|
|
12
11
|
import Writeup from 'fulldev-ui/structures/Writeup.astro'
|
|
13
12
|
|
|
14
|
-
interface Props extends
|
|
13
|
+
interface Props extends BlockSchema {}
|
|
15
14
|
|
|
16
|
-
const { tagline, heading, paragraph, cards, ...rest } = Astro.props
|
|
15
|
+
const { depth = 2, tagline, heading, paragraph, cards, ...rest } = Astro.props
|
|
17
16
|
---
|
|
18
17
|
|
|
19
18
|
<Section
|
|
@@ -29,6 +28,7 @@ const { tagline, heading, paragraph, cards, ...rest } = Astro.props
|
|
|
29
28
|
<Heading
|
|
30
29
|
size="3xl"
|
|
31
30
|
text={heading}
|
|
31
|
+
{depth}
|
|
32
32
|
/>
|
|
33
33
|
<Paragraph text={paragraph} />
|
|
34
34
|
</Writeup>
|
|
@@ -38,6 +38,7 @@ const { tagline, heading, paragraph, cards, ...rest } = Astro.props
|
|
|
38
38
|
<Element class:list="colleagues-card">
|
|
39
39
|
<Image {...image} />
|
|
40
40
|
<Heading
|
|
41
|
+
depth={(depth + 1) as 3}
|
|
41
42
|
as="h3"
|
|
42
43
|
size="xl"
|
|
43
44
|
text={heading}
|
|
@@ -1,32 +1,31 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import Channel from 'fulldev-ui/components/Channel.astro'
|
|
6
|
-
import Element from 'fulldev-ui/components/Element.astro'
|
|
2
|
+
import Button from 'fulldev-ui/components/Button.astro'
|
|
3
|
+
import Channels from 'fulldev-ui/components/Channels.astro'
|
|
4
|
+
import Fields from 'fulldev-ui/components/Fields.astro'
|
|
7
5
|
import Form from 'fulldev-ui/components/Form.astro'
|
|
8
6
|
import Heading from 'fulldev-ui/components/Heading.astro'
|
|
9
7
|
import Image from 'fulldev-ui/components/Image.astro'
|
|
10
8
|
import Paragraph from 'fulldev-ui/components/Paragraph.astro'
|
|
11
|
-
import
|
|
9
|
+
import Socials from 'fulldev-ui/components/Socials.astro'
|
|
12
10
|
import Tagline from 'fulldev-ui/components/Tagline.astro'
|
|
13
11
|
import type { BlockSchema } from 'fulldev-ui/schemas/block'
|
|
12
|
+
import Container from 'fulldev-ui/structures/Container.astro'
|
|
13
|
+
import Group from 'fulldev-ui/structures/Group.astro'
|
|
14
|
+
import Prose from 'fulldev-ui/structures/Prose.astro'
|
|
14
15
|
import Section from 'fulldev-ui/structures/Section.astro'
|
|
15
16
|
|
|
16
|
-
interface Props extends
|
|
17
|
+
interface Props extends BlockSchema {}
|
|
17
18
|
|
|
18
19
|
const {
|
|
19
|
-
|
|
20
|
-
badges,
|
|
20
|
+
depth = 2,
|
|
21
21
|
tagline,
|
|
22
22
|
heading,
|
|
23
|
-
text,
|
|
24
23
|
paragraph,
|
|
25
|
-
|
|
24
|
+
content,
|
|
25
|
+
channels,
|
|
26
26
|
socials,
|
|
27
27
|
form,
|
|
28
28
|
image,
|
|
29
|
-
channels,
|
|
30
29
|
...rest
|
|
31
30
|
} = Astro.props
|
|
32
31
|
---
|
|
@@ -35,39 +34,40 @@ const {
|
|
|
35
34
|
class:list="contact-1"
|
|
36
35
|
{...rest}
|
|
37
36
|
>
|
|
38
|
-
<
|
|
39
|
-
<
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
</Element>
|
|
60
|
-
<Element class:list="contact-1-socials">
|
|
61
|
-
{socials?.map((social) => <Social href={social} />)}
|
|
62
|
-
</Element>
|
|
37
|
+
<Container>
|
|
38
|
+
<Prose
|
|
39
|
+
align="middle"
|
|
40
|
+
class="max-w-xl"
|
|
41
|
+
>
|
|
42
|
+
<Tagline text={tagline} />
|
|
43
|
+
<Heading
|
|
44
|
+
size="4xl"
|
|
45
|
+
text={heading}
|
|
46
|
+
{depth}
|
|
47
|
+
/>
|
|
48
|
+
<Paragraph
|
|
49
|
+
muted
|
|
50
|
+
size="lg"
|
|
51
|
+
text={paragraph}
|
|
52
|
+
/>
|
|
53
|
+
<Fragment set:html={content} />
|
|
54
|
+
<Channels {channels} />
|
|
55
|
+
<Group>
|
|
56
|
+
<Socials {socials} />
|
|
57
|
+
</Group>
|
|
63
58
|
<Form
|
|
64
59
|
action="/thank-you"
|
|
65
60
|
method="POST"
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
61
|
+
>
|
|
62
|
+
<Fields fields={form?.fields} />
|
|
63
|
+
<Button
|
|
64
|
+
type="submit"
|
|
65
|
+
text={form?.submit}
|
|
66
|
+
/>
|
|
67
|
+
</Form>
|
|
68
|
+
<Image {...image} />
|
|
69
|
+
</Prose>
|
|
70
|
+
</Container>
|
|
71
71
|
</Section>
|
|
72
72
|
|
|
73
73
|
<style is:global>
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
---
|
|
2
|
+
import Button from 'fulldev-ui/components/Button.astro'
|
|
3
|
+
import Channels from 'fulldev-ui/components/Channels.astro'
|
|
4
|
+
import Fields from 'fulldev-ui/components/Fields.astro'
|
|
5
|
+
import Form from 'fulldev-ui/components/Form.astro'
|
|
6
|
+
import Heading from 'fulldev-ui/components/Heading.astro'
|
|
7
|
+
import Image from 'fulldev-ui/components/Image.astro'
|
|
8
|
+
import Paragraph from 'fulldev-ui/components/Paragraph.astro'
|
|
9
|
+
import Socials from 'fulldev-ui/components/Socials.astro'
|
|
10
|
+
import Tagline from 'fulldev-ui/components/Tagline.astro'
|
|
11
|
+
import type { BlockSchema } from 'fulldev-ui/schemas/block'
|
|
12
|
+
import Container from 'fulldev-ui/structures/Container.astro'
|
|
13
|
+
import Group from 'fulldev-ui/structures/Group.astro'
|
|
14
|
+
import Prose from 'fulldev-ui/structures/Prose.astro'
|
|
15
|
+
import Section from 'fulldev-ui/structures/Section.astro'
|
|
16
|
+
import Split from 'fulldev-ui/structures/Split.astro'
|
|
17
|
+
|
|
18
|
+
interface Props extends BlockSchema {}
|
|
19
|
+
|
|
20
|
+
const {
|
|
21
|
+
depth = 2,
|
|
22
|
+
tagline,
|
|
23
|
+
heading,
|
|
24
|
+
paragraph,
|
|
25
|
+
content,
|
|
26
|
+
channels,
|
|
27
|
+
socials,
|
|
28
|
+
form,
|
|
29
|
+
image,
|
|
30
|
+
...rest
|
|
31
|
+
} = Astro.props
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
<Section
|
|
35
|
+
class:list="contact-2"
|
|
36
|
+
{...rest}
|
|
37
|
+
>
|
|
38
|
+
<Container>
|
|
39
|
+
<Split>
|
|
40
|
+
<Prose
|
|
41
|
+
align="middle"
|
|
42
|
+
class="max-w-xl"
|
|
43
|
+
>
|
|
44
|
+
<Tagline text={tagline} />
|
|
45
|
+
<Heading
|
|
46
|
+
size="4xl"
|
|
47
|
+
text={heading}
|
|
48
|
+
{depth}
|
|
49
|
+
/>
|
|
50
|
+
<Paragraph
|
|
51
|
+
muted
|
|
52
|
+
size="lg"
|
|
53
|
+
text={paragraph}
|
|
54
|
+
/>
|
|
55
|
+
<Fragment set:html={content} />
|
|
56
|
+
<Channels {channels} />
|
|
57
|
+
<Group>
|
|
58
|
+
<Socials {socials} />
|
|
59
|
+
</Group>
|
|
60
|
+
<Form
|
|
61
|
+
action="/thank-you"
|
|
62
|
+
method="POST"
|
|
63
|
+
>
|
|
64
|
+
<Fields fields={form?.fields} />
|
|
65
|
+
<Button
|
|
66
|
+
type="submit"
|
|
67
|
+
text={form?.submit}
|
|
68
|
+
/>
|
|
69
|
+
</Form>
|
|
70
|
+
</Prose>
|
|
71
|
+
<Image {...image} />
|
|
72
|
+
</Split>
|
|
73
|
+
</Container>
|
|
74
|
+
</Section>
|
|
75
|
+
|
|
76
|
+
<style is:global>
|
|
77
|
+
@layer fulldev {
|
|
78
|
+
.contact-2 {
|
|
79
|
+
@apply relative w-full;
|
|
80
|
+
|
|
81
|
+
.container {
|
|
82
|
+
@apply flex flex-col gap-16;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.contact-2-segment {
|
|
86
|
+
@apply flex flex-col items-start gap-8;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.contact-2-content {
|
|
90
|
+
@apply flex max-w-screen-md flex-col gap-4;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.image {
|
|
94
|
+
@apply rounded-md;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
</style>
|
|
@@ -1,40 +1,29 @@
|
|
|
1
1
|
---
|
|
2
|
-
// Centered
|
|
3
|
-
import type { ComponentProps } from 'astro/types'
|
|
4
2
|
import Buttons from 'fulldev-ui/components/Buttons.astro'
|
|
5
3
|
import Heading from 'fulldev-ui/components/Heading.astro'
|
|
6
4
|
import Image from 'fulldev-ui/components/Image.astro'
|
|
7
5
|
import Paragraph from 'fulldev-ui/components/Paragraph.astro'
|
|
8
6
|
import Tagline from 'fulldev-ui/components/Tagline.astro'
|
|
7
|
+
import type { BlockSchema } from 'fulldev-ui/schemas/block.ts'
|
|
9
8
|
import Container from 'fulldev-ui/structures/Container.astro'
|
|
10
9
|
import Group from 'fulldev-ui/structures/Group.astro'
|
|
11
10
|
import Prose from 'fulldev-ui/structures/Prose.astro'
|
|
12
11
|
import Section from 'fulldev-ui/structures/Section.astro'
|
|
13
12
|
|
|
14
|
-
interface Props extends
|
|
15
|
-
tagline?: string | undefined
|
|
16
|
-
heading?: string | undefined
|
|
17
|
-
paragraph?: string | undefined
|
|
18
|
-
content?: string | undefined
|
|
19
|
-
image?: ComponentProps<typeof Image> | undefined
|
|
20
|
-
buttons?: ComponentProps<typeof Buttons>['buttons']
|
|
21
|
-
}
|
|
13
|
+
interface Props extends BlockSchema {}
|
|
22
14
|
|
|
23
|
-
const { tagline, heading, paragraph, buttons, image, content
|
|
15
|
+
const { depth, tagline, heading, paragraph, buttons, image, content } =
|
|
24
16
|
Astro.props
|
|
25
17
|
---
|
|
26
18
|
|
|
27
|
-
<Section
|
|
28
|
-
class:list="content-1"
|
|
29
|
-
{...rest}
|
|
30
|
-
>
|
|
19
|
+
<Section class="content-1">
|
|
31
20
|
<Container>
|
|
32
|
-
<Prose>
|
|
21
|
+
<Prose align="middle">
|
|
33
22
|
<Tagline text={tagline} />
|
|
34
23
|
<Heading
|
|
35
|
-
as="h2"
|
|
36
24
|
size="5xl"
|
|
37
25
|
text={heading}
|
|
26
|
+
{depth}
|
|
38
27
|
/>
|
|
39
28
|
<Paragraph
|
|
40
29
|
muted
|
|
@@ -50,13 +39,3 @@ const { tagline, heading, paragraph, buttons, image, content, ...rest } =
|
|
|
50
39
|
</Prose>
|
|
51
40
|
</Container>
|
|
52
41
|
</Section>
|
|
53
|
-
|
|
54
|
-
<style is:global>
|
|
55
|
-
@layer fulldev {
|
|
56
|
-
.content-1 {
|
|
57
|
-
.prose {
|
|
58
|
-
@apply mx-auto;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
</style>
|