@@ -6,11 +6,20 @@ import SVGTutorialsIcon from './images/tutorials.svg'
6
6
import SVGDocsIcon from './images/docs.svg'
7
7
import SVGCommunityIcon from './images/user.svg'
8
8
import SVGArrowUpRightIcon from './images/arrow-up-right.svg'
9
+ import SVGDivider from './images/divider.svg'
10
+ import SVGQuickButtonsArrow from './images/quick-buttons-arrow.svg'
9
11
10
12
/**
11
13
* WordPress dependencies
12
14
*/
13
15
import { __ } from '@wordpress/i18n'
16
+ import {
17
+ Icon ,
18
+ addTemplate as addTemplateIcon ,
19
+ styles as stylesIcon ,
20
+ scheduled as scheduledIcon ,
21
+ brush as brushIcon ,
22
+ } from '@wordpress/icons'
14
23
15
24
/**
16
25
* External dependencies
@@ -102,22 +111,98 @@ const EssentialsCard = ( {
102
111
103
112
export const GettingStarted = ( ) => {
104
113
return < >
105
- < div className = "s-body" >
106
114
115
+ < div className = "s-body" >
107
116
< div className = "s-getting-started__centered" >
108
- < h2 className = "title" > { __ ( 'Unleash the Full Potential of the WordPress Block Editor by Turning It into a Page Builder' , i18n ) } </ h2 >
109
- < p className = "subtitle" > { __ ( 'Learn the essentials in just a few minutes by watching this video. Scroll down to see more quick tutorials.' , i18n ) } </ p >
117
+ < div className = "tag" > { __ ( 'Welcome to Stackable' , i18n ) } </ div >
118
+ { /* <h2 className="title">{ __( 'Let\'s build something amazing!', i18n ) }</h2> */ }
119
+ < h2 className = "title" > { __ ( 'Welcome to Your New Block Editor Workflow!' , i18n ) } </ h2 >
120
+ </ div >
121
+ < div className = "s-getting-started__quick-start-wrapper" >
122
+
123
+ < div className = "s-quick-buttons-wrapper" >
124
+ < div className = "s-quick-buttons-arrow" >
125
+ < SVGQuickButtonsArrow />
126
+ < span > { __ ( 'Quick Start' , i18n ) } </ span >
127
+ </ div >
128
+ < div className = "s-card" >
129
+ < div className = "s-quick-button-icon" >
130
+ < Icon icon = { addTemplateIcon } />
131
+ </ div >
132
+ < div className = "s-quick-button-description" >
133
+ < h3 > { __ ( 'Build Pages in Seconds' , i18n ) } </ h3 >
134
+ < p > { __ ( 'Jump straight into our Design Library and insert polished, pre-built sections — no more blank-page overwhelm.' , i18n ) } </ p >
135
+ </ div >
136
+ < div className = "s-quick-button-button" >
137
+ < a href = "/wp-admin/post-new.php?post_type=page& tour = design - library - welcome " className = "s-button s-secondary-button uppercase" >
138
+ { __ ( 'Build Now' , i18n ) }
139
+ </ a >
140
+ </ div >
141
+ </ div >
142
+
143
+ < div className = "s-card" >
144
+ < div className = "s-quick-button-icon" >
145
+ < Icon icon = { stylesIcon } />
146
+ </ div >
147
+ < div className = "s-quick-button-description" >
148
+ < h3 > { __ ( 'Apply Global Styles Instantly' , i18n ) } </ h3 >
149
+ < p > { __ ( 'Set your brand\'s colors, fonts, and spacing once in the Design System — every Stackable block updates automatically.' , i18n ) } </ p >
150
+ </ div >
151
+ < div className = "s-quick-button-button" >
152
+ < a href = "/wp-admin/post-new.php?post_type=page& tour = design - system - welcome " className = "s-button s-secondary-button uppercase" >
153
+ { __ ( 'Try Now' , i18n ) }
154
+ </ a >
155
+ </ div >
156
+ </ div >
157
+
158
+ { /* TODO: Hide this for now */ }
159
+ < div className = "s-card" style = { { display : 'none' } } >
160
+ < div className = "s-quick-button-icon" >
161
+ < Icon icon = { scheduledIcon } />
162
+ </ div >
163
+ < div className = "s-quick-button-description" >
164
+ < h3 > { __ ( 'Start with a Complete Site Kit' , i18n ) } </ h3 >
165
+ < p > { __ ( 'Pick a ready-made website template to kickstart your project — fully built layouts and styles, just swap in your content.' , i18n ) } </ p >
166
+ </ div >
167
+ < div className = "s-quick-button-button" >
168
+ < a href = "/wp-admin/post-new.php?post_type=page" className = "s-button s-secondary-button uppercase" >
169
+ { __ ( 'Select Kit' , i18n ) }
170
+ </ a >
171
+ </ div >
172
+ </ div >
110
173
111
- < div className = "s-video-wrapper s-getting-started-video" >
112
- < iframe className = "s-video" src = "https://www.youtube.com/embed/WP2LHxGulps" title = { __ ( 'Getting Started' , i18n ) } allow = "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture;" allowFullScreen > </ iframe >
174
+ { /* TODO: Hide this for now */ }
175
+ < div className = "s-card" style = { { display : 'none' } } >
176
+ < div className = "s-quick-button-icon" >
177
+ < Icon icon = { brushIcon } />
178
+ </ div >
179
+ < div className = "s-quick-button-description" >
180
+ < h3 > { __ ( 'Pre-set Design Systems' , i18n ) } </ h3 >
181
+ < p > { __ ( 'Browse curated Design System presets — apply a professional look instantly without building from scratch.' , i18n ) } </ p >
182
+ </ div >
183
+ < div className = "s-quick-button-button" >
184
+ < a href = "/wp-admin/post-new.php?post_type=page" className = "s-button s-secondary-button uppercase" >
185
+ { __ ( 'Pick A System' , i18n ) }
186
+ </ a >
187
+ </ div >
188
+ </ div >
113
189
</ div >
114
190
115
- < div className = "s-button-container" > < a href = "/wp-admin/post-new.php?post_type=page" target = "_new" className = "s-button s-secondary-button uppercase" >
116
- { __ ( 'Create a new page' , i18n ) }
117
- </ a > </ div >
191
+ < div className = "s-getting-started-video s-card" >
192
+ < div className = "s-video-wrapper s-card-top" >
193
+ < iframe className = "s-video" src = "https://www.youtube.com/embed/WP2LHxGulps" title = { __ ( 'Getting Started' , i18n ) } allow = "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture;" allowFullScreen > </ iframe >
194
+ </ div >
195
+ < h3 > { __ ( 'Getting Started with Stackable' , i18n ) } </ h3 >
196
+ < p > { __ ( 'Watch this video to get started with Stackable in within 5 minutes.' , i18n ) } </ p >
197
+ </ div >
118
198
</ div >
119
199
200
+ < SVGDivider className = "s-divider" />
201
+
120
202
< div className = "s-getting-started__section" >
203
+ < div className = "s-card-header" >
204
+ < h2 > { __ ( 'Resources' , i18n ) } </ h2 >
205
+ </ div >
121
206
< div className = "s-card-container s-card-general" >
122
207
{ generalProps . map ( ( item , key ) => {
123
208
return < GeneralCard { ...item } key = { key } />
@@ -134,17 +219,6 @@ export const GettingStarted = () => {
134
219
} ) }
135
220
</ div >
136
221
</ div >
137
-
138
- < div className = "s-getting-started__footer-banner" >
139
- < div className = "s-banner-wrapper" >
140
- < div className = "s-banner-content" >
141
- < h2 > { __ ( 'Check out our library of tutorials and guides' , i18n ) } </ h2 >
142
- </ div >
143
- < div className = "s-button-container" > < a href = "https://wpstackable.com/learn/?utm_source=plugin& utm_medium = getting_started & utm_campaign = tutorial_button " target = "_blank" rel = "noreferrer" className = "s-button s-secondary-button" >
144
- { __ ( 'Go to Stackable Learn' , i18n ) }
145
- </ a > </ div >
146
- </ div >
147
- </ div >
148
222
</ div >
149
223
</ >
150
224
}
0 commit comments