Skip to content

Commit

Permalink
view frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkHorseCorder committed Dec 29, 2022
1 parent 5be5ff9 commit 9f8c8fe
Show file tree
Hide file tree
Showing 3 changed files with 125 additions and 0 deletions.
43 changes: 43 additions & 0 deletions project/resources/views/frontend/sections/faq.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<section class="faq-section pt-100 pb-100">
<div class="container">
<div class="row">
<div class="col-lg-5">
<div class="section-header mb-lg-0">
<h6 class="section-header__subtitle">@lang(@$section->content->title)</h6>
<h3 class="section-header__title">@lang(@$section->content->heading)</h3>
<p>
@lang(@$section->content->sub_heading)
</p>
<a href="{{url(@$section->content->btn_url)}}" class="cmn--btn">
@lang(@$section->content->btn_name)
<span class="round-effect">
<i class="fas fa-long-arrow-alt-right"></i>
</span>
</a>
</div>
</div>
<div class="col-lg-7">
@if(!empty($section->sub_content))
<div class="accordion-wrapper">
@foreach($section->sub_content as $key => $item)
@if ($key < 5)
<div class="accordion-item {{$loop->first ? 'open active':''}}">
<div class="accordion-title">
<h5 class="title">
{{__(@$item->question)}}
</h5>
<span class="right-icon"></span>
</div>
<div class="accordion-content">
{{__(@$item->answer)}}
</div>
</div>
@endif
@endforeach

</div>
@endif
</div>
</div>
</div>
</section>
28 changes: 28 additions & 0 deletions project/resources/views/frontend/sections/how.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<section class="how-to-get-started-section pt-100 pb-100">
<div class="container">
<div class="section-header text-center">
<h6 class="section-header__subtitle">@lang(@$section->content->title)</h6>
<h3 class="section-header__title">@lang(@$section->content->heading)</h3>
<p>
@lang(@$section->content->sub_heading)
</p>
</div>
@if (!empty($section->sub_content))
<div class="how--wrapper">
@foreach (@$section->sub_content as $item)
<div class="how__item">
<div class="how__item-icon">
<i class="{{@$item->icon}}"></i>
</div>
<div class="how__item-cont">
<h5 class="title">@lang(@$item->title)</h5>
<p>
@lang(@$item->details)
</p>
</div>
</div>
@endforeach
</div>
@endif
</div>
</section>
54 changes: 54 additions & 0 deletions project/resources/views/user/auth/forgot_password.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
@extends('layouts.auth')

@section('title')
@langg('Reset Password')
@endsection

@php
$login = App\Models\SiteContent::where('slug','login')->first();
@endphp

@section('content')

<section class="accounts-section">
<div class="accounts-inner">
<div class="accounts-inner__wrapper bg--section">
<div class="accounts-left">
<div class="accounts-left-content">
<a href="{{url('/')}}" class="top--icon">
<i class="fas fa-bolt"></i>
</a>
<div class="section-header">
<h6 class="section-header__subtitle"></h6>
<h3 class="section-header__title">@langg('Forgot Password')</h3>
<p>
@langg('Enter your Email address we have on file and a Verification code will be sent.')
</p>
</div>
<form class="row gy-4" action="" method="post">
@csrf
<div class="col-sm-12 form-group">
<label class="form--label" for="email">@langg('Email Address')</label>
<input type="email" name="email" class="form-control" id="email" placeholder="@langg('')" value="{{old('Enter Email Address we have on file')}}" required>
</div>
<div class="col-sm-12">
<button type="submit" class="cmn--btn">@langg('Send verification code')</button>
</div>

</form>
</div>
</div>
<div class="accounts-right bg--blue">
<img src="{{getPhoto($login->content->image)}}" alt="images">
<div class="section-header text-center text-white mb-0">
<h6 class="section-header__subtitle"></h6>
<h3 class="section-header__title">@langg('Forgot Password ?')</h3>
<p>
@langg('Put your email which you have used to register your account.')
</p>
</div>
</div>
</div>
</div>
</section>
@endsection

0 comments on commit 9f8c8fe

Please sign in to comment.