Skip to content

Commit

Permalink
added signout button
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdurraoufE committed Aug 26, 2024
1 parent 0e9c7a5 commit e6b0137
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
24 changes: 24 additions & 0 deletions app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -366,3 +366,27 @@ p {
from, to { border-color: transparent }
50% { border-color: rgb(0, 0, 0) }
}

.signout {
display: inline-block;
font-weight: bold;
font-size: 1rem;
text-transform: none;
color: #ffffff;
background-color: #ff0000;
padding: 0.5rem 1.5rem;
border-radius: 8px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.signout:hover {
background-color: #d40000;
transform: scale(1.05);
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.signout h3 {
margin: 0;
display: inline-block;
}
1 change: 1 addition & 0 deletions app/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ export default function Home() {
<Typography variant="h3" className="typing">
Rate My Professor AI
</Typography>
<Button className="signout" onClick={() => router.push("/landingpage")}>Sign Out</Button>
</Box>

<Stack
Expand Down

0 comments on commit e6b0137

Please sign in to comment.