Add CustomFooter to Conf.js

This commit is contained in:
Yang Luo
2023-05-15 16:49:45 +08:00
parent c6675ee4e6
commit 73b9d73f64
2 changed files with 9 additions and 1 deletions

View File

@ -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>
); );

View File

@ -28,3 +28,5 @@ export const ThemeDefault = {
borderRadius: 6, borderRadius: 6,
isCompact: false, isCompact: false,
}; };
export const CustomFooter = null;