guesstimate/client/src/components/footer/index.tsx

30 lines
1.0 KiB
TypeScript
Raw Normal View History

2020-07-09 13:00:42 +02:00
import React, { FunctionComponent } from "react";
2020-05-09 17:34:29 +02:00
import style from "./style.module.css";
declare var __BUILD__: any;
export interface FooterProps {
class?: string
}
2020-07-09 13:00:42 +02:00
const Footer: FunctionComponent<FooterProps> = ({ ...props}) => {
2020-05-09 17:34:29 +02:00
return (
2020-07-09 13:00:42 +02:00
<div className={`container ${style.footer} ${props.class ? props.class : ''}`}>
<div className="columns">
<div className="column is-4 is-offset-8">
<p className="has-text-right is-size-7">
Propulsé par <a className="has-text-primary" href="https://forge.cadoles.com/wpetit/guesstimate">Guesstimate</a> et publié sous licence <a className="has-text-primary" href="https://www.gnu.org/licenses/agpl-3.0.txt">AGPL-3.0</a>.
2020-05-09 17:34:29 +02:00
</p>
2020-07-09 13:00:42 +02:00
<p className="has-text-right is-size-7">
2020-05-09 17:34:29 +02:00
Version: {__BUILD__.version} -
Réf.: {__BUILD__.gitRef ? __BUILD__.gitRef : '??'} -
Date de construction: {__BUILD__.buildDate ? __BUILD__.buildDate : '??'}
</p>
</div>
</div>
</div>
);
};
export default Footer;