Skip to content

update nav bar #155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ console.log('Hello, Node.js!');

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:

```bash title="Run hello.js with Node.js"
```bash
node hello.js
```

Expand Down
3 changes: 2 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ const config = {
value: `<div class="dropdown">
<a class="dropbtn" href="/docs/"> Tutorials </a>
<div class="dropdown-content">
<a href="/docs/category/html/">HTML, </a>
<a href="/docs/category/html/" class="nav__icons" > <img src="/icons/html-5.svg" alt="HTML" /> </a>
<a href="/docs/" class="nav__icons" > <img src="/icons/css.svg" alt="CSS" /> </a>
<a href="/docs/category/javascript/">JavaScript, </a>
<a href="/docs/category/react/">React</a>
</div>
Expand Down
5 changes: 5 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -316,4 +316,9 @@ table, tr, td, th {
.dropdown-content {
min-width: 100px;
margin: 2px 5px;
}

.nav__icons img {
width: 30px;
height: 30px;
}
1 change: 1 addition & 0 deletions static/icons/css.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions static/icons/html-5.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.