import React from 'react' ; import { Link } from 'react-router-dom' ; import { ToggleTheme } from '../../utils/ToggleThemeInterface' ; import Layout from '../../components/Layout' ; import Header from '../../components/Header' ; import Animation from '../../components/Animation' ; import * as S from './styles' ; const Home = ( { toggleTheme } ) => { return ( < Layout > < Header toggleTheme = { toggleTheme } / > < S . Title > < h1 > Seu buscador de vagas de tecnologia < /h1> < Link to = "/dashboard" > < S . IconLogin /> Encontrar vagas < /Link> < /S.Title> < S . Ilustration > < Animation /> < /S.Ilustration> < /Layout>); } ; export default Home ;