Skip to content

Commit 37b66c9

Browse files
updated getting started
1 parent 23066c4 commit 37b66c9

File tree

10 files changed

+869
-255
lines changed

10 files changed

+869
-255
lines changed

package-lock.json

Lines changed: 540 additions & 125 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"bugs": "https://wordpress.org/support/plugin/stackable-ultimate-gutenberg-blocks",
1616
"dependencies": {
1717
"@wordpress/dom-ready": "^3.2.3",
18-
"@wordpress/icons": "^6.1.1",
18+
"@wordpress/icons": "^10.27.0",
1919
"bigpicture": "^2.5.3",
2020
"canvas-confetti": "^1.9.3",
2121
"classnames": "^2.2.6",

src/components/guided-modal-tour/editor.scss

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
margin-left: var(--offset-x);
1717
margin-top: var(--offset-y);
1818
overflow: visible;
19+
border-radius: 16px;
1920

2021
--wp-admin-theme-color: #f00069;
2122
--wp-admin-theme-color-darker-10: #e0003c;
@@ -44,14 +45,18 @@
4445
transform: scale(1);
4546
}
4647

48+
.components-button {
49+
border-radius: 4px;
50+
}
51+
4752
.components-modal__content {
48-
padding: 20px;
53+
padding: 2em;
4954
margin: 0;
5055
position: relative;
5156
overflow: visible;
5257
z-index: 1;
5358
box-shadow: 0 22px 200px 4px #0005;
54-
border-radius: 4px;
59+
border-radius: 16px;
5560
// border: 1px solid #f00069ad;
5661
}
5762
.components-modal__header {

src/welcome/admin.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*/
44

55
:root {
6-
--stk-welcome-primary: #dd2590;
6+
--stk-welcome-primary: #f00069;
77
--stk-welcome-secondary: #101828;
88
--stk-welcome-light-border: #d0d5dd;
99
}

src/welcome/getting-started-banner-bg.scss

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/welcome/getting-started.js

Lines changed: 93 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,20 @@ import SVGTutorialsIcon from './images/tutorials.svg'
66
import SVGDocsIcon from './images/docs.svg'
77
import SVGCommunityIcon from './images/user.svg'
88
import SVGArrowUpRightIcon from './images/arrow-up-right.svg'
9+
import SVGDivider from './images/divider.svg'
10+
import SVGQuickButtonsArrow from './images/quick-buttons-arrow.svg'
911

1012
/**
1113
* WordPress dependencies
1214
*/
1315
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'
1423

1524
/**
1625
* External dependencies
@@ -102,22 +111,98 @@ const EssentialsCard = ( {
102111

103112
export const GettingStarted = () => {
104113
return <>
105-
<div className="s-body">
106114

115+
<div className="s-body">
107116
<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>
110173

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>
113189
</div>
114190

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>
118198
</div>
119199

200+
<SVGDivider className="s-divider" />
201+
120202
<div className="s-getting-started__section">
203+
<div className="s-card-header">
204+
<h2> { __( 'Resources', i18n ) } </h2>
205+
</div>
121206
<div className="s-card-container s-card-general">
122207
{ generalProps.map( ( item, key ) => {
123208
return <GeneralCard { ...item } key={ key } />
@@ -134,17 +219,6 @@ export const GettingStarted = () => {
134219
} ) }
135220
</div>
136221
</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>
148222
</div>
149223
</>
150224
}

0 commit comments

Comments
 (0)