Skip to content

Commit dd2ae5b

Browse files
authored
Merge pull request #377 from Richajaishwal0/revertt
Reverted Navbar Changes and solved bugs for dashboard.
2 parents 476d237 + 637ac4b commit dd2ae5b

File tree

7 files changed

+602
-1030
lines changed

7 files changed

+602
-1030
lines changed

docusaurus.config.ts

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ const config: Config = {
1010
title: "Recode Hive",
1111
tagline: "Dinosaurs are cool",
1212
favicon: "img/favicon.ico",
13+
1314

1415
url: "https://your-docusaurus-site.example.com",
1516
baseUrl: "/",
@@ -92,12 +93,13 @@ const config: Config = {
9293
items: [
9394
{
9495
type: "dropdown",
95-
html: '<span id="nav-docs"></span> Docs',
96+
html: '<span class="nav-emoji">📚</span> Docs',
9697
position: "left",
9798
items: [
9899
{
99100
type: "html",
100101
value: `<div class="grid grid-cols-3 gap-4 w-xl">
102+
<a class="border-r col-span-1" href="/courses/">Tutorials</a>
101103
<a class="border-r col-span-1" href="/courses/">Tutorials</a>
102104
<div class="grid grid-cols-4 col-span-2">
103105
<a href="/docs/sql/intro-sql" class="nav__icons"> <img src="/icons/sql.svg" title="SQL" alt="SQL" /> </a>
@@ -114,6 +116,7 @@ const config: Config = {
114116
{
115117
type: "html",
116118
value: `<div class="grid grid-cols-3 gap-4">
119+
<a class="border-r col-span-1" href="/courses/"> Courses </a>
117120
<a class="border-r col-span-1" href="/courses/"> Courses </a>
118121
<div class="grid grid-cols-4 col-span-2">
119122
<a href="https://www.youtube.com/watch?v=GrTV59Y84S8&list=PLrLTYhoDFx-kiuFiGQqVpYYZ56pIhUW63&ab_channel=RecodeHive" class="nav__icons"> <img src="/icons/git.svg" alt="git" /> </a>
@@ -129,73 +132,74 @@ const config: Config = {
129132
{
130133
type: "html",
131134
value: `<div class="grid grid-cols-3 gap-4">
135+
<a class="border-r col-span-1" href="#" target="_self"> Interview Prep </a>
132136
<a class="border-r col-span-1" href="#" target="_self"> Interview Prep </a>
133137
<div class="grid grid-cols-1 col-span-2">
134-
<a href="/interview-prep/" target="_self" class="nav__icons"><span id="nav-technical" style="display:inline-flex;align-items:center;"></span> Technical</a> <br />
135-
<a href="/interview-prep/" target="_self" class="nav__icons"><span id="nav-behavioral" style="display:inline-flex;align-items:center;"></span> Behavioral</a>
138+
<a href="/interview-prep/" target="_self" class="nav__icons"> 🧩Technical </a> <br />
139+
<a href="/interview-prep/" target="_self" class="nav__icons"> 💡Behavioral </a>
136140
</div>
137141
</div>`,
138142
},
139143
],
140144
},
141145
{
142146
to: "/showcase",
143-
html: '<span id="nav-showcase"></span> Showcase',
147+
html: '<span class="nav-emoji">🌍</span> Showcase',
144148
position: "left",
145149
},
146150
{
147151
to: "/dashboard",
148-
html: '<span id="nav-dashboard"></span> Dashboard',
152+
html: '<span class="nav-emoji">📊</span> Dashboard',
149153
position: "left",
150154
},
151155
{
152156
to: "/our-sponsors/",
153-
html: '<span id="nav-donate"></span> Donate',
157+
html: '<span class="nav-emoji">💰</span> Donate',
154158
position: "left",
155159
},
156160
{
157161
type: "dropdown",
158-
html: '<span id="nav-devfolio"></span> Devfolio',
162+
html: '<span class="nav-emoji">👩🏻‍💻</span> Devfolio',
159163
position: "left",
160164
items: [
161165
{
162-
html: '<span id="nav-github" style="display:inline-flex;align-items:center;"></span> GitHub Profiles',
166+
label: "💻GitHub Profiles",
163167
to: "https://dev.recodehive.com/devfolio",
164168
},
165169
{
166-
html: '<span id="nav-badges" style="display:inline-flex;align-items:center;"></span> GitHub Badges',
170+
label: "🎖️ GitHub Badges",
167171
to: "/badges/github-badges/",
168172
},
169173
],
170174
},
171175
{
172176
to: "/blogs",
173-
html: '<span id="nav-blogs"></span> Blogs',
177+
html: '<span class="nav-emoji">📰</span> Blogs',
174178
position: "left",
175179
},
176180
{
177181
type: "dropdown",
178-
html: '<span id="nav-more"></span> More',
182+
html: '<span class="nav-emoji">🔗</span> More',
179183
position: "left",
180184
items: [
181185
{
182-
html: '<span id="nav-ebooks" style="display:inline-flex;align-items:center;"></span> E-books',
186+
label: "📚 E-books",
183187
to: "https://learn.recodehive.com/datascience",
184188
},
185189
{
186190
html: '<span id="nav-roadmap" style="display:inline-flex;align-items:center;"></span> Roadmap',
187191
to: "https://github.com/orgs/recodehive/projects/9",
188192
},
189193
{
190-
html: '<span id="nav-community" style="display:inline-flex;align-items:center;"></span> Community',
194+
label: "🤝 Community",
191195
to: "/community",
192196
},
193197
{
194-
html: '<span id="nav-broadcast" style="display:inline-flex;align-items:center;"></span> Broadcast',
198+
label: "📺 Broadcast",
195199
to: "/broadcasts/",
196200
},
197201
{
198-
html: '<span id="nav-podcast" style="display:inline-flex;align-items:center;"></span> Podcast',
202+
label: "🎙️ Podcast",
199203
to: "/podcasts/",
200204
},
201205
],

0 commit comments

Comments
 (0)