mirror of
https://gitee.com/dcren/cloud-native-app-initializer.git
synced 2026-08-25 19:06:31 +08:00
Project initial
This commit is contained in:
44
initializer-page/src/components/common/layout/Footer.js
Normal file
44
initializer-page/src/components/common/layout/Footer.js
Normal file
@@ -0,0 +1,44 @@
|
||||
import PropTypes from 'prop-types'
|
||||
import React from 'react'
|
||||
|
||||
const Footer = ({ children }) => (
|
||||
<div className='sticky'>
|
||||
<div className='colset colset-submit'>
|
||||
<div className='left nopadding'>
|
||||
<footer className='footer'>
|
||||
<div className='footer-container'>
|
||||
© 1999-{new Date().getFullYear()} Aliyun.com
|
||||
<br />
|
||||
start.aliyun.com is powered by
|
||||
<br />
|
||||
<span>
|
||||
<a
|
||||
tabIndex='-1'
|
||||
target='_blank'
|
||||
rel='noopener noreferrer'
|
||||
href='https://www.aliyun.com'
|
||||
>
|
||||
Aliyun.com
|
||||
</a>
|
||||
</span>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
{children && (
|
||||
<div className='right nopadding'>
|
||||
<div className='submit'>{children}</div>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
|
||||
Footer.defaultProps = {
|
||||
children: null,
|
||||
}
|
||||
|
||||
Footer.propTypes = {
|
||||
children: PropTypes.node,
|
||||
}
|
||||
|
||||
export default Footer
|
||||
Reference in New Issue
Block a user