Migration vers react/react-router
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { FunctionalComponent, h } from "preact";
|
||||
import React, { FunctionComponent } from "react";
|
||||
import style from "./style.module.css";
|
||||
|
||||
declare var __BUILD__: any;
|
||||
@ -7,16 +7,15 @@ export interface FooterProps {
|
||||
class?: string
|
||||
}
|
||||
|
||||
const Footer: FunctionalComponent<FooterProps> = ({ ...props}) => {
|
||||
console.log(__BUILD__)
|
||||
const Footer: FunctionComponent<FooterProps> = ({ ...props}) => {
|
||||
return (
|
||||
<div class={`container ${style.footer} ${props.class ? props.class : ''}`}>
|
||||
<div class="columns">
|
||||
<div class="column is-4 is-offset-8">
|
||||
<p class="has-text-right is-size-7">
|
||||
Propulsé par <a class="has-text-primary" href="https://forge.cadoles.com/wpetit/guesstimate">Guesstimate</a> et publié sous licence <a class="has-text-primary" href="https://www.gnu.org/licenses/agpl-3.0.txt">AGPL-3.0</a>.
|
||||
<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>.
|
||||
</p>
|
||||
<p class="has-text-right is-size-7">
|
||||
<p className="has-text-right is-size-7">
|
||||
Version: {__BUILD__.version} -
|
||||
Réf.: {__BUILD__.gitRef ? __BUILD__.gitRef : '??'} -
|
||||
Date de construction: {__BUILD__.buildDate ? __BUILD__.buildDate : '??'}
|
||||
|
Reference in New Issue
Block a user