Skip to content
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
15 changes: 8 additions & 7 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,13 @@ const config = {
value: `<div class="dropdown">
<a class="dropbtn" href="/docs/"> Tutorials </a>
<div class="dropdown-content">
<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>
<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/" class="nav__icons" > <img src="/icons/js.svg" alt="JavaScript" /> </a>
<a href="/docs/category/react/" class="nav__icons"> <img src="/icons/jsx.svg" alt="React" /> </a>
<a href="/docs/category/typescript/" class="nav__icons"> <img src="/icons/ts.svg" alt="TypeScript" /> </a>
<a href="/docs/category/python/" class="nav__icons"> <img src="/icons/py.svg" alt="Python" /> </a>
<a href="/docs/category/java/" class="nav__icons"> <img src="/icons/java.svg" alt="Java" /> </a>
</div>
</div>`,
},
Expand All @@ -127,9 +130,7 @@ const config = {
value: `<div class="dropdown">
<a class="dropbtn" href="/courses/"> Courses&nbsp; </a>
<div class="dropdown-content">
<a href="/courses/">HTML, </a>
<a href="/courses/">JavaScript, </a>
<a href="/courses/category/reactjs/">React</a>
<a href="/courses/category/reactjs/" class="nav__icons"> <img src="/icons/jsx.svg" alt="React" /> </a>
</div>
</div>`,
},
Expand Down
13 changes: 10 additions & 3 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -314,11 +314,18 @@ table, tr, td, th {
}

.dropdown-content {
min-width: 100px;
min-width: 200px;
margin: 2px 5px;
}

.dropdown-content a:hover {
text-decoration: none;
background-color: #cccccc45;
border-radius: 50% 40%;
}

.nav__icons img {
width: 30px;
height: 30px;
width: 35px;
height: 35px;
border-radius: 50%;
}
1 change: 1 addition & 0 deletions static/icons/java.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/js.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/jsx.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/py.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/ts.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.