reformat code

This commit is contained in:
CHIEFSOFT\ameye
2025-08-31 07:36:10 -04:00
parent a9473debdb
commit 373c5427c2
+25 -22
View File
@@ -3,11 +3,11 @@ import BreadcrumbComBS from "../breadcrumb/BreadcrumbComBS";
import getImage from "../../utils/getImage";
export default function Settings(){
export default function Settings() {
const avtarImage = "avtar/merms-user.png";
return(
return (
<>
<BreadcrumbComBS title='Settings' paths={['Dashboard', 'Settings']} />
<BreadcrumbComBS title='Settings' paths={['Dashboard', 'Settings']}/>
{/*<div className="row">*/}
{/* <div className="vh-100 col-12 flex align-items-center">Coming Soon</div>*/}
{/*</div>*/}
@@ -16,7 +16,7 @@ export default function Settings(){
<div className="row account-contant">
<div className="col-12">
<div className="card card-statistics">
<div className="card-body p-0" style={{backgroundColor:"#f9f9fb"}}>
<div className="card-body p-0" style={{backgroundColor: "#f9f9fb"}}>
<div className="row no-gutters">
<div className="col-xl-3 pb-xl-0 pb-5 border-right">
<div className="page-account-profil pt-5">
@@ -30,11 +30,13 @@ export default function Settings(){
</div>
<div className="profile pt-4">
<h4 className="mb-1">Alice Williams</h4>
<div style={{padding: '10px'}}><hr /></div>
<div style={{padding: '10px'}}>
<hr/>
</div>
</div>
</div>
</div>
<div className="profile-btn text-center">
<div>
<button className="btn btn-light text-primary mb-2">Upload New Avatar
@@ -57,17 +59,17 @@ export default function Settings(){
<div className="form-group col-md-12">
<label htmlFor="name1">First Name</label>
<input type="text" className="form-control" id="name1"
value="Alice" />
value="Alice"/>
</div>
<div className="form-group col-md-12">
<label htmlFor="name1">Last Name</label>
<input type="text" className="form-control" id="name1"
value="Williams" />
value="Williams"/>
</div>
<div className="form-group col-md-12">
<label htmlFor="name1">Account Name</label>
<input type="text" className="form-control" id="name1"
value="This is the best hospital name" />
value="This is the best hospital name"/>
</div>
{/*<div className="form-group col-md-12">*/}
{/* <label htmlFor="title1">Email</label>*/}
@@ -77,23 +79,23 @@ export default function Settings(){
<div className="form-group col-md-12">
<label htmlFor="phone1">Phone Number</label>
<input type="text" className="form-control" id="phone1"
value="(01) 97 563 15613" />
value="(01) 97 563 15613"/>
</div>
<div className="form-group col-md-12">
<label htmlFor="email1">Email</label>
<input type="email" className="form-control" id="email1"
value="alicewilliams@gmail.com" />
value="alicewilliams@gmail.com"/>
</div>
</div>
<div className="form-group">
<label htmlFor="add1">Address</label>
<input type="text" className="form-control" id="add1"
value="17504 Carlton Cuevas Rd, Gulfport, MS, 39503" />
value="17504 Carlton Cuevas Rd, Gulfport, MS, 39503"/>
</div>
<div className="form-group">
<label htmlFor="add2">Address 2</label>
<input type="text" className="form-control" id="add2"
value="1234 North Avenue Luke Lane, South Bend, IN 360001" />
value="1234 North Avenue Luke Lane, South Bend, IN 360001"/>
</div>
{/*<div className="form-row">*/}
@@ -132,7 +134,7 @@ export default function Settings(){
{/* </label>*/}
{/* </div>*/}
{/*</div>*/}
<div style={{textAlign:"right"}}>
<div style={{textAlign: "right"}}>
<button type="submit" className="btn btn-primary">Update Profile
</button>
</div>
@@ -151,39 +153,40 @@ export default function Settings(){
<div className="form-group">
<label htmlFor="fb">Facebook URL:</label>
<input type="text" className="form-control" id="fb"
value="https://www.facebook.com/" />
value="https://www.facebook.com/"/>
</div>
<div className="form-group">
<label htmlFor="tr">Twitter URL:</label>
<input type="text" className="form-control" id="tr"
value="https://twitter.com/" />
value="https://twitter.com/"/>
</div>
<div className="form-group">
<label htmlFor="br">Blogger URL:</label>
<input type="text" className="form-control" id="br"
value="https://www.blogger.com" />
value="https://www.blogger.com"/>
</div>
<div className="form-group">
<label htmlFor="go">Google+ URL:</label>
<input type="text" className="form-control" id="go"
value="https://plus.google.com/discover" />
value="https://plus.google.com/discover"/>
</div>
<div className="form-group">
<label htmlFor="li">LinkedIn URL:</label>
<input type="text" className="form-control" id="li"
value="https://in.linkedin.com/" />
value="https://in.linkedin.com/"/>
</div>
<div className="form-group">
<label htmlFor="we">Website URL:</label>
<input type="text" className="form-control" id="we"
value="https://yourwebsite.com" />
value="https://yourwebsite.com"/>
</div>
<div style={{textAlign:"right"}}>
<button type="submit" className="btn btn-primary">Update Links</button>
<div style={{textAlign: "right"}}>
<button type="submit" className="btn btn-primary">Update Links
</button>
</div>
</form>