Skip to content
Snippets Groups Projects
Commit b336a60c authored by Lucas Eduardo Schoenfelder's avatar Lucas Eduardo Schoenfelder
Browse files

changed anchor tags to link to fix routing issue

parent 80f3b521
No related branches found
No related tags found
3 merge requests!57Merge of develop into master,!56Fixed buttons reportar, seguir, compartilhar, guardar and entrar (in comments...,!39Update admin system
...@@ -20,6 +20,7 @@ import React, {Component} from 'react'; ...@@ -20,6 +20,7 @@ import React, {Component} from 'react';
import {Row, Col, Container} from 'react-grid-system'; import {Row, Col, Container} from 'react-grid-system';
import eduConectada from '../img/educa-conectada.png'; import eduConectada from '../img/educa-conectada.png';
import styled from 'styled-components'; import styled from 'styled-components';
import {Link} from 'react-router-dom'
const blueFooter={ const blueFooter={
backgroundColor: "#00bcd4", backgroundColor: "#00bcd4",
...@@ -35,7 +36,7 @@ const listStyle={ ...@@ -35,7 +36,7 @@ const listStyle={
padding: "0", padding: "0",
lineHeight: "1.6", lineHeight: "1.6",
} }
const WhiteLink = styled.a` const WhiteLink = styled(Link)`
text-decoration: none; text-decoration: none;
color: white; color: white;
` `
...@@ -49,20 +50,20 @@ class EcFooter extends Component{ ...@@ -49,20 +50,20 @@ class EcFooter extends Component{
<Col md={4} sm={5} xs={5}> <Col md={4} sm={5} xs={5}>
<h4>Sobre</h4> <h4>Sobre</h4>
<ul style={listStyle}> <ul style={listStyle}>
<li> <WhiteLink href="sobre">Sobre a Plataforma</WhiteLink> </li> <li> <WhiteLink to="/sobre">Sobre a Plataforma</WhiteLink> </li>
<li> <WhiteLink href="sobre#portaisparceiros">Portais Parceiros</WhiteLink> </li> <li> <WhiteLink to="/sobre#portaisparceiros">Portais Parceiros</WhiteLink> </li>
<li> <WhiteLink href="termos">Termos de Uso</WhiteLink> </li> <li> <WhiteLink to="/termos">Termos de Uso</WhiteLink> </li>
<li> <WhiteLink href="contato">Contato</WhiteLink> </li> <li> <WhiteLink to="/contato">Contato</WhiteLink> </li>
</ul> </ul>
</Col> </Col>
<Col md={4} sm={5} xs={5}> <Col md={4} sm={5} xs={5}>
<h4>Ajuda</h4> <h4>Ajuda</h4>
<ul style={listStyle}> <ul style={listStyle}>
<li> <WhiteLink href="ajuda">Central de Ajuda</WhiteLink> </li> <li> <WhiteLink to="/ajuda">Central de Ajuda</WhiteLink> </li>
<li> <WhiteLink href="publicando-recurso">Publicando Recursos</WhiteLink> </li> <li> <WhiteLink to="/publicando-recurso">Publicando Recursos</WhiteLink> </li>
<li> <WhiteLink href="encontrando-recurso">Encontrando Recursos</WhiteLink> </li> <li> <WhiteLink to="/encontrando-recurso">Encontrando Recursos</WhiteLink> </li>
<li> <WhiteLink href="participando-da-rede">Participando da Rede</WhiteLink> </li> <li> <WhiteLink to="/participando-da-rede">Participando da Rede</WhiteLink> </li>
<li> <WhiteLink href="gerenciando-conta">Gerenciando a Conta</WhiteLink> </li> <li> <WhiteLink to="/gerenciando-conta">Gerenciando a Conta</WhiteLink> </li>
</ul> </ul>
</Col> </Col>
<Col md={4} sm={12} xs={12}> <Col md={4} sm={12} xs={12}>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment