-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'enhance/ai-onboarding' of https://github.com/newfold-la…
…bs/wp-module-onboarding into enhance/preview-step
- Loading branch information
Showing
39 changed files
with
592 additions
and
200 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
28 changes: 27 additions & 1 deletion
28
src/OnboardingSPA/components/Footer/components/SiteGenFooter/index.js
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
23 changes: 23 additions & 0 deletions
23
src/OnboardingSPA/components/HeadingWithSubHeading/SiteGen/index.js
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/** | ||
* Interface Cards with standard design. | ||
* | ||
* @param {Object} root0 | ||
* @param {string} root0.title | ||
* @param {string} root0.subtitle | ||
*/ | ||
|
||
const HeadingWithSubHeading = ( { title, subtitle } ) => { | ||
return ( | ||
<div className="nfd-onboarding-step__heading"> | ||
<h2 className="nfd-onboarding-step__heading__title">{ title }</h2> | ||
{ subtitle && ( | ||
<div className="nfd-onboarding-step__heading__subtitle"> | ||
{ subtitle } | ||
<div className="nfd-onboarding-step__heading__icon"></div> | ||
</div> | ||
) } | ||
</div> | ||
); | ||
}; | ||
|
||
export default HeadingWithSubHeading; |
34 changes: 34 additions & 0 deletions
34
src/OnboardingSPA/components/HeadingWithSubHeading/SiteGen/stylesheet.scss
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
.nfd-onboarding-step { | ||
|
||
&__heading { | ||
color: var(--nfd-onboarding-primary); | ||
width: 96%; | ||
margin: 50px 0 50px; | ||
line-height: 1; | ||
|
||
&__title { | ||
font-weight: 300; | ||
text-align: center; | ||
color: var(--nfd-onboarding-primary); | ||
margin: 35px !important; | ||
font-size: 30px; | ||
} | ||
|
||
&__subtitle { | ||
color: var(--nfd-onboarding-primary) !important; | ||
font-weight: 300; | ||
text-align: center; | ||
font-size: 20px; | ||
} | ||
|
||
&__icon { | ||
display: inline-flex; | ||
width: 100px; | ||
height: 17px; | ||
background-image: var(--nfd-onboarding-logo-name); | ||
background-size: contain; | ||
background-repeat: no-repeat; | ||
filter: invert(100%) sepia(100%) saturate(100%) hue-rotate(215deg) brightness(200%) contrast(200%); | ||
} | ||
} | ||
} |
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
Oops, something went wrong.