|
3 | 3 | import { Home, MessageSquareText, UserCircle, Users } from 'lucide-react' |
4 | 4 | import Link from 'next/link' |
5 | 5 | import { usePathname } from 'next/navigation' |
6 | | -import UneedUpvoteBanner from './(components)/uneed-upvote-banner' |
7 | | -import VerifyEmailAlert from './(components)/verify-email-alert' |
8 | 6 | import AccountDeletionAlert from './(components)/account-deletion-alert' |
| 7 | +import UpgradeToProAlert from './(components)/upgrade-to-pro-alert' |
| 8 | +import UpdateAppModal from './(components)/update-app-modal' |
| 9 | +import UpdateAppNotificationBar from './(components)/update-app-notification-bar' |
| 10 | +import VerifyEmailAlert from './(components)/verify-email-alert' |
| 11 | +import { SurveyModal } from '@/components/shared/survey-modal' |
9 | 12 |
|
10 | 13 | export default function DashboardLayout({ |
11 | 14 | children, |
@@ -49,11 +52,10 @@ export default function DashboardLayout({ |
49 | 52 | {/* Main content with left padding to account for fixed sidebar */} |
50 | 53 | <main className='flex-1 min-w-0 overflow-auto md:ml-24'> |
51 | 54 | <div className='space-y-2 p-4'> |
52 | | - <UneedUpvoteBanner /> |
53 | | - {/* <UpdateAppNotificationBar /> */} |
| 55 | + <UpdateAppNotificationBar /> |
54 | 56 | <VerifyEmailAlert /> |
55 | 57 | <AccountDeletionAlert /> |
56 | | - {/* <UpgradeToProAlert /> */} |
| 58 | + <UpgradeToProAlert /> |
57 | 59 | {/* <BlackFridayModal /> */} |
58 | 60 | </div> |
59 | 61 | {children} |
@@ -92,8 +94,8 @@ export default function DashboardLayout({ |
92 | 94 | {/* Bottom padding for mobile to account for the fixed navigation */} |
93 | 95 | <div className='h-16 md:hidden'></div> |
94 | 96 |
|
95 | | - {/* <SurveyModal /> */} |
96 | | - {/* <UpdateAppModal /> */} |
| 97 | + <SurveyModal /> |
| 98 | + <UpdateAppModal /> |
97 | 99 | </div> |
98 | 100 | ) |
99 | 101 | } |
|
0 commit comments