Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

swap bounties and email campaigns position on sidebar nav

Steven Teyc059e029aef1
diff --git a/apps/web/ui/layout/sidebar/app-sidebar-nav.tsx b/apps/web/ui/layout/sidebar/app-sidebar-nav.tsx
index 91eb423706..1cf099512e 100644
--- a/apps/web/ui/layout/sidebar/app-sidebar-nav.tsx
+++ b/apps/web/ui/layout/sidebar/app-sidebar-nav.tsx
@@ -300,16 +300,6 @@ const NAV_AREAS: SidebarNavAreas<SidebarNavData> = {
{
name: "Engagement",
items: [
- ...(emailCampaignsEnabled
- ? [
- {
- name: "Email Campaigns",
- icon: PaperPlane,
- href: `/${slug}/program/campaigns` as `/${string}`,
- badge: "New",
- },
- ]
- : []),
{
name: "Bounties",
icon: Trophy,
@@ -320,6 +310,16 @@ const NAV_AREAS: SidebarNavAreas<SidebarNavData> = {
: submittedBountiesCount
: "",
},
+ ...(emailCampaignsEnabled
+ ? [
+ {
+ name: "Email Campaigns",
+ icon: PaperPlane,
+ href: `/${slug}/program/campaigns` as `/${string}`,
+ badge: "New",
+ },
+ ]
+ : []),
{
name: "Resources",
icon: LifeRing,