Implement Flask onboarding UI (#12745)
* Added Flask Experimental Area warning to OnboardingV2 * Added first time flow Flask Experimental Area warning * Made both onboarding flows use one Experimental Area component * Fix comments in React divs * Fix unreachable code * Fix build lint problems * Changes after code review * Added guards around route constants imports * Code Review changes * Update ui/components/app/flask/experimental-area/index.scss Co-authored-by: George Marshall <george.marshall@consensys.net> * Code review changes * Fix lint * Update ui/components/app/flask/experimental-area/index.scss Co-authored-by: George Marshall <george.marshall@consensys.net> * Update ui/components/app/flask/experimental-area/index.scss Co-authored-by: George Marshall <george.marshall@consensys.net> * Update ui/components/app/flask/experimental-area/index.scss Co-authored-by: George Marshall <george.marshall@consensys.net> * Update ui/components/app/flask/experimental-area/index.scss Co-authored-by: George Marshall <george.marshall@consensys.net> * Update ui/components/app/flask/experimental-area/index.scss Co-authored-by: George Marshall <george.marshall@consensys.net> * fix lint Co-authored-by: George Marshall <george.marshall@consensys.net>feature/default_network_editable
parent
7a92e22111
commit
70386726f6
@ -0,0 +1,13 @@ |
||||
import React from 'react'; |
||||
|
||||
import ExperimentalArea from '.'; |
||||
|
||||
export default { |
||||
title: 'Components/App/Flask/ExperimentalArea', |
||||
id: __filename, |
||||
component: ExperimentalArea, |
||||
}; |
||||
|
||||
export const DefaultStory = () => <ExperimentalArea />; |
||||
|
||||
DefaultStory.storyName = 'Default'; |
@ -0,0 +1 @@ |
||||
export { default } from './experimental-area'; |
@ -0,0 +1,54 @@ |
||||
.experimental-area { |
||||
color: $flask-purple; |
||||
margin: auto; |
||||
display: flex; |
||||
flex-direction: column; |
||||
align-items: center; |
||||
justify-content: center; |
||||
|
||||
.logo { |
||||
padding: 16px 8px 0; |
||||
line-height: 0.625em; |
||||
font-family: monospace; |
||||
font-size: $font-size-h8; |
||||
margin-bottom: 32px; |
||||
} |
||||
|
||||
.experimental-text { |
||||
padding: 16px 8px 0; |
||||
font-family: monospace; |
||||
font-size: $font-size-h5; |
||||
margin: auto; |
||||
line-height: 0.875em; |
||||
margin-bottom: 32px; |
||||
} |
||||
|
||||
.text { |
||||
@include H5; |
||||
|
||||
padding: 16px; |
||||
max-width: 670px; |
||||
} |
||||
|
||||
ul { |
||||
padding: 16px 0; |
||||
} |
||||
|
||||
li { |
||||
list-style-type: disc; |
||||
padding-left: 8px; |
||||
list-style-position: inside; |
||||
margin-bottom: 8px; |
||||
|
||||
&:nth-last-child(1) { |
||||
margin-bottom: 0; |
||||
} |
||||
} |
||||
|
||||
button { |
||||
background-color: $flask-purple !important; |
||||
border: 0 !important; |
||||
color: $ui-1; |
||||
width: 200px; |
||||
} |
||||
} |
Loading…
Reference in new issue