Skip to content
Snippets Groups Projects
AGPLFooter.js 2.35 KiB
Newer Older
/*Copyright (C) 2019 Centro de Computacao Cientifica e Software Livre
Departamento de Informatica - Universidade Federal do Parana

This file is part of Plataforma Integrada MEC.

Plataforma Integrada MEC is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Plataforma Integrada MEC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with Plataforma Integrada MEC.  If not, see <http://www.gnu.org/licenses/>.*/

smr17's avatar
smr17 committed
import React, {Component} from 'react';
import {Row, Col, Container} from 'react-grid-system';
import { acessoInfo } from "ImportImages.js";
smr17's avatar
smr17 committed
const grayFooter={
  backgroundColor: "#434343",
  color: "white",
  textAlign: "center",
  display: "block",
  paddingTop: "20px",
  paddingBottom: "10px"
};
lfr20's avatar
lfr20 committed

const blackFooter={
  backgroundColor: "black",
  color: "white",
  textAlign: "center",
  display: "block",
  paddingTop: "20px",
  paddingBottom: "10px"
};

smr17's avatar
smr17 committed
class AGPLFooter extends Component{
  render(){
    return(
lfr20's avatar
lfr20 committed
      <div style={this.props.contrast === '' ? grayFooter : blackFooter}>
smr17's avatar
smr17 committed
        <Container>
          <Row justify="around">
            <Col md={1}>
              <img src={acessoInfo} height="40" alt="acesso a informação"/>
smr17's avatar
smr17 committed
            </Col>
            <Col md={8}>
              <p style={{fontSize: "12px", textAlign: "center"}}>
                As tecnologias da Plataforma Integrada possuem as licenças MIT(Frontend) e licença GNU/AGPL(Backend).
              </p>
            </Col>
          </Row>
        </Container>
        <br/>
        <Container>
          <Row>
            <Col  offset={{ md: 3 }} md={6}>
              <p style={{fontSize: "9px"}}>
                Esta versão da platarfoma funciona melhor nas últimas versões dos navegadores Chrome e Firefox.
                Para uma melhor experiência mantenha seus navegadores atualizados! Versão 1.02
              </p>
            </Col>
          </Row>
        </Container>
      </div>
    )
  }
}
export default AGPLFooter;