Skip to content

Commit 74955cf

Browse files
committed
updated navbar
1 parent 4845519 commit 74955cf

File tree

6 files changed

+31
-8
lines changed

6 files changed

+31
-8
lines changed

Website/assets/fluidicon.png

32.5 KB
Loading

Website/assets/images.png

8.44 KB
Loading

Website/assets/recode-hive.png

7.18 KB
Loading

Website/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
<body>
1212
<header>
1313
<nav class="navbar">
14-
<div class="logo-container">
15-
<img src="logo-bg.png" alt="RecodeHive Logo" width="50" height="50"> <!-- Added logo to navbar -->
16-
<span class="brand-name">RecodeHive</span>
14+
<div class="logo-container" onclick="window.location.href=`index.html`">
15+
<img src="assets/recode-hive.png" alt="Recode Hive Icon" class="logo-icon">
16+
<span class="logo-text">Recode Hive</span>
1717
</div>
1818
<ul class="nav-links">
1919
<li><a href="#">Home</a></li>
@@ -23,7 +23,7 @@
2323
<li><a href="#">Contact</a></li>
2424
<li>
2525
<a href="https://github.com/recodehive/machine-learning-repos" target="_blank">
26-
<img src="https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png" alt="GitHub" width="25" height="25"> <!-- GitHub Icon -->
26+
<img src="assets/images.png" alt="GitHub"> <!-- GitHub Icon -->
2727
</a>
2828
</li>
2929
</ul>

Website/logo.png

-5.01 KB
Binary file not shown.

Website/styles.css

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,27 @@ header {
2424
align-items: center;
2525
}
2626

27-
.logo-container {
27+
.logo-container{
2828
display: flex;
29+
cursor: pointer;
2930
align-items: center;
30-
margin-right: 20px;
31-
/* Adds space between logo and links */
32-
}
31+
}
32+
33+
.logo-container img{
34+
filter: brightness(1) invert(1);
35+
}
36+
37+
.logo-icon {
38+
width: 30px;
39+
height: 30px;
40+
margin-right: 10px;
41+
}
42+
43+
.logo-text {
44+
font-size: 18px;
45+
font-weight: bold;
46+
color: #f1f1f1;
47+
}
3348

3449
.brand-name {
3550
font-size: 1.5em;
@@ -59,6 +74,14 @@ header {
5974
/* Prevents wrapping of links */
6075
}
6176

77+
.nav-links a img{
78+
width: 30px;
79+
height: 30px;
80+
border-radius: 50%;
81+
filter: brightness(0) invert(1);
82+
margin-top: -5px;
83+
}
84+
6285
.nav-links a:hover {
6386
text-decoration: underline;
6487
}

0 commit comments

Comments
 (0)