forked from sujaykundu777/devlopr-jekyll
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hero.html
40 lines (37 loc) · 1.12 KB
/
hero.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<style>
/* change cover_img in config.yml */
.jumbotron {
background-color: var(--main-background-color) !important;
background-image: url('/assets/img/{{site.hero_cover_img}}');
text-align: center;
background-attachment: fixed;
background-size: cover;
background-position: center;
}
.jumbotron-btns {
display: block;
margin-top: 50px;
}
.jumbotron-heading, .lead {
color: #fff;
}
</style>
<!-- home hero section -->
<div class="jumbotron">
<img class="author-profile-img" src="{{site.url}}{{site.baseurl}}/assets/img/{{site.author_logo}}" />
<p class="jumbotron-heading">Hi, I am {{site.author}} !</p>
<p class="lead" id="typewriteText"></p>
<span>
{%- include github_star_button.html -%}
{%- include github_fork_button.html -%}
</span>
<!-- uncomment/modify buttons as you want-->
<div class="jumbotron-btns">
<a href="{{site.url}}{{site.baseurl}}/get-started">
<button class="btn btn-md btn-warning"> <strong>Get Started</strong> </button>
</a>
<a id="olvy-target">
<button class="btn btn-md btn-default"> <strong>What's New</strong> </button>
</a>
</div>
</div>