Skip to content
Open
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
44 changes: 44 additions & 0 deletions homepage.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Home Page</title>

<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<header class="bg-light py-3">
<div class="container d-flex justify-content-between align-items-center">
<h1 class="h4">VoteChain</h1>
<nav>
<ul class="nav">
<li class="nav-item"><a class="nav-link" href="#">Account</a></li>
<li class="nav-item"><a class="nav-link" href="#">Library</a></li>
<li class="nav-item"><a class="nav-link" href="#">About</a></li>
<li class="nav-item"><a class="nav-link" href="#">Logout</a></li>
</ul>
</nav>
</div>
</header>
<main class="container my-5">

<section class="mb-5 text-center">
<div class="p-5 bg-primary text-white rounded">
<h2>Modern solution for a more secure electronic voting</h2>
<a href="#" class="btn btn-light mt-3">Learn more</a>
</div>
</section>

<section>
<h3 class="h5 mb-3">Right Now</h3>
<div class="p-4 border rounded bg-light">
<h4>2024 United States Presidential Election</h4>
<p class="text-danger">Final day at Tuesday, November 5, 2024</p>
</div>
</section>
</main>

<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>
126 changes: 126 additions & 0 deletions login.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login Page</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<div class="vote-section">
<img src="vote.png" alt="Voting Image">
</div>
<div class="login-section">
<h2>LOGIN</h2>
<form>
<div class="input-group">
<label for="username">Username</label>
<input type="text" id="username" name="username" placeholder="Enter your username" required>
</div>
<div class="input-group">
<label for="password">Password</label>
<input type="password" id="password" name="password" placeholder="Enter your password" required>
</div>
<div class="actions">
<a href="#">Forgot password?</a>
</div>
<button type="submit" class="btn">Login</button>
<button type="button" class="btn secondary">Sign Up</button>
</form>
</div>
</div>
</body>
</html>

body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #f3f3f3;
}
.container {
display: flex;
width: 80%;
max-width: 900px;
background: white;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border-radius: 8px;
overflow: hidden;
}
.vote-section {
flex: 1;
background-color: #e6f7ff;
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
}
.vote-section img {
width: 80%;
max-width: 300px;
}
.login-section {
flex: 1;
padding: 40px;
}
h2 {
text-align: center;
margin-bottom: 20px;
color: #333;
}
.input-group {
margin-bottom: 20px;
}
label {
display: block;
margin-bottom: 8px;
font-size: 14px;
color: #555;
}
input {
width: 100%;
padding: 10px;
font-size: 14px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
.actions {
display: flex;
justify-content: flex-end;
margin-bottom: 20px;
}
.actions a {
color: #007bff;
text-decoration: none;
font-size: 14px;
}
.actions a:hover {
text-decoration: underline;
}
.btn {
width: 100%;
padding: 12px;
font-size: 16px;
color: white;
background-color: #007bff;
border: none;
border-radius: 4px;
cursor: pointer;
}
.btn:hover {
background-color: #0056b3;
}
.btn.secondary {
background-color: #6c757d;
margin-top: 10px;
}
.btn.secondary:hover {
background-color: #5a6268;
}