mirror of
https://gitea.smigz.com/smiggiddy/odin-codeprojects.git
synced 2025-04-18 23:41:17 -04:00
feat: base html/css
This commit is contained in:
parent
b96438787d
commit
c67a8d62ce
3 changed files with 58 additions and 0 deletions
23
admin-dashboard/css/style.css
Normal file
23
admin-dashboard/css/style.css
Normal file
|
@ -0,0 +1,23 @@
|
|||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.container {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 5fr;
|
||||
|
||||
}
|
||||
|
||||
.navbar h1,ul {
|
||||
grid-column: 1 / 2;
|
||||
}
|
||||
|
||||
.topbar {
|
||||
grid-row: 1 / 2;
|
||||
grid-column: 1 / 3;
|
||||
}
|
||||
|
||||
.content {
|
||||
grid-column: 2 / 3;
|
||||
}
|
35
admin-dashboard/index.html
Normal file
35
admin-dashboard/index.html
Normal file
|
@ -0,0 +1,35 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="css/style.css">
|
||||
<title>Admin Dashboard</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="sidebar">
|
||||
<nav class="navbar">
|
||||
<h1 class="nav-header">Dashboard</h1>
|
||||
<ul>
|
||||
<li>Home</li>
|
||||
<li>Profile</li>
|
||||
<li>Messages</li>
|
||||
<li>History</li>
|
||||
<li>Tasks</li>
|
||||
<li>Settings</li>
|
||||
<li>Support</li>
|
||||
<li>Privacy</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div class="topbar">
|
||||
|
||||
</div>
|
||||
<div class="content">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<script src="js/script.js"></script>
|
||||
</body>
|
||||
</html>
|
0
admin-dashboard/js/script.js
Normal file
0
admin-dashboard/js/script.js
Normal file
Loading…
Add table
Reference in a new issue