PluginProbe
AI Builder – Generate pages, blocks, images & translate with AI / 2.2.1
AI Builder – Generate pages, blocks, images & translate with AI v2.2.1
2.7.10 2.7.9 2.7.8 2.0.8 2.0.9 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.3.0 2.3.10 All 122 releases
ai-builder / assets / JSON-Blocks / files.js

files.js in AI Builder – Generate pages, blocks, images & translate with AI 2.2.1, at assets/JSON-Blocks/files.js

57 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 const filesBlocks = [
2 {
3 id: "files-01",
4 jsonBlocks: {
5 blockName: "core/group",
6 attrs: {
7 align: "center",
8 className: "files-container",
9 style: {
10 color: {
11 background: "#ffffff",
12 },
13 },
14 },
15 innerBlocks: [
16 {
17 blockName: "core/heading",
18 attrs: {
19 content: "Download Our Files",
20 level: 2,
21 className: "files-title",
22 textAlign: "center",
23 },
24 },
25 {
26 blockName: "core/paragraph",
27 attrs: {
28 content: "Get access to our resources and documents",
29 className: "files-description ai-text-block",
30 align: "center",
31 },
32 },
33 {
34 blockName: "core/file",
35 attrs: {
36 className: "files-upload",
37 downloadButtonText: "Download Now",
38 showDownloadButton: true,
39 displayPreview: true,
40 displayIcon: true,
41 },
42 },
43 {
44 blockName: "core/paragraph",
45 attrs: {
46 content: "Click the button above to download the file",
47 className: "files-info ai-text-block",
48 align: "center",
49 },
50 },
51 ],
52 },
53 },
54 ];
55
56 export default filesBlocks;
57