fulldev-ui 0.6.0-beta.7 → 0.6.0-beta.8
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/.vscode/settings.json +2 -0
- package/astro.config.ts +1 -3
- package/cloudcannon.config.yml +0 -2
- package/package.json +1 -1
- package/src/blocks/Banner.astro +3 -3
- package/src/blocks/Colleagues1.astro +16 -16
- package/src/blocks/Contact1.astro +5 -10
- package/src/blocks/Content1.astro +22 -39
- package/src/blocks/Content2.astro +21 -45
- package/src/blocks/Content3.astro +36 -31
- package/src/blocks/Content4.astro +28 -35
- package/src/blocks/Content5.astro +72 -0
- package/src/blocks/Cta1.astro +6 -6
- package/src/blocks/Features1.astro +9 -5
- package/src/blocks/Footer.astro +13 -5
- package/src/blocks/Header.astro +19 -15
- package/src/blocks/Hero1.astro +8 -5
- package/src/blocks/Industries1.astro +86 -0
- package/src/blocks/Intro1.astro +7 -9
- package/src/blocks/Jobs1.astro +28 -24
- package/src/blocks/Logos1.astro +4 -4
- package/src/blocks/Products1.astro +4 -4
- package/src/blocks/Projects1.astro +103 -0
- package/src/blocks/Reviews1.astro +9 -7
- package/src/{components → blocks}/Subheader.astro +1 -2
- package/src/components/Badge.astro +8 -20
- package/src/components/Badges.astro +3 -3
- package/src/components/Block.astro +1 -1
- package/src/components/Button.astro +9 -18
- package/src/components/Cart.astro +6 -6
- package/src/components/CartSummary.astro +1 -0
- package/src/components/Channel.astro +9 -3
- package/src/components/Channels.astro +11 -42
- package/src/components/Checkbox.astro +8 -14
- package/src/components/Element.astro +2 -1
- package/src/components/Form.astro +1 -2
- package/src/components/Gallery.astro +6 -5
- package/src/components/Head.astro +14 -4
- package/src/components/Heading.astro +21 -17
- package/src/components/Icon.astro +2 -3
- package/src/components/Image.astro +6 -2
- package/src/components/Input.astro +11 -14
- package/src/components/Label.astro +6 -6
- package/src/components/Link.astro +13 -16
- package/src/components/Links.astro +1 -2
- package/src/components/List.astro +3 -5
- package/src/components/Logo.astro +9 -16
- package/src/components/Menu.astro +7 -3
- package/src/components/Paragraph.astro +6 -7
- package/src/components/Price.astro +1 -4
- package/src/components/Rating.astro +4 -2
- package/src/components/Search.astro +1 -6
- package/src/components/Select.astro +3 -4
- package/src/components/Sidebar.astro +6 -6
- package/src/components/Social.astro +3 -1
- package/src/components/Socials.astro +18 -34
- package/src/components/Switch.astro +4 -69
- package/src/components/Table.astro +2 -3
- package/src/components/Tagline.astro +6 -7
- package/src/components/Textarea.astro +5 -5
- package/src/components/Themer.astro +3 -3
- package/src/components/Toc.astro +7 -11
- package/src/components/Toggle.astro +45 -0
- package/src/components/{Breadcrumb.astro → _Breadcrumb.astro} +3 -3
- package/src/components/_Image.astro +2 -2
- package/src/components/docs/Props.astro +21 -0
- package/src/content/layouts/base.yml +131 -19
- package/src/content/pages/base/toggle.mdx +28 -0
- package/src/content/pages/{blocks → docs/blocks}/banner.mdx +1 -0
- package/src/content/pages/docs/blocks/colleagues.mdx +49 -0
- package/src/content/pages/docs/blocks/content.mdx +155 -0
- package/src/content/pages/docs/blocks/cta.mdx +16 -0
- package/src/content/pages/docs/blocks/feature.mdx +17 -0
- package/src/content/pages/docs/blocks/features.mdx +35 -0
- package/src/content/pages/docs/blocks/footer.mdx +46 -0
- package/src/content/pages/docs/blocks/header.mdx +60 -0
- package/src/content/pages/docs/blocks/hero.mdx +18 -0
- package/src/content/pages/docs/blocks/intro.mdx +16 -0
- package/src/content/pages/docs/blocks/logos.mdx +37 -0
- package/src/content/pages/docs/blocks/projects.mdx +36 -0
- package/src/content/pages/docs/blocks/reviews.mdx +65 -0
- package/src/content/pages/docs/blocks.mdx +45 -20
- package/src/content/pages/docs/collections/pages.mdx +2 -2
- package/src/content/pages/docs/components/{table.mdx → _table.mdx} +2 -4
- package/src/content/pages/docs/components/{themer.mdx → _themer.mdx} +2 -4
- package/src/content/pages/docs/components/_toggle.mdx +2 -2
- package/src/content/pages/docs/components/badge.mdx +2 -4
- package/src/content/pages/docs/components/badges.mdx +3 -4
- package/src/content/pages/docs/components/button.mdx +2 -4
- package/src/content/pages/docs/components/buttons.mdx +3 -4
- package/src/content/pages/docs/components/channel.mdx +2 -4
- package/src/content/pages/docs/components/channels.mdx +3 -2
- package/src/content/pages/docs/components/checkbox.mdx +2 -4
- package/src/content/pages/docs/components/heading.mdx +11 -21
- package/src/content/pages/docs/components/icon.mdx +2 -4
- package/src/content/pages/docs/components/image.mdx +3 -9
- package/src/content/pages/docs/components/input.mdx +2 -4
- package/src/content/pages/docs/components/label.mdx +2 -4
- package/src/content/pages/docs/components/link.mdx +2 -4
- package/src/content/pages/docs/components/links.mdx +3 -4
- package/src/content/pages/docs/components/list.mdx +2 -4
- package/src/content/pages/docs/components/logo.mdx +9 -21
- package/src/content/pages/docs/components/menu.mdx +20 -48
- package/src/content/pages/docs/components/paragraph.mdx +44 -0
- package/src/content/pages/docs/components/rating.mdx +9 -42
- package/src/content/pages/docs/components/select.mdx +2 -4
- package/src/content/pages/docs/components/social.mdx +2 -4
- package/src/content/pages/docs/components/socials.mdx +3 -2
- package/src/content/pages/docs/components/switch.mdx +2 -4
- package/src/content/pages/docs/components/tagline.mdx +2 -6
- package/src/content/pages/docs/components/textarea.mdx +2 -4
- package/src/content/pages/docs/components.mdx +3 -4
- package/src/content/pages/docs/customization.mdx +52 -20
- package/src/content/pages/docs/frameworks.mdx +12 -11
- package/src/content/pages/docs/index.mdx +3 -2
- package/src/content/pages/docs/installation.mdx +9 -6
- package/src/content/pages/docs/layouts/doc.mdx +15 -0
- package/src/content/pages/docs/layouts/page.mdx +15 -0
- package/src/content/pages/docs/layouts.mdx +66 -19
- package/src/content/pages/docs/{generating-pages.mdx → pages.mdx} +1 -0
- package/src/content/pages/docs/{components → structures}/_card.mdx +6 -6
- package/src/content/pages/docs/{components → structures}/_drawer.mdx +1 -1
- package/src/content/pages/docs/structures/card.mdx +15 -0
- package/src/content/pages/docs/{components → structures}/code.mdx +4 -7
- package/src/content/pages/docs/structures/container.mdx +15 -0
- package/src/content/pages/docs/structures/drawer.mdx +15 -0
- package/src/content/pages/docs/structures/group.mdx +15 -0
- package/src/content/pages/docs/structures/layout.mdx +15 -0
- package/src/content/pages/docs/structures/masonry.mdx +15 -0
- package/src/content/pages/docs/structures/matrix.mdx +15 -0
- package/src/content/pages/docs/structures/panel.mdx +15 -0
- package/src/content/pages/docs/{components → structures}/prose.mdx +3 -6
- package/src/content/pages/docs/structures/section.mdx +15 -0
- package/src/content/pages/docs/structures/stack.mdx +15 -0
- package/src/content/pages/docs/structures/writeup.mdx +15 -0
- package/src/content/pages/docs/structures.mdx +7 -0
- package/src/content/pages/index.mdx +7 -4
- package/src/content/pages/showcase.mdx +1 -4
- package/src/css/theme.css +9 -42
- package/src/integration/index.ts +1 -1
- package/src/layouts/Block.astro +81 -0
- package/src/layouts/Category.astro +6 -6
- package/src/layouts/Doc.astro +50 -24
- package/src/layouts/Job.astro +5 -5
- package/src/layouts/Jobs.astro +14 -14
- package/src/layouts/Page.astro +4 -4
- package/src/layouts/Post.astro +7 -6
- package/src/layouts/Product.astro +3 -2
- package/src/schemas/badge.ts +14 -0
- package/src/schemas/block.ts +58 -0
- package/src/schemas/{components/button.ts → button.ts} +3 -7
- package/src/schemas/channel.ts +14 -0
- package/src/schemas/checkbox.ts +13 -0
- package/src/schemas/footer.ts +17 -0
- package/src/schemas/{components/head.ts → head.ts} +5 -5
- package/src/schemas/header.ts +21 -0
- package/src/schemas/{components/image.ts → image.ts} +22 -9
- package/src/schemas/input.ts +13 -0
- package/src/schemas/link.ts +14 -0
- package/src/schemas/logo.ts +13 -0
- package/src/schemas/menu.ts +11 -0
- package/src/schemas/page.ts +11 -14
- package/src/schemas/{utils/pathSchema.ts → path.ts} +1 -1
- package/src/schemas/textarea.ts +11 -0
- package/src/{components → structures}/Card.astro +5 -1
- package/src/{components → structures}/Code.astro +7 -6
- package/src/{components → structures}/Container.astro +1 -1
- package/src/{components → structures}/Drawer.astro +4 -4
- package/src/{components → structures}/Layout.astro +2 -3
- package/src/structures/Matrix.astro +39 -0
- package/src/{components → structures}/Prose.astro +17 -6
- package/src/structures/Sidebar.astro +37 -0
- package/src/{components → structures}/Stack.astro +1 -1
- package/src/{components → structures}/Writeup.astro +9 -1
- package/src/structures/_Bento.astro +34 -0
- package/src/utils/cart.ts +1 -1
- package/tailwind.config.ts +5 -7
- package/tsconfig.json +3 -1
- package/public/favicon/favicon-16x16-dark.png +0 -0
- package/public/favicon/favicon-32x32-dark.png +0 -0
- package/public/favicon/favicon-48x48-dark.png +0 -0
- package/public/favicon/favicon-dark.ico +0 -0
- package/src/blocks/Feature1.astro +0 -61
- package/src/components/Avatar.astro +0 -45
- package/src/components/Avatars.astro +0 -36
- package/src/components/Cards.astro +0 -133
- package/src/components/Dialog.astro +0 -67
- package/src/components/DrawerOld.astro +0 -143
- package/src/components/Grid.astro +0 -39
- package/src/components/Header.astro +0 -32
- package/src/components/Navigation.astro +0 -39
- package/src/components/_Author.astro +0 -90
- package/src/components/_Header.astro +0 -129
- package/src/components/_Prose copy.astro +0 -172
- package/src/components/_Sidebar copy.astro +0 -87
- package/src/components/docs/DecorativeBox.astro +0 -15
- package/src/components/docs/PropsTable.astro +0 -49
- package/src/components/experimental/Video.astro +0 -32
- package/src/components/experimental/Window.astro +0 -122
- package/src/content/pages/blocks/_footer.mdx +0 -75
- package/src/content/pages/blocks/_header.mdx +0 -183
- package/src/content/pages/blocks/_prices.mdx +0 -122
- package/src/content/pages/blocks/_product.mdx +0 -97
- package/src/content/pages/blocks/_products.mdx +0 -52
- package/src/content/pages/blocks/colleagues.mdx +0 -37
- package/src/content/pages/blocks/content.mdx +0 -77
- package/src/content/pages/blocks/cta.mdx +0 -159
- package/src/content/pages/blocks/features.mdx +0 -128
- package/src/content/pages/blocks/hero.mdx +0 -94
- package/src/content/pages/blocks/intro.mdx +0 -124
- package/src/content/pages/blocks/reviews.mdx +0 -251
- package/src/content/pages/categories/category.md +0 -7
- package/src/content/pages/docs/_internationalization.mdx +0 -55
- package/src/content/pages/docs/_using-blocks.mdx +0 -33
- package/src/content/pages/docs/_using-presets.mdx +0 -49
- package/src/content/pages/docs/collections.mdx +0 -42
- package/src/content/pages/docs/components/_switch.mdx +0 -31
- package/src/content/pages/docs/components/avatar.mdx +0 -34
- package/src/content/pages/docs/components/section.mdx +0 -35
- package/src/content/pages/docs/components/text.mdx +0 -48
- package/src/content/pages/products/product.md +0 -20
- package/src/css/color.css +0 -76
- package/src/css/size.css +0 -131
- package/src/images/favicon/android-chrome-192x192.png +0 -0
- package/src/images/favicon/android-chrome-512x512.png +0 -0
- package/src/images/favicon/apple-touch-icon.png +0 -0
- package/src/images/favicon/browserconfig.xml +0 -9
- package/src/images/favicon/favicon-16x16.png +0 -0
- package/src/images/favicon/favicon-32x32.png +0 -0
- package/src/images/favicon/favicon-48x48.png +0 -0
- package/src/images/favicon/favicon.ico +0 -0
- package/src/images/favicon/favicon.svg +0 -16
- package/src/images/favicon/manifest.webmanifest +0 -30
- package/src/images/favicon/mstile-150x150.png +0 -0
- package/src/images/favicon/safari-pinned-tab.svg +0 -16
- package/src/images/favicon/yandex-browser-50x50.png +0 -0
- package/src/images/favicon/yandex-browser-manifest.json +0 -9
- package/src/pages/test.astro +0 -35
- package/src/schemas/components/avatar.ts +0 -6
- package/src/schemas/components/badge.ts +0 -18
- package/src/schemas/components/block.ts +0 -61
- package/src/schemas/components/channel.ts +0 -19
- package/src/schemas/components/footer.ts +0 -19
- package/src/schemas/components/header.ts +0 -23
- package/src/schemas/components/heading.ts +0 -9
- package/src/schemas/components/icon.ts +0 -9
- package/src/schemas/components/link.ts +0 -17
- package/src/schemas/components/logo.ts +0 -13
- package/src/schemas/components/menu.ts +0 -14
- package/src/schemas/components/navigation.ts +0 -10
- package/src/schemas/components/paragraph.ts +0 -9
- package/src/schemas/components/price.ts +0 -9
- package/src/schemas/components/rating.ts +0 -10
- package/src/schemas/components/sidebar.ts +0 -18
- package/src/schemas/components/social.ts +0 -18
- package/src/schemas/components/tagline.ts +0 -9
- package/src/schemas/imageSchema.ts +0 -41
- package/src/schemas/utils/component.ts +0 -17
- package/src/types/global-props.ts +0 -7
- package/src/utils/_archive/Childmorphic.ts +0 -8
- package/src/utils/_archive/getAllCollections.ts +0 -10
- package/src/utils/_archive/getCollectionCascade.ts +0 -33
- package/src/utils/_archive/getPathname.ts +0 -18
- package/src/utils/_archive/mergeEntries.ts +0 -28
- package/src/utils/_archive/staticPageSchema.ts +0 -124
- package/src/utils/_archive/transform/transform.ts +0 -25
- package/src/utils/_archive/transform/transformCasing.ts +0 -24
- package/src/utils/_archive/transform/transformReferences.ts +0 -54
- package/src/utils/_archive/transform/transformSelfs.ts +0 -20
- package/src/utils/_archive/transform/transformUnderscores.ts +0 -19
- package/src/utils/formatEntries.ts +0 -8
- package/src/utils/formatEntry.ts +0 -29
- package/src/utils/getDeepReferenceChildren.ts +0 -14
- package/src/utils/getFolderChildren.ts +0 -18
- package/src/utils/getReferenceChildren.ts +0 -14
- package/src/utils/getSiblingPages.ts +0 -14
- package/src/utils/setTheme.ts +0 -18
- /package/{src → public}/images/anti-slip-profiles.webp +0 -0
- /package/{src → public}/images/avatar-1.jpeg +0 -0
- /package/{src → public}/images/avatar-2.jpeg +0 -0
- /package/{src → public}/images/avatar-3.jpeg +0 -0
- /package/{src → public}/images/avatar-4.jpeg +0 -0
- /package/{src → public}/images/avatar-placeholder.jpg +0 -0
- /package/{src → public}/images/block-code.png +0 -0
- /package/{src → public}/images/component-code.png +0 -0
- /package/{src → public}/images/favicon.svg +0 -0
- /package/{src → public}/images/fulldev-ui.webp +0 -0
- /package/{src → public}/images/lavis-detailing.webp +0 -0
- /package/{src → public}/images/leren-trainingsacteren.webp +0 -0
- /package/{src → public}/images/logo-1.svg +0 -0
- /package/{src → public}/images/logo-2.svg +0 -0
- /package/{src → public}/images/logo-basic.svg +0 -0
- /package/{src → public}/images/logo-simple.svg +0 -0
- /package/{src → public}/images/logo-thin.svg +0 -0
- /package/{src → public}/images/logo.svg +0 -0
- /package/{src → public}/images/logofat.svg +0 -0
- /package/{src → public}/images/miele-witgoedcenter-amsterdam.webp +0 -0
- /package/{src → public}/images/og-image.png +0 -0
- /package/{src → public}/images/placeholder-center.webp +0 -0
- /package/{src → public}/images/placeholder-landscape-dark.png +0 -0
- /package/{src → public}/images/placeholder-landscape.webp +0 -0
- /package/{src → public}/images/placeholder-portrait.webp +0 -0
- /package/{src → public}/images/placeholder-right.webp +0 -0
- /package/{src → public}/images/placeholder.webp +0 -0
- /package/{src → public}/images/sloepverhuur-bolsward.webp +0 -0
- /package/{src → public}/images/stark-vulcanising-products.webp +0 -0
- /package/{src → public}/images/the-gym-haren.webp +0 -0
- /package/{src → public}/images/van-dillen-antieke-bouwmaterialen.webp +0 -0
- /package/src/components/{LocaleSwitcher.astro → _LocaleSwitcher.astro} +0 -0
- /package/src/content/pages/{showcase → _showcase}/anti-slip-profiles.md +0 -0
- /package/src/content/pages/{showcase → _showcase}/fulldev-ui.md +0 -0
- /package/src/content/pages/{showcase → _showcase}/lavis-detailing.md +0 -0
- /package/src/content/pages/{showcase → _showcase}/leren-trainingsacteren.md +0 -0
- /package/src/content/pages/{showcase → _showcase}/miele-witgoedcenter-amsterdam.md +0 -0
- /package/src/content/pages/{showcase → _showcase}/sloepverhuur-bolsward.md +0 -0
- /package/src/content/pages/{showcase → _showcase}/stark-vulcanising-products.md +0 -0
- /package/src/content/pages/{showcase → _showcase}/the-gym-haren.md +0 -0
- /package/src/content/pages/{showcase → _showcase}/van-dillen-antieke-bouwmaterialen.md +0 -0
- /package/src/content/pages/{blocks → docs/blocks}/_categories.mdx +0 -0
- /package/src/content/pages/{blocks/contact.mdx → docs/blocks/_contact.mdx} +0 -0
- /package/src/content/pages/{blocks → docs/blocks}/_jobs.mdx +0 -0
- /package/src/content/pages/{blocks/posts.mdx → docs/blocks/_posts.mdx} +0 -0
- /package/src/content/pages/{blocks → docs/blocks}/_stats.mdx +0 -0
- /package/src/content/pages/docs/{components → structures}/_dialog.mdx +0 -0
- /package/src/{components → structures}/Carousel.astro +0 -0
- /package/src/{components → structures}/Group.astro +0 -0
- /package/src/{components → structures}/Masonry.astro +0 -0
- /package/src/{components → structures}/Panel.astro +0 -0
- /package/src/{components → structures}/Section.astro +0 -0
- /package/{src/types/virtual.d.ts → virtual.d.ts} +0 -0
package/.vscode/settings.json
CHANGED
package/astro.config.ts
CHANGED
|
@@ -4,21 +4,19 @@ import integration from 'fulldev-ui/integration'
|
|
|
4
4
|
|
|
5
5
|
// https://astro.build/config
|
|
6
6
|
export default defineConfig({
|
|
7
|
-
publicDir: './src/images',
|
|
8
7
|
devToolbar: {
|
|
9
8
|
enabled: false,
|
|
10
9
|
},
|
|
11
10
|
integrations: [
|
|
12
11
|
integration({
|
|
13
12
|
company: 'Fulldev UI',
|
|
14
|
-
favicon: '
|
|
13
|
+
favicon: 'public/images/favicon.svg',
|
|
15
14
|
css: '/src/css/custom.css',
|
|
16
15
|
injectRoutes: false,
|
|
17
16
|
}),
|
|
18
17
|
svelte(),
|
|
19
18
|
],
|
|
20
19
|
redirects: {
|
|
21
|
-
'/discord': 'https://discord.gg/vXZqMbadm8',
|
|
22
20
|
// '/structure/[...slug]': '/docs/components/[...slug]',
|
|
23
21
|
// '/segment/[...slug]': '/docs/components/[...slug]',
|
|
24
22
|
// '/typography/[...slug]': '/docs/components/[...slug]',
|
package/cloudcannon.config.yml
CHANGED
package/package.json
CHANGED
package/src/blocks/Banner.astro
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
import type { HTMLAttributes, HTMLTag } from 'astro/types'
|
|
3
|
-
import Container from 'fulldev-ui/components/Container.astro'
|
|
4
3
|
import Element from 'fulldev-ui/components/Element.astro'
|
|
5
|
-
import type { BlockSchema } from 'fulldev-ui/schemas/
|
|
4
|
+
import type { BlockSchema } from 'fulldev-ui/schemas/block'
|
|
5
|
+
import Container from 'fulldev-ui/structures/Container.astro'
|
|
6
6
|
|
|
7
7
|
interface Props extends HTMLAttributes<'header'>, BlockSchema {
|
|
8
8
|
as?: HTMLTag
|
|
@@ -23,7 +23,7 @@ const { as = 'header', text, ...rest } = Astro.props
|
|
|
23
23
|
<style is:global>
|
|
24
24
|
@layer fulldev {
|
|
25
25
|
.banner {
|
|
26
|
-
@apply relative flex w-full items-center bg-primary py-
|
|
26
|
+
@apply relative flex w-full items-center bg-primary py-2.5 text-primary-foreground;
|
|
27
27
|
|
|
28
28
|
.container {
|
|
29
29
|
@apply flex items-center justify-center overflow-hidden bg-primary text-center text-sm leading-none text-primary-foreground;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
import type { ComponentProps } from 'astro/types'
|
|
3
|
-
import
|
|
4
|
-
import Container from 'fulldev-ui/components/Container.astro'
|
|
3
|
+
import Element from 'fulldev-ui/components/Element.astro'
|
|
5
4
|
import Heading from 'fulldev-ui/components/Heading.astro'
|
|
6
5
|
import Image from 'fulldev-ui/components/Image.astro'
|
|
7
6
|
import Paragraph from 'fulldev-ui/components/Paragraph.astro'
|
|
8
|
-
import Section from 'fulldev-ui/components/Section.astro'
|
|
9
|
-
import Stack from 'fulldev-ui/components/Stack.astro'
|
|
10
7
|
import Tagline from 'fulldev-ui/components/Tagline.astro'
|
|
11
|
-
import
|
|
12
|
-
import
|
|
8
|
+
import type { BlockSchema } from 'fulldev-ui/schemas/block'
|
|
9
|
+
import Container from 'fulldev-ui/structures/Container.astro'
|
|
10
|
+
import Matrix from 'fulldev-ui/structures/Matrix.astro'
|
|
11
|
+
import Section from 'fulldev-ui/structures/Section.astro'
|
|
12
|
+
import Writeup from 'fulldev-ui/structures/Writeup.astro'
|
|
13
13
|
|
|
14
14
|
interface Props extends ComponentProps<typeof Section>, BlockSchema {}
|
|
15
15
|
|
|
@@ -32,10 +32,10 @@ const { tagline, heading, paragraph, cards, ...rest } = Astro.props
|
|
|
32
32
|
/>
|
|
33
33
|
<Paragraph text={paragraph} />
|
|
34
34
|
</Writeup>
|
|
35
|
-
<
|
|
35
|
+
<Matrix>
|
|
36
36
|
{
|
|
37
37
|
cards?.map(({ image, heading, paragraph }) => (
|
|
38
|
-
<
|
|
38
|
+
<Element class:list="colleagues-card">
|
|
39
39
|
<Image {...image} />
|
|
40
40
|
<Heading
|
|
41
41
|
as="h3"
|
|
@@ -43,10 +43,10 @@ const { tagline, heading, paragraph, cards, ...rest } = Astro.props
|
|
|
43
43
|
text={heading}
|
|
44
44
|
/>
|
|
45
45
|
<Paragraph text={paragraph} />
|
|
46
|
-
</
|
|
46
|
+
</Element>
|
|
47
47
|
))
|
|
48
48
|
}
|
|
49
|
-
</
|
|
49
|
+
</Matrix>
|
|
50
50
|
</Container>
|
|
51
51
|
</Section>
|
|
52
52
|
|
|
@@ -57,16 +57,16 @@ const { tagline, heading, paragraph, cards, ...rest } = Astro.props
|
|
|
57
57
|
@apply flex flex-col items-center gap-16;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
.
|
|
61
|
-
@apply
|
|
60
|
+
.colleagues-cards {
|
|
61
|
+
@apply grid grid-cols-1 gap-8 lg:grid-cols-3;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
.
|
|
65
|
-
@apply
|
|
64
|
+
.colleagues-card {
|
|
65
|
+
@apply flex flex-col items-center text-center;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
.
|
|
69
|
-
@apply
|
|
68
|
+
.image {
|
|
69
|
+
@apply mb-4 aspect-square w-2/3 rounded-full object-cover;
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
+
// @ts-nocheck
|
|
2
3
|
import type { ComponentProps } from 'astro/types'
|
|
3
4
|
import Badges from 'fulldev-ui/components/Badges.astro'
|
|
4
5
|
import Channel from 'fulldev-ui/components/Channel.astro'
|
|
@@ -7,10 +8,10 @@ import Form from 'fulldev-ui/components/Form.astro'
|
|
|
7
8
|
import Heading from 'fulldev-ui/components/Heading.astro'
|
|
8
9
|
import Image from 'fulldev-ui/components/Image.astro'
|
|
9
10
|
import Paragraph from 'fulldev-ui/components/Paragraph.astro'
|
|
10
|
-
import Section from 'fulldev-ui/components/Section.astro'
|
|
11
11
|
import Social from 'fulldev-ui/components/Social.astro'
|
|
12
12
|
import Tagline from 'fulldev-ui/components/Tagline.astro'
|
|
13
|
-
import type { BlockSchema } from 'fulldev-ui/schemas/
|
|
13
|
+
import type { BlockSchema } from 'fulldev-ui/schemas/block'
|
|
14
|
+
import Section from 'fulldev-ui/structures/Section.astro'
|
|
14
15
|
|
|
15
16
|
interface Props extends ComponentProps<typeof Section>, BlockSchema {}
|
|
16
17
|
|
|
@@ -19,16 +20,13 @@ const {
|
|
|
19
20
|
badges,
|
|
20
21
|
tagline,
|
|
21
22
|
heading,
|
|
22
|
-
form,
|
|
23
23
|
text,
|
|
24
|
-
googleMaps,
|
|
25
24
|
paragraph,
|
|
26
25
|
buttons,
|
|
27
26
|
socials,
|
|
28
|
-
|
|
27
|
+
form,
|
|
29
28
|
image,
|
|
30
29
|
channels,
|
|
31
|
-
level = 1,
|
|
32
30
|
...rest
|
|
33
31
|
} = Astro.props
|
|
34
32
|
---
|
|
@@ -68,10 +66,7 @@ const {
|
|
|
68
66
|
{...form}
|
|
69
67
|
/>
|
|
70
68
|
</Element>
|
|
71
|
-
<Image
|
|
72
|
-
{position}
|
|
73
|
-
{...image}
|
|
74
|
-
/>
|
|
69
|
+
<Image {...image} />
|
|
75
70
|
</Element>
|
|
76
71
|
</Section>
|
|
77
72
|
|
|
@@ -1,37 +1,27 @@
|
|
|
1
1
|
---
|
|
2
|
+
// Centered
|
|
2
3
|
import type { ComponentProps } from 'astro/types'
|
|
3
|
-
import
|
|
4
|
-
import Button from 'fulldev-ui/components/Button.astro'
|
|
5
|
-
import Container from 'fulldev-ui/components/Container.astro'
|
|
6
|
-
import Group from 'fulldev-ui/components/Group.astro'
|
|
4
|
+
import Buttons from 'fulldev-ui/components/Buttons.astro'
|
|
7
5
|
import Heading from 'fulldev-ui/components/Heading.astro'
|
|
8
6
|
import Image from 'fulldev-ui/components/Image.astro'
|
|
9
|
-
import List from 'fulldev-ui/components/List.astro'
|
|
10
7
|
import Paragraph from 'fulldev-ui/components/Paragraph.astro'
|
|
11
|
-
import Prose from 'fulldev-ui/components/Prose.astro'
|
|
12
|
-
import Section from 'fulldev-ui/components/Section.astro'
|
|
13
8
|
import Tagline from 'fulldev-ui/components/Tagline.astro'
|
|
14
|
-
import
|
|
15
|
-
import
|
|
9
|
+
import Container from 'fulldev-ui/structures/Container.astro'
|
|
10
|
+
import Group from 'fulldev-ui/structures/Group.astro'
|
|
11
|
+
import Prose from 'fulldev-ui/structures/Prose.astro'
|
|
12
|
+
import Section from 'fulldev-ui/structures/Section.astro'
|
|
16
13
|
|
|
17
|
-
interface Props extends ComponentProps<typeof Section
|
|
18
|
-
|
|
14
|
+
interface Props extends ComponentProps<typeof Section> {
|
|
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']
|
|
19
21
|
}
|
|
20
22
|
|
|
21
|
-
const {
|
|
22
|
-
|
|
23
|
-
badge,
|
|
24
|
-
badges,
|
|
25
|
-
heading,
|
|
26
|
-
paragraph,
|
|
27
|
-
list,
|
|
28
|
-
button,
|
|
29
|
-
buttons,
|
|
30
|
-
image,
|
|
31
|
-
content,
|
|
32
|
-
headings,
|
|
33
|
-
...rest
|
|
34
|
-
} = Astro.props
|
|
23
|
+
const { tagline, heading, paragraph, buttons, image, content, ...rest } =
|
|
24
|
+
Astro.props
|
|
35
25
|
---
|
|
36
26
|
|
|
37
27
|
<Section
|
|
@@ -40,14 +30,10 @@ const {
|
|
|
40
30
|
>
|
|
41
31
|
<Container>
|
|
42
32
|
<Prose>
|
|
43
|
-
<Group>
|
|
44
|
-
<Badge {...badge} />
|
|
45
|
-
{badges?.map((badge) => <Badge {...badge} />)}
|
|
46
|
-
</Group>
|
|
47
33
|
<Tagline text={tagline} />
|
|
48
34
|
<Heading
|
|
49
|
-
as="
|
|
50
|
-
size="
|
|
35
|
+
as="h2"
|
|
36
|
+
size="5xl"
|
|
51
37
|
text={heading}
|
|
52
38
|
/>
|
|
53
39
|
<Paragraph
|
|
@@ -55,24 +41,21 @@ const {
|
|
|
55
41
|
size="lg"
|
|
56
42
|
text={paragraph}
|
|
57
43
|
/>
|
|
58
|
-
<List items={list} />
|
|
59
|
-
<Group>
|
|
60
|
-
<Button {...button} />
|
|
61
|
-
{buttons?.map((button) => <Button {...button} />)}
|
|
62
|
-
</Group>
|
|
63
44
|
<Image {...image} />
|
|
64
45
|
<Fragment set:html={content} />
|
|
65
46
|
<slot />
|
|
47
|
+
<Group>
|
|
48
|
+
<Buttons {buttons} />
|
|
49
|
+
</Group>
|
|
66
50
|
</Prose>
|
|
67
|
-
<Toc {headings} />
|
|
68
51
|
</Container>
|
|
69
52
|
</Section>
|
|
70
53
|
|
|
71
54
|
<style is:global>
|
|
72
55
|
@layer fulldev {
|
|
73
56
|
.content-1 {
|
|
74
|
-
.
|
|
75
|
-
@apply
|
|
57
|
+
.prose {
|
|
58
|
+
@apply mx-auto;
|
|
76
59
|
}
|
|
77
60
|
}
|
|
78
61
|
}
|
|
@@ -1,37 +1,27 @@
|
|
|
1
1
|
---
|
|
2
|
+
// Content left, image right, centered
|
|
2
3
|
import type { ComponentProps } from 'astro/types'
|
|
3
|
-
import
|
|
4
|
-
import Button from 'fulldev-ui/components/Button.astro'
|
|
5
|
-
import Container from 'fulldev-ui/components/Container.astro'
|
|
6
|
-
import Group from 'fulldev-ui/components/Group.astro'
|
|
4
|
+
import Buttons from 'fulldev-ui/components/Buttons.astro'
|
|
7
5
|
import Heading from 'fulldev-ui/components/Heading.astro'
|
|
8
6
|
import Image from 'fulldev-ui/components/Image.astro'
|
|
9
|
-
import List from 'fulldev-ui/components/List.astro'
|
|
10
7
|
import Paragraph from 'fulldev-ui/components/Paragraph.astro'
|
|
11
|
-
import Prose from 'fulldev-ui/components/Prose.astro'
|
|
12
|
-
import Section from 'fulldev-ui/components/Section.astro'
|
|
13
8
|
import Tagline from 'fulldev-ui/components/Tagline.astro'
|
|
14
|
-
import
|
|
15
|
-
import
|
|
9
|
+
import Container from 'fulldev-ui/structures/Container.astro'
|
|
10
|
+
import Group from 'fulldev-ui/structures/Group.astro'
|
|
11
|
+
import Prose from 'fulldev-ui/structures/Prose.astro'
|
|
12
|
+
import Section from 'fulldev-ui/structures/Section.astro'
|
|
16
13
|
|
|
17
|
-
interface Props extends ComponentProps<typeof Section
|
|
18
|
-
|
|
14
|
+
interface Props extends ComponentProps<typeof Section> {
|
|
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']
|
|
19
21
|
}
|
|
20
22
|
|
|
21
|
-
const {
|
|
22
|
-
|
|
23
|
-
badge,
|
|
24
|
-
badges,
|
|
25
|
-
heading,
|
|
26
|
-
paragraph,
|
|
27
|
-
list,
|
|
28
|
-
button,
|
|
29
|
-
buttons,
|
|
30
|
-
image,
|
|
31
|
-
headings,
|
|
32
|
-
content,
|
|
33
|
-
...rest
|
|
34
|
-
} = Astro.props
|
|
23
|
+
const { tagline, heading, paragraph, buttons, image, content, ...rest } =
|
|
24
|
+
Astro.props
|
|
35
25
|
---
|
|
36
26
|
|
|
37
27
|
<Section
|
|
@@ -40,16 +30,9 @@ const {
|
|
|
40
30
|
>
|
|
41
31
|
<Container>
|
|
42
32
|
<Prose>
|
|
43
|
-
<
|
|
44
|
-
<Badge {...badge} />
|
|
45
|
-
{badges?.map((badge) => <Badge {...badge} />)}
|
|
46
|
-
</Group>
|
|
47
|
-
<Tagline
|
|
48
|
-
size="sm"
|
|
49
|
-
text={tagline}
|
|
50
|
-
/>
|
|
33
|
+
<Tagline text={tagline} />
|
|
51
34
|
<Heading
|
|
52
|
-
as="
|
|
35
|
+
as="h2"
|
|
53
36
|
size="4xl"
|
|
54
37
|
text={heading}
|
|
55
38
|
/>
|
|
@@ -58,13 +41,11 @@ const {
|
|
|
58
41
|
size="lg"
|
|
59
42
|
text={paragraph}
|
|
60
43
|
/>
|
|
61
|
-
<List items={list} />
|
|
62
|
-
<Group>
|
|
63
|
-
<Button {...button} />
|
|
64
|
-
{buttons?.map((button) => <Button {...button} />)}
|
|
65
|
-
</Group>
|
|
66
44
|
<Fragment set:html={content} />
|
|
67
45
|
<slot />
|
|
46
|
+
<Group>
|
|
47
|
+
<Buttons {buttons} />
|
|
48
|
+
</Group>
|
|
68
49
|
</Prose>
|
|
69
50
|
<Image {...image} />
|
|
70
51
|
</Container>
|
|
@@ -74,12 +55,7 @@ const {
|
|
|
74
55
|
@layer fulldev {
|
|
75
56
|
.content-2 {
|
|
76
57
|
.container {
|
|
77
|
-
@apply grid items-
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.prose,
|
|
81
|
-
.image {
|
|
82
|
-
@apply lg:sticky lg:top-sticky-16;
|
|
58
|
+
@apply grid items-center gap-x-gutter gap-y-16 lg:grid-cols-2;
|
|
83
59
|
}
|
|
84
60
|
|
|
85
61
|
.prose {
|
|
@@ -1,20 +1,26 @@
|
|
|
1
1
|
---
|
|
2
|
+
// Content left, image right, sticky
|
|
2
3
|
import type { ComponentProps } from 'astro/types'
|
|
3
|
-
import Badges from 'fulldev-ui/components/Badges.astro'
|
|
4
4
|
import Buttons from 'fulldev-ui/components/Buttons.astro'
|
|
5
|
-
import Container from 'fulldev-ui/components/Container.astro'
|
|
6
|
-
import Group from 'fulldev-ui/components/Group.astro'
|
|
7
5
|
import Heading from 'fulldev-ui/components/Heading.astro'
|
|
8
|
-
import
|
|
6
|
+
import Image from 'fulldev-ui/components/Image.astro'
|
|
9
7
|
import Paragraph from 'fulldev-ui/components/Paragraph.astro'
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
8
|
+
import Tagline from 'fulldev-ui/components/Tagline.astro'
|
|
9
|
+
import Container from 'fulldev-ui/structures/Container.astro'
|
|
10
|
+
import Group from 'fulldev-ui/structures/Group.astro'
|
|
11
|
+
import Prose from 'fulldev-ui/structures/Prose.astro'
|
|
12
|
+
import Section from 'fulldev-ui/structures/Section.astro'
|
|
14
13
|
|
|
15
|
-
interface Props extends ComponentProps<typeof Section
|
|
14
|
+
interface Props extends ComponentProps<typeof Section> {
|
|
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
|
+
}
|
|
16
22
|
|
|
17
|
-
const {
|
|
23
|
+
const { tagline, heading, paragraph, buttons, image, content, ...rest } =
|
|
18
24
|
Astro.props
|
|
19
25
|
---
|
|
20
26
|
|
|
@@ -23,35 +29,25 @@ const { badge, badges, heading, paragraph, list, button, buttons, ...rest } =
|
|
|
23
29
|
{...rest}
|
|
24
30
|
>
|
|
25
31
|
<Container>
|
|
26
|
-
<
|
|
27
|
-
<
|
|
28
|
-
<Badges
|
|
29
|
-
size="sm"
|
|
30
|
-
{badge}
|
|
31
|
-
{badges}
|
|
32
|
-
/>
|
|
33
|
-
</Group>
|
|
32
|
+
<Prose>
|
|
33
|
+
<Tagline text={tagline} />
|
|
34
34
|
<Heading
|
|
35
|
-
as="
|
|
35
|
+
as="h2"
|
|
36
36
|
size="4xl"
|
|
37
37
|
text={heading}
|
|
38
38
|
/>
|
|
39
39
|
<Paragraph
|
|
40
|
-
size="lg"
|
|
41
40
|
muted
|
|
41
|
+
size="lg"
|
|
42
42
|
text={paragraph}
|
|
43
43
|
/>
|
|
44
|
-
<
|
|
44
|
+
<Fragment set:html={content} />
|
|
45
|
+
<slot />
|
|
45
46
|
<Group>
|
|
46
|
-
<Buttons
|
|
47
|
-
{button}
|
|
48
|
-
{buttons}
|
|
49
|
-
/>
|
|
47
|
+
<Buttons {buttons} />
|
|
50
48
|
</Group>
|
|
51
|
-
</Writeup>
|
|
52
|
-
<Prose>
|
|
53
|
-
<slot />
|
|
54
49
|
</Prose>
|
|
50
|
+
<Image {...image} />
|
|
55
51
|
</Container>
|
|
56
52
|
</Section>
|
|
57
53
|
|
|
@@ -59,11 +55,20 @@ const { badge, badges, heading, paragraph, list, button, buttons, ...rest } =
|
|
|
59
55
|
@layer fulldev {
|
|
60
56
|
.content-3 {
|
|
61
57
|
.container {
|
|
62
|
-
@apply
|
|
58
|
+
@apply grid items-start gap-x-gutter gap-y-16 lg:grid-cols-2;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.prose,
|
|
62
|
+
.image {
|
|
63
|
+
@apply lg:sticky lg:top-sticky-16;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.prose {
|
|
67
|
+
@apply max-w-screen-sm;
|
|
63
68
|
}
|
|
64
69
|
|
|
65
|
-
.
|
|
66
|
-
@apply
|
|
70
|
+
.image {
|
|
71
|
+
@apply rounded-md;
|
|
67
72
|
}
|
|
68
73
|
}
|
|
69
74
|
}
|
|
@@ -1,30 +1,27 @@
|
|
|
1
1
|
---
|
|
2
|
+
// Heading etc left, image and content right, sticky
|
|
2
3
|
import type { ComponentProps } from 'astro/types'
|
|
3
|
-
import
|
|
4
|
-
import Container from 'fulldev-ui/components/Container.astro'
|
|
5
|
-
import Group from 'fulldev-ui/components/Group.astro'
|
|
4
|
+
import Buttons from 'fulldev-ui/components/Buttons.astro'
|
|
6
5
|
import Heading from 'fulldev-ui/components/Heading.astro'
|
|
7
|
-
import
|
|
6
|
+
import Image from 'fulldev-ui/components/Image.astro'
|
|
8
7
|
import Paragraph from 'fulldev-ui/components/Paragraph.astro'
|
|
9
|
-
import Prose from 'fulldev-ui/components/Prose.astro'
|
|
10
|
-
import Section from 'fulldev-ui/components/Section.astro'
|
|
11
8
|
import Tagline from 'fulldev-ui/components/Tagline.astro'
|
|
12
|
-
import
|
|
13
|
-
import
|
|
9
|
+
import Container from 'fulldev-ui/structures/Container.astro'
|
|
10
|
+
import Group from 'fulldev-ui/structures/Group.astro'
|
|
11
|
+
import Prose from 'fulldev-ui/structures/Prose.astro'
|
|
12
|
+
import Section from 'fulldev-ui/structures/Section.astro'
|
|
14
13
|
|
|
15
|
-
interface Props extends ComponentProps<typeof Section
|
|
14
|
+
interface Props extends ComponentProps<typeof Section> {
|
|
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
|
+
}
|
|
16
22
|
|
|
17
|
-
const {
|
|
18
|
-
|
|
19
|
-
heading,
|
|
20
|
-
paragraph,
|
|
21
|
-
list,
|
|
22
|
-
content,
|
|
23
|
-
button,
|
|
24
|
-
buttons,
|
|
25
|
-
image,
|
|
26
|
-
...rest
|
|
27
|
-
} = Astro.props
|
|
23
|
+
const { tagline, heading, paragraph, buttons, image, content, ...rest } =
|
|
24
|
+
Astro.props
|
|
28
25
|
---
|
|
29
26
|
|
|
30
27
|
<Section
|
|
@@ -32,31 +29,27 @@ const {
|
|
|
32
29
|
{...rest}
|
|
33
30
|
>
|
|
34
31
|
<Container>
|
|
35
|
-
<
|
|
36
|
-
<Tagline
|
|
37
|
-
size="sm"
|
|
38
|
-
text={tagline}
|
|
39
|
-
/>
|
|
32
|
+
<Prose>
|
|
33
|
+
<Tagline text={tagline} />
|
|
40
34
|
<Heading
|
|
41
|
-
as="
|
|
35
|
+
as="h2"
|
|
42
36
|
size="4xl"
|
|
43
37
|
text={heading}
|
|
44
38
|
/>
|
|
45
39
|
<Paragraph
|
|
46
|
-
size="lg"
|
|
47
40
|
muted
|
|
41
|
+
size="lg"
|
|
48
42
|
text={paragraph}
|
|
49
43
|
/>
|
|
50
|
-
<
|
|
51
|
-
|
|
44
|
+
<Group>
|
|
45
|
+
<Buttons {buttons} />
|
|
46
|
+
</Group>
|
|
47
|
+
</Prose>
|
|
52
48
|
<Prose>
|
|
49
|
+
<Image {...image} />
|
|
53
50
|
<Fragment set:html={content} />
|
|
54
51
|
<slot />
|
|
55
52
|
</Prose>
|
|
56
|
-
<Group>
|
|
57
|
-
<Button {...button} />
|
|
58
|
-
{buttons?.map((button) => <Button {...button} />)}
|
|
59
|
-
</Group>
|
|
60
53
|
</Container>
|
|
61
54
|
</Section>
|
|
62
55
|
|
|
@@ -64,11 +57,11 @@ const {
|
|
|
64
57
|
@layer fulldev {
|
|
65
58
|
.content-4 {
|
|
66
59
|
.container {
|
|
67
|
-
@apply flex flex-col items-start gap-
|
|
60
|
+
@apply flex flex-col items-start gap-x-gutter lg:grid lg:grid-cols-2;
|
|
68
61
|
}
|
|
69
62
|
|
|
70
63
|
.prose {
|
|
71
|
-
@apply
|
|
64
|
+
@apply lg:sticky lg:top-sticky-16 lg:max-w-xl;
|
|
72
65
|
}
|
|
73
66
|
}
|
|
74
67
|
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
---
|
|
2
|
+
// Content in 2 columns
|
|
3
|
+
import type { ComponentProps } from 'astro/types'
|
|
4
|
+
import Buttons from 'fulldev-ui/components/Buttons.astro'
|
|
5
|
+
import Heading from 'fulldev-ui/components/Heading.astro'
|
|
6
|
+
import Image from 'fulldev-ui/components/Image.astro'
|
|
7
|
+
import Paragraph from 'fulldev-ui/components/Paragraph.astro'
|
|
8
|
+
import Tagline from 'fulldev-ui/components/Tagline.astro'
|
|
9
|
+
import Container from 'fulldev-ui/structures/Container.astro'
|
|
10
|
+
import Group from 'fulldev-ui/structures/Group.astro'
|
|
11
|
+
import Prose from 'fulldev-ui/structures/Prose.astro'
|
|
12
|
+
import Section from 'fulldev-ui/structures/Section.astro'
|
|
13
|
+
|
|
14
|
+
interface Props extends ComponentProps<typeof Section> {
|
|
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
|
+
}
|
|
22
|
+
|
|
23
|
+
const { tagline, heading, paragraph, buttons, image, content, ...rest } =
|
|
24
|
+
Astro.props
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
<Section
|
|
28
|
+
class:list="content-5"
|
|
29
|
+
{...rest}
|
|
30
|
+
>
|
|
31
|
+
<Container>
|
|
32
|
+
<Prose>
|
|
33
|
+
<Tagline text={tagline} />
|
|
34
|
+
<Heading
|
|
35
|
+
as="h2"
|
|
36
|
+
size="5xl"
|
|
37
|
+
text={heading}
|
|
38
|
+
/>
|
|
39
|
+
<Paragraph
|
|
40
|
+
muted
|
|
41
|
+
size="lg"
|
|
42
|
+
text={paragraph}
|
|
43
|
+
/>
|
|
44
|
+
</Prose>
|
|
45
|
+
<Prose class:list="content-5-main">
|
|
46
|
+
<Fragment set:html={content} />
|
|
47
|
+
<slot />
|
|
48
|
+
</Prose>
|
|
49
|
+
<Group>
|
|
50
|
+
<Buttons {buttons} />
|
|
51
|
+
</Group>
|
|
52
|
+
<Image {...image} />
|
|
53
|
+
</Container>
|
|
54
|
+
</Section>
|
|
55
|
+
|
|
56
|
+
<style is:global>
|
|
57
|
+
@layer fulldev {
|
|
58
|
+
.content-5 {
|
|
59
|
+
.container {
|
|
60
|
+
@apply flex flex-col items-start gap-8;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.content-5-main {
|
|
64
|
+
@apply max-w-none break-inside-avoid gap-x-gutter lg:columns-2;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.image {
|
|
68
|
+
@apply rounded-md;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
</style>
|