PluginProbe
Extendify / 3.0.5
Extendify v3.0.5
3.2.1 3.2.0 3.1.6 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.6 3.0.5 3.0.4 trunk 0.1.0 0.10.0 0.10.1 0.10.2 0.11.0 0.11.1 0.2.0 0.3.0 0.3.1 0.4.0 0.5.0 0.6.0 All 127 releases
extendify / src / Assist / tasks / images / HelpCenterMarkup.jsx

HelpCenterMarkup.jsx in Extendify 3.0.5, at src/Assist/tasks/images/HelpCenterMarkup.jsx

247 lines 9.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import { playIcon, toursIcon } from '@assist/tasks/images/icons';
2 import { __ } from '@wordpress/i18n';
3 import {
4 chevronLeft,
5 chevronRight,
6 closeSmall,
7 Icon,
8 lineSolid,
9 postComments,
10 redo,
11 search,
12 } from '@wordpress/icons';
13
14 export const HelpCenterMarkup = (props) => (
15 <div {...props}>
16 <div className="absolute top-1.5 z-0 flex h-20 w-44 flex-wrap gap-3">
17 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
18 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
19 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
20 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
21 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
22 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
23 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
24 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
25 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
26 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
27 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
28 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
29 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
30 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
31 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
32 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
33 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
34 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
35 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
36 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
37 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
38 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
39 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
40 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
41 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
42 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
43 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
44 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
45 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
46 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
47 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
48 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
49 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
50 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
51 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
52 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
53 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
54 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
55 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
56 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
57 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
58 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
59 <div className="h-1 w-1 rounded-full bg-gray-200"></div>
60 </div>
61 <div className="relative z-10 flex justify-center text-left">
62 <div className="absolute left-0 m-0 w-fit flex-1 origin-top scale-[0.395] transform">
63 <div className="w-[420px] overflow-hidden rounded-xl border border-gray-400 bg-white shadow-xl">
64 <div className="flex w-full content-center gap-4 border-b bg-banner-main py-6 pl-4 pr-6 text-design-text">
65 <div className="flex h-6 max-w-[9rem] justify-center overflow-hidden bg-banner-main after:relative after:-right-3 after:mr-3 after:text-banner-text after:opacity-40 after:content-['|']">
66 <img
67 alt={__('Partner Logo', 'extendify-local')}
68 className="max-h-full max-w-full object-contain"
69 src={window.extSharedData.partnerLogo}
70 />
71 </div>
72
73 <span className="border-banner-text text-base font-medium text-banner-text">
74 {__('Help Center', 'extendify-local')}
75 </span>
76 <Icon
77 icon={lineSolid}
78 className="ml-auto fill-banner-text text-banner-text"
79 />
80 <Icon
81 icon={closeSmall}
82 className="fill-banner-text text-banner-text"
83 />
84 </div>
85 <div className="px-4 py-6">
86 <div className="rounded-md border border-gray-300 pb-2.5">
87 <div className="bg-gray-100 p-3">
88 <div className="mb-3 text-lg font-semibold">
89 {__('Knowledge base', 'extendify-local')}
90 </div>
91 <div className="flex justify-between bg-white px-3 py-2 opacity-75">
92 {__('What do you need help with?', 'extendify-local')}
93
94 <Icon icon={search} />
95 </div>
96 </div>
97 <div className="px-2 py-1">
98 <Icon
99 icon={redo}
100 className="rotate-180 transform fill-gray-700"
101 />
102 {__('WordPress Block Editor', 'extendify-local')}
103 </div>
104 <div className="px-2 py-1">
105 <Icon
106 icon={redo}
107 className="rotate-180 transform fill-gray-700"
108 />
109 {__('Overview of blocks', 'extendify-local')}
110 </div>
111 <div className="px-2 py-1">
112 <Icon
113 icon={redo}
114 className="rotate-180 transform fill-gray-700"
115 />
116 {__('Adding blocks', 'extendify-local')}
117 </div>
118 <div className="px-2 py-1">
119 <Icon
120 icon={redo}
121 className="rotate-180 transform fill-gray-700"
122 />
123 {__('Block Patterns', 'extendify-local')}
124 </div>
125 <div className="px-2 py-1">
126 <Icon
127 icon={redo}
128 className="rotate-180 transform fill-gray-700"
129 />
130 {__('Block Pattern Directory', 'extendify-local')}
131 </div>
132 </div>
133 <div className="mt-3 rounded-md border border-gray-200 p-3 pb-3">
134 <div className="flex w-full justify-between gap-2 pb-3">
135 <Icon
136 icon={toursIcon}
137 className="rounded-full border-0 bg-design-main fill-design-text p-2"
138 size={48}
139 />
140 <div className="grow pl-1">
141 <h4 className="m-0 p-0 text-lg font-medium">
142 {__('Tours', 'extendify-local')}
143 </h4>
144 <p className="m-0 p-0 text-xs text-gray-800">
145 {__(
146 'Learn more about your WordPress admin',
147 'extendify-local',
148 )}
149 </p>
150 </div>
151 <div className="flex h-12 grow-0 items-center justify-between">
152 <Icon
153 icon={chevronRight}
154 size={24}
155 className="fill-current text-gray-700"
156 />
157 </div>
158 </div>
159 <div className="text-base flex w-full items-center justify-between gap-2 border-t border-gray-200 bg-transparent pl-20 pt-3 text-left font-medium text-gray-900">
160 {__('Tour this page', 'extendify-local')}
161 <Icon icon={playIcon} size={16} />
162 </div>
163 </div>
164 <div className="mt-3 rounded-md border border-gray-200 p-3 pb-3">
165 <div className="flex w-full justify-between gap-2">
166 <Icon
167 icon={postComments}
168 className="rounded-full border-0 bg-design-main fill-design-text p-2"
169 size={48}
170 />
171 <div className="grow pl-1">
172 <h4 className="m-0 p-0 text-lg font-medium">
173 {__('Ask AI', 'extendify-local')}
174 </h4>
175 <p className="m-0 p-0 text-xs text-gray-800">
176 {__('Got questions? Ask our AI chatbot', 'extendify-local')}
177 </p>
178 </div>
179 <div className="flex h-12 grow-0 items-center justify-between">
180 <Icon
181 icon={chevronRight}
182 size={24}
183 className="fill-current text-gray-700"
184 />
185 </div>
186 </div>
187 </div>
188 </div>
189 </div>
190 </div>
191
192 <div className="absolute right-0 top-12 m-0 w-fit flex-1 origin-top scale-[0.395] transform">
193 <div className="w-[420px] overflow-hidden rounded-xl border border-gray-400 bg-white shadow-xl">
194 <div className="flex w-full content-center gap-4 border-b bg-banner-main py-6 pl-4 pr-6 text-design-text">
195 <Icon
196 icon={chevronLeft}
197 className="fill-banner-text text-banner-text"
198 />
199
200 <span className="border-banner-text text-base font-medium text-banner-text">
201 {__('Tours', 'extendify-local')}
202 </span>
203 <Icon
204 icon={lineSolid}
205 className="ml-auto fill-banner-text text-banner-text"
206 />
207 <Icon
208 icon={closeSmall}
209 className="fill-banner-text text-banner-text"
210 />
211 </div>
212 <div className="mt-2 flex flex-col gap-3 px-5 py-4">
213 <div className="flex content-center justify-between rounded-sm bg-gray-100 px-5 py-4">
214 {__('Getting started with WordPress', 'extendify-local')}
215 <Icon icon={playIcon} />
216 </div>
217 <div className="flex content-center justify-between rounded-sm bg-gray-100 px-5 py-4">
218 {__('Installing a plugin', 'extendify-local')}
219 <Icon icon={playIcon} />
220 </div>
221 <div className="flex content-center justify-between rounded-sm bg-gray-100 px-5 py-4">
222 {__('Plugin management', 'extendify-local')}
223 <Icon icon={playIcon} />
224 </div>
225 <div className="flex content-center justify-between rounded-sm bg-gray-100 px-5 py-4">
226 {__('Page editor', 'extendify-local')}
227 <Icon icon={playIcon} />
228 </div>
229 <div className="flex content-center justify-between rounded-sm bg-gray-100 px-5 py-4">
230 {__('Design Library', 'extendify-local')}
231 <Icon icon={playIcon} />
232 </div>
233 <div className="flex content-center justify-between rounded-sm bg-gray-100 px-5 py-4">
234 {__('Users screen', 'extendify-local')}
235 <Icon icon={playIcon} />
236 </div>
237 <div className="flex content-center justify-between rounded-sm bg-gray-100 px-5 py-4">
238 {__('Site Assistant', 'extendify-local')}
239 <Icon icon={playIcon} />
240 </div>
241 </div>
242 </div>
243 </div>
244 </div>
245 </div>
246 );
247