mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-08 17:10:27 +08:00
Add CustomFooter to Conf.js
This commit is contained in:
@ -651,7 +651,13 @@ class App extends Component {
|
|||||||
textAlign: "center",
|
textAlign: "center",
|
||||||
}
|
}
|
||||||
}>
|
}>
|
||||||
Powered by <a target="_blank" href="https://casdoor.org" rel="noreferrer"><img style={{paddingBottom: "3px"}} height={"20px"} alt={"Casdoor"} src={this.state.logo} /></a>
|
{
|
||||||
|
Conf.CustomFooter !== null ? Conf.CustomFooter : (
|
||||||
|
<React.Fragment>
|
||||||
|
Powered by <a target="_blank" href="https://casdoor.org" rel="noreferrer"><img style={{paddingBottom: "3px"}} height={"20px"} alt={"Casdoor"} src={this.state.logo} /></a>
|
||||||
|
</React.Fragment>
|
||||||
|
)
|
||||||
|
}
|
||||||
</Footer>
|
</Footer>
|
||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
);
|
);
|
||||||
|
@ -28,3 +28,5 @@ export const ThemeDefault = {
|
|||||||
borderRadius: 6,
|
borderRadius: 6,
|
||||||
isCompact: false,
|
isCompact: false,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export const CustomFooter = null;
|
||||||
|
Reference in New Issue
Block a user