|
| 1 | +<!DOCTYPE html> |
| 2 | +<html> |
| 3 | +<head> |
| 4 | + <title>Learning Path</title> |
| 5 | + <!-- Include Bootstrap CSS --> |
| 6 | + <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"> |
| 7 | + <!-- Include your custom CSS file if needed --> |
| 8 | + <link rel="stylesheet" href="styles.css"> |
| 9 | + <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.1.3/dist/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous"> |
| 10 | + <style> |
| 11 | + body |
| 12 | + { |
| 13 | + background-color: #172439; |
| 14 | + padding-left: 5px; |
| 15 | + padding-right: 5px; |
| 16 | + } |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + .d-inline-block |
| 21 | + { |
| 22 | + height: 11.5vh; |
| 23 | + } |
| 24 | + .navbar |
| 25 | + { |
| 26 | + margin-bottom: -3vh; |
| 27 | + } |
| 28 | + hr |
| 29 | + { |
| 30 | + border-top:3px solid #A78BFA; |
| 31 | + width: 90%; |
| 32 | + } |
| 33 | + |
| 34 | + .search-container { |
| 35 | + display: flex; |
| 36 | + justify-content: center; |
| 37 | + align-items: center; |
| 38 | + height: 15vh; |
| 39 | + } |
| 40 | + |
| 41 | + .search-box { |
| 42 | + position: relative; |
| 43 | + display: inline-block; |
| 44 | + } |
| 45 | + |
| 46 | + .search-box input[type="text"] { |
| 47 | + padding: 10px 20px; |
| 48 | + border: none; |
| 49 | + border-radius: 20px; |
| 50 | + background-color: #3F4A5B; |
| 51 | + color: #fff; |
| 52 | + width: 22vw; |
| 53 | + } |
| 54 | + |
| 55 | + .search-box input[type="text"]::placeholder { |
| 56 | + color: #fff; |
| 57 | + } |
| 58 | + |
| 59 | + .search-box .search-icon { |
| 60 | + position: absolute; |
| 61 | + top: 50%; |
| 62 | + right: 18px; |
| 63 | + height: 20px; |
| 64 | + width:20px; |
| 65 | + transform: translateY(-50%); |
| 66 | + } |
| 67 | + |
| 68 | + </style> |
| 69 | +</head> |
| 70 | +<body> |
| 71 | + <nav class="navbar navbar-expand-lg"> |
| 72 | + <a class="navbar-brand" href="#"> |
| 73 | + <!-- Replace the 'logo.svg' with your SVG logo --> |
| 74 | + <img src="logo.svg" class="d-inline-block align-top" alt="Logo"> |
| 75 | + </a> |
| 76 | + <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"> |
| 77 | + <span class="navbar-toggler-icon"></span> |
| 78 | + </button> |
| 79 | + <div class="collapse navbar-collapse justify-content-end" id="navbarNav"> |
| 80 | + <ul class="navbar-nav"> |
| 81 | + <li class="nav-item"> |
| 82 | + <!-- Replace the 'icon1.svg' with your first SVG icon --> |
| 83 | + <a class="nav-link" href="#"><img src="icons/home.svg" width="43" height="43" alt="Icon 1"></a> |
| 84 | + </li> |
| 85 | + <li class="nav-item"> |
| 86 | + <!-- Replace the 'icon2.svg' with your second SVG icon --> |
| 87 | + <a class="nav-link" href="#"><img src="icons/logout.svg" width="43" height="43" alt="Icon 2"></a> |
| 88 | + </li> |
| 89 | + <li class="nav-item"> |
| 90 | + <!-- Replace the 'icon3.svg' with your third SVG icon --> |
| 91 | + <a class="nav-link" href="#"><img src="icons/profile.svg" width="43" height="43" alt="Icon 3"></a> |
| 92 | + </li> |
| 93 | + </ul> |
| 94 | + </div> |
| 95 | + </nav> |
| 96 | + |
| 97 | + |
| 98 | + <hr> |
| 99 | + |
| 100 | + |
| 101 | + <div class="search-container"> |
| 102 | + <div class="search-box"> |
| 103 | + <input type="text" placeholder="Search" class="search-box"> |
| 104 | + <img src="icons/search.svg" alt="Search Icon" class="search-icon"> |
| 105 | + </div> |
| 106 | + </div> |
| 107 | + |
| 108 | + |
| 109 | + |
| 110 | + |
| 111 | + |
| 112 | + |
| 113 | + |
| 114 | + |
| 115 | + <!-- Include Bootstrap JS and jQuery --> |
| 116 | + <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script> |
| 117 | + <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.5.4/dist/umd/popper.min.js"></script> |
| 118 | + <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script> |
| 119 | +</body> |
| 120 | +</html> |
0 commit comments