Где дизайн
This commit is contained in:
22
src/components/Second/Second.js
Normal file
22
src/components/Second/Second.js
Normal file
@ -0,0 +1,22 @@
|
||||
import React from "react"
|
||||
|
||||
const Second = (props) => {
|
||||
|
||||
const route = props.getValue
|
||||
|
||||
return (
|
||||
<div style={{
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
alignContent: 'center',
|
||||
flexWrap: 'wrap',
|
||||
justifyContent: 'space-between',
|
||||
height: '95vh',
|
||||
}}>
|
||||
<span>Пройти опрос</span>
|
||||
<button onClick={() => route('/tinder')}>Tinder</button>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default Second;
|
22
src/components/Start/Start.js
Normal file
22
src/components/Start/Start.js
Normal file
@ -0,0 +1,22 @@
|
||||
import React from "react";
|
||||
|
||||
const Start = (props) => {
|
||||
|
||||
const route = props.getValue;
|
||||
|
||||
return (
|
||||
<div style={{
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
alignContent: 'center',
|
||||
flexWrap: 'wrap',
|
||||
justifyContent: 'space-between',
|
||||
height: '95vh',
|
||||
}}>
|
||||
<img src="" alt="Icon"/>
|
||||
<button onClick={() => route('/')}>Начать</button>
|
||||
</div>
|
||||
)
|
||||
};
|
||||
|
||||
export default Start;
|
0
src/components/Tinder/Tinder.js
Normal file
0
src/components/Tinder/Tinder.js
Normal file
Reference in New Issue
Block a user