You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: frontend/src/pages/Home.js
+48-13Lines changed: 48 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -2,14 +2,19 @@ import React from 'react'
2
2
importRowfrom'react-bootstrap/Row'
3
3
importColfrom'react-bootstrap/Col'
4
4
importContainerfrom'react-bootstrap/Container'
5
+
importCardfrom'react-bootstrap/Card'
5
6
import*asFaIconsfrom"react-icons/fa";
6
-
importJumbotronfrom'react-bootstrap/Jumbotron'
7
+
// import Jumbotron from 'react-bootstrap/Jumbotron'
8
+
importTabfrom'react-bootstrap/Tab'
9
+
importNavfrom'react-bootstrap/Nav'
10
+
importHomeTrendfrom'../components/HomeTrend'
7
11
8
12
functionHome(){
9
13
10
-
constcustomJumbotronStyle={
14
+
consthomeCard={
11
15
marginTop: '1rem',
12
-
borderRadius: '1.5rem'
16
+
borderRadius: '1rem',
17
+
backgroundColor: 'rgba(0,0,0,.03)'
13
18
};
14
19
15
20
return(
@@ -19,18 +24,48 @@ function Home() {
19
24
20
25
</Col>
21
26
<Colxs={10}md={8}>
22
-
<Jumbotronfluidstyle={customJumbotronStyle}>
23
-
<Container>
24
-
<h2>El Analizador de Tópicos de redes Sociales</h2>
25
-
<pstyle={{textAlign:'justify'}}>
26
-
<FaIcons.FaRegCommentstyle={{marginRight: '0.5rem'}}/> Esta aplicación le permitirá realizar búsquedas sobre redes sociales, para saber si se está hablando bien o mal sobre una palabra buscada, mostrando estadísticas relacionadas a la misma a través del tiempo.
27
-
</p>
28
-
</Container>
29
-
</Jumbotron>
30
-
27
+
<Card
28
+
style={homeCard}
29
+
className="mb-2"
30
+
>
31
+
<Card.Body>
32
+
<Card.Title><h3>El Analizador de Tópicos de Redes Sociales</h3></Card.Title>
33
+
<Card.Textstyle={{textAlign:'justify'}}>
34
+
<FaIcons.FaRegCommentstyle={{marginRight: '0.5rem'}}/> Esta aplicación le permitirá realizar búsquedas sobre redes sociales, para saber si se está hablando bien o mal sobre una palabra buscada, mostrando estadísticas relacionadas a la misma a través del tiempo.
35
+
</Card.Text>
36
+
</Card.Body>
37
+
</Card>
38
+
<Cardstyle={homeCard}>
39
+
<Card.Headerstyle={{color: '#005C72'}}><FaIcons.FaBoltstyle={{marginRight: '0.5rem'}}/><strong>Tendencias y Opiniones</strong></Card.Header>
0 commit comments