fulldev-ui 0.3.36 → 0.4.0-beta.0

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.
Files changed (287) hide show
  1. package/.github/ISSUE_TEMPLATE/bug_report.yml +57 -0
  2. package/.github/ISSUE_TEMPLATE/config.yml +5 -0
  3. package/.github/ISSUE_TEMPLATE/feature_request.yml +39 -0
  4. package/.github/pull_request_template.md +23 -0
  5. package/.github/workflows/github-releases-to-discord.yml +21 -0
  6. package/.prettierignore +15 -0
  7. package/.prettierrc.yaml +34 -0
  8. package/.vscode/extensions.json +4 -0
  9. package/.vscode/launch.json +11 -0
  10. package/.vscode/settings.json +23 -0
  11. package/CHANGELOG.md +100 -0
  12. package/CONTRIBUTING.md +102 -0
  13. package/LICENCE +21 -0
  14. package/README.md +9 -6
  15. package/astro.config.ts +44 -0
  16. package/package.json +41 -27
  17. package/pnpm-lock.yaml +6229 -0
  18. package/public/favicon/android-chrome-192x192.png +0 -0
  19. package/public/favicon/android-chrome-512x512.png +0 -0
  20. package/public/favicon/apple-touch-icon.png +0 -0
  21. package/public/favicon/browserconfig.xml +9 -0
  22. package/public/favicon/favicon-16x16.png +0 -0
  23. package/public/favicon/favicon-32x32.png +0 -0
  24. package/public/favicon/favicon.ico +0 -0
  25. package/public/favicon/mstile-150x150.png +0 -0
  26. package/public/favicon/safari-pinned-tab.svg +17 -0
  27. package/public/favicon/site.webmanifest +19 -0
  28. package/public/images/avatar-placeholder.jpg +0 -0
  29. package/public/images/avatars/1.jpeg +0 -0
  30. package/public/images/avatars/2.jpeg +0 -0
  31. package/public/images/avatars/3.jpeg +0 -0
  32. package/public/images/avatars/300/1.jpeg +0 -0
  33. package/public/images/avatars/300/2.jpeg +0 -0
  34. package/public/images/avatars/300/3.jpeg +0 -0
  35. package/public/images/avatars/300/4.jpeg +0 -0
  36. package/public/images/avatars/4.jpeg +0 -0
  37. package/public/images/avatars/5.jpeg +0 -0
  38. package/public/images/avatars/500/1.jpeg +0 -0
  39. package/public/images/avatars/500/2.jpeg +0 -0
  40. package/public/images/avatars/500/3.jpeg +0 -0
  41. package/public/images/avatars/500/4.jpeg +0 -0
  42. package/public/images/avatars/6.jpeg +0 -0
  43. package/public/images/avatars/7.jpeg +0 -0
  44. package/public/images/avatars/8.jpeg +0 -0
  45. package/public/images/block-code.png +0 -0
  46. package/public/images/blocks/colleagues.png +0 -0
  47. package/public/images/blocks/content.png +0 -0
  48. package/public/images/blocks/cta.png +0 -0
  49. package/public/images/blocks/features.png +0 -0
  50. package/public/images/blocks/footer.png +0 -0
  51. package/public/images/blocks/header.png +0 -0
  52. package/public/images/blocks/hero.png +0 -0
  53. package/public/images/blocks/intro.png +0 -0
  54. package/public/images/blocks/posts.png +0 -0
  55. package/public/images/blocks/prices.png +0 -0
  56. package/public/images/blocks/reviews.png +0 -0
  57. package/public/images/component-code.png +0 -0
  58. package/public/images/logo-placeholder.svg +1 -0
  59. package/public/images/placeholder-center.webp +0 -0
  60. package/public/images/placeholder-landscape-dark.png +0 -0
  61. package/public/images/placeholder-landscape.webp +0 -0
  62. package/public/images/placeholder-portrait.webp +0 -0
  63. package/public/images/placeholder-right.webp +0 -0
  64. package/public/images/placeholder.webp +0 -0
  65. package/siteicon.png +0 -0
  66. package/src/blocks/Categories.astro +12 -0
  67. package/src/blocks/Colleagues.astro +12 -0
  68. package/src/blocks/Contact.astro +152 -0
  69. package/src/blocks/Content.astro +12 -0
  70. package/src/blocks/Cta.astro +14 -0
  71. package/src/blocks/Features.astro +11 -0
  72. package/src/blocks/Footer.astro +7 -0
  73. package/src/blocks/Header.astro +7 -0
  74. package/src/blocks/Hero.astro +16 -0
  75. package/src/blocks/Intro.astro +19 -0
  76. package/src/blocks/Jobs.astro +12 -0
  77. package/src/blocks/Posts.astro +11 -0
  78. package/src/blocks/Prices.astro +22 -0
  79. package/src/blocks/Product.astro +64 -0
  80. package/src/blocks/Products.astro +11 -0
  81. package/src/blocks/Reviews.astro +13 -0
  82. package/src/components/{base/Avatar.astro → Avatar.astro} +7 -11
  83. package/src/components/{base/Badge.astro → Badge.astro} +36 -22
  84. package/src/components/{structure/Bento.astro → Bento.astro} +6 -9
  85. package/src/components/Block.astro +157 -0
  86. package/src/components/Blocks.astro +5 -0
  87. package/src/components/Box.astro +60 -0
  88. package/src/components/Button.astro +140 -0
  89. package/src/components/Card.astro +212 -0
  90. package/src/components/{structure/Carousel.astro → Carousel.astro} +13 -16
  91. package/src/components/Checkbox.astro +63 -0
  92. package/src/components/{structure/Column.astro → Column.astro} +14 -9
  93. package/src/components/Dialog.astro +65 -0
  94. package/src/components/Drawer.astro +99 -0
  95. package/src/components/Footer.astro +144 -0
  96. package/src/components/{structure/Grid.astro → Grid.astro} +7 -10
  97. package/src/components/Head.astro +85 -0
  98. package/src/components/Header.astro +204 -0
  99. package/src/components/Heading.astro +79 -0
  100. package/src/components/{base/Icon.astro → Icon.astro} +7 -9
  101. package/src/components/{base/Image.astro → Image.astro} +32 -30
  102. package/src/components/Input.astro +119 -0
  103. package/src/components/{typography/Label.astro → Label.astro} +12 -12
  104. package/src/components/{typography/Link.astro → Link.astro} +15 -13
  105. package/src/components/List.astro +41 -0
  106. package/src/components/{structure/Masonry.astro → Masonry.astro} +9 -11
  107. package/src/components/Rating.astro +82 -0
  108. package/src/components/{_Component.astro → Root.astro} +7 -11
  109. package/src/components/{structure/Row.astro → Row.astro} +6 -9
  110. package/src/components/Search.astro +62 -0
  111. package/src/components/Section.astro +274 -0
  112. package/src/components/Select.astro +144 -0
  113. package/src/components/Sidebar.astro +71 -0
  114. package/src/components/{structure/Split.astro → Split.astro} +6 -9
  115. package/src/components/{structure/Spread.astro → Spread.astro} +6 -9
  116. package/src/components/Switch.astro +114 -0
  117. package/src/components/Table.astro +121 -0
  118. package/src/components/Tagline.astro +35 -0
  119. package/src/components/Text.astro +43 -0
  120. package/src/components/Textarea.astro +105 -0
  121. package/src/components/Toc.astro +52 -0
  122. package/src/components/{structure/Wrap.astro → Wrap.astro} +5 -10
  123. package/src/components/docs/DecorativeBox.astro +15 -0
  124. package/src/components/docs/PropsTable.astro +95 -0
  125. package/src/components/experimental/Channel.astro +15 -10
  126. package/src/components/experimental/Form.astro +34 -0
  127. package/src/components/experimental/Gallery.astro +180 -0
  128. package/src/components/experimental/GalleryVertical.astro +161 -0
  129. package/src/components/{base → experimental}/Logo.astro +3 -5
  130. package/src/components/experimental/Price.astro +17 -17
  131. package/src/components/experimental/Prose.astro +154 -0
  132. package/src/components/{base → experimental}/Video.astro +1 -1
  133. package/src/components/experimental/Window.astro +173 -0
  134. package/src/content/config.ts +16 -13
  135. package/src/content/pages/_changelog.mdx +10 -0
  136. package/src/content/pages/_segment/footer.mdx +244 -0
  137. package/src/content/pages/_segment/header.mdx +210 -0
  138. package/src/content/pages/base/_dialog.mdx +17 -0
  139. package/src/content/pages/base/_drawer.mdx +17 -0
  140. package/src/content/pages/base/_image.mdx +14 -0
  141. package/src/content/pages/base/_switch.mdx +33 -0
  142. package/src/content/pages/base/badge.mdx +70 -0
  143. package/src/content/pages/base/button.mdx +71 -0
  144. package/src/content/pages/base/card.mdx +114 -0
  145. package/src/content/pages/base/checkbox.mdx +43 -0
  146. package/src/content/pages/base/icon.mdx +54 -0
  147. package/src/content/pages/base/input.mdx +67 -0
  148. package/src/content/pages/base/rating.mdx +66 -0
  149. package/src/content/pages/base/section.mdx +79 -0
  150. package/src/content/pages/base/select.mdx +77 -0
  151. package/src/content/pages/base/table.mdx +133 -0
  152. package/src/content/pages/base/textarea.mdx +73 -0
  153. package/src/content/pages/blocks/_banner.mdx +13 -0
  154. package/src/content/pages/blocks/_categories.mdx +149 -0
  155. package/src/content/pages/blocks/_jobs.mdx +37 -0
  156. package/src/content/pages/blocks/_product.mdx +29 -0
  157. package/src/content/pages/blocks/_products.mdx +55 -0
  158. package/src/content/pages/blocks/_stats.mdx +34 -0
  159. package/src/content/pages/blocks/colleagues.mdx +42 -0
  160. package/src/content/pages/blocks/content.mdx +101 -0
  161. package/src/content/pages/blocks/cta.mdx +192 -0
  162. package/src/content/pages/blocks/features.mdx +134 -0
  163. package/src/content/pages/blocks/footer.mdx +71 -0
  164. package/src/content/pages/blocks/header.mdx +192 -0
  165. package/src/content/pages/blocks/hero.mdx +97 -0
  166. package/src/content/pages/blocks/intro.mdx +132 -0
  167. package/src/content/pages/blocks/posts.mdx +40 -0
  168. package/src/content/pages/blocks/prices.mdx +126 -0
  169. package/src/content/pages/blocks/reviews.mdx +249 -0
  170. package/src/content/pages/blocks.mdx +10 -0
  171. package/src/content/pages/index.mdx +65 -0
  172. package/src/content/pages/overview/frameworks.mdx +180 -0
  173. package/src/content/pages/overview/installation.mdx +20 -0
  174. package/src/content/pages/overview/integration.mdx +37 -0
  175. package/src/content/pages/overview/introduction.mdx +20 -0
  176. package/src/content/pages/overview/theming.mdx +83 -0
  177. package/src/content/pages/structure/_row.mdx +23 -0
  178. package/src/content/pages/structure/_wrap.mdx +25 -0
  179. package/src/content/pages/structure/carousel.mdx +31 -0
  180. package/src/content/pages/structure/column.mdx +21 -0
  181. package/src/content/pages/structure/grid.mdx +26 -0
  182. package/src/content/pages/structure/masonry.mdx +32 -0
  183. package/src/content/pages/structure/split.mdx +21 -0
  184. package/src/content/pages/structure/spread.mdx +21 -0
  185. package/src/content/pages/typography/_tagline.mdx +36 -0
  186. package/src/content/pages/typography/heading.mdx +74 -0
  187. package/src/content/pages/typography/label.mdx +42 -0
  188. package/src/content/pages/typography/link.mdx +63 -0
  189. package/src/content/pages/typography/list.mdx +52 -0
  190. package/src/content/pages/typography/text.mdx +62 -0
  191. package/src/content/records/record.yml +1 -0
  192. package/src/content/settings/base.yml +48 -0
  193. package/src/content/settings/components.yml +27 -0
  194. package/src/css/color.css +6 -67
  195. package/src/css/custom.css +59 -0
  196. package/src/css/size.css +130 -0
  197. package/src/css/space.css +47 -26
  198. package/src/css/styles.css +4 -2
  199. package/src/env.d.ts +1 -1
  200. package/src/integration/generate-colors.ts +637 -0
  201. package/src/integration/index.ts +158 -0
  202. package/src/integration/tailwind-plugin.ts +80 -0
  203. package/src/integration/unocss-preset.ts +84 -0
  204. package/src/layouts/BlockLayout.astro +24 -0
  205. package/src/layouts/BlockOverviewLayout.astro +39 -0
  206. package/src/layouts/ComponentLayout.astro +23 -0
  207. package/src/layouts/JobsLayout.astro +40 -0
  208. package/src/layouts/Layout.astro +168 -0
  209. package/src/layouts/OverviewLayout.astro +45 -0
  210. package/src/layouts/PageLayout.astro +32 -0
  211. package/src/layouts/PostLayout.astro +32 -0
  212. package/src/layouts/ProductLayout.astro +31 -0
  213. package/src/pages/[...page].astro +41 -0
  214. package/src/schemas/base.ts +81 -0
  215. package/src/schemas/block.ts +15 -0
  216. package/src/schemas/card.ts +3 -0
  217. package/src/schemas/page.ts +43 -0
  218. package/src/schemas/utils.ts +22 -0
  219. package/src/utils/mergeEntries.ts +28 -0
  220. package/tsconfig.json +10 -1
  221. package/.astro/settings.json +0 -5
  222. package/.astro/types.d.ts +0 -147
  223. package/.env +0 -1
  224. package/astro.config.mjs +0 -6
  225. package/src/components/_Block.astro +0 -20
  226. package/src/components/_Blocks.astro +0 -11
  227. package/src/components/_Children.astro +0 -31
  228. package/src/components/_archive/Body.astro +0 -37
  229. package/src/components/_archive/Main.astro +0 -28
  230. package/src/components/_archive/Nav.astro +0 -50
  231. package/src/components/_todo/Form.astro +0 -36
  232. package/src/components/_todo/Prose.astro +0 -139
  233. package/src/components/_todo/Writeup.astro +0 -24
  234. package/src/components/base/Button.astro +0 -123
  235. package/src/components/base/Rating.astro +0 -47
  236. package/src/components/base/checkbox/Checkbox.astro +0 -52
  237. package/src/components/base/checkbox/CheckboxElement.astro +0 -31
  238. package/src/components/base/input/Input.astro +0 -79
  239. package/src/components/base/input/InputElement.astro +0 -69
  240. package/src/components/base/radio/Radio.astro +0 -66
  241. package/src/components/base/radio/RadioElement.astro +0 -34
  242. package/src/components/base/select/Select.astro +0 -90
  243. package/src/components/base/select/SelectElement.astro +0 -56
  244. package/src/components/base/select/SelectOption.astro +0 -32
  245. package/src/components/base/switch/Switch.astro +0 -55
  246. package/src/components/base/switch/SwitchElement.astro +0 -84
  247. package/src/components/base/table/Table.astro +0 -57
  248. package/src/components/base/table/TableBody.astro +0 -38
  249. package/src/components/base/table/TableCell.astro +0 -30
  250. package/src/components/base/table/TableFooter.astro +0 -48
  251. package/src/components/base/table/TableHead.astro +0 -31
  252. package/src/components/base/table/TableHeader.astro +0 -44
  253. package/src/components/base/table/TableRow.astro +0 -46
  254. package/src/components/base/textarea/Textarea.astro +0 -79
  255. package/src/components/base/textarea/TextareaElement.astro +0 -68
  256. package/src/components/segment/Box.astro +0 -46
  257. package/src/components/segment/Card.astro +0 -114
  258. package/src/components/segment/Footer.astro +0 -94
  259. package/src/components/segment/Header.astro +0 -100
  260. package/src/components/segment/Section.astro +0 -103
  261. package/src/components/segment/_regels.md +0 -32
  262. package/src/components/typography/Heading.astro +0 -66
  263. package/src/components/typography/List.astro +0 -47
  264. package/src/components/typography/ListItem.astro +0 -36
  265. package/src/components/typography/Paragraph.astro +0 -36
  266. package/src/components/typography/Tagline.astro +0 -36
  267. package/src/components/typography/Text.astro +0 -37
  268. package/src/components/utility/Head.astro +0 -83
  269. package/src/components/utility/Layout.astro +0 -46
  270. package/src/content/pages/index.md +0 -2
  271. package/src/css/color.scss +0 -289
  272. package/src/css/size.scss +0 -296
  273. package/src/css/utils.scss +0 -16
  274. package/src/index.ts +0 -71
  275. package/src/integration/integration.ts +0 -88
  276. package/src/integration/tailwind.ts +0 -34
  277. package/src/integration/unocss.ts +0 -38
  278. /package/src/{_archive → utils/_archive}/Childmorphic.ts +0 -0
  279. /package/src/{_archive → utils/_archive}/getAllCollections.ts +0 -0
  280. /package/src/{_archive → utils/_archive}/getCollectionCascade.ts +0 -0
  281. /package/src/{_archive → utils/_archive}/getPathname.ts +0 -0
  282. /package/src/{_archive → utils/_archive}/staticPageSchema.ts +0 -0
  283. /package/src/{_archive → utils/_archive}/transform/transform.ts +0 -0
  284. /package/src/{_archive → utils/_archive}/transform/transformCasing.ts +0 -0
  285. /package/src/{_archive → utils/_archive}/transform/transformReferences.ts +0 -0
  286. /package/src/{_archive → utils/_archive}/transform/transformSelfs.ts +0 -0
  287. /package/src/{_archive → utils/_archive}/transform/transformUnderscores.ts +0 -0
@@ -0,0 +1,192 @@
1
+ ---
2
+ _layout: BlockLayout
3
+
4
+ title: Header
5
+ image: /images/blocks/header.png
6
+ ---
7
+
8
+ ```astro live
9
+ ---
10
+ import Header from 'fulldev-ui/components/Header.astro'
11
+ ---
12
+
13
+ <Header
14
+ heading="Fulldev UI"
15
+ links={[
16
+ {
17
+ text: 'Docs',
18
+ href: '/overview/introduction/',
19
+ },
20
+ {
21
+ text: 'Github',
22
+ href: 'https://github.com/fulldotdev/ui',
23
+ },
24
+ ]}
25
+ buttons={[
26
+ {
27
+ title: 'X / Twitter',
28
+ icon: 'brand-x',
29
+ href: 'https://x.com/silveltm',
30
+ target: '_blank',
31
+ contrast: true,
32
+ },
33
+ ]}
34
+ frame="fill"
35
+ position="relative"
36
+ drawer={[
37
+ {
38
+ links: [
39
+ { text: 'Docs', href: '/overview/introduction' },
40
+ { text: 'Components', href: '/typography/heading' },
41
+ { text: 'Blocks', href: '/blocks' },
42
+ ],
43
+ },
44
+ {
45
+ heading: 'Overview',
46
+ links: [
47
+ { text: 'Installation', href: '/overview/installation' },
48
+ { text: 'Integration', href: '/overview/integration' },
49
+ { text: 'Theming', href: '/overview/theming' },
50
+ { text: 'Frameworks', href: '/overview/frameworks' },
51
+ ],
52
+ },
53
+ { heading: 'Structure', folder: 'structure' },
54
+ { heading: 'Typography', folder: 'typography' },
55
+ { heading: 'Base', folder: 'base' },
56
+ ]}
57
+ />
58
+ ```
59
+
60
+ ```astro live
61
+ ---
62
+ import Header from 'fulldev-ui/components/Header.astro'
63
+ ---
64
+
65
+ <Header
66
+ heading="Fulldev UI"
67
+ links={[
68
+ {
69
+ text: 'Docs',
70
+ href: '/overview/introduction/',
71
+ },
72
+ {
73
+ text: 'Github',
74
+ href: 'https://github.com/fulldotdev/ui',
75
+ },
76
+ ]}
77
+ buttons={[
78
+ {
79
+ text: 'Docs',
80
+ href: '/overview/introduction/',
81
+ },
82
+ {
83
+ title: 'X / Twitter',
84
+ icon: 'brand-x',
85
+ href: 'https://x.com/silveltm',
86
+ target: '_blank',
87
+ },
88
+ ]}
89
+ frame="fill"
90
+ position="relative"
91
+ />
92
+ ```
93
+
94
+ ```astro live
95
+ ---
96
+ import Header from 'fulldev-ui/components/Header.astro'
97
+ ---
98
+
99
+ <Header
100
+ heading="Fulldev UI"
101
+ links={[
102
+ {
103
+ text: 'Docs',
104
+ href: '/overview/introduction/',
105
+ },
106
+ {
107
+ text: 'Github',
108
+ href: 'https://github.com/fulldotdev/ui',
109
+ },
110
+ ]}
111
+ buttons={[
112
+ {
113
+ text: 'Docs',
114
+ href: '/overview/introduction/',
115
+ contrast: true,
116
+ },
117
+ {
118
+ title: 'X / Twitter',
119
+ icon: 'brand-x',
120
+ href: 'https://x.com/silveltm',
121
+ target: '_blank',
122
+ contrast: true,
123
+ },
124
+ ]}
125
+ frame="panel"
126
+ position="relative"
127
+ />
128
+ ```
129
+
130
+ ```astro live
131
+ ---
132
+ import Header from 'fulldev-ui/components/Header.astro'
133
+ ---
134
+
135
+ <Header
136
+ heading="Fulldev UI"
137
+ links={[
138
+ {
139
+ text: 'Docs',
140
+ href: '/overview/introduction/',
141
+ },
142
+ {
143
+ text: 'Github',
144
+ href: 'https://github.com/fulldotdev/ui',
145
+ },
146
+ ]}
147
+ buttons={[
148
+ {
149
+ title: 'X / Twitter',
150
+ icon: 'brand-x',
151
+ href: 'https://x.com/silveltm',
152
+ target: '_blank',
153
+ contrast: true,
154
+ },
155
+ ]}
156
+ frame="fill"
157
+ position="relative"
158
+ color="brand"
159
+ />
160
+ ```
161
+
162
+ ```astro live
163
+ ---
164
+ import Header from 'fulldev-ui/components/Header.astro'
165
+ ---
166
+
167
+ <Header
168
+ heading="Fulldev UI"
169
+ links={[
170
+ {
171
+ text: 'Docs',
172
+ href: '/overview/introduction/',
173
+ },
174
+ {
175
+ text: 'Github',
176
+ href: 'https://github.com/fulldotdev/ui',
177
+ },
178
+ ]}
179
+ buttons={[
180
+ {
181
+ title: 'X / Twitter',
182
+ icon: 'brand-x',
183
+ href: 'https://x.com/silveltm',
184
+ target: '_blank',
185
+ contrast: true,
186
+ },
187
+ ]}
188
+ frame="fill"
189
+ position="relative"
190
+ color="brand"
191
+ />
192
+ ```
@@ -0,0 +1,97 @@
1
+ ---
2
+ _layout: BlockLayout
3
+
4
+ title: Hero
5
+ image: /images/blocks/hero.png
6
+ ---
7
+
8
+ ```astro live
9
+ ---
10
+ import Hero from 'fulldev-ui/blocks/Hero.astro'
11
+ ---
12
+
13
+ <Hero
14
+ badge="Lorem ipsum dolor"
15
+ heading="Lorem ipsum dolor sit"
16
+ text="Lorem ipsum dolor sit amet consectetur adipisicing elit"
17
+ buttons={[
18
+ { text: 'Lorem ipsum', href: '' },
19
+ { text: 'Lorem ipsum', href: '' },
20
+ ]}
21
+ image="/images/placeholder-landscape.webp"
22
+ />
23
+ ```
24
+
25
+ ```astro live
26
+ ---
27
+ import Hero from 'fulldev-ui/blocks/Hero.astro'
28
+ ---
29
+
30
+ <Hero
31
+ heading="Lorem ipsum dolor sit"
32
+ text="Lorem ipsum dolor sit amet consectetur adipisicing elit"
33
+ buttons={[
34
+ { text: 'Lorem ipsum', href: '' },
35
+ { text: 'Lorem ipsum', href: '' },
36
+ ]}
37
+ structure="spread"
38
+ image="/images/placeholder-landscape.webp"
39
+ />
40
+ ```
41
+
42
+ ```astro live
43
+ ---
44
+ import Hero from 'fulldev-ui/blocks/Hero.astro'
45
+ ---
46
+
47
+ <Hero
48
+ badge="Lorem ipsum dolor"
49
+ heading="Lorem ipsum dolor consectetur amet"
50
+ text="Lorem ipsum dolor sit amet consectetur aler"
51
+ buttons={[
52
+ { text: 'Lorem ipsum', href: '' },
53
+ { text: 'Lorem ipsum', href: '' },
54
+ ]}
55
+ structure="split"
56
+ image="/images/placeholder-landscape.webp"
57
+ />
58
+ ```
59
+
60
+ ```astro live
61
+ ---
62
+ import Hero from 'fulldev-ui/blocks/Hero.astro'
63
+ ---
64
+
65
+ <Hero
66
+ badge="Lorem ipsum dolor"
67
+ heading="Lorem ipsum dolor consectetur amet"
68
+ text="Lorem ipsum dolor sit amet consectetur aler"
69
+ buttons={[
70
+ { text: 'Lorem ipsum', href: '' },
71
+ { text: 'Lorem ipsum', href: '' },
72
+ ]}
73
+ structure="split"
74
+ position="inset"
75
+ image="/images/placeholder-landscape.webp"
76
+ />
77
+ ```
78
+
79
+ ```astro live
80
+ ---
81
+ import Hero from 'fulldev-ui/blocks/Hero.astro'
82
+ ---
83
+
84
+ <Hero
85
+ heading="Lorem ipsum dolor sit"
86
+ text="Lorem ipsum dolor sit amet consectetur adipisicing elit"
87
+ buttons={[
88
+ { text: 'Lorem ipsum', href: '' },
89
+ { text: 'Lorem ipsum', href: '' },
90
+ ]}
91
+ image="/images/placeholder-landscape-dark.png"
92
+ position="background"
93
+ align="center"
94
+ frame="viewport"
95
+ justify="center"
96
+ />
97
+ ```
@@ -0,0 +1,132 @@
1
+ ---
2
+ _layout: BlockLayout
3
+
4
+ title: Intro
5
+ image: /images/blocks/intro.png
6
+ ---
7
+
8
+ ```astro live
9
+ ---
10
+ import Intro from 'fulldev-ui/blocks/Intro.astro'
11
+ ---
12
+
13
+ <Intro
14
+ heading="Lorem ipsum dolor sit amet"
15
+ text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla facilisi. Nulla facilisi. Nulla facilisi. Sed do eiusmod tempor."
16
+ buttons={[
17
+ { text: 'Get Started', href: '', contrast: true },
18
+ { text: 'View Components', href: '', contrast: true },
19
+ ]}
20
+ />
21
+ ```
22
+
23
+ ```astro live
24
+ ---
25
+ import Intro from 'fulldev-ui/blocks/Intro.astro'
26
+ ---
27
+
28
+ <Intro
29
+ heading="Lorem ipsum dolor sit amet"
30
+ align="center"
31
+ text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla facilisi. Nulla facilisi. Nulla facilisi. Sed do eiusmod tempor."
32
+ />
33
+ ```
34
+
35
+ ```astro live
36
+ ---
37
+ import Intro from 'fulldev-ui/blocks/Intro.astro'
38
+ ---
39
+
40
+ <Intro
41
+ heading="Lorem ipsum dolor sit amet"
42
+ text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla facilisi. Nulla facilisi. Nulla facilisi. Sed do eiusmod tempor."
43
+ buttons={[
44
+ { text: 'Get Started', href: '' },
45
+ { text: 'View Components', href: '' },
46
+ ]}
47
+ />
48
+ ```
49
+
50
+ ```astro live
51
+ ---
52
+ import Intro from 'fulldev-ui/blocks/Intro.astro'
53
+ ---
54
+
55
+ <Intro
56
+ color="brand"
57
+ heading="Lorem ipsum dolor sit amet"
58
+ text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla facilisi. Nulla facilisi. Nulla facilisi. Sed do eiusmod tempor."
59
+ buttons={[
60
+ { text: 'Get Started', href: '' },
61
+ { text: 'View Components', href: '' },
62
+ ]}
63
+ />
64
+ ```
65
+
66
+ ```astro live
67
+ ---
68
+ import Intro from 'fulldev-ui/blocks/Intro.astro'
69
+ ---
70
+
71
+ <Intro
72
+ variant="primary"
73
+ color="brand"
74
+ heading="Lorem ipsum dolor sit amet"
75
+ text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla facilisi. Nulla facilisi. Nulla facilisi. Sed do eiusmod tempor."
76
+ buttons={[
77
+ { text: 'Get Started', href: '' },
78
+ { text: 'View Components', href: '' },
79
+ ]}
80
+ />
81
+ ```
82
+
83
+ ```astro live
84
+ ---
85
+ import Intro from 'fulldev-ui/blocks/Intro.astro'
86
+ ---
87
+
88
+ <Intro
89
+ frame="fill"
90
+ variant="primary"
91
+ heading="Lorem ipsum dolor sit amet"
92
+ text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla facilisi. Nulla facilisi. Nulla facilisi. Sed do eiusmod tempor."
93
+ buttons={[
94
+ { text: 'Get Started', href: '' },
95
+ { text: 'View Components', href: '' },
96
+ ]}
97
+ />
98
+ ```
99
+
100
+ ```astro live
101
+ ---
102
+ import Intro from 'fulldev-ui/blocks/Intro.astro'
103
+ ---
104
+
105
+ <Intro
106
+ frame="fill"
107
+ variant="primary"
108
+ heading="Lorem ipsum dolor sit amet"
109
+ text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla facilisi. Nulla facilisi. Nulla facilisi. Sed do eiusmod tempor."
110
+ buttons={[
111
+ { text: 'Get Started', href: '', contrast: true },
112
+ { text: 'View Components', href: '', contrast: true },
113
+ ]}
114
+ />
115
+ ```
116
+
117
+ ```astro live
118
+ ---
119
+ import Intro from 'fulldev-ui/blocks/Intro.astro'
120
+ ---
121
+
122
+ <Intro
123
+ frame="panel"
124
+ variant="primary"
125
+ heading="Lorem ipsum dolor sit amet"
126
+ text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla facilisi. Nulla facilisi. Nulla facilisi. Sed do eiusmod tempor."
127
+ buttons={[
128
+ { text: 'Get Started', href: '', contrast: true },
129
+ { text: 'View Components', href: '', contrast: true },
130
+ ]}
131
+ />
132
+ ```
@@ -0,0 +1,40 @@
1
+ ---
2
+ _layout: BlockLayout
3
+
4
+ title: Posts
5
+ image: /images/blocks/posts.png
6
+ ---
7
+
8
+ ```astro live
9
+ ---
10
+ import Posts from 'fulldev-ui/blocks/Posts.astro'
11
+ ---
12
+
13
+ <Posts
14
+ heading="Latest posts"
15
+ text="Read the latest articles from our blog."
16
+ cards={[
17
+ {
18
+ tagline: '2024-03-15',
19
+ heading: 'Lorem ipsum dolor sit amet consectetur',
20
+ text: 'Introducing our versatile Hero component with multiple layout options including centered, spread, split, and background styles. Perfect for creating impactful page headers.',
21
+ image: '/images/placeholder-landscape.webp',
22
+ href: '',
23
+ },
24
+ {
25
+ tagline: '2024-03-10',
26
+ heading: 'Lorem ipsum dolor sit amet consectetur',
27
+ text: "Check out our new Features block with customizable layouts. Great for showcasing your product's key features or services.",
28
+ image: '/images/placeholder-landscape.webp',
29
+ href: '',
30
+ },
31
+ {
32
+ tagline: '2024-03-05',
33
+ heading: 'Lorem ipsum dolor sit amet consectetur',
34
+ text: 'Discover our flexible Content block with split layout and panel options. Ideal for presenting detailed information about your products or services.',
35
+ image: '/images/placeholder-landscape.webp',
36
+ href: '',
37
+ },
38
+ ]}
39
+ />
40
+ ```
@@ -0,0 +1,126 @@
1
+ ---
2
+ _layout: BlockLayout
3
+
4
+ title: Prices
5
+ image: /images/blocks/prices.png
6
+ ---
7
+
8
+ ```astro live
9
+ ---
10
+ import Prices from 'fulldev-ui/blocks/Prices.astro'
11
+ ---
12
+
13
+ <Prices
14
+ variant="subtle"
15
+ heading="Choose the plan that suits you"
16
+ text="Our plans are designed to meet the requirements of both beginners and advanced users."
17
+ cards={[
18
+ {
19
+ heading: 'Free',
20
+ text: 'A free plan to help you get started',
21
+ price: 10,
22
+ list: ['1 GB of space', 'Support at $0', '1 email', '1 domain'],
23
+ buttons: [{ text: 'Get started', variant: 'secondary' }],
24
+ },
25
+ {
26
+ label: 'Best value',
27
+ color: 'brand',
28
+ heading: 'Premium',
29
+ text: 'Suitable for small to medium businesses with a larger team',
30
+ price: 25,
31
+ list: ['10 GB of space', 'Support at $29', '10 email', '10 domain'],
32
+ buttons: [{ text: 'Get started' }],
33
+ },
34
+ {
35
+ heading: 'Enterprise',
36
+ text: 'Our best plan for large companies with larger teams',
37
+ price: 100,
38
+ list: ['100 GB of space', 'Support at $99', '100 email', '100 domain'],
39
+ buttons: [{ text: 'Get started', variant: 'secondary' }],
40
+ },
41
+ ]}
42
+ />
43
+ ```
44
+
45
+ ```astro live
46
+ ---
47
+ import Prices from 'fulldev-ui/blocks/Prices.astro'
48
+ ---
49
+
50
+ <Prices
51
+ rating={{
52
+ value: 5,
53
+ label: '100+ happy customers',
54
+ avatars: [
55
+ '/images/avatars/1.jpeg',
56
+ '/images/avatars/2.jpeg',
57
+ '/images/avatars/3.jpeg',
58
+ '/images/avatars/4.jpeg',
59
+ ],
60
+ }}
61
+ heading="Flexible Pricing Options"
62
+ text="Choose between monthly or annual billing. Switch anytime."
63
+ cards={[
64
+ {
65
+ heading: 'Basic',
66
+ text: 'Essential features for small teams',
67
+ price: 15,
68
+ list: ['5 projects', '10 GB storage', 'Basic reporting'],
69
+ button: { text: 'Get started', variant: 'primary', contrast: true },
70
+ },
71
+ {
72
+ heading: 'Pro',
73
+ text: 'Advanced features for growing businesses',
74
+ price: 49,
75
+ list: [
76
+ 'Unlimited projects',
77
+ '100 GB storage',
78
+ 'Advanced reporting',
79
+ 'Team collaboration',
80
+ ],
81
+ button: { text: 'Get started', variant: 'primary', contrast: true },
82
+ },
83
+ ]}
84
+ />
85
+ ```
86
+
87
+ ```astro live
88
+ ---
89
+ import Prices from 'fulldev-ui/blocks/Prices.astro'
90
+ ---
91
+
92
+ <Prices
93
+ heading="Flexible Pricing Options"
94
+ text="Choose between monthly or annual billing. Switch anytime."
95
+ cards={[
96
+ {
97
+ heading: 'Basic',
98
+ text: 'Essential features for small teams',
99
+ price: 15,
100
+ list: ['5 projects', '10 GB storage', 'Basic reporting'],
101
+ button: { text: 'Get started', variant: 'primary', contrast: true },
102
+ },
103
+ {
104
+ heading: 'Pro',
105
+ text: 'Advanced features for growing businesses',
106
+ price: 49,
107
+ list: [
108
+ 'Unlimited projects',
109
+ '100 GB storage',
110
+ 'Advanced reporting',
111
+ 'Team collaboration',
112
+ ],
113
+ button: { text: 'Get started', variant: 'primary', contrast: true },
114
+ },
115
+ ]}
116
+ table={{
117
+ header: ['Features', 'Basic', 'Pro'],
118
+ body: [
119
+ ['Amount of storage', '10 GB', '100 GB'],
120
+ ['Amount of projects', '5', 'Unlimited'],
121
+ ['Advanced reporting', 'No', 'Yes'],
122
+ ['Team collaboration', 'No', 'Yes'],
123
+ ],
124
+ }}
125
+ />
126
+ ```