11import React , { useEffect } from 'react' ;
22
33import useLocalStorage from 'react-use-localstorage' ;
4- import { MagnifyingGlassIcon , Cog6ToothIcon , ArrowUpRightIcon , MoonIcon , SunIcon , XMarkIcon , ChatBubbleLeftIcon } from '@heroicons/react/24/solid'
4+ import { MagnifyingGlassIcon ,
5+ Cog6ToothIcon ,
6+ ArrowUpRightIcon ,
7+ MoonIcon ,
8+ SunIcon ,
9+ XMarkIcon ,
10+ Bars3BottomLeftIcon ,
11+ RectangleGroupIcon ,
12+ FunnelIcon ,
13+ CircleStackIcon ,
14+ ChatBubbleLeftIcon } from '@heroicons/react/24/outline'
515
616interface Props {
717 handleChangeSettings : (
@@ -133,8 +143,21 @@ export default function TopNav(props: Props) {
133143 </ a >
134144 < div className = "modal" id = "modal-settings" >
135145 < div className = "modal-box" >
136- < h3 className = "font-bold text-lg" > Settings</ h3 >
137- < h4 className = "font-bold mt-10" > Sort By</ h4 >
146+ < div className = "modal-action float-right" >
147+ < a href = "#" className = "btn btn-sm btn-ghost" >
148+ < XMarkIcon className = "h-6 w-6" /> Close
149+ </ a >
150+ </ div >
151+ < h3 className = "font-bold text-lg mt-7" >
152+ < Cog6ToothIcon className = "inline-block h-6 w-6 mr-1" />
153+ Settings
154+ </ h3 >
155+ < hr />
156+ < h4 className = "font-bold mt-10" >
157+ < Bars3BottomLeftIcon className = "inline-block h-6 w-6 mr-1" />
158+ Sort By
159+ </ h4 >
160+ < hr />
138161 < div className = "form-control" >
139162 < label className = "label" >
140163
@@ -148,7 +171,12 @@ export default function TopNav(props: Props) {
148171 < span className = "label-text" > HTTP Methods</ span >
149172 </ label >
150173 </ div >
151- < h4 className = "font-bold mt-10" > Group By</ h4 >
174+ < h4 className = "font-bold mt-10" >
175+ < RectangleGroupIcon className = "inline-block h-6 w-6 mr-1" />
176+ Group By
177+ </ h4 >
178+ < hr />
179+ < hr />
152180 < div className = "form-control" >
153181 < label className = "label" >
154182
@@ -162,7 +190,11 @@ export default function TopNav(props: Props) {
162190 < span className = "label-text" > Controller Name</ span >
163191 </ label >
164192 </ div >
165- < h4 className = "font-bold mt-10" > Display Settings</ h4 >
193+ < h4 className = "font-bold mt-10" >
194+ < FunnelIcon className = "inline-block h-6 w-6 mr-1" />
195+ Filter Settings
196+ </ h4 >
197+ < hr />
166198 < div className = "form-control" >
167199 < label className = "label" >
168200 < span className = "label-text" > GET</ span >
@@ -189,7 +221,11 @@ export default function TopNav(props: Props) {
189221 < input type = "checkbox" onChange = { handleChangeHead } className = "toggle toggle-success" checked = { showHead == 'true' } />
190222 </ label >
191223 </ div >
192- < h4 className = "font-bold mt-10" > Storage</ h4 >
224+ < h4 className = "font-bold mt-10" >
225+ < CircleStackIcon className = "inline-block h-6 w-6 mr-1" />
226+ Storage
227+ </ h4 >
228+ < hr />
193229 < div className = "form-control" >
194230 < label className = "label" >
195231 < span className = "label-text" >
@@ -199,11 +235,11 @@ export default function TopNav(props: Props) {
199235 < button className = "btn btn-sm btn-error" onClick = { handleClearLocalStorage } > Clear</ button >
200236 </ label >
201237 </ div >
202- < div className = "modal-action" >
238+ { /* <div className="modal-action">
203239 <a href="#" className="btn btn-sm">
204240 <XMarkIcon className="h-6 w-6" /> Close
205241 </a>
206- </ div >
242+ </div> */ }
207243 </ div >
208244 </ div >
209245 </ div >
0 commit comments