PluginProbe
AI Builder – Generate pages, blocks, images & translate with AI / trunk
AI Builder – Generate pages, blocks, images & translate with AI vtrunk
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 2.3.11 2.3.12 All 120 releases
ai-builder / assets / JSON-Blocks / table.js

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

174 lines 4.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 const tableBlocks = [
2 {
3 id: "table-01",
4 jsonBlocks: {
5 blockName: "core/group",
6 attrs: {
7 align: "center",
8 className: "table-container",
9 style: {
10 color: {
11 background: "#ffffff",
12 },
13 },
14 },
15 innerBlocks: [
16 {
17 blockName: "core/heading",
18 attrs: {
19 content: "Table",
20 level: 2,
21 className: "table-title",
22 textAlign: "center",
23 },
24 },
25 {
26 blockName: "core/paragraph",
27 attrs: {
28 content: "Table description",
29 className: "table-description ai-text-block",
30 textAlign: "center",
31 },
32 },
33 {
34 blockName: "core/table",
35 attrs: {
36 className: "pricing-table",
37 hasFixedLayout: true,
38 },
39 innerBlocks: [
40 {
41 blockName: "core/table-row",
42 attrs: {
43 className: "table-header",
44 },
45 innerBlocks: [
46 {
47 blockName: "core/table-cell",
48 attrs: {
49 content: "Features",
50 scope: "col",
51 },
52 },
53 {
54 blockName: "core/table-cell",
55 attrs: {
56 content: "Basic",
57 scope: "col",
58 },
59 },
60 {
61 blockName: "core/table-cell",
62 attrs: {
63 content: "Pro",
64 scope: "col",
65 },
66 },
67 {
68 blockName: "core/table-cell",
69 attrs: {
70 content: "Enterprise",
71 scope: "col",
72 },
73 },
74 ],
75 },
76 {
77 blockName: "core/table-row",
78 attrs: {},
79 innerBlocks: [
80 {
81 blockName: "core/table-cell",
82 attrs: {
83 content: "Storage",
84 },
85 },
86 {
87 blockName: "core/table-cell",
88 attrs: {
89 content: "5 GB",
90 },
91 },
92 {
93 blockName: "core/table-cell",
94 attrs: {
95 content: "50 GB",
96 },
97 },
98 {
99 blockName: "core/table-cell",
100 attrs: {
101 content: "Unlimited",
102 },
103 },
104 ],
105 },
106 {
107 blockName: "core/table-row",
108 attrs: {},
109 innerBlocks: [
110 {
111 blockName: "core/table-cell",
112 attrs: {
113 content: "Users",
114 },
115 },
116 {
117 blockName: "core/table-cell",
118 attrs: {
119 content: "1",
120 },
121 },
122 {
123 blockName: "core/table-cell",
124 attrs: {
125 content: "5",
126 },
127 },
128 {
129 blockName: "core/table-cell",
130 attrs: {
131 content: "Unlimited",
132 },
133 },
134 ],
135 },
136 {
137 blockName: "core/table-row",
138 attrs: {},
139 innerBlocks: [
140 {
141 blockName: "core/table-cell",
142 attrs: {
143 content: "Support",
144 },
145 },
146 {
147 blockName: "core/table-cell",
148 attrs: {
149 content: "Email",
150 },
151 },
152 {
153 blockName: "core/table-cell",
154 attrs: {
155 content: "Priority",
156 },
157 },
158 {
159 blockName: "core/table-cell",
160 attrs: {
161 content: "24/7",
162 },
163 },
164 ],
165 },
166 ],
167 },
168 ],
169 },
170 },
171 ];
172
173 export default tableBlocks;
174