Update | Project Ready

This commit is contained in:
Possible
2025-04-03 17:05:59 +01:00
commit c5aee9e2ec
176 changed files with 34486 additions and 0 deletions
@@ -0,0 +1,38 @@
import React from 'react'
import { DownloadIcon, UploadIcon } from 'Assets/svgs'
export const SidebarFoot = ( { onDownloadImage, onDownloadFile, fileRef, onUploadFile, onEstimateModalOpen } ) => {
return (
<div className={ `flex flex-col justify-end items-end m-auto h-fit z-50 w-full py-2 px-[20px] bg-white` }>
<button
onClick={ () => fileRef.current.click() }
className={ `text-[#000000] flex justify-start items-center gap-x-5 w-full h-[45px] rounded` }
>
<UploadIcon /> Upload File
<input ref={ fileRef } type="file" hidden onChangeCapture={ ( e ) => onUploadFile( e ) } accept={ `.dock` } />
</button>
<button
className={ `text-[#000000] flex justify-start items-center gap-x-5 w-full h-[45px] rounded` }
onClick={ onDownloadFile }
>
<DownloadIcon /> Download File
</button>
<button
className={ `text-[#000000] flex justify-start items-center gap-x-5 w-full h-[45px] rounded` }
onClick={ onDownloadImage }
>
<DownloadIcon /> Download Image
</button>
<button
className={ `text-white flex justify-center items-center w-full h-[35px] rounded bg-[#0F75BC]` }
onClick={ onEstimateModalOpen }
>
GET ESTIMATE
</button>
</div>
)
}
+1
View File
@@ -0,0 +1 @@
export { SidebarFoot } from './SidebarFoot'