@@ -129,88 +129,75 @@ const config = {
129129 items : [
130130 {
131131 type : "dropdown" ,
132- html : '<span class="nav-emoji">📚 </span> Tutorials' ,
132+ html : '<span class="nav-emoji">🗺️ </span> Tutorials' ,
133133 position : "left" ,
134+ className : "mega-menu" , // Add a custom class for CSS styling
134135 items : [
135136 {
136137 type : "html" ,
137- value : `<div class="dropdown_grid">
138- <a class="dropbtn" href="/tutorial/">Absolute Beginner</a>
139- <div class="dropdown-content">
140- <a href="#" class="nav__icons"> <img src="/tutorial/icons/html-5.svg" title="HTML5" alt="HTML" /> </a>
141- <a href="#" class="nav__icons"> <img src="/tutorial/icons/css.svg" title="CSS" alt="CSS" /> </a>
142- <a href="#" class="nav__icons"> <img src="/tutorial/icons/js.svg" title="JavaScript" alt="JavaScript" /> </a>
143- <a href="#" class="nav__icons"> <img src="/tutorial/icons/jsx.svg" title="React.Js" alt="React" /> </a>
144- <a href="#" class="nav__icons"> <img src="/tutorial/icons/ts.svg" title="TypeScript" alt="TypeScript" /> </a>
145- <a href="#" class="nav__icons"> <img src="/tutorial/icons/py.svg" title="Python" alt="Python" /> </a>
146- <a href="#" class="nav__icons"> <img src="/tutorial/icons/tailwind-css.svg" title="Tailwind CSS" alt="Tailwind" /> </a>
147- <a href="#" class="nav__icons"> <img src="/tutorial/icons/next-js.svg" title="NextJs" alt="Next" /> </a>
148- </div>
149- </div>` ,
150- } ,
151-
152- {
153- type : "html" ,
154- value : '<hr style="margin: 0.3rem 0;">' ,
155- } ,
156-
157- {
158- type : "html" ,
159- value : `<div class="dropdown_grid">
160- <a class="dropbtn" href="#">Web Development</a>
161- <div class="dropdown-content">
162- <a href="#" class="nav__icons"> <img src="/tutorial/icons/html-5.svg" alt="HTML" /> </a>
163- <a href="#" class="nav__icons"> <img src="/tutorial/icons/jsx.svg" alt="React" /> </a>
164- </div>
165- </div>` ,
166- } ,
138+ value : `
139+ <div class="mega-menu-container">
140+ <div class="mega-menu-column">
141+ <h3>🚀 Foundations</h3>
142+ <hr style="margin: 0.5rem 0; opacity: 0.4;">
143+ <a href="#">🐣 Absolute Beginner</a>
144+ <a href="#">🏛️ Computer Science</a>
145+ <a href="#">💻 Languages & Platforms</a>
146+ <a href="/tutorial/docs/git/introduction">🌿 Git & GitHub</a>
147+ </div>
148+
149+ <div class="mega-menu-column">
150+ <h3>🌐 Development</h3>
151+ <hr style="margin: 0.5rem 0; opacity: 0.4;">
152+ <a href="#">🌍 Web Development</a>
153+ <a href="#">🧩 Frameworks</a>
154+ <a href="#">📱 Mobile Development</a>
155+ <a href="#">🎮 Game Development</a>
156+ </div>
167157
168- {
169- type : "html" ,
170- value : '<hr style="margin: 0.3rem 0;">' ,
171- } ,
158+ <div class="mega-menu-column">
159+ <h3>⚙️ Data & Ops</h3>
160+ <hr style="margin: 0.5rem 0; opacity: 0.4;">
161+ <a href="#">🤖 AI & Machine Learning</a>
162+ <a href="#">🗄️ Databases</a>
163+ <a href="#">♾️ DevOps & Cloud</a>
164+ <a href="#">🛡️ Cyber Security</a>
165+ </div>
172166
173- {
174- type : "html" ,
175- value : `<div class="dropdown_grid">
176- <a class="dropbtn" href="#" target="_self">Frameworks</a>
177- <div class="dropdown-content dsa-content ">
178- <a href="#" target="_self" class="nav__icons"> 🧩Problems </a> <br />
179- <a href="#" target="_self" class="nav__icons "> 💡Solutions </a>
180- </div>
181- </div>` ,
167+ <div class="mega-menu-column">
168+ <h3>💼 Career & Quality</h3>
169+ <hr style="margin: 0.5rem 0; opacity: 0.4;">
170+ <a href="#">👔 Management</a>
171+ <a href="#">🎨 Design & UX</a>
172+ <a href="#">⛓️ Blockchain</a>
173+ <a href="#">✅ Best Practices</a>
174+ </div>
175+ </div>
176+ ` ,
182177 } ,
183178 {
184179 type : "html" ,
185- value : '<hr style="margin: 0.3rem 0 ;">' ,
180+ value : '<hr style="margin: 0.5rem 0; opacity: 0.2 ;">' ,
186181 } ,
187182 {
188- to : "/tutorial/" ,
189- label : "View All Tutorials" ,
190- style : {
191- margin : "0.5rem 0" ,
192- padding : "0.5rem 1rem" ,
193- borderRadius : "4px" ,
194- fontSize : "0.8rem" ,
195- textAlign : "center" ,
196- fontWeight : "bold" ,
197- } ,
183+ to : "/" ,
184+ label : "Explore All Tutorials" ,
185+ className : "view-all-link" ,
198186 } ,
199187 ] ,
200188 } ,
201- {
202- to : "https://codeharborhub.github.io/blog" ,
203- html : '<span class="nav-emoji">📝</span> Blog' ,
204- position : "right" ,
205- } ,
206- {
207- href : "https://github.com/codeharborhub" ,
208- position : "right" ,
209- className : "header-github-link" ,
210- "aria-label" : "GitHub repository" ,
211- } ,
189+ // {
190+ // to: "https://codeharborhub.github.io/blog",
191+ // html: '<span class="nav-emoji">📝</span> Blog',
192+ // position: "right",
193+ // },
194+ // {
195+ // href: "https://github.com/codeharborhub",
196+ // position: "right",
197+ // className: "header-github-link",
198+ // "aria-label": "GitHub repository",
199+ // },
212200 ] ,
213- // hideOnScroll: true,
214201 } ,
215202 footer : {
216203 style : "dark" ,
0 commit comments