Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added button to onboard new accounts #1342

Merged
merged 1 commit into from
Feb 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { NextRouter } from 'next/router';
import { ReactNode, useContext } from 'react';

import platform, { allProviders } from '@utils/providerHelper';
import Button from '@components/button/Button';
import GlobalAppContext from '../../layout/context/GlobalAppContext';
import { CloudAccount } from '../hooks/useCloudAccounts/useCloudAccount';

Expand Down Expand Up @@ -81,6 +82,15 @@ function CloudAccountsLayout({
})}
</div>
)}
<div className="flex flex-col justify-end absolute bottom-10 border-t border-gray-300 p-4">
<Button
onClick={() => {
router.push('/onboarding/choose-cloud/');
}}
>
Add An Account
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Add An Account
Add Account

@AvineshTripathi @mlabouardy WDYT?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or "Connect account" to keep it simple

</Button>
</div>
</nav>
<main className="ml-[17rem]">{children}</main>
</>
Expand Down
Loading