Skip to content

Commit 4087b09

Browse files
committed
added
1 parent f0e4007 commit 4087b09

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

src/Components/Herocontent.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,21 @@ class Herocontent extends React.Component {
77
<div className="main thememain-blue">
88
<div className="container main">
99
<div className="col-12">
10-
<h2 className="theme-text">The Modern ReactJS Tutorial</h2>
10+
<h1 className="theme-text">The Modern ReactJS Tutorial</h1>
1111
<p className="theme-text" >How it's done now. From the basics to advanced topics with simple, but detailed explanations.
1212
<a className="button button--big" href="#">Download for Linux</a>
1313
</p>
14+
<div className="theme-text" >
15+
<a className="button button--big" href="#">View on github</a>
16+
<a className="button button--big" href="#">twitter</a>
17+
<a className="button button--big" href="#">fb</a>
18+
</div>
19+
<div className="">
20+
<form className="theme-search form-inline my-2 my-lg-0 theme-text">
21+
<input className=" theme-search-input form-control mr-sm-2" type="search" placeholder="Search"></input>
22+
<button className="theme-search-btn btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
23+
</form>
24+
</div>
1425
</div>
1526
</div>
1627
</div>

src/style.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,20 @@
2727
/*padding-top: 10px;*/
2828
font-size: 16px;
2929
line-height: 1.5;
30+
}
31+
32+
.theme-search{
33+
display: block !important;
34+
margin-top: 10px;
35+
text-align:center;
36+
}
37+
38+
.theme-search-input{
39+
width: 60% !important;
40+
margin-top: 10px;
41+
}
42+
43+
.theme-search-btn{
44+
width: 14% !important;
45+
margin-top: 10px !important;
3046
}

0 commit comments

Comments
 (0)