Finished basic view for this page
This commit is contained in:
		
							parent
							
								
									466c25a7c2
								
							
						
					
					
						commit
						8fdd6c0b1f
					
				
					 1 changed files with 11 additions and 7 deletions
				
			
		|  | @ -1,8 +1,17 @@ | |||
| import { useLocation } from "react-router-dom"; | ||||
| import BasicWindow from "../../Components/BasicWindow"; | ||||
| import Button from "../../Components/Button"; | ||||
| import BackButton from "../../Components/BackButton"; | ||||
| 
 | ||||
| function AdminViewUserInfo(): JSX.Element { | ||||
|   const content = <></>; | ||||
|   const content = ( | ||||
|     <> | ||||
|       <h1 className="font-bold text-[30px] mb-[20px]">{useLocation().state}</h1> | ||||
|       <div className="border-4 border-black bg-white flex flex-col items-center h-[65vh] w-[50vw] rounded-3xl content-center overflow-scroll space-y-[10vh] p-[30px]"> | ||||
|         <p>Put relevant info on user from database here</p> | ||||
|       </div> | ||||
|     </> | ||||
|   ); | ||||
| 
 | ||||
|   const buttons = ( | ||||
|     <> | ||||
|  | @ -12,12 +21,7 @@ function AdminViewUserInfo(): JSX.Element { | |||
|           return; | ||||
|         }} | ||||
|       /> | ||||
|       <Button | ||||
|         text="Back" | ||||
|         onClick={(): void => { | ||||
|           return; | ||||
|         }} | ||||
|       /> | ||||
|       <BackButton /> | ||||
|     </> | ||||
|   ); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Peter KW
						Peter KW