Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added "Back to Home" Button to "Login Page" #931

Merged
merged 3 commits into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion login.css
Original file line number Diff line number Diff line change
Expand Up @@ -345,4 +345,22 @@ input {

.social-container a:hover {
border: 1px solid #f1c11a;
}
}



.back-to-home {
align-items: left;
justify-content: left;
width: 30px;
height: 30px;
background-color: rgb(186, 170, 0);
border-radius: 5px;
text-decoration: none;
}

.back-to-home svg {
width: 100%;
height: 100%;
fill: white;
}
12 changes: 9 additions & 3 deletions login.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,15 @@
</head>

<body>
<div class="homeButton">
<a href="index.html"><img src="images/fav.png"></a>
</div>

<a href="index.html" class="back-to-home">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50">
<path
d="M 25 1.0507812 C 24.7825 1.0507812 24.565859 1.1197656 24.380859 1.2597656 L 1.3808594 19.210938 C 0.95085938 19.550938 0.8709375 20.179141 1.2109375 20.619141 C 1.5509375 21.049141 2.1791406 21.129062 2.6191406 20.789062 L 4 19.710938 L 4 46 C 4 46.55 4.45 47 5 47 L 19 47 L 19 29 L 31 29 L 31 47 L 45 47 C 45.55 47 46 46.55 46 46 L 46 19.710938 L 47.380859 20.789062 C 47.570859 20.929063 47.78 21 48 21 C 48.3 21 48.589063 20.869141 48.789062 20.619141 C 49.129063 20.179141 49.049141 19.550938 48.619141 19.210938 L 25.619141 1.2597656 C 25.434141 1.1197656 25.2175 1.0507812 25 1.0507812 z M 35 5 L 35 6.0507812 L 41 10.730469 L 41 5 L 35 5 z">
</path>
</svg>
</a>

<div class="container" id="container">
<div class="form-container register-container">
<form id="registerForm">
Expand Down