Skip to content

Commit ab60380

Browse files
authored
Merge pull request #155 from CodeHarborHub/dev-2
update nav bar
2 parents 2711f56 + 28372b2 commit ab60380

File tree

5 files changed

+10
-2
lines changed

5 files changed

+10
-2
lines changed

courses/react-js/begginer-level/intro-to-react/lesson_3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ console.log('Hello, Node.js!');
125125

126126
Save the file and open a terminal or command prompt in the same directory. Run the following command to execute the JavaScript code using Node.js:
127127

128-
```bash title="Run hello.js with Node.js"
128+
```bash
129129
node hello.js
130130
```
131131

docusaurus.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ const config = {
109109
value: `<div class="dropdown">
110110
<a class="dropbtn" href="/docs/"> Tutorials </a>
111111
<div class="dropdown-content">
112-
<a href="/docs/category/html/">HTML, </a>
112+
<a href="/docs/category/html/" class="nav__icons" > <img src="/icons/html-5.svg" alt="HTML" /> </a>
113+
<a href="/docs/" class="nav__icons" > <img src="/icons/css.svg" alt="CSS" /> </a>
113114
<a href="/docs/category/javascript/">JavaScript, </a>
114115
<a href="/docs/category/react/">React</a>
115116
</div>

src/css/custom.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,4 +316,9 @@ table, tr, td, th {
316316
.dropdown-content {
317317
min-width: 100px;
318318
margin: 2px 5px;
319+
}
320+
321+
.nav__icons img {
322+
width: 30px;
323+
height: 30px;
319324
}

static/icons/css.svg

Lines changed: 1 addition & 0 deletions
Loading

static/icons/html-5.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)