@@ -75,46 +75,40 @@ const LoadUnload = () => {
7575 } ;
7676
7777 return (
78- < div className = "flex flex-wrap gap-4 mb-2 justify-center" >
79- < div className = "inline-flex flex-row items-center gap-2" >
80- < h2 className = "text-[1.2rem] text-white" > Load Data</ h2 >
81- < label className = "p-2 text-white bg-[deepskyblue] rounded cursor-pointer" >
82- < FaCloudUploadAlt className = "text-[1.2rem] text-white" />
83- < input
84- aria-label = "Load Data"
85- type = "file"
86- className = "hidden"
87- onChange = { handleLoad }
88- accept = ".json"
89- />
90- </ label >
91- </ div >
92- < div className = "inline-flex flex-row items-center gap-2" >
93- < h2 className = "text-[1.2rem] text-white" > Save Data</ h2 >
94- < button
95- aria-label = "Save Data"
96- className = "p-2 text-white bg-[deepskyblue] rounded"
97- onClick = { ( event ) =>
98- handleDownload (
99- resumeData ,
100- generateFilename ( ) ,
101- event
102- )
103- }
104- >
105- < FaCloudDownloadAlt className = "text-[1.2rem] text-white" />
106- </ button >
107- </ div >
108- < div className = "inline-flex flex-row items-center gap-2" >
109- < h2 className = "text-[1.2rem] text-white" > PDF</ h2 >
110- < button
111- aria-label = "Download PDF"
112- className = "p-2 text-white bg-[deepskyblue] rounded"
113- onClick = { handlePrint }
114- >
115- < MdPictureAsPdf className = "text-[1.2rem] text-white" />
116- </ button >
117- </ div >
78+ < div className = "flex flex-wrap gap-3 mb-2 justify-center" >
79+ < label className = "inline-flex items-center gap-2 px-4 py-2 text-white bg-[deepskyblue] rounded cursor-pointer hover:bg-[#00a0e3] transition-colors" >
80+ < FaCloudUploadAlt className = "text-[1.2rem]" />
81+ < span className = "text-[1rem] font-medium" > Load Data</ span >
82+ < input
83+ aria-label = "Load Data"
84+ type = "file"
85+ className = "hidden"
86+ onChange = { handleLoad }
87+ accept = ".json"
88+ />
89+ </ label >
90+ < button
91+ aria-label = "Save Data"
92+ className = "inline-flex items-center gap-2 px-4 py-2 text-white bg-[deepskyblue] rounded hover:bg-[#00a0e3] transition-colors"
93+ onClick = { ( event ) =>
94+ handleDownload (
95+ resumeData ,
96+ generateFilename ( ) ,
97+ event
98+ )
99+ }
100+ >
101+ < FaCloudDownloadAlt className = "text-[1.2rem]" />
102+ < span className = "text-[1rem] font-medium" > Save Data</ span >
103+ </ button >
104+ < button
105+ aria-label = "Download PDF"
106+ className = "inline-flex items-center gap-2 px-4 py-2 text-white bg-[deepskyblue] rounded hover:bg-[#00a0e3] transition-colors"
107+ onClick = { handlePrint }
108+ >
109+ < MdPictureAsPdf className = "text-[1.2rem]" />
110+ < span className = "text-[1rem] font-medium" > Download PDF</ span >
111+ </ button >
118112 </ div >
119113 ) ;
120114} ;
0 commit comments