-
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.
- Loading branch information
1 parent
bafc374
commit 348c37f
Showing
4 changed files
with
162 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import { __ } from '@wordpress/i18n'; | ||
|
||
const getContents = () => { | ||
return { | ||
heading: __( | ||
'Do you want to include any content from Facebook?', | ||
'wp-module-onboarding' | ||
), | ||
facebookTitle: __( | ||
'Connect a Facebook Account', | ||
'wp-module-onboarding' | ||
), | ||
facebookdesc: __( | ||
'By connecting a Facebook profile, we can fetch relevant data to increase the accuracy of your Al generated site.', | ||
'wp-module-onboarding' | ||
), | ||
facebookbutton: __( 'Connect Facebook', 'wp-module-onboarding' ), | ||
buttons: { | ||
skip: __( 'Skip for now', 'wp-module-onboarding' ), | ||
}, | ||
}; | ||
}; | ||
|
||
export default getContents; |
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
104 changes: 104 additions & 0 deletions
104
src/OnboardingSPA/steps/SiteGen/SocialMedia/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,104 @@ | ||
.nfd-onboarding-step { | ||
|
||
&--site-gen { | ||
|
||
&__social-media { | ||
|
||
&__container { | ||
|
||
&__heading { | ||
display: flex; | ||
flex-direction: row; | ||
align-items: center; | ||
justify-content: center; | ||
|
||
&__animation { | ||
background-image: var(--sitegen-ai-animation); | ||
background-repeat: no-repeat; | ||
background-size: contain; | ||
width: 83px; | ||
height: 72px; | ||
} | ||
|
||
&__text { | ||
color: var(--nfd-onboarding-primary); | ||
font-size: clamp(0.875rem, 0.7727rem + 0.5114vw, 2rem); | ||
margin-left: 15px; | ||
white-space: normal; | ||
line-height: 1; | ||
} | ||
} | ||
|
||
&__buttons { | ||
display: flex; | ||
flex-direction: row; | ||
align-items: center; | ||
justify-content: flex-end; | ||
padding: 16px; | ||
|
||
&__skip { | ||
font-size: clamp(0.5rem, 0.4091rem + 0.4545vw, 1.5rem); | ||
font-style: normal; | ||
font-weight: 510; | ||
margin-right: 24px; | ||
|
||
&:hover { | ||
text-decoration: underline; | ||
color: var(--nfd-onboarding-primary); | ||
} | ||
} | ||
} | ||
|
||
} | ||
|
||
&__contain { | ||
width: 600px; | ||
margin: 16px; | ||
border: 1.25px dashed var(--nfd-onboarding-site-logo-border); | ||
border-radius: 8px; | ||
padding: 24px; | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: left; | ||
align-items: left; | ||
|
||
&__containleft { | ||
width: 400px; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
color: var(--nfd-onboarding-primary); | ||
font-size: clamp(0.875rem, 0.7727rem + 0.5114vw, 2rem); | ||
margin-left: 15px; | ||
white-space: normal; | ||
line-height: 1; | ||
} | ||
|
||
&__containright { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
|
||
&__button { | ||
display: inline-flex; | ||
align-items: center; | ||
padding: 10px 15px; | ||
background-color: #1877f2; | ||
color: #fff; | ||
border: none; | ||
border-radius: 5px; | ||
cursor: pointer; | ||
} | ||
|
||
&__button i { | ||
margin-right: 8px; | ||
background-image: var(--facebook-icon); | ||
width: 25px; | ||
height: 25px; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
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