mirror of
https://github.com/FranP-code/Hangman-game-with-React.git
synced 2025-10-13 00:42:32 +00:00
Modificated structure of the whole project
This commit is contained in:
14
src/components/Admin/Admin.jsx
Normal file
14
src/components/Admin/Admin.jsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import React from 'react'
|
||||
import AdminHeader from './Header/AdminHeader'
|
||||
import Identify from './Identify/Identify'
|
||||
|
||||
const Admin = () => {
|
||||
return (
|
||||
<>
|
||||
<AdminHeader />
|
||||
<Identify />
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
export default Admin
|
||||
@@ -19,20 +19,25 @@ const Form = () => {
|
||||
option === 'login' ?
|
||||
|
||||
<form>
|
||||
<input type="email" placeholder="Email"/>
|
||||
<input type="password" placeholder="Password"/>
|
||||
<input type="submit" value="Login" />
|
||||
<input type="email" placeholder="Email" id="login-email"/>
|
||||
<input type="password" placeholder="Password" id="login-password"/>
|
||||
<input type="submit" value="Login" id="login-submit"/>
|
||||
</form>
|
||||
|
||||
: //saasasasasas
|
||||
: null
|
||||
}
|
||||
{
|
||||
option === 'register' ?
|
||||
|
||||
<form>
|
||||
<input type="email" placeholder="Email"/>
|
||||
<input type="password" placeholder="Password"/>
|
||||
<input type="password" placeholder="Confirm Password" value=""/>
|
||||
<input type="password" placeholder="Admin Reffer Code"/>
|
||||
<input type="submit" value="Register"/>
|
||||
<input type="email" placeholder="Email" id="register-email"/>
|
||||
<input type="password" placeholder="Password" id="register-password"/>
|
||||
<input type="password" placeholder="Confirm Password" id="register-confirm-password"/>
|
||||
<input type="password" placeholder="Admin Reffer Code" id="register-admin-code"/>
|
||||
<input type="submit" value="Register" id=""/>
|
||||
</form>
|
||||
|
||||
: null
|
||||
}
|
||||
</div>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user