11import { type ReactElement } from 'react'
2- import { Box , Container , Avatar , IconButton , Link } from '@mui/material'
3- import FacebookIcon from '@mui/icons-material/Facebook'
4- import InstagramIcon from '@mui/icons-material/Instagram'
5- import XIcon from '@mui/icons-material/X'
6- import LinkedInIcon from '@mui/icons-material/LinkedIn'
7- import EmailIcon from '@mui/icons-material/Email'
8- import PatreonIcon from './PatreonIcon'
2+ import { Box , Container , Avatar } from '@mui/material'
93import NavBar from './NavBar' ;
4+ import Footer from './Footer' ;
5+ import Icons from './Icons' ;
106import logo from './assets/images/logo.png'
117
128const Home = ( ) : ReactElement => {
139 return (
14- < >
10+ < Box
11+ sx = { {
12+ display : 'flex' ,
13+ flexDirection : 'column' ,
14+ minHeight : '100vh' ,
15+ } }
16+ >
1517 < NavBar />
16- < Container sx = { { display : 'flex' , flexDirection : 'column' , alignItems : 'center' } } >
18+ < Container sx = { { display : 'flex' , flexDirection : 'column' , alignItems : 'center' , flex : 1 } } >
1719 < Box sx = { { display : 'flex' , justifyContent : 'center' , marginTop : '100px' , padding : 3 } } >
1820 < Avatar src = { logo } alt = "Logo WDT" sx = { { width : '100%' , height : '100%' , maxWidth : '500px' } } />
1921 </ Box >
20- < Box >
21- < IconButton component = { Link } href = "https://www.facebook.com/ColimaWebDevTalks" target = "_blank" >
22- < FacebookIcon fontSize = "large" />
23- </ IconButton >
24- < IconButton component = { Link } href = "https://www.instagram.com/webdevtalksmx" target = "_blank" >
25- < InstagramIcon fontSize = "large" />
26- </ IconButton >
27- < IconButton component = { Link } href = "https://twitter.com/webdevtalksmx" target = "_blank" >
28- < XIcon fontSize = "large" />
29- </ IconButton >
30- < IconButton component = { Link } href = "https://www.linkedin.com/company/web-dev-talks" target = "_blank" >
31- < LinkedInIcon fontSize = "large" />
32- </ IconButton >
33- < IconButton component = { Link } href = "https://patreon.com/WebDevTalksColima" target = "_blank" >
34- < PatreonIcon />
35- </ IconButton >
36- < IconButton component = { Link } href = "mailto:contacto@webdevtalks.mx" target = "_blank" >
37- < EmailIcon fontSize = "large" />
38- </ IconButton >
39- </ Box >
22+ < Icons color = { "#8d8d8d" } />
4023 </ Container >
41- </ >
42- )
24+ < Footer />
25+ </ Box >
26+ ) as ReactElement ;
4327}
4428
4529export default Home
0 commit comments