-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
91c86c7
commit d5333b9
Showing
3 changed files
with
120 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>About - Rasper Revision</title> | ||
|
||
<link href="/node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet"> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" | ||
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous"> | ||
<script src="/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js" | ||
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" | ||
crossorigin="anonymous"></script> | ||
<link href="/style.css" rel="stylesheet"> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.min.css"> | ||
</head> | ||
|
||
<body> | ||
<div class="position-absolute top-0 end-0 mt-3 me-3"> | ||
<button class="btn btn-light" id="sidebarToggle"> | ||
<i class="bi bi-list" style="font-size:2rem;color:black"></i> | ||
<i class="bi bi-x d-none" style="font-size:2rem;color:black"></i> | ||
</button> | ||
</div> | ||
|
||
<div class="d-flex" id="wrapper"> | ||
<div class="bg-dark" id="sidebar"> | ||
<div class="sidebar-heading">Rasper Revision</div> | ||
<div class="list-group list-group-flush"> | ||
<a href="/" class="list-group-item">Activities</a> | ||
<a href="/about" class="list-group-item">About</a> | ||
<a href="/contact" class="list-group-item">Contact</a> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<script> | ||
document.getElementById('sidebarToggle').addEventListener('click', function () { | ||
document.getElementById('sidebar').classList.toggle('active'); | ||
if (document.querySelector('.bi-list').classList.contains('d-none')) { | ||
document.querySelector('.bi-list').classList.remove('d-none'); | ||
document.querySelector('.bi-x').classList.add('d-none'); | ||
} else { | ||
document.querySelector('.bi-x').classList.remove('d-none'); | ||
document.querySelector('.bi-list').classList.add('d-none'); | ||
} | ||
}); | ||
</script> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters