Skip to content

Commit cb8c4f4

Browse files
authored
Merge pull request #1177 from Asymtode712/main
Changed the nav Title as per issue #1141
2 parents efe82ac + 37b5fd5 commit cb8c4f4

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
@@ -15,9 +15,9 @@
1515
</div>
1616
<header>
1717
<nav class="navbar">
18-
<div class="logo-container">
19-
<img src="logo-bg.png" alt="RecodeHive Logo" width="50" height="50"> <!-- Added logo to navbar -->
20-
<span class="brand-name">RecodeHive</span>
18+
<div class="logo-container" onclick="window.location.href=`index.html`">
19+
<img src="assets/recode-hive.png" alt="Recode Hive Icon" class="logo-icon">
20+
<span class="logo-text">Recode Hive</span>
2121
</div>
2222
<ul class="nav-links">
2323
<li><a href="/">Home</a></li>
@@ -27,7 +27,7 @@
2727
<li><a href="/contact">Contact</a></li>
2828
<li>
2929
<a href="https://github.com/recodehive/machine-learning-repos" target="_blank">
30-
<img src="https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png" alt="GitHub" width="25" height="25"> <!-- GitHub Icon -->
30+
<img src="assets/images.png" alt="GitHub"> <!-- GitHub Icon -->
3131
</a>
3232
</li>
3333
<li>

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
@@ -25,12 +25,27 @@ header {
2525
align-items: center;
2626
}
2727

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

3550
.brand-name {
3651
font-size: 1.5em;
@@ -60,6 +75,14 @@ header {
6075
/* Prevents wrapping of links */
6176
}
6277

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

0 commit comments

Comments
 (0)