Skip to content

Commit e722fff

Browse files
committed
login route
1 parent f3fae5b commit e722fff

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

app/public/stylesheets/login.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ body,
1212
input {
1313
font-family: "Poppins", sans-serif;
1414
}
15-
15+
a{
16+
text-decoration: none;
17+
}
1618
main {
1719
width: 100%;
1820
min-height: 100vh;

app/views/hackathon-info.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
</div>
6161
<div class="flex">
6262
<span class="title-font font-medium text-2xl text-gray-900">April 26th, 2024</span>
63-
<button class="flex ml-auto text-white bg-indigo-500 border-0 py-2 px-6 focus:outline-none hover:bg-indigo-600 rounded">Register Now</button>
63+
<button onclick = "window.location.href='/register'" class="flex ml-auto text-white bg-indigo-500 border-0 py-2 px-6 focus:outline-none hover:bg-indigo-600 rounded">Register Now</button>
6464
</div>
6565
</div>
6666
<img alt="ecommerce" class="lg:w-1/2 w-full lg:h-auto h-64 object-cover object-center rounded" src="images/assets/hackathon-poster.jpg">

app/views/login.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<form action="index.html" autocomplete="off" class="sign-in-form">
1717
<div class="logo" style="width: 100%;">
1818
<!-- <img src="./img/logo2.jpg" alt="easyclass" height="100px" width="250px"/> -->
19-
<h1 style="color: #151111;">CodeForge&lt;/&gt;</h1>
19+
<a href="/"><h1 style="color: #151111;">CodeForge&lt;/&gt;</h1></a>
2020

2121
</div>
2222

app/views/register.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<form action="index.html" autocomplete="off" class="sign-in-form">
1717
<div class="logo" style="width: 100%;">
1818
<!-- <img src="./img/logo2.jpg" alt="easyclass" height="100px" width="250px"/> -->
19-
<h1 style="color: #151111;">CodeForge&lt;/&gt;</h1>
19+
<a href="/"><h1 style="color: #151111;">CodeForge&lt;/&gt;</h1></a>
2020

2121
</div>
2222

0 commit comments

Comments
 (0)