@@ -79,6 +79,40 @@ function Header() {
79
79
alignItems = "center"
80
80
spacing = { 1 }
81
81
sx = { { display : { xs : "none" , md : "flex" } } } >
82
+ < Input
83
+ size = "sm"
84
+ placeholder = "Search"
85
+ variant = "plain"
86
+ endDecorator = { < Search /> }
87
+ slotProps = { {
88
+ input : {
89
+ 'aria-label' : 'Search anything' ,
90
+ } ,
91
+ } }
92
+ sx = { {
93
+ m : 3 ,
94
+ mb : 2 ,
95
+ borderRadius : 0 ,
96
+ borderBottom : '2px solid' ,
97
+ borderColor : 'neutral.outlinedBorder' ,
98
+ '&:hover' : {
99
+ borderColor : 'neutral.outlinedHoverBorder' ,
100
+ } ,
101
+ '&::before' : {
102
+ border : '1px solid var(--Input-focusedHighlight)' ,
103
+ transform : 'scaleX(0)' ,
104
+ left : 0 ,
105
+ right : 0 ,
106
+ bottom : '-2px' ,
107
+ top : 'unset' ,
108
+ transition : 'transform .15s cubic-bezier(0.1,0.9,0.2,1)' ,
109
+ borderRadius : 0 ,
110
+ } ,
111
+ '&:focus-within::before' : {
112
+ transform : 'scaleX(1)' ,
113
+ } ,
114
+ } }
115
+ />
82
116
</ Stack >
83
117
< ModeToggle />
84
118
< IconButton variant = "outlined" color = "neutral" onClick = { openMenu } sx = { { display : { xs : "flex" , md : "none" } } } >
@@ -106,6 +140,40 @@ function Header() {
106
140
</ Typography >
107
141
< ModalClose id = "close-icon" sx = { { position : 'initial' } } />
108
142
</ Box >
143
+ < Input
144
+ size = "sm"
145
+ placeholder = "Search"
146
+ variant = "plain"
147
+ endDecorator = { < Search /> }
148
+ slotProps = { {
149
+ input : {
150
+ 'aria-label' : 'Search anything' ,
151
+ } ,
152
+ } }
153
+ sx = { {
154
+ m : 3 ,
155
+ mb : 2 ,
156
+ borderRadius : 0 ,
157
+ borderBottom : '2px solid' ,
158
+ borderColor : 'neutral.outlinedBorder' ,
159
+ '&:hover' : {
160
+ borderColor : 'neutral.outlinedHoverBorder' ,
161
+ } ,
162
+ '&::before' : {
163
+ border : '1px solid var(--Input-focusedHighlight)' ,
164
+ transform : 'scaleX(0)' ,
165
+ left : 0 ,
166
+ right : 0 ,
167
+ bottom : '-2px' ,
168
+ top : 'unset' ,
169
+ transition : 'transform .15s cubic-bezier(0.1,0.9,0.2,1)' ,
170
+ borderRadius : 0 ,
171
+ } ,
172
+ '&:focus-within::before' : {
173
+ transform : 'scaleX(1)' ,
174
+ } ,
175
+ } }
176
+ />
109
177
< List spacing = { 2 }
110
178
sx = { { display : { xs : "flex" , md : "none" } } } >
111
179
< RouterLink to = "/NeuraChatAi/" > < ListItemButton
0 commit comments