File tree Expand file tree Collapse file tree 1 file changed +8
-25
lines changed Expand file tree Collapse file tree 1 file changed +8
-25
lines changed Original file line number Diff line number Diff line change 1
- import { SearchIcon } from 'lucide-react'
2
1
import Image from 'next/image'
3
2
import Link from 'next/link'
4
3
5
4
import { DarkThemeToggle } from '@/components/DarkThemeToggle'
6
- import { CommandDialogComponent } from '@/components/dashboards/Common/CommandDialogComponent'
7
- import { Input } from '@/components/ui/input'
8
5
import { getServerUserRole } from '@/utils/supabase/getUserRole'
9
6
10
7
import DashboardHeaderSheet from './Common/DashboardHeaderSheet'
@@ -25,29 +22,15 @@ export default async function DashboardHeader () {
25
22
height = { 82 }
26
23
/>
27
24
</ Link >
28
- < DashboardHeaderSheet userRole = { userRole } />
29
- < div className = "w-full flex-1 hidden md:flex md:w-2/4" >
30
- < form
31
- className = "w-full"
32
- >
33
- < div className = "relative md:w-2/3 lg:w-1/3" >
34
- < SearchIcon className = "absolute left-2.5 top-2.5 h-4 w-4 text-gray-500 dark:text-gray-400" />
35
-
36
- < Input
37
- className = "w-full bg-white shadow-none appearance-none pl-8 dark:bg-gray-950"
38
- placeholder = "Search lessons, courses, or students..."
39
- type = "search"
40
- />
41
- < div className = "absolute right-2.5 top-2.5" >
42
- < CommandDialogComponent />
43
- </ div >
44
- </ div >
45
- </ form >
25
+ < div className = "flex flex-grow items-center justify-end gap-4" >
26
+ < DashboardHeaderSheet userRole = { userRole } />
27
+ < StudentOnBoarding />
28
+ < Notifications />
29
+ < div className = "hidden md:flex gap-4" >
30
+ < DarkThemeToggle />
31
+ </ div >
32
+ < ProfileDropdown />
46
33
</ div >
47
- < StudentOnBoarding />
48
- < Notifications />
49
- < DarkThemeToggle />
50
- < ProfileDropdown />
51
34
</ header >
52
35
)
53
36
}
You can’t perform that action at this time.
0 commit comments