Skip to content

Commit

Permalink
Onboarding template fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ravindra114 committed Oct 15, 2024
1 parent 652933d commit 683d526
Show file tree
Hide file tree
Showing 12 changed files with 73 additions and 35 deletions.
7 changes: 6 additions & 1 deletion src/components/cards/plugin-blocks.stories.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,12 @@ const Template2 = () => {
className="w-120 border border-solid rounded-md border-border-subtle p-4"
>
<Container.Item className="md:w-full lg:w-full">
<Container className="p-1" justify="between" gap="xs" align="center">
<Container
className="p-1"
justify="between"
gap="xs"
align="center"
>
<Container.Item>
<Label className="font-semibold">
Extend Your Website
Expand Down
3 changes: 2 additions & 1 deletion src/components/editor-input/editor-input.stories.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ export default {
},
wrapperClassName: {
name: 'wrapperClassName',
description: 'Custom class name to be added to the editor input wrapper.',
description:
'Custom class name to be added to the editor input wrapper.',
control: 'text',
table: {
type: { summary: 'string' },
Expand Down
12 changes: 8 additions & 4 deletions src/templates/onboarding-backup/onboarding-backup.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const Template = ( args ) => {
tag="h4"
title="Want to Add a Backup Email Service?"
/>
<Label className="text-text-secondary mt-1 text-sm max-w-[41rem]">
<Label className="text-text-secondary mt-1 text-sm max-w-[41rem] font-normal">
This is an optional step, but it can be really
helpful. By adding a backup email service, your
emails will still be sent if your main service stops
Expand Down Expand Up @@ -297,14 +297,18 @@ const Template = ( args ) => {
<Button
variant="outline"
className="flex items-center gap-2"
icon={ <ChevronLeft /> }
>
<ChevronLeft />
Back
</Button>
<div className="flex justify-end items-center gap-3">
<Button variant="ghost"> Skip</Button>
<Button className="flex items-center gap-2">
Continue Setup <ChevronRight />
<Button
className="flex items-center gap-2"
icon={ <ChevronRight /> }
iconPosition="right"
>
Continue Setup
</Button>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const Template = ( args ) => {
>
Connect Your Site with SureRank
</Label>
<Label className="text-text-secondary text-sm mt-2">
<Label className="text-text-secondary text-sm mt-2 font-normal">
When you connect your free account with SureRank you
will get keyword suggestions from Google when entering
the keywords. Not only that, you will access to our AI
Expand Down
6 changes: 4 additions & 2 deletions src/templates/onboarding-done/onboarding-done.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const Template = ( args ) => {
>
Congratulations!
</Label>
<Label className="text-text-secondary mt-2 text-sm">
<Label className="text-text-secondary mt-2 text-sm font-normal">
You&#39;ve taken the first step to SEO success. Now,
let&#39;s optimize your website for search engines.
<br />
Expand All @@ -71,8 +71,10 @@ const Template = ( args ) => {
<Button
variant="link"
className="px-4 flex items-center gap-2"
icon={ <ExternalLink /> }
iconPosition="right"
>
Documentation <ExternalLink />
Documentation
</Button>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const Template = ( args ) => {
tag="h4"
title="Now, Let's Connect With [Selected SMTP Provider Name]"
/>
<Label className="text-text-secondary mt-1 text-sm max-w-[35rem]">
<Label className="text-text-secondary mt-1 text-sm max-w-[35rem] font-normal">
Enter the details below to connect with your
[Provider Name] account.
</Label>
Expand Down Expand Up @@ -177,8 +177,8 @@ const Template = ( args ) => {
<Button
variant="outline"
className="flex items-center gap-2"
icon={ <ChevronLeft /> }
>
<ChevronLeft />
Back
</Button>

Expand All @@ -189,8 +189,12 @@ const Template = ( args ) => {
>
Skip
</Button>
<Button className="flex items-center gap-2">
Continue Setup <ChevronRight />
<Button
className="flex items-center gap-2"
icon={ <ChevronRight /> }
iconPosition="right"
>
Continue Setup
</Button>
</div>
</div>
Expand Down
10 changes: 7 additions & 3 deletions src/templates/onboarding-import/onboarding-import.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const Template = ( args ) => {
tag="h4"
title="Import Data From Your Current Plugins"
/>
<Label className="text-text-secondary mt-1 text-sm max-w-[35rem]">
<Label className="text-text-secondary mt-1 text-sm max-w-[35rem] font-normal">
We have deducted few SEO plugins installed on your
website. Select the plugin from which you want to import
</Label>
Expand Down Expand Up @@ -87,8 +87,12 @@ const Template = ( args ) => {
<Button variant="ghost" className="text-text-tertiary">
Skip
</Button>
<Button className="flex items-center gap-2">
Next <ChevronRight />
<Button
className="flex items-center gap-2"
icon={ <ChevronRight /> }
iconPosition="right"
>
Next
</Button>
</div>
</div>
Expand Down
12 changes: 8 additions & 4 deletions src/templates/onboarding-profile/onboarding-profile.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const Template = ( args ) => {
className="text-text-primary"
title="Your Website Basic Details"
/>
<Label className="text-text-secondary mt-1 text-sm max-w-[35rem]">
<Label className="text-text-secondary mt-1 text-sm max-w-[35rem] font-normal">
Let&#39;s get started with the basic details of this
website.
</Label>
Expand Down Expand Up @@ -204,8 +204,8 @@ const Template = ( args ) => {
<Button
variant="outline"
className="flex items-center gap-2"
icon={ <ChevronLeft /> }
>
<ChevronLeft />
Back
</Button>
<div className="flex justify-end items-center gap-3">
Expand All @@ -215,8 +215,12 @@ const Template = ( args ) => {
>
Skip
</Button>
<Button className="flex items-center gap-2">
Next <ChevronRight />
<Button
className="flex items-center gap-2"
icon={ <ChevronRight /> }
iconPosition="right"
>
Next
</Button>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const Template = ( args ) => {
className="text-text-primary"
title="You're Good to Go! 🚀"
/>
<Label className="text-text-secondary mt-1 text-sm">
<Label className="text-text-secondary mt-1 text-sm font-normal">
You&#39;ve successfully set up SureEmails, and your
site is ready to send emails without a hitch! Now
you can focus on your business and let us handle the
Expand Down Expand Up @@ -96,12 +96,14 @@ const Template = ( args ) => {
<hr className="my-6 w-full border-b-0 border-x-0 border-t border-solid border-t-border-subtle" />
</div>
<div className="flex items-center gap-3">
<Button className="px-4 w-max">Go to Dashboard</Button>
<Button className="px-4 w-auto">Go to Dashboard</Button>
<Button
variant="link"
className="px-4 flex items-center gap-2"
icon={ <ExternalLink /> }
iconPosition="right"
>
Documentation <ExternalLink />
Documentation
</Button>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const Template = ( args ) => {
className="text-text-primary"
title="Add More Power to Your Website"
/>
<Label className="text-text-secondary mt-1 text-sm max-w-[41rem]">
<Label className="text-text-secondary mt-1 text-sm max-w-[41rem] font-normal">
These tools can help you build your website faster
and easier. Try them out and see how they can help
your website grow.
Expand Down Expand Up @@ -215,14 +215,18 @@ const Template = ( args ) => {
<Button
variant="outline"
className="flex items-center gap-2"
icon={ <ChevronLeft /> }
>
<ChevronLeft />
Back
</Button>
<div className="flex justify-end items-center gap-3">
<Button variant="ghost"> Skip</Button>
<Button className="flex items-center gap-2">
Continue Setup <ChevronRight />
<Button
className="flex items-center gap-2"
icon={ <ChevronRight /> }
iconPosition="right"
>
Continue Setup
</Button>
</div>
</div>
Expand Down
12 changes: 8 additions & 4 deletions src/templates/onboarding-social/onboarding-social.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const Template = ( args ) => {
className="text-text-primary"
title="Social Profiles"
/>
<Label className="text-text-secondary mt-1 text-sm max-w-[35rem]">
<Label className="text-text-secondary mt-1 text-sm max-w-[35rem] font-normal">
Please enter all your possible social media
profiles. These links can appear in the knowledge
panel of the search results for your website.
Expand Down Expand Up @@ -139,8 +139,8 @@ const Template = ( args ) => {
<Button
variant="outline"
className="flex items-center gap-2"
icon={ <ChevronLeft /> }
>
<ChevronLeft />
Back
</Button>
<div className="flex justify-end items-center gap-3">
Expand All @@ -150,8 +150,12 @@ const Template = ( args ) => {
>
Skip
</Button>
<Button className="flex items-center gap-2">
Next <ChevronRight />
<Button
className="flex items-center gap-2"
icon={ <ChevronRight /> }
iconPosition="right"
>
Next
</Button>
</div>
</div>
Expand Down
12 changes: 8 additions & 4 deletions src/templates/onboarding-spam/onboarding-spam.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const Template = ( args ) => {
className="text-text-primary"
title="Say Goodbye to Spam Folders"
/>
<Label className="text-text-secondary mt-1 text-sm max-w-[35rem]">
<Label className="text-text-secondary mt-1 text-sm max-w-[35rem] font-normal">
Enter your email address to receive a step-by-step
guide that will help you ensure your emails always
make it to the inbox.
Expand Down Expand Up @@ -101,8 +101,8 @@ const Template = ( args ) => {
<Button
variant="outline"
className="flex items-center gap-2"
icon={ <ChevronLeft /> }
>
<ChevronLeft />
Back
</Button>

Expand All @@ -113,8 +113,12 @@ const Template = ( args ) => {
>
Skip
</Button>
<Button className="flex items-center gap-2">
Continue Setup <ChevronRight />
<Button
className="flex items-center gap-2"
icon={ <ChevronRight /> }
iconPosition="right"
>
Continue Setup
</Button>
</div>
</div>
Expand Down

0 comments on commit 683d526

Please sign in to comment.