This repository has been archived by the owner on May 25, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 909
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Redesigning the Onboarding experience (#1425)
* Added card with buttons with functionality to creategoals component. * Continuing to update CreateGoals component with new onboarding flow. * Updated CreateApp to use styled component and set CreateGoals cards to be greyed out when button is disabled. * Updated text in cards to be a p tag instead of an h1. Need clarification on where to put newly created styled components. * Moved styled components for CreateGoals into container file. * Updating CreateGoals with new Onboarding flow. Commented out step 3 of Onboarding flow and will continue to work on that in a new issue. * Adding TODO issue number.
- Loading branch information
1 parent
6b0885c
commit afbbbf6
Showing
7 changed files
with
87 additions
and
58 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 |
---|---|---|
@@ -1,7 +1,8 @@ | ||
import React from "react"; | ||
import {FittedCard, Card} from "../styles/Card"; | ||
import {FittedCard, DisabledCard, Card} from "../styles/Card"; | ||
|
||
function Cards({fitted, children}) { | ||
return fitted ? <FittedCard data-testid="fitted-card">{children}</FittedCard> : <Card data-testid="card">{children}</Card>; | ||
function Cards({fitted, disabled, children}) { | ||
return fitted ? <FittedCard data-testid="fitted-card">{children}</FittedCard> : | ||
disabled ? <DisabledCard data-testid="card">{children}</DisabledCard> : <Card data-testid="card">{children}</Card>; | ||
} | ||
export default Cards; |
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
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