-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
effe37c
commit 9911273
Showing
3 changed files
with
86 additions
and
0 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
project/resources/views/frontend/sections/service.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<section class="crypto-section pt-100 pb-50"> | ||
<div class="container"> | ||
<div class="section-header"> | ||
<h6 class="section-header__subtitle">@lang(@$section->content->title)</h6> | ||
<h3 class="section-header__title">@lang(@$section->content->heading)</h3> | ||
</div> | ||
@if (!empty($section->sub_content)) | ||
<div class="row g-4 justify-content-center"> | ||
@foreach ($section->sub_content as $item) | ||
<div class="col-lg-4 col-sm-6"> | ||
<div class="crp__item"> | ||
<a href="#0" class="crp--link"> </a> | ||
<div class="crp__item-icon"> | ||
<i class="{{@$item->icon}}"></i> | ||
</div> | ||
<div class="crp__item-cont"> | ||
<h5 class="crp__item-cont-title">@lang(@$item->title)</h5> | ||
<p> | ||
@lang(@$item->details) | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
@endforeach | ||
</div> | ||
@endif | ||
|
||
</div> | ||
</section> |
13 changes: 13 additions & 0 deletions
13
project/resources/views/frontend/sections/sponsor.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
@if (!empty($section->sub_content)) | ||
<section class="partner-section pb-100 bg--section"> | ||
<div class="container"> | ||
<div class="partner-slider owl-theme owl-carousel"> | ||
@foreach ($section->sub_content as $item) | ||
<div class="partner-item border"> | ||
<img src="{{getPhoto($item->image)}}" alt="brand"> | ||
</div> | ||
@endforeach | ||
</div> | ||
</div> | ||
</section> | ||
@endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<script src="https://checkout.razorpay.com/v1/checkout.js"></script> | ||
<form name='razorpayform' action="{{ $notify_url }}" method="POST"> | ||
<input type="hidden" name="razorpay_payment_id" id="razorpay_payment_id"> | ||
<input type="hidden" name="razorpay_signature" id="razorpay_signature" > | ||
</form> | ||
<script> | ||
// Checkout details as a json | ||
var options = {!!$json!!}; | ||
/** | ||
* The entire list of Checkout fields is available at | ||
* https://docs.razorpay.com/docs/checkout-form#checkout-fields | ||
*/ | ||
options.handler = function (response){ | ||
document.getElementById('razorpay_payment_id').value = response.razorpay_payment_id; | ||
document.getElementById('razorpay_signature').value = response.razorpay_signature; | ||
document.razorpayform.submit(); | ||
}; | ||
// Boolean whether to show image inside a white frame. (default: true) | ||
options.theme.image_padding = false; | ||
options.modal = { | ||
ondismiss: function() { | ||
window.location.assign("{{ url()->previous() }}"); | ||
}, | ||
// Boolean indicating whether pressing escape key | ||
// should close the checkout form. (default: true) | ||
escape: true, | ||
// Boolean indicating whether clicking translucent blank | ||
// space outside checkout form should close the form. (default: false) | ||
backdropclose: false | ||
}; | ||
var rzp = new Razorpay(options); | ||
//document.getElementById('rzp-button1').onclick = function(e){ | ||
rzp.open(); | ||
// e.preventDefault(); | ||
//} | ||
</script> |