Skip to content

Commit

Permalink
Added mail subscription section component
Browse files Browse the repository at this point in the history
  • Loading branch information
Fer-Bar committed Feb 15, 2024
1 parent 4a94bae commit dabe82d
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
16 changes: 16 additions & 0 deletions pet/static/pet/css/mail_subscription.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
.section-subscribe {
padding: 5em 0;
}
.form-control {
outline: none;
-webkit-box-shadow: none !important;
box-shadow: none !important;
height: 50px;
}
.form-control:focus{
-webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
box-shadow: 0 3px 10px -2px rgba(0, 0, 0, 0.2) !important;
}
.form-control:focus, .form-control:active {
outline: none;
}
30 changes: 30 additions & 0 deletions pet/templates/pet/mail_subscription.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<section class="section-subscribe bg-light">
<div class="container">
<div class="row justify-content-center align-items-center">
<div class="col md-12 mb-4">
<h1 class="heading">
Get news &amp; updates
</h1>
</div>
<div class="col-md-12">
<form action="" method="POST">
<div class="row">
<div class="col-md-4 mb-4">
<input type="text" class="form-control" placeholder="Your Name here">
</div>

<div class="col-md-4 mb-4">
<input type="email" class="form-control" placeholder="Your email here">
</div>

<div class="col-md-4 mb-4">
<input type="submit" class="btn btn-secondary w-100" value="Subscribe">
</div>

</div>
</form>
</div>

</div>
</div>
</section>

0 comments on commit dabe82d

Please sign in to comment.