Skip to content

Commit 6fd36aa

Browse files
committed
[TOOL-3286] Dashboard: Add Feedback button on header, Add more links in mobile burger menu (#6145)
1 parent 08cc489 commit 6fd36aa

File tree

3 files changed

+52
-8
lines changed

3 files changed

+52
-8
lines changed

apps/dashboard/src/app/components/Header/SecondaryNav/SecondaryNav.tsx

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,28 @@ export function SecondaryNavLinks() {
2929
<div className="flex items-center gap-6">
3030
<ResourcesDropdownButton />
3131

32+
<Link
33+
href="https://portal.thirdweb.com"
34+
className="text-muted-foreground text-sm hover:text-foreground"
35+
target="_blank"
36+
>
37+
Docs
38+
</Link>
39+
3240
<Link
3341
target="_blank"
34-
href="https://thirdweb.com/support"
42+
href="/support"
3543
className="text-muted-foreground text-sm hover:text-foreground"
3644
>
3745
Support
3846
</Link>
3947

4048
<Link
41-
href="https://portal.thirdweb.com/"
42-
className="text-muted-foreground text-sm hover:text-foreground"
4349
target="_blank"
50+
href="https://feedback.thirdweb.com"
51+
className="text-muted-foreground text-sm hover:text-foreground"
4452
>
45-
Docs
53+
Feedback
4654
</Link>
4755
</div>
4856
);

apps/dashboard/src/app/components/MobileBurgerMenuButton.tsx

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,34 @@ export function MobileBurgerMenuButton(
159159
</div>
160160

161161
<div className="mt-auto">
162+
<div className="flex flex-col gap-5">
163+
<Link
164+
target="_blank"
165+
href="https://portal.thirdweb.com"
166+
className="text-muted-foreground hover:text-foreground "
167+
>
168+
Docs
169+
</Link>
170+
171+
<Link
172+
target="_blank"
173+
href="/support"
174+
className="text-muted-foreground hover:text-foreground "
175+
>
176+
Support
177+
</Link>
178+
179+
<Link
180+
target="_blank"
181+
href="https://feedback.thirdweb.com"
182+
className="text-muted-foreground hover:text-foreground "
183+
>
184+
Feedback
185+
</Link>
186+
</div>
187+
188+
<div className="h-6" />
189+
162190
<Separator />
163191
<div className="h-6" />
164192

apps/dashboard/src/app/login/LoginPage.tsx

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,15 @@ export function LoginAndOnboardingPage(props: {
5555
<ThirdwebMiniLogo className="size-7 md:size-8" />
5656
</div>
5757

58-
<div className="flex items-center gap-3">
58+
<div className="flex items-center gap-2">
59+
<Link
60+
href="https://portal.thirdweb.com/"
61+
className="px-2 text-muted-foreground text-sm hover:text-foreground"
62+
target="_blank"
63+
>
64+
Docs
65+
</Link>
66+
5967
<Link
6068
href="/support"
6169
target="_blank"
@@ -65,11 +73,11 @@ export function LoginAndOnboardingPage(props: {
6573
</Link>
6674

6775
<Link
68-
href="https://portal.thirdweb.com/"
69-
className="px-2 text-muted-foreground text-sm hover:text-foreground"
7076
target="_blank"
77+
href="https://feedback.thirdweb.com"
78+
className="px-2 text-muted-foreground text-sm hover:text-foreground"
7179
>
72-
Docs
80+
Feedback
7381
</Link>
7482

7583
<ColorModeToggle />

0 commit comments

Comments
 (0)