Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
aliccanti committed Oct 5, 2020
1 parent 4fe2dea commit 6d41c96
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import './App.css';
import Footer from './components/Footer';
import Header from './components/Header';

import Routes from './routes';

import { BrowserRouter, Switch, Route } from 'react-router-dom';
import Home from './Pages/Home';
Expand Down
3 changes: 1 addition & 2 deletions src/components/Footer/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from 'react'
import { AiFillGithub, AiFillInstagram, AiFillLinkedin } from "react-icons/ai";
import React from 'react';
import "../Footer/style.css";
import Logo from "../../assets/nova-logo.svg";
import imageConnetions from "../../assets/conects-woman.svg";
Expand Down
3 changes: 2 additions & 1 deletion src/components/InternetPage/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ const InternetPage = () => {
</section>

<section className="internet-video">
<iframe
<iframe
title="Como a internet funciona"
width="100%"
height="300"
src="https://www.youtube.com/embed/HNQD0qJ0TC4?list=PLQq8-9yVHyOYMFAc9v7Yb_cqmNMksEdrk"
Expand Down
6 changes: 3 additions & 3 deletions src/components/Slide/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const Slide = () => {
{dados && (
<>
<div className="slide-image">
<img className="img-dados" src={dados[page].endereco} />
<img className="img-dados" src={dados[page].endereco} alt="dados relacionados"/>
</div>

<div className="slide-text">
Expand All @@ -66,8 +66,8 @@ const Slide = () => {
</div>

<div className="container-btn">
<button className="btn" onClick={() => volta(page)}><img src={leftArrow} className="image-arrow" /></button>
<button className="btn" onClick={() => avançar(page)}><img src={rightArrow} className="image-arrow" /></button>
<button className="btn" onClick={() => volta(page)}><img src={leftArrow} className="image-arrow" alt="voltar"/></button>
<button className="btn" onClick={() => avançar(page)}><img src={rightArrow} className="image-arrow" alt="avançar"/></button>
</div>
</section>
)
Expand Down

0 comments on commit 6d41c96

Please sign in to comment.