2022-04-04 17:51:07 +08:00
|
|
|
import SvgIcon from './SvgIcon'
|
|
|
|
|
|
|
|
const TitleBar = () => {
|
|
|
|
return (
|
2022-04-08 01:02:25 +08:00
|
|
|
<div className='app-region-drag flex h-8 w-screen items-center justify-between bg-gray-50'>
|
2022-04-04 17:51:07 +08:00
|
|
|
<div className='ml-2 text-sm text-gray-500'>YesPlayMusic</div>
|
|
|
|
<div className='flex h-full'>
|
2022-04-08 01:02:25 +08:00
|
|
|
<button className='app-region-no-drag flex w-[2.875rem] items-center justify-center hover:bg-[#e9e9e9]'>
|
2022-04-05 02:32:13 +08:00
|
|
|
<SvgIcon className='h-3 w-3' name='windows-minimize' />
|
2022-04-04 17:51:07 +08:00
|
|
|
</button>
|
2022-04-08 01:02:25 +08:00
|
|
|
<button className='app-region-no-drag flex w-[2.875rem] items-center justify-center hover:bg-[#e9e9e9]'>
|
2022-04-05 02:32:13 +08:00
|
|
|
<SvgIcon className='h-3 w-3' name='windows-maximize' />
|
2022-04-04 17:51:07 +08:00
|
|
|
</button>
|
2022-04-08 01:02:25 +08:00
|
|
|
<button className='app-region-no-drag flex w-[2.875rem] items-center justify-center hover:bg-[#c42b1c] hover:text-white'>
|
2022-04-04 17:51:07 +08:00
|
|
|
<SvgIcon className='h-3 w-3' name='windows-close' />
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
export default TitleBar
|