Second Commit

This commit is contained in:
2021-04-15 13:06:31 +05:30
parent 7f1d1f54e7
commit 129cd9cbcc
169 changed files with 11137 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
<header>
<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
</ol>
<div class="carousel-inner" role="listbox">
<!-- Slide One - Set the background image for this slide in the line below -->
<div class="carousel-item active" style="background-image: url(<%= asset_url('img1.jpg')%>)">
</div>
<!-- Slide Two - Set the background image for this slide in the line below -->
<div class="carousel-item" style="background-image: url(<%= asset_url('img2.jpg')%>)">
</div>
<!-- Slide Three - Set the background image for this slide in the line below -->
<div class="carousel-item" style="background-image: url(<%= asset_url('img3.jpg')%>)">
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</header>

View File

@@ -0,0 +1,40 @@
<h1 class="my-4">Welcome to Modern Library</h1>
<!-- Marketing Icons Section -->
<div class="row">
<%= render partial: 'books/book', collection: @books%>
</div>
<!-- Features Section -->
<div class="row">
<div class="col-lg-6">
<h2>Modern Library Features</h2>
<p>The Modern Library includes:</p>
<ul>
<li>
<strong>Easy Borrow</strong>
</li>
<li>1000000+ books</li>
<li>Premium service</li>
<li>Unlimited membership</li>
<li>One stop for all you need</li>
</ul>
<p>The modern library is a one stop solution for all the book lovers to borrow books with ease. This is world's first online library system haing millions of books at one place. So register tody and get its benifits</p>
</div>
<div class="col-lg-6">
<%= image_tag "img4.jpg", class: 'img-fluid rounded', alt: '' %>
</div>
</div>
<!-- /.row -->
<hr>
<!-- Call to Action Section -->
<div class="row mb-4">
<div class="col-md-8">
<p>Excited to see the full list of all available images? Click here and view millions of books available in our system.</p>
</div>
<div class="col-md-4">
<%= link_to 'View full list', books_path , class: 'btn btn-lg btn-primary btn-block' %>
</div>
</div>