mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 21:30:24 +08:00
feat: refactor layout and fix footer CSS (#1370)
This commit is contained in:
@ -732,12 +732,12 @@ export function renderLogo(application) {
|
||||
if (application.homepageUrl !== "") {
|
||||
return (
|
||||
<a target="_blank" rel="noreferrer" href={application.homepageUrl}>
|
||||
<img width={250} src={application.logo} alt={application.displayName} style={{marginBottom: "10px"}} />
|
||||
<img className="panel-logo" width={250} src={application.logo} alt={application.displayName} />
|
||||
</a>
|
||||
);
|
||||
} else {
|
||||
return (
|
||||
<img width={250} src={application.logo} alt={application.displayName} style={{marginBottom: "10px"}} />
|
||||
<img className="panel-logo" width={250} src={application.logo} alt={application.displayName} />
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user