parent
40b0b93558
commit
1d332e412c
@ -0,0 +1,34 @@ |
|||||||
|
import React, { useEffect, useState } from 'react' |
||||||
|
import { GitHubCredentials } from './githubcredentials' |
||||||
|
|
||||||
|
export const Setup = () => { |
||||||
|
|
||||||
|
const [screen, setScreen] = useState(0) |
||||||
|
|
||||||
|
|
||||||
|
if (screen === 0) { |
||||||
|
return ( |
||||||
|
<> |
||||||
|
<h5>SETUP - STEP 1</h5> |
||||||
|
<div> |
||||||
|
<div className='mt-1 mb-2'> |
||||||
|
To ensure that your commits are properly attributed in Git, you need to configure a username and email address. |
||||||
|
These will be used to identify the author of the commit. |
||||||
|
</div> |
||||||
|
<GitHubCredentials></GitHubCredentials> |
||||||
|
</div> |
||||||
|
</> |
||||||
|
) |
||||||
|
}else if (screen === 1) { |
||||||
|
return ( |
||||||
|
<> |
||||||
|
<h5>SETUP</h5> |
||||||
|
<h6>Step 2</h6> |
||||||
|
<div> |
||||||
|
To ensure that your commits are properly attributed in Git, you need to configure your username and email address. |
||||||
|
<GitHubCredentials></GitHubCredentials> |
||||||
|
</div> |
||||||
|
</> |
||||||
|
) |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue