forked from React-Group/interstellar_ai
header rewrite start
This commit is contained in:
parent
b539c3592a
commit
7021d0ba07
6 changed files with 47 additions and 136 deletions
|
@ -52,11 +52,10 @@ const Login: React.FC = () => {
|
|||
return (
|
||||
<div>
|
||||
{/* Login or Settings Button */}
|
||||
<div className="login-button">
|
||||
<button onClick={isLoggedIn ? toggleSettingsPopup : toggleLoginPopup}>
|
||||
{isLoggedIn ? 'Settings' : 'Log In'}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<button onClick={isLoggedIn ? toggleSettingsPopup : toggleLoginPopup}>
|
||||
{isLoggedIn ? 'Settings' : 'Log In'}
|
||||
</button>
|
||||
|
||||
{/* Conditional rendering of the Login Popup */}
|
||||
{showLoginPopup && (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue