-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Iterations on the welcome guide (#21847)
* Removed border-radius from SVGs * Update SVGs to match new size * Update image height and styles * Move images above heading * Layout and spacing updates * Reduce size of page control dots * Remove forward/back icons * Update paragraph margin * Remove commented code * More layout updates and remove commented code * Set forward button in bold * Remove commented code * Add 9e6d4e8 * Aligment and spacing of page control dots * Update heading font-size and spacing * Update footer's padding * Update text's margins * Add top margin to pagination controls * Remove unecessary "mobile" styles * Update modal's placement on mobile sizes * Place footer at bottom of modal on small viewports * Update mobile styles for Finish button * Remove little triangle corner from block illustration * Add more space between pagination dots and heading * Fix text line height discrepancies when inserter icon is in-line * Add hover state for prev/next links * Update hover style of close button * Normalize modal's height to avoid jump between steps * Change background color on illustrations * Add reduced motion query to show/hide gifs * Add data URI for CanvasImage gif * Add data URI for EditorImage gif * Add data URI for BlockLibraryImage gif * Add data URI for DocumentationImage gif * Update class names * Update bg color of image to match illustrations * Update packages/components/src/guide/README.md Co-authored-by: Robert Anderson <[email protected]> Co-authored-by: Robert Anderson <[email protected]>
- Loading branch information
1 parent
d8163e8
commit 633f160
Showing
11 changed files
with
336 additions
and
243 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
/** | ||
* WordPress dependencies | ||
*/ | ||
import { useEffect } from '@wordpress/element'; | ||
import deprecated from '@wordpress/deprecated'; | ||
|
||
export default function GuidePage( props ) { | ||
useEffect( () => { | ||
deprecated( '<GuidePage>', { | ||
alternative: 'the `pages` prop in <Guide>', | ||
} ); | ||
}, [] ); | ||
|
||
return <div { ...props } />; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.