commit pertama
|
@ -0,0 +1,18 @@
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
end_of_line = lf
|
||||||
|
indent_size = 4
|
||||||
|
indent_style = space
|
||||||
|
insert_final_newline = true
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
[*.md]
|
||||||
|
trim_trailing_whitespace = false
|
||||||
|
|
||||||
|
[*.{yml,yaml}]
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
|
[docker-compose.yml]
|
||||||
|
indent_size = 4
|
|
@ -0,0 +1,59 @@
|
||||||
|
APP_NAME=Laravel
|
||||||
|
APP_ENV=local
|
||||||
|
APP_KEY=
|
||||||
|
APP_DEBUG=true
|
||||||
|
APP_URL=http://localhost
|
||||||
|
|
||||||
|
LOG_CHANNEL=stack
|
||||||
|
LOG_DEPRECATIONS_CHANNEL=null
|
||||||
|
LOG_LEVEL=debug
|
||||||
|
|
||||||
|
DB_CONNECTION=mysql
|
||||||
|
DB_HOST=127.0.0.1
|
||||||
|
DB_PORT=3306
|
||||||
|
DB_DATABASE=laravel
|
||||||
|
DB_USERNAME=root
|
||||||
|
DB_PASSWORD=
|
||||||
|
|
||||||
|
BROADCAST_DRIVER=log
|
||||||
|
CACHE_DRIVER=file
|
||||||
|
FILESYSTEM_DISK=local
|
||||||
|
QUEUE_CONNECTION=sync
|
||||||
|
SESSION_DRIVER=file
|
||||||
|
SESSION_LIFETIME=120
|
||||||
|
|
||||||
|
MEMCACHED_HOST=127.0.0.1
|
||||||
|
|
||||||
|
REDIS_HOST=127.0.0.1
|
||||||
|
REDIS_PASSWORD=null
|
||||||
|
REDIS_PORT=6379
|
||||||
|
|
||||||
|
MAIL_MAILER=smtp
|
||||||
|
MAIL_HOST=mailpit
|
||||||
|
MAIL_PORT=1025
|
||||||
|
MAIL_USERNAME=null
|
||||||
|
MAIL_PASSWORD=null
|
||||||
|
MAIL_ENCRYPTION=null
|
||||||
|
MAIL_FROM_ADDRESS="hello@example.com"
|
||||||
|
MAIL_FROM_NAME="${APP_NAME}"
|
||||||
|
|
||||||
|
AWS_ACCESS_KEY_ID=
|
||||||
|
AWS_SECRET_ACCESS_KEY=
|
||||||
|
AWS_DEFAULT_REGION=us-east-1
|
||||||
|
AWS_BUCKET=
|
||||||
|
AWS_USE_PATH_STYLE_ENDPOINT=false
|
||||||
|
|
||||||
|
PUSHER_APP_ID=
|
||||||
|
PUSHER_APP_KEY=
|
||||||
|
PUSHER_APP_SECRET=
|
||||||
|
PUSHER_HOST=
|
||||||
|
PUSHER_PORT=443
|
||||||
|
PUSHER_SCHEME=https
|
||||||
|
PUSHER_APP_CLUSTER=mt1
|
||||||
|
|
||||||
|
VITE_APP_NAME="${APP_NAME}"
|
||||||
|
VITE_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
|
||||||
|
VITE_PUSHER_HOST="${PUSHER_HOST}"
|
||||||
|
VITE_PUSHER_PORT="${PUSHER_PORT}"
|
||||||
|
VITE_PUSHER_SCHEME="${PUSHER_SCHEME}"
|
||||||
|
VITE_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
|
|
@ -0,0 +1,11 @@
|
||||||
|
* text=auto eol=lf
|
||||||
|
|
||||||
|
*.blade.php diff=html
|
||||||
|
*.css diff=css
|
||||||
|
*.html diff=html
|
||||||
|
*.md diff=markdown
|
||||||
|
*.php diff=php
|
||||||
|
|
||||||
|
/.github export-ignore
|
||||||
|
CHANGELOG.md export-ignore
|
||||||
|
.styleci.yml export-ignore
|
|
@ -0,0 +1,19 @@
|
||||||
|
/.phpunit.cache
|
||||||
|
/node_modules
|
||||||
|
/public/build
|
||||||
|
/public/hot
|
||||||
|
/public/storage
|
||||||
|
/storage/*.key
|
||||||
|
/vendor
|
||||||
|
.env
|
||||||
|
.env.backup
|
||||||
|
.env.production
|
||||||
|
.phpunit.result.cache
|
||||||
|
Homestead.json
|
||||||
|
Homestead.yaml
|
||||||
|
auth.json
|
||||||
|
npm-debug.log
|
||||||
|
yarn-error.log
|
||||||
|
/.fleet
|
||||||
|
/.idea
|
||||||
|
/.vscode
|
|
@ -0,0 +1,66 @@
|
||||||
|
<p align="center"><a href="https://laravel.com" target="_blank"><img src="https://raw.githubusercontent.com/laravel/art/master/logo-lockup/5%20SVG/2%20CMYK/1%20Full%20Color/laravel-logolockup-cmyk-red.svg" width="400" alt="Laravel Logo"></a></p>
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<a href="https://github.com/laravel/framework/actions"><img src="https://github.com/laravel/framework/workflows/tests/badge.svg" alt="Build Status"></a>
|
||||||
|
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/dt/laravel/framework" alt="Total Downloads"></a>
|
||||||
|
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/v/laravel/framework" alt="Latest Stable Version"></a>
|
||||||
|
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/l/laravel/framework" alt="License"></a>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
## About Laravel
|
||||||
|
|
||||||
|
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:
|
||||||
|
|
||||||
|
- [Simple, fast routing engine](https://laravel.com/docs/routing).
|
||||||
|
- [Powerful dependency injection container](https://laravel.com/docs/container).
|
||||||
|
- Multiple back-ends for [session](https://laravel.com/docs/session) and [cache](https://laravel.com/docs/cache) storage.
|
||||||
|
- Expressive, intuitive [database ORM](https://laravel.com/docs/eloquent).
|
||||||
|
- Database agnostic [schema migrations](https://laravel.com/docs/migrations).
|
||||||
|
- [Robust background job processing](https://laravel.com/docs/queues).
|
||||||
|
- [Real-time event broadcasting](https://laravel.com/docs/broadcasting).
|
||||||
|
|
||||||
|
Laravel is accessible, powerful, and provides tools required for large, robust applications.
|
||||||
|
|
||||||
|
## Learning Laravel
|
||||||
|
|
||||||
|
Laravel has the most extensive and thorough [documentation](https://laravel.com/docs) and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.
|
||||||
|
|
||||||
|
You may also try the [Laravel Bootcamp](https://bootcamp.laravel.com), where you will be guided through building a modern Laravel application from scratch.
|
||||||
|
|
||||||
|
If you don't feel like reading, [Laracasts](https://laracasts.com) can help. Laracasts contains thousands of video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.
|
||||||
|
|
||||||
|
## Laravel Sponsors
|
||||||
|
|
||||||
|
We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the [Laravel Partners program](https://partners.laravel.com).
|
||||||
|
|
||||||
|
### Premium Partners
|
||||||
|
|
||||||
|
- **[Vehikl](https://vehikl.com/)**
|
||||||
|
- **[Tighten Co.](https://tighten.co)**
|
||||||
|
- **[WebReinvent](https://webreinvent.com/)**
|
||||||
|
- **[Kirschbaum Development Group](https://kirschbaumdevelopment.com)**
|
||||||
|
- **[64 Robots](https://64robots.com)**
|
||||||
|
- **[Curotec](https://www.curotec.com/services/technologies/laravel/)**
|
||||||
|
- **[Cyber-Duck](https://cyber-duck.co.uk)**
|
||||||
|
- **[DevSquad](https://devsquad.com/hire-laravel-developers)**
|
||||||
|
- **[Jump24](https://jump24.co.uk)**
|
||||||
|
- **[Redberry](https://redberry.international/laravel/)**
|
||||||
|
- **[Active Logic](https://activelogic.com)**
|
||||||
|
- **[byte5](https://byte5.de)**
|
||||||
|
- **[OP.GG](https://op.gg)**
|
||||||
|
|
||||||
|
## Contributing
|
||||||
|
|
||||||
|
Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions).
|
||||||
|
|
||||||
|
## Code of Conduct
|
||||||
|
|
||||||
|
In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct).
|
||||||
|
|
||||||
|
## Security Vulnerabilities
|
||||||
|
|
||||||
|
If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [taylor@laravel.com](mailto:taylor@laravel.com). All security vulnerabilities will be promptly addressed.
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
|
|
@ -0,0 +1,27 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Console;
|
||||||
|
|
||||||
|
use Illuminate\Console\Scheduling\Schedule;
|
||||||
|
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
|
||||||
|
|
||||||
|
class Kernel extends ConsoleKernel
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Define the application's command schedule.
|
||||||
|
*/
|
||||||
|
protected function schedule(Schedule $schedule): void
|
||||||
|
{
|
||||||
|
// $schedule->command('inspire')->hourly();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Register the commands for the application.
|
||||||
|
*/
|
||||||
|
protected function commands(): void
|
||||||
|
{
|
||||||
|
$this->load(__DIR__.'/Commands');
|
||||||
|
|
||||||
|
require base_path('routes/console.php');
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,30 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Exceptions;
|
||||||
|
|
||||||
|
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
|
||||||
|
use Throwable;
|
||||||
|
|
||||||
|
class Handler extends ExceptionHandler
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* The list of the inputs that are never flashed to the session on validation exceptions.
|
||||||
|
*
|
||||||
|
* @var array<int, string>
|
||||||
|
*/
|
||||||
|
protected $dontFlash = [
|
||||||
|
'current_password',
|
||||||
|
'password',
|
||||||
|
'password_confirmation',
|
||||||
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Register the exception handling callbacks for the application.
|
||||||
|
*/
|
||||||
|
public function register(): void
|
||||||
|
{
|
||||||
|
$this->reportable(function (Throwable $e) {
|
||||||
|
//
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,41 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers;
|
||||||
|
|
||||||
|
use Illuminate\Http\Request;
|
||||||
|
use Illuminate\Support\Facades\Auth;
|
||||||
|
use RealRashid\SweetAlert\Facades\Alert;
|
||||||
|
|
||||||
|
class AdminAuthController extends Controller
|
||||||
|
{
|
||||||
|
//
|
||||||
|
|
||||||
|
function index()
|
||||||
|
{
|
||||||
|
return view('admin.auth.login');
|
||||||
|
}
|
||||||
|
|
||||||
|
function login(Request $request)
|
||||||
|
{
|
||||||
|
// dd('masuk');
|
||||||
|
$data = $request->validate([
|
||||||
|
'email' => 'required|email',
|
||||||
|
'password' => 'required'
|
||||||
|
]);
|
||||||
|
|
||||||
|
if (Auth::attempt($data)) {
|
||||||
|
$request->session()->regenerate();
|
||||||
|
return redirect('/admin/diagnosa');
|
||||||
|
}
|
||||||
|
|
||||||
|
return back()->with('loginError', 'Gagal Login. Data tidak ditemukan');
|
||||||
|
}
|
||||||
|
|
||||||
|
function logout()
|
||||||
|
{
|
||||||
|
Auth::logout();
|
||||||
|
request()->session()->invalidate();
|
||||||
|
request()->session()->regenerateToken();
|
||||||
|
return redirect('/');
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,25 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers;
|
||||||
|
use Illuminate\Support\Facades\DB;
|
||||||
|
|
||||||
|
use App\Models\Diagnosa;
|
||||||
|
use App\Models\Gejala;
|
||||||
|
use App\Models\Pasien;
|
||||||
|
use App\Models\Penyakit;
|
||||||
|
use App\Models\Role;
|
||||||
|
use Illuminate\Http\Request;
|
||||||
|
|
||||||
|
class AdminDashboardController extends Controller
|
||||||
|
{
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
$data = [
|
||||||
|
'title' => 'Dashboard',
|
||||||
|
'content' => 'admin/dashboard/index'
|
||||||
|
];
|
||||||
|
|
||||||
|
return view('admin.layouts.wrapper', $data);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,148 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers;
|
||||||
|
use Illuminate\Support\Facades\DB;
|
||||||
|
|
||||||
|
use App\Models\Diagnosa;
|
||||||
|
use App\Models\Gejala;
|
||||||
|
use App\Models\Pasien;
|
||||||
|
use App\Models\Penyakit;
|
||||||
|
use App\Models\Role;
|
||||||
|
use Illuminate\Http\Request;
|
||||||
|
|
||||||
|
class AdminDiagnosaController extends Controller
|
||||||
|
{
|
||||||
|
//
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
$data = [
|
||||||
|
'title' => 'Diagnosa Penyakit',
|
||||||
|
'content' => 'admin/diagnosa/index'
|
||||||
|
];
|
||||||
|
return view('admin.layouts.wrapper', $data);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function createPasien(Request $request)
|
||||||
|
{
|
||||||
|
$data = [
|
||||||
|
'name' => $request->name,
|
||||||
|
'umur' => $request->umur,
|
||||||
|
'Alamat' => $request->alamat,
|
||||||
|
];
|
||||||
|
$pasien = Pasien::create($data);
|
||||||
|
session()->put('pasien_id', $pasien->id);
|
||||||
|
return redirect('/admin/diagnosa/pilih-gejala');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function pilihGejala()
|
||||||
|
{
|
||||||
|
$pasien_id = session()->get('pasien_id');
|
||||||
|
if (!$pasien_id) {
|
||||||
|
return redirect('/admin/diagnosa')->withErrors(['Pilih pasien terlebih dahulu']);
|
||||||
|
}
|
||||||
|
$data = [
|
||||||
|
'title' => 'Diagnosa Penyakit',
|
||||||
|
'pasien' => Pasien::find($pasien_id),
|
||||||
|
'gejala' => Gejala::get(),
|
||||||
|
'gejelaTerpilih' => Diagnosa::with('gejala')
|
||||||
|
->wherePasienId($pasien_id)
|
||||||
|
->groupBy('gejala_id')
|
||||||
|
->select('gejala_id', DB::raw('MAX(id) as id'))
|
||||||
|
->get(),
|
||||||
|
'content' => 'admin/diagnosa/pilihgejala'
|
||||||
|
];
|
||||||
|
return view('admin.layouts.wrapper', $data);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function pilih()
|
||||||
|
{
|
||||||
|
$gejala_id = request('gejala_id');
|
||||||
|
$cf_user = request('nilai');
|
||||||
|
|
||||||
|
$role = Role::whereGejalaId($gejala_id)->get();
|
||||||
|
foreach ($role as $r) {
|
||||||
|
$data = [
|
||||||
|
'pasien_id' => session()->get('pasien_id'),
|
||||||
|
'penyakit_id' => $r->penyakit_id,
|
||||||
|
'gejala_id' => $gejala_id,
|
||||||
|
'nilai_cf' => $cf_user,
|
||||||
|
'cf_hasil' => $cf_user * $r->bobot_cf // Perbaikan: Memperhitungkan bobot Certainty Factor
|
||||||
|
];
|
||||||
|
Diagnosa::create($data);
|
||||||
|
}
|
||||||
|
return redirect('/admin/diagnosa/pilih-gejala');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function hapusGejalaTerpilih()
|
||||||
|
{
|
||||||
|
$gejala_id = request('gejala_id');
|
||||||
|
$pasien_id = session()->get('pasien_id');
|
||||||
|
|
||||||
|
$diagnosa = Diagnosa::whereGejalaId($gejala_id)->wherePasienId($pasien_id)->get();
|
||||||
|
foreach ($diagnosa as $item) {
|
||||||
|
$d = Diagnosa::find($item->id);
|
||||||
|
$d->delete();
|
||||||
|
}
|
||||||
|
return redirect('/admin/diagnosa/pilih-gejala');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function prosesDiagnosa()
|
||||||
|
{
|
||||||
|
$pasien_id = session()->get('pasien_id');
|
||||||
|
$hasil = 0;
|
||||||
|
$penyakit_id = '';
|
||||||
|
|
||||||
|
$penyakit = Penyakit::get();
|
||||||
|
foreach ($penyakit as $p) {
|
||||||
|
$diagnosa = Diagnosa::wherePenyakitId($p->id)->wherePasienId($pasien_id)->get();
|
||||||
|
$diagnosa_hasil = $this->hitung_cf($diagnosa);
|
||||||
|
if ($diagnosa_hasil > $hasil) {
|
||||||
|
$hasil = $diagnosa_hasil;
|
||||||
|
$penyakit_id = $p->id;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$pasien = Pasien::find($pasien_id);
|
||||||
|
|
||||||
|
$pasien->akumulasi_cf = $hasil;
|
||||||
|
$pasien->save();
|
||||||
|
|
||||||
|
$pasien->persentase = round($hasil * 100);
|
||||||
|
$pasien->penyakit_id = $penyakit_id;
|
||||||
|
$pasien->save();
|
||||||
|
return redirect('/admin/diagnosa/keputusan/' . $pasien_id);
|
||||||
|
}
|
||||||
|
|
||||||
|
function hitung_cf($data)
|
||||||
|
{
|
||||||
|
$cf_old = null;
|
||||||
|
foreach ($data as $value) {
|
||||||
|
if ($cf_old === null) {
|
||||||
|
$cf_old = $value->cf_hasil;
|
||||||
|
} else {
|
||||||
|
$cf_new = $value->cf_hasil;
|
||||||
|
$cf_old = $cf_old + ($cf_new * (1 - $cf_old));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return round($cf_old, 8);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function keputusan($pasien_id)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
|
||||||
|
if ($pasien_id == null) {
|
||||||
|
$pasien_id = session()->get('pasien_id');
|
||||||
|
}
|
||||||
|
$data = [
|
||||||
|
'title' => 'Hasil Diagnosa',
|
||||||
|
'pasien' => Pasien::with('penyakit')->find($pasien_id),
|
||||||
|
'gejala' => Diagnosa::with('gejala')->wherePasienId($pasien_id)->get(),
|
||||||
|
'content' => 'admin/diagnosa/keputusan'
|
||||||
|
];
|
||||||
|
return view('admin.layouts.wrapper', $data);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,117 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers;
|
||||||
|
|
||||||
|
use App\Models\Gejala;
|
||||||
|
use Illuminate\Http\Request;
|
||||||
|
use Illuminate\Support\Facades\Session;
|
||||||
|
use RealRashid\SweetAlert\Facades\Alert;
|
||||||
|
|
||||||
|
class AdminGejalaController extends Controller
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Display a listing of the resource.
|
||||||
|
*/
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
$data = [
|
||||||
|
'title' => 'Manajemen Gejala',
|
||||||
|
'gejala' => Gejala::get(),
|
||||||
|
'content' => 'admin/gejala/index'
|
||||||
|
];
|
||||||
|
|
||||||
|
return view('admin.layouts.wrapper', $data);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Show the form for creating a new resource.
|
||||||
|
*/
|
||||||
|
public function create()
|
||||||
|
{
|
||||||
|
$latestGejala = Gejala::orderBy('id', 'desc')->first();
|
||||||
|
$newId = ($latestGejala ? intval(substr($latestGejala->kode_gejala, 1)) : 0) + 1;
|
||||||
|
$newKodeGejala = "G" . $newId;
|
||||||
|
|
||||||
|
$data = [
|
||||||
|
'title' => 'Tambah Gejala',
|
||||||
|
'newKodeGejala' => $newKodeGejala, // Mengirim kode gejala baru ke view
|
||||||
|
'content' => 'admin/gejala/create'
|
||||||
|
];
|
||||||
|
|
||||||
|
return view('admin.layouts.wrapper', $data);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Store a newly created resource in storage.
|
||||||
|
*/
|
||||||
|
public function store(Request $request)
|
||||||
|
{
|
||||||
|
$data = $request->validate([
|
||||||
|
'name' => 'required|string|max:255',
|
||||||
|
'nilai_cf' => 'required|in:0.2,0.4,0.6,0.8,1',
|
||||||
|
]);
|
||||||
|
|
||||||
|
$latestGejala = Gejala::orderBy('id', 'desc')->first();
|
||||||
|
|
||||||
|
$newId = ($latestGejala ? intval(substr($latestGejala->kode_gejala, 1)) : 0) + 1;
|
||||||
|
// dd($newId);
|
||||||
|
$data['kode_gejala'] = 'G' . $newId;
|
||||||
|
|
||||||
|
Gejala::create($data);
|
||||||
|
|
||||||
|
Alert::success('Sukses', 'Data Telah ditambahkan');
|
||||||
|
return redirect('/admin/gejala');
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Display the specified resource.
|
||||||
|
*/
|
||||||
|
public function show(Gejala $gejala)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Show the form for editing the specified resource.
|
||||||
|
*/
|
||||||
|
public function edit(Gejala $gejala)
|
||||||
|
{
|
||||||
|
$data = [
|
||||||
|
'title' => 'Edit Gejala',
|
||||||
|
'gejala' => $gejala,
|
||||||
|
'content' => 'admin/gejala/edit'
|
||||||
|
];
|
||||||
|
|
||||||
|
return view('admin.layouts.wrapper', $data);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Update the specified resource in storage.
|
||||||
|
*/
|
||||||
|
public function update(Request $request, Gejala $gejala)
|
||||||
|
{
|
||||||
|
$data = $request->validate([
|
||||||
|
'name' => 'required|string|max:255',
|
||||||
|
'nilai_cf' => 'required|in:0.2,0.4,0.6,0.8,1',
|
||||||
|
]);
|
||||||
|
|
||||||
|
Gejala::where('id', $gejala->id)->update($data);
|
||||||
|
|
||||||
|
Alert::success('Sukses', 'Data Telah Diubah!');
|
||||||
|
return redirect('/admin/gejala');
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove the specified resource from storage.
|
||||||
|
*/
|
||||||
|
/**
|
||||||
|
* Remove the specified resource from storage.
|
||||||
|
*/
|
||||||
|
public function destroy(Gejala $gejala)
|
||||||
|
{
|
||||||
|
Gejala::destroy($gejala->id);
|
||||||
|
Alert::success('Sukses', 'Data Telah Dihapus');
|
||||||
|
return redirect('/admin/gejala');
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,51 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers;
|
||||||
|
|
||||||
|
use App\Models\Diagnosa;
|
||||||
|
use App\Models\Pasien;
|
||||||
|
use Illuminate\Http\Request;
|
||||||
|
use RealRashid\SweetAlert\Facades\Alert;
|
||||||
|
|
||||||
|
class AdminPasienController extends Controller
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Display a listing of the resource.
|
||||||
|
*
|
||||||
|
* @return \Illuminate\Http\Response
|
||||||
|
*/
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
//
|
||||||
|
$data = [
|
||||||
|
'title' => 'Manajemen Riwayat',
|
||||||
|
'pasien' => Pasien::with('penyakit')->orderBy('created_at', 'DESC')->paginate(10),
|
||||||
|
'content' => 'admin/pasien/index'
|
||||||
|
];
|
||||||
|
return view('admin.layouts.wrapper', $data);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public function destroy($id)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
// die('masuk');
|
||||||
|
$pasien = Pasien::find($id);
|
||||||
|
$pasien->delete();
|
||||||
|
Alert::success('Success', 'Data Deleted');
|
||||||
|
return redirect('/admin/pasien');
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public function print($pasien_id)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
|
||||||
|
$data = [
|
||||||
|
'title' => 'Hasil Diagnosa',
|
||||||
|
'pasien' => Pasien::with('penyakit')->find($pasien_id),
|
||||||
|
'gejala' => Diagnosa::with('gejala')->wherePasienId($pasien_id)->get(),
|
||||||
|
];
|
||||||
|
return view('admin.pasien.cetak', $data);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,164 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers;
|
||||||
|
|
||||||
|
use App\Models\Gejala;
|
||||||
|
use App\Models\Penyakit;
|
||||||
|
use App\Models\Role;
|
||||||
|
use Illuminate\Http\Request;
|
||||||
|
use RealRashid\SweetAlert\Facades\Alert;
|
||||||
|
|
||||||
|
class AdminPenyakitController extends Controller
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Display a listing of the resource.
|
||||||
|
*
|
||||||
|
* @return \Illuminate\Http\Response
|
||||||
|
*/
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
//
|
||||||
|
$data = [
|
||||||
|
'title' => 'Manajemen Penyakit',
|
||||||
|
'penyakit' => Penyakit::get(),
|
||||||
|
'content' => 'admin/penyakit/index'
|
||||||
|
];
|
||||||
|
return view('admin.layouts.wrapper', $data);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Show the form for creating a new resource.
|
||||||
|
*
|
||||||
|
* @return \Illuminate\Http\Response
|
||||||
|
*/
|
||||||
|
public function create()
|
||||||
|
{
|
||||||
|
//
|
||||||
|
$data = [
|
||||||
|
'title' => 'Tambah Penyakit',
|
||||||
|
'content' => 'admin/penyakit/create'
|
||||||
|
];
|
||||||
|
return view('admin.layouts.wrapper', $data);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Store a newly created resource in storage.
|
||||||
|
*
|
||||||
|
* @param \Illuminate\Http\Request $request
|
||||||
|
* @return \Illuminate\Http\Response
|
||||||
|
*/
|
||||||
|
public function store(Request $request)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
// dd($request->all());
|
||||||
|
$data = $request->validate([
|
||||||
|
'name' => 'required',
|
||||||
|
'desc' => 'required',
|
||||||
|
'penanganan' => 'required',
|
||||||
|
]);
|
||||||
|
|
||||||
|
Penyakit::create($data);
|
||||||
|
Alert::success('Sukses', 'Data Telah ditambahkan');
|
||||||
|
return redirect('/admin/penyakit');
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Display the specified resource.
|
||||||
|
*
|
||||||
|
* @param int $id
|
||||||
|
* @return \Illuminate\Http\Response
|
||||||
|
*/
|
||||||
|
public function show($id)
|
||||||
|
{
|
||||||
|
// dd($id);
|
||||||
|
$role = Role::with('gejala')->wherePenyakitId($id)->get();
|
||||||
|
dd($role);
|
||||||
|
|
||||||
|
$data = [
|
||||||
|
'title' => 'Penyakit',
|
||||||
|
'penyakit' => Penyakit::find($id),
|
||||||
|
'gejala' => Gejala::get(),
|
||||||
|
'role' => $role,
|
||||||
|
'content' => 'admin/penyakit/show'
|
||||||
|
];
|
||||||
|
|
||||||
|
return view('admin.layouts.wrapper', $data);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Show the form for editing the specified resource.
|
||||||
|
*
|
||||||
|
* @param int $id
|
||||||
|
* @return \Illuminate\Http\Response
|
||||||
|
*/
|
||||||
|
public function edit($id)
|
||||||
|
{
|
||||||
|
$data = [
|
||||||
|
'title' => 'Edit Penyakit',
|
||||||
|
'penyakit' => Penyakit::find($id),
|
||||||
|
'content' => 'admin/penyakit/create'
|
||||||
|
];
|
||||||
|
return view('admin.layouts.wrapper', $data);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Update the specified resource in storage.
|
||||||
|
*
|
||||||
|
* @param \Illuminate\Http\Request $request
|
||||||
|
* @param int $id
|
||||||
|
* @return \Illuminate\Http\Response
|
||||||
|
*/
|
||||||
|
public function update(Request $request, $id)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
$penyakit = Penyakit::find($id);
|
||||||
|
$data = $request->validate([
|
||||||
|
'name' => 'required',
|
||||||
|
'desc' => 'required',
|
||||||
|
'penanganan' => 'required',
|
||||||
|
]);
|
||||||
|
|
||||||
|
|
||||||
|
$penyakit->update($data);
|
||||||
|
Alert::success('Sukses', 'Data Telah diubah');
|
||||||
|
return redirect('/admin/penyakit');
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove the specified resource from storage.
|
||||||
|
*
|
||||||
|
* @param int $id
|
||||||
|
* @return \Illuminate\Http\Response
|
||||||
|
*/
|
||||||
|
public function destroy($id)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
// die('masuk');
|
||||||
|
$penyakit = Penyakit::find($id);
|
||||||
|
$penyakit->delete();
|
||||||
|
Alert::success('Sukses', 'Data Telah dihapus');
|
||||||
|
return redirect('/admin/penyakit');
|
||||||
|
}
|
||||||
|
|
||||||
|
function addGejala(Request $request)
|
||||||
|
{
|
||||||
|
// dd($request->all());
|
||||||
|
$data = [
|
||||||
|
'penyakit_id' => $request->penyakit_id,
|
||||||
|
'gejala_id' => $request->gejala_id,
|
||||||
|
'bobot_cf' => $request->bobot_cf,
|
||||||
|
];
|
||||||
|
|
||||||
|
Role::create($data);
|
||||||
|
Alert::success('Sukses', 'Data Telah tersimpan');
|
||||||
|
return redirect('/admin/penyakit/' . $request->penyakit_id);
|
||||||
|
}
|
||||||
|
|
||||||
|
function deleteRole($id)
|
||||||
|
{
|
||||||
|
$role = Role::find($id);
|
||||||
|
$role->delete();
|
||||||
|
Alert::success('Sukses', 'Data Telah dihapus');
|
||||||
|
return redirect('/admin/penyakit/' . $role->penyakit_id);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,138 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers;
|
||||||
|
|
||||||
|
use App\Models\User;
|
||||||
|
use Illuminate\Http\Request;
|
||||||
|
use Illuminate\Support\Facades\Hash;
|
||||||
|
use RealRashid\SweetAlert\Facades\Alert;
|
||||||
|
|
||||||
|
class AdminUserController extends Controller
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Display a listing of the resource.
|
||||||
|
*
|
||||||
|
* @return \Illuminate\Http\Response
|
||||||
|
*/
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
//
|
||||||
|
$data = [
|
||||||
|
'title' => 'Manajemen User',
|
||||||
|
'user' => User::get(),
|
||||||
|
'content' => 'admin/user/index'
|
||||||
|
];
|
||||||
|
return view('admin.layouts.wrapper', $data);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Show the form for creating a new resource.
|
||||||
|
*
|
||||||
|
* @return \Illuminate\Http\Response
|
||||||
|
*/
|
||||||
|
public function create()
|
||||||
|
{
|
||||||
|
//
|
||||||
|
$data = [
|
||||||
|
'title' => 'Tambah User',
|
||||||
|
'content' => 'admin/user/create'
|
||||||
|
];
|
||||||
|
return view('admin.layouts.wrapper', $data);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Store a newly created resource in storage.
|
||||||
|
*
|
||||||
|
* @param \Illuminate\Http\Request $request
|
||||||
|
* @return \Illuminate\Http\Response
|
||||||
|
*/
|
||||||
|
public function store(Request $request)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
// dd($request->all());
|
||||||
|
$data = $request->validate([
|
||||||
|
'name' => 'required',
|
||||||
|
'email' => 'required|unique:users',
|
||||||
|
'role' => 'required',
|
||||||
|
'password' => 'required',
|
||||||
|
're_pass' => 'required|same:password'
|
||||||
|
]);
|
||||||
|
|
||||||
|
$data['password'] = Hash::make($data['password']);
|
||||||
|
$user = User::create($data);
|
||||||
|
// dd($user);
|
||||||
|
Alert::success('Sukses', 'Data Telah ditambahkan');
|
||||||
|
return redirect('/admin/user');
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Display the specified resource.
|
||||||
|
*
|
||||||
|
* @param int $id
|
||||||
|
* @return \Illuminate\Http\Response
|
||||||
|
*/
|
||||||
|
public function show($id)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Show the form for editing the specified resource.
|
||||||
|
*
|
||||||
|
* @param int $id
|
||||||
|
* @return \Illuminate\Http\Response
|
||||||
|
*/
|
||||||
|
public function edit($id)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
$data = [
|
||||||
|
'title' => 'Tambah User',
|
||||||
|
'user' => User::find($id),
|
||||||
|
'content' => 'admin/user/create'
|
||||||
|
];
|
||||||
|
return view('admin.layouts.wrapper', $data);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Update the specified resource in storage.
|
||||||
|
*
|
||||||
|
* @param \Illuminate\Http\Request $request
|
||||||
|
* @param int $id
|
||||||
|
* @return \Illuminate\Http\Response
|
||||||
|
*/
|
||||||
|
public function update(Request $request, $id)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
$user = User::find($id);
|
||||||
|
$data = $request->validate([
|
||||||
|
'name' => 'required',
|
||||||
|
'email' => 'required',
|
||||||
|
'role' => 'required',
|
||||||
|
]);
|
||||||
|
|
||||||
|
if ($request->password == '') {
|
||||||
|
$data['password'] = $user->password;
|
||||||
|
} else {
|
||||||
|
$data['password'] = Hash::make($request['password']);
|
||||||
|
}
|
||||||
|
$user->update($data);
|
||||||
|
Alert::success('Sukses', 'Data Telah diubah');
|
||||||
|
return redirect('/admin/user');
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove the specified resource from storage.
|
||||||
|
*
|
||||||
|
* @param int $id
|
||||||
|
* @return \Illuminate\Http\Response
|
||||||
|
*/
|
||||||
|
public function destroy($id)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
// die('masuk');
|
||||||
|
$user = User::find($id);
|
||||||
|
$user->delete();
|
||||||
|
Alert::success('Sukses', 'Data Telah dihapus');
|
||||||
|
return redirect('/admin/user');
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,12 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers;
|
||||||
|
|
||||||
|
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
|
||||||
|
use Illuminate\Foundation\Validation\ValidatesRequests;
|
||||||
|
use Illuminate\Routing\Controller as BaseController;
|
||||||
|
|
||||||
|
class Controller extends BaseController
|
||||||
|
{
|
||||||
|
use AuthorizesRequests, ValidatesRequests;
|
||||||
|
}
|
|
@ -0,0 +1,147 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers;
|
||||||
|
|
||||||
|
use App\Models\Gejala;
|
||||||
|
use Illuminate\Http\Request;
|
||||||
|
use RealRashid\SweetAlert\Facades\Alert;
|
||||||
|
|
||||||
|
class AdminGejalaController extends Controller
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Display a listing of the resource.
|
||||||
|
*
|
||||||
|
* @return \Illuminate\Http\Response
|
||||||
|
*/
|
||||||
|
public function index()
|
||||||
|
{
|
||||||
|
$data = [
|
||||||
|
'title' => 'Manajemen Gejala',
|
||||||
|
'gejala' => Gejala::get(),
|
||||||
|
'content' => 'admin/gejala/index'
|
||||||
|
];
|
||||||
|
|
||||||
|
return view('admin.layouts.wrapper', $data);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Show the form for creating a new resource.
|
||||||
|
*
|
||||||
|
* @return \Illuminate\Http\Response
|
||||||
|
*/
|
||||||
|
public function create()
|
||||||
|
{
|
||||||
|
$latestGejala = Gejala::orderBy('id', 'desc')->first();
|
||||||
|
$newId = ($latestGejala ? intval(substr($latestGejala->kode_gejala, 1)) : 0) + 1;
|
||||||
|
$newKodeGejala = "G" . $newId;
|
||||||
|
|
||||||
|
$data = [
|
||||||
|
'title' => 'Tambah Gejala',
|
||||||
|
'newKodeGejala' => $newKodeGejala, // Mengirim kode gejala baru ke view
|
||||||
|
'content' => 'admin/gejala/create'
|
||||||
|
];
|
||||||
|
|
||||||
|
return view('admin.layouts.wrapper', $data);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Store a newly created resource in storage.
|
||||||
|
*
|
||||||
|
* @param \Illuminate\Http\Request $request
|
||||||
|
* @return \Illuminate\Http\Response
|
||||||
|
*/
|
||||||
|
public function store(Request $request)
|
||||||
|
{
|
||||||
|
$data = $request->validate([
|
||||||
|
'name' => 'required|string|max:255',
|
||||||
|
'nilai_cf' => 'required|in:0.2,0.4,0.6,0.8,1',
|
||||||
|
]);
|
||||||
|
|
||||||
|
$latestGejala = Gejala::orderBy('id', 'desc')->first();
|
||||||
|
|
||||||
|
$newId = ($latestGejala ? intval(substr($latestGejala->kode_gejala, 1)) : 0) + 1;
|
||||||
|
// dd($newId);
|
||||||
|
$data['kode_gejala'] = 'G' . $newId;
|
||||||
|
|
||||||
|
Gejala::create($data);
|
||||||
|
|
||||||
|
Alert::success('Sukses', 'Data Telah ditambahkan');
|
||||||
|
return redirect('/admin/gejala');
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Display the specified resource.
|
||||||
|
*
|
||||||
|
* @param int $id
|
||||||
|
* @return \Illuminate\Http\Response
|
||||||
|
*/
|
||||||
|
public function show($id)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Show the form for editing the specified resource.
|
||||||
|
*
|
||||||
|
* @param int $id
|
||||||
|
* @return \Illuminate\Http\Response
|
||||||
|
*/
|
||||||
|
public function edit($id)
|
||||||
|
{
|
||||||
|
// $gejala = Gejala::where('id', $id)->pluck('name')->get();
|
||||||
|
// dd($gejala);
|
||||||
|
|
||||||
|
$data = [
|
||||||
|
'title' => 'Edit Gejala',
|
||||||
|
'gejala' => Gejala::find($id),
|
||||||
|
'content' => 'admin/gejala/create'
|
||||||
|
];
|
||||||
|
return view('admin.layouts.wrapper', $data);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Update the specified resource in storage.
|
||||||
|
*
|
||||||
|
* @param \Illuminate\Http\Request $request
|
||||||
|
* @param int $id
|
||||||
|
* @return \Illuminate\Http\Response
|
||||||
|
*/
|
||||||
|
public function update(Request $request, $id)
|
||||||
|
{
|
||||||
|
$gejala = Gejala::find($id);
|
||||||
|
$data = $request->validate([
|
||||||
|
'name' => 'required|string|max:255',
|
||||||
|
'nilai_cf' => 'required|in:0.2,0.4,0.6,0.8,1',
|
||||||
|
]);
|
||||||
|
|
||||||
|
$gejala->update($data);
|
||||||
|
|
||||||
|
Alert::success('Sukses', 'Data Telah diubah');
|
||||||
|
return redirect('/admin/gejala');
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove the specified resource from storage.
|
||||||
|
*
|
||||||
|
* @param int $id
|
||||||
|
* @return \Illuminate\Http\Response
|
||||||
|
*/
|
||||||
|
public function destroy($id)
|
||||||
|
{
|
||||||
|
$gejala = Gejala::find($id);
|
||||||
|
$gejala->delete();
|
||||||
|
|
||||||
|
Alert::success('Sukses', 'Data Telah dihapus');
|
||||||
|
return redirect('/admin/gejala');
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getLatestGejala()
|
||||||
|
{
|
||||||
|
$latestGejala = Gejala::orderBy('id', 'desc')->first();
|
||||||
|
return response()->json(['kode_gejala' => $latestGejala->kode_gejala]);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,68 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http;
|
||||||
|
|
||||||
|
use Illuminate\Foundation\Http\Kernel as HttpKernel;
|
||||||
|
|
||||||
|
class Kernel extends HttpKernel
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* The application's global HTTP middleware stack.
|
||||||
|
*
|
||||||
|
* These middleware are run during every request to your application.
|
||||||
|
*
|
||||||
|
* @var array<int, class-string|string>
|
||||||
|
*/
|
||||||
|
protected $middleware = [
|
||||||
|
// \App\Http\Middleware\TrustHosts::class,
|
||||||
|
\App\Http\Middleware\TrustProxies::class,
|
||||||
|
\Illuminate\Http\Middleware\HandleCors::class,
|
||||||
|
\App\Http\Middleware\PreventRequestsDuringMaintenance::class,
|
||||||
|
\Illuminate\Foundation\Http\Middleware\ValidatePostSize::class,
|
||||||
|
\App\Http\Middleware\TrimStrings::class,
|
||||||
|
\Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class,
|
||||||
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The application's route middleware groups.
|
||||||
|
*
|
||||||
|
* @var array<string, array<int, class-string|string>>
|
||||||
|
*/
|
||||||
|
protected $middlewareGroups = [
|
||||||
|
'web' => [
|
||||||
|
\App\Http\Middleware\EncryptCookies::class,
|
||||||
|
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
|
||||||
|
\Illuminate\Session\Middleware\StartSession::class,
|
||||||
|
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
|
||||||
|
\App\Http\Middleware\VerifyCsrfToken::class,
|
||||||
|
\Illuminate\Routing\Middleware\SubstituteBindings::class,
|
||||||
|
],
|
||||||
|
|
||||||
|
'api' => [
|
||||||
|
// \Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful::class,
|
||||||
|
\Illuminate\Routing\Middleware\ThrottleRequests::class.':api',
|
||||||
|
\Illuminate\Routing\Middleware\SubstituteBindings::class,
|
||||||
|
],
|
||||||
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The application's middleware aliases.
|
||||||
|
*
|
||||||
|
* Aliases may be used instead of class names to conveniently assign middleware to routes and groups.
|
||||||
|
*
|
||||||
|
* @var array<string, class-string|string>
|
||||||
|
*/
|
||||||
|
protected $middlewareAliases = [
|
||||||
|
'auth' => \App\Http\Middleware\Authenticate::class,
|
||||||
|
'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
|
||||||
|
'auth.session' => \Illuminate\Session\Middleware\AuthenticateSession::class,
|
||||||
|
'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class,
|
||||||
|
'can' => \Illuminate\Auth\Middleware\Authorize::class,
|
||||||
|
'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class,
|
||||||
|
'password.confirm' => \Illuminate\Auth\Middleware\RequirePassword::class,
|
||||||
|
'precognitive' => \Illuminate\Foundation\Http\Middleware\HandlePrecognitiveRequests::class,
|
||||||
|
'signed' => \App\Http\Middleware\ValidateSignature::class,
|
||||||
|
'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
|
||||||
|
'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class,
|
||||||
|
];
|
||||||
|
}
|
|
@ -0,0 +1,17 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Middleware;
|
||||||
|
|
||||||
|
use Illuminate\Auth\Middleware\Authenticate as Middleware;
|
||||||
|
use Illuminate\Http\Request;
|
||||||
|
|
||||||
|
class Authenticate extends Middleware
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Get the path the user should be redirected to when they are not authenticated.
|
||||||
|
*/
|
||||||
|
protected function redirectTo(Request $request): ?string
|
||||||
|
{
|
||||||
|
return $request->expectsJson() ? null : route('login');
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,17 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Middleware;
|
||||||
|
|
||||||
|
use Illuminate\Cookie\Middleware\EncryptCookies as Middleware;
|
||||||
|
|
||||||
|
class EncryptCookies extends Middleware
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* The names of the cookies that should not be encrypted.
|
||||||
|
*
|
||||||
|
* @var array<int, string>
|
||||||
|
*/
|
||||||
|
protected $except = [
|
||||||
|
//
|
||||||
|
];
|
||||||
|
}
|
|
@ -0,0 +1,17 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Middleware;
|
||||||
|
|
||||||
|
use Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance as Middleware;
|
||||||
|
|
||||||
|
class PreventRequestsDuringMaintenance extends Middleware
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* The URIs that should be reachable while maintenance mode is enabled.
|
||||||
|
*
|
||||||
|
* @var array<int, string>
|
||||||
|
*/
|
||||||
|
protected $except = [
|
||||||
|
//
|
||||||
|
];
|
||||||
|
}
|
|
@ -0,0 +1,30 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Middleware;
|
||||||
|
|
||||||
|
use App\Providers\RouteServiceProvider;
|
||||||
|
use Closure;
|
||||||
|
use Illuminate\Http\Request;
|
||||||
|
use Illuminate\Support\Facades\Auth;
|
||||||
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
|
|
||||||
|
class RedirectIfAuthenticated
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Handle an incoming request.
|
||||||
|
*
|
||||||
|
* @param \Closure(\Illuminate\Http\Request): (\Symfony\Component\HttpFoundation\Response) $next
|
||||||
|
*/
|
||||||
|
public function handle(Request $request, Closure $next, string ...$guards): Response
|
||||||
|
{
|
||||||
|
$guards = empty($guards) ? [null] : $guards;
|
||||||
|
|
||||||
|
foreach ($guards as $guard) {
|
||||||
|
if (Auth::guard($guard)->check()) {
|
||||||
|
return redirect(RouteServiceProvider::HOME);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return $next($request);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,19 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Middleware;
|
||||||
|
|
||||||
|
use Illuminate\Foundation\Http\Middleware\TrimStrings as Middleware;
|
||||||
|
|
||||||
|
class TrimStrings extends Middleware
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* The names of the attributes that should not be trimmed.
|
||||||
|
*
|
||||||
|
* @var array<int, string>
|
||||||
|
*/
|
||||||
|
protected $except = [
|
||||||
|
'current_password',
|
||||||
|
'password',
|
||||||
|
'password_confirmation',
|
||||||
|
];
|
||||||
|
}
|
|
@ -0,0 +1,20 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Middleware;
|
||||||
|
|
||||||
|
use Illuminate\Http\Middleware\TrustHosts as Middleware;
|
||||||
|
|
||||||
|
class TrustHosts extends Middleware
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Get the host patterns that should be trusted.
|
||||||
|
*
|
||||||
|
* @return array<int, string|null>
|
||||||
|
*/
|
||||||
|
public function hosts(): array
|
||||||
|
{
|
||||||
|
return [
|
||||||
|
$this->allSubdomainsOfApplicationUrl(),
|
||||||
|
];
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,28 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Middleware;
|
||||||
|
|
||||||
|
use Illuminate\Http\Middleware\TrustProxies as Middleware;
|
||||||
|
use Illuminate\Http\Request;
|
||||||
|
|
||||||
|
class TrustProxies extends Middleware
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* The trusted proxies for this application.
|
||||||
|
*
|
||||||
|
* @var array<int, string>|string|null
|
||||||
|
*/
|
||||||
|
protected $proxies;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The headers that should be used to detect proxies.
|
||||||
|
*
|
||||||
|
* @var int
|
||||||
|
*/
|
||||||
|
protected $headers =
|
||||||
|
Request::HEADER_X_FORWARDED_FOR |
|
||||||
|
Request::HEADER_X_FORWARDED_HOST |
|
||||||
|
Request::HEADER_X_FORWARDED_PORT |
|
||||||
|
Request::HEADER_X_FORWARDED_PROTO |
|
||||||
|
Request::HEADER_X_FORWARDED_AWS_ELB;
|
||||||
|
}
|
|
@ -0,0 +1,22 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Middleware;
|
||||||
|
|
||||||
|
use Illuminate\Routing\Middleware\ValidateSignature as Middleware;
|
||||||
|
|
||||||
|
class ValidateSignature extends Middleware
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* The names of the query string parameters that should be ignored.
|
||||||
|
*
|
||||||
|
* @var array<int, string>
|
||||||
|
*/
|
||||||
|
protected $except = [
|
||||||
|
// 'fbclid',
|
||||||
|
// 'utm_campaign',
|
||||||
|
// 'utm_content',
|
||||||
|
// 'utm_medium',
|
||||||
|
// 'utm_source',
|
||||||
|
// 'utm_term',
|
||||||
|
];
|
||||||
|
}
|
|
@ -0,0 +1,17 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Middleware;
|
||||||
|
|
||||||
|
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
|
||||||
|
|
||||||
|
class VerifyCsrfToken extends Middleware
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* The URIs that should be excluded from CSRF verification.
|
||||||
|
*
|
||||||
|
* @var array<int, string>
|
||||||
|
*/
|
||||||
|
protected $except = [
|
||||||
|
//
|
||||||
|
];
|
||||||
|
}
|
|
@ -0,0 +1,18 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Models;
|
||||||
|
|
||||||
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||||
|
use Illuminate\Database\Eloquent\Model;
|
||||||
|
|
||||||
|
class Diagnosa extends Model
|
||||||
|
{
|
||||||
|
use HasFactory;
|
||||||
|
|
||||||
|
protected $guarded = [];
|
||||||
|
|
||||||
|
function gejala()
|
||||||
|
{
|
||||||
|
return $this->belongsTo(Gejala::class);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,13 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Models;
|
||||||
|
|
||||||
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||||
|
use Illuminate\Database\Eloquent\Model;
|
||||||
|
|
||||||
|
class Gejala extends Model
|
||||||
|
{
|
||||||
|
use HasFactory;
|
||||||
|
|
||||||
|
protected $guarded = ['id'];
|
||||||
|
}
|
|
@ -0,0 +1,18 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Models;
|
||||||
|
|
||||||
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||||
|
use Illuminate\Database\Eloquent\Model;
|
||||||
|
|
||||||
|
class Pasien extends Model
|
||||||
|
{
|
||||||
|
use HasFactory;
|
||||||
|
|
||||||
|
protected $guarded = [];
|
||||||
|
|
||||||
|
function penyakit()
|
||||||
|
{
|
||||||
|
return $this->belongsTo(Penyakit::class);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,13 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Models;
|
||||||
|
|
||||||
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||||
|
use Illuminate\Database\Eloquent\Model;
|
||||||
|
|
||||||
|
class Penyakit extends Model
|
||||||
|
{
|
||||||
|
use HasFactory;
|
||||||
|
|
||||||
|
protected $guarded = [];
|
||||||
|
}
|
|
@ -0,0 +1,19 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Models;
|
||||||
|
|
||||||
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||||
|
use Illuminate\Database\Eloquent\Model;
|
||||||
|
|
||||||
|
class Role extends Model
|
||||||
|
{
|
||||||
|
use HasFactory;
|
||||||
|
|
||||||
|
protected $guarded = [];
|
||||||
|
|
||||||
|
|
||||||
|
function gejala()
|
||||||
|
{
|
||||||
|
return $this->belongsTo(Gejala::class);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,45 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Models;
|
||||||
|
|
||||||
|
// use Illuminate\Contracts\Auth\MustVerifyEmail;
|
||||||
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||||
|
use Illuminate\Foundation\Auth\User as Authenticatable;
|
||||||
|
use Illuminate\Notifications\Notifiable;
|
||||||
|
use Laravel\Sanctum\HasApiTokens;
|
||||||
|
|
||||||
|
class User extends Authenticatable
|
||||||
|
{
|
||||||
|
use HasApiTokens, HasFactory, Notifiable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The attributes that are mass assignable.
|
||||||
|
*
|
||||||
|
* @var array<int, string>
|
||||||
|
*/
|
||||||
|
protected $fillable = [
|
||||||
|
'name',
|
||||||
|
'email',
|
||||||
|
'password',
|
||||||
|
'role',
|
||||||
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The attributes that should be hidden for serialization.
|
||||||
|
*
|
||||||
|
* @var array<int, string>
|
||||||
|
*/
|
||||||
|
protected $hidden = [
|
||||||
|
'password',
|
||||||
|
'remember_token',
|
||||||
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The attributes that should be cast.
|
||||||
|
*
|
||||||
|
* @var array<string, string>
|
||||||
|
*/
|
||||||
|
protected $casts = [
|
||||||
|
'email_verified_at' => 'datetime',
|
||||||
|
];
|
||||||
|
}
|
|
@ -0,0 +1,30 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Providers;
|
||||||
|
|
||||||
|
use Illuminate\Pagination\Paginator;
|
||||||
|
use Illuminate\Support\ServiceProvider;
|
||||||
|
|
||||||
|
class AppServiceProvider extends ServiceProvider
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Register any application services.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function register()
|
||||||
|
{
|
||||||
|
//
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Bootstrap any application services.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function boot()
|
||||||
|
{
|
||||||
|
//
|
||||||
|
Paginator::useBootstrap();
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,26 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Providers;
|
||||||
|
|
||||||
|
// use Illuminate\Support\Facades\Gate;
|
||||||
|
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
|
||||||
|
|
||||||
|
class AuthServiceProvider extends ServiceProvider
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* The model to policy mappings for the application.
|
||||||
|
*
|
||||||
|
* @var array<class-string, class-string>
|
||||||
|
*/
|
||||||
|
protected $policies = [
|
||||||
|
//
|
||||||
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Register any authentication / authorization services.
|
||||||
|
*/
|
||||||
|
public function boot(): void
|
||||||
|
{
|
||||||
|
//
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,19 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Providers;
|
||||||
|
|
||||||
|
use Illuminate\Support\Facades\Broadcast;
|
||||||
|
use Illuminate\Support\ServiceProvider;
|
||||||
|
|
||||||
|
class BroadcastServiceProvider extends ServiceProvider
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Bootstrap any application services.
|
||||||
|
*/
|
||||||
|
public function boot(): void
|
||||||
|
{
|
||||||
|
Broadcast::routes();
|
||||||
|
|
||||||
|
require base_path('routes/channels.php');
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,38 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Providers;
|
||||||
|
|
||||||
|
use Illuminate\Auth\Events\Registered;
|
||||||
|
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
|
||||||
|
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
|
||||||
|
use Illuminate\Support\Facades\Event;
|
||||||
|
|
||||||
|
class EventServiceProvider extends ServiceProvider
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* The event to listener mappings for the application.
|
||||||
|
*
|
||||||
|
* @var array<class-string, array<int, class-string>>
|
||||||
|
*/
|
||||||
|
protected $listen = [
|
||||||
|
Registered::class => [
|
||||||
|
SendEmailVerificationNotification::class,
|
||||||
|
],
|
||||||
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Register any events for your application.
|
||||||
|
*/
|
||||||
|
public function boot(): void
|
||||||
|
{
|
||||||
|
//
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Determine if events and listeners should be automatically discovered.
|
||||||
|
*/
|
||||||
|
public function shouldDiscoverEvents(): bool
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,40 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Providers;
|
||||||
|
|
||||||
|
use Illuminate\Cache\RateLimiting\Limit;
|
||||||
|
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
|
||||||
|
use Illuminate\Http\Request;
|
||||||
|
use Illuminate\Support\Facades\RateLimiter;
|
||||||
|
use Illuminate\Support\Facades\Route;
|
||||||
|
|
||||||
|
class RouteServiceProvider extends ServiceProvider
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* The path to your application's "home" route.
|
||||||
|
*
|
||||||
|
* Typically, users are redirected here after authentication.
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
public const HOME = '/home';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Define your route model bindings, pattern filters, and other route configuration.
|
||||||
|
*/
|
||||||
|
public function boot(): void
|
||||||
|
{
|
||||||
|
RateLimiter::for('api', function (Request $request) {
|
||||||
|
return Limit::perMinute(60)->by($request->user()?->id ?: $request->ip());
|
||||||
|
});
|
||||||
|
|
||||||
|
$this->routes(function () {
|
||||||
|
Route::middleware('api')
|
||||||
|
->prefix('api')
|
||||||
|
->group(base_path('routes/api.php'));
|
||||||
|
|
||||||
|
Route::middleware('web')
|
||||||
|
->group(base_path('routes/web.php'));
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,53 @@
|
||||||
|
#!/usr/bin/env php
|
||||||
|
<?php
|
||||||
|
|
||||||
|
define('LARAVEL_START', microtime(true));
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Register The Auto Loader
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Composer provides a convenient, automatically generated class loader
|
||||||
|
| for our application. We just need to utilize it! We'll require it
|
||||||
|
| into the script here so that we do not have to worry about the
|
||||||
|
| loading of any of our classes manually. It's great to relax.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
require __DIR__.'/vendor/autoload.php';
|
||||||
|
|
||||||
|
$app = require_once __DIR__.'/bootstrap/app.php';
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Run The Artisan Application
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| When we run the console application, the current CLI command will be
|
||||||
|
| executed in this console and the response sent back to a terminal
|
||||||
|
| or another output device for the developers. Here goes nothing!
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
$kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);
|
||||||
|
|
||||||
|
$status = $kernel->handle(
|
||||||
|
$input = new Symfony\Component\Console\Input\ArgvInput,
|
||||||
|
new Symfony\Component\Console\Output\ConsoleOutput
|
||||||
|
);
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Shutdown The Application
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Once Artisan has finished running, we will fire off the shutdown events
|
||||||
|
| so that any final work may be done by the application before we shut
|
||||||
|
| down the process. This is the last thing to happen to the request.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
$kernel->terminate($input, $status);
|
||||||
|
|
||||||
|
exit($status);
|
|
@ -0,0 +1,55 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Create The Application
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The first thing we will do is create a new Laravel application instance
|
||||||
|
| which serves as the "glue" for all the components of Laravel, and is
|
||||||
|
| the IoC container for the system binding all of the various parts.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
$app = new Illuminate\Foundation\Application(
|
||||||
|
$_ENV['APP_BASE_PATH'] ?? dirname(__DIR__)
|
||||||
|
);
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Bind Important Interfaces
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Next, we need to bind some important interfaces into the container so
|
||||||
|
| we will be able to resolve them when needed. The kernels serve the
|
||||||
|
| incoming requests to this application from both the web and CLI.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
$app->singleton(
|
||||||
|
Illuminate\Contracts\Http\Kernel::class,
|
||||||
|
App\Http\Kernel::class
|
||||||
|
);
|
||||||
|
|
||||||
|
$app->singleton(
|
||||||
|
Illuminate\Contracts\Console\Kernel::class,
|
||||||
|
App\Console\Kernel::class
|
||||||
|
);
|
||||||
|
|
||||||
|
$app->singleton(
|
||||||
|
Illuminate\Contracts\Debug\ExceptionHandler::class,
|
||||||
|
App\Exceptions\Handler::class
|
||||||
|
);
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Return The Application
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This script returns the application instance. The instance is given to
|
||||||
|
| the calling script so we can separate the building of the instances
|
||||||
|
| from the actual running of the application and sending responses.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
return $app;
|
|
@ -0,0 +1,2 @@
|
||||||
|
*
|
||||||
|
!.gitignore
|
|
@ -0,0 +1,67 @@
|
||||||
|
{
|
||||||
|
"name": "laravel/laravel",
|
||||||
|
"type": "project",
|
||||||
|
"description": "The skeleton application for the Laravel framework.",
|
||||||
|
"keywords": ["laravel", "framework"],
|
||||||
|
"license": "MIT",
|
||||||
|
"require": {
|
||||||
|
"php": "^8.1",
|
||||||
|
"guzzlehttp/guzzle": "^7.2",
|
||||||
|
"laravel/framework": "^10.10",
|
||||||
|
"laravel/sanctum": "^3.3",
|
||||||
|
"laravel/tinker": "^2.8",
|
||||||
|
"realrashid/sweet-alert": "^7.1"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"fakerphp/faker": "^1.9.1",
|
||||||
|
"laravel/pint": "^1.0",
|
||||||
|
"laravel/sail": "^1.18",
|
||||||
|
"mockery/mockery": "^1.4.4",
|
||||||
|
"nunomaduro/collision": "^7.0",
|
||||||
|
"phpunit/phpunit": "^10.1",
|
||||||
|
"spatie/laravel-ignition": "^2.0"
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"App\\": "app/",
|
||||||
|
"Database\\Factories\\": "database/factories/",
|
||||||
|
"Database\\Seeders\\": "database/seeders/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload-dev": {
|
||||||
|
"psr-4": {
|
||||||
|
"Tests\\": "tests/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"post-autoload-dump": [
|
||||||
|
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
|
||||||
|
"@php artisan package:discover --ansi"
|
||||||
|
],
|
||||||
|
"post-update-cmd": [
|
||||||
|
"@php artisan vendor:publish --tag=laravel-assets --ansi --force"
|
||||||
|
],
|
||||||
|
"post-root-package-install": [
|
||||||
|
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
|
||||||
|
],
|
||||||
|
"post-create-project-cmd": [
|
||||||
|
"@php artisan key:generate --ansi"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"extra": {
|
||||||
|
"laravel": {
|
||||||
|
"dont-discover": []
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"config": {
|
||||||
|
"optimize-autoloader": true,
|
||||||
|
"preferred-install": "dist",
|
||||||
|
"sort-packages": true,
|
||||||
|
"allow-plugins": {
|
||||||
|
"pestphp/pest-plugin": true,
|
||||||
|
"php-http/discovery": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minimum-stability": "stable",
|
||||||
|
"prefer-stable": true
|
||||||
|
}
|
|
@ -0,0 +1,192 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Support\Facades\Facade;
|
||||||
|
use Illuminate\Support\ServiceProvider;
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Application Name
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This value is the name of your application. This value is used when the
|
||||||
|
| framework needs to place the application's name in a notification or
|
||||||
|
| any other location as required by the application or its packages.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'name' => env('APP_NAME', 'Laravel'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Application Environment
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This value determines the "environment" your application is currently
|
||||||
|
| running in. This may determine how you prefer to configure various
|
||||||
|
| services the application utilizes. Set this in your ".env" file.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'env' => env('APP_ENV', 'production'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Application Debug Mode
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| When your application is in debug mode, detailed error messages with
|
||||||
|
| stack traces will be shown on every error that occurs within your
|
||||||
|
| application. If disabled, a simple generic error page is shown.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'debug' => (bool) env('APP_DEBUG', false),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Application URL
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This URL is used by the console to properly generate URLs when using
|
||||||
|
| the Artisan command line tool. You should set this to the root of
|
||||||
|
| your application so that it is used when running Artisan tasks.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'url' => env('APP_URL', 'http://localhost'),
|
||||||
|
|
||||||
|
'asset_url' => env('ASSET_URL'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Application Timezone
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may specify the default timezone for your application, which
|
||||||
|
| will be used by the PHP date and date-time functions. We have gone
|
||||||
|
| ahead and set this to a sensible default for you out of the box.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'timezone' => 'UTC',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Application Locale Configuration
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The application locale determines the default locale that will be used
|
||||||
|
| by the translation service provider. You are free to set this value
|
||||||
|
| to any of the locales which will be supported by the application.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'locale' => 'en',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Application Fallback Locale
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The fallback locale determines the locale to use when the current one
|
||||||
|
| is not available. You may change the value to correspond to any of
|
||||||
|
| the language folders that are provided through your application.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'fallback_locale' => 'en',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Faker Locale
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This locale will be used by the Faker PHP library when generating fake
|
||||||
|
| data for your database seeds. For example, this will be used to get
|
||||||
|
| localized telephone numbers, street address information and more.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'faker_locale' => 'en_US',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Encryption Key
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This key is used by the Illuminate encrypter service and should be set
|
||||||
|
| to a random, 32 character string, otherwise these encrypted strings
|
||||||
|
| will not be safe. Please do this before deploying an application!
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'key' => env('APP_KEY'),
|
||||||
|
|
||||||
|
'cipher' => 'AES-256-CBC',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Maintenance Mode Driver
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| These configuration options determine the driver used to determine and
|
||||||
|
| manage Laravel's "maintenance mode" status. The "cache" driver will
|
||||||
|
| allow maintenance mode to be controlled across multiple machines.
|
||||||
|
|
|
||||||
|
| Supported drivers: "file", "cache"
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'maintenance' => [
|
||||||
|
'driver' => 'file',
|
||||||
|
// 'store' => 'redis',
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Autoloaded Service Providers
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The service providers listed here will be automatically loaded on the
|
||||||
|
| request to your application. Feel free to add your own services to
|
||||||
|
| this array to grant expanded functionality to your applications.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'providers' => ServiceProvider::defaultProviders()->merge([
|
||||||
|
/*
|
||||||
|
* Package Service Providers...
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Application Service Providers...
|
||||||
|
*/
|
||||||
|
App\Providers\AppServiceProvider::class,
|
||||||
|
App\Providers\AuthServiceProvider::class,
|
||||||
|
// App\Providers\BroadcastServiceProvider::class,
|
||||||
|
App\Providers\EventServiceProvider::class,
|
||||||
|
App\Providers\RouteServiceProvider::class,
|
||||||
|
RealRashid\SweetAlert\SweetAlertServiceProvider::class,
|
||||||
|
|
||||||
|
])->toArray(),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Class Aliases
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This array of class aliases will be registered when this application
|
||||||
|
| is started. However, feel free to register as many as you wish as
|
||||||
|
| the aliases are "lazy" loaded so they don't hinder performance.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'aliases' => Facade::defaultAliases()->merge([
|
||||||
|
// 'Example' => App\Facades\Example::class,
|
||||||
|
])->toArray(),
|
||||||
|
'Alert' => RealRashid\SweetAlert\Facades\Alert::class,
|
||||||
|
|
||||||
|
|
||||||
|
];
|
|
@ -0,0 +1,115 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Authentication Defaults
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This option controls the default authentication "guard" and password
|
||||||
|
| reset options for your application. You may change these defaults
|
||||||
|
| as required, but they're a perfect start for most applications.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'defaults' => [
|
||||||
|
'guard' => 'web',
|
||||||
|
'passwords' => 'users',
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Authentication Guards
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Next, you may define every authentication guard for your application.
|
||||||
|
| Of course, a great default configuration has been defined for you
|
||||||
|
| here which uses session storage and the Eloquent user provider.
|
||||||
|
|
|
||||||
|
| All authentication drivers have a user provider. This defines how the
|
||||||
|
| users are actually retrieved out of your database or other storage
|
||||||
|
| mechanisms used by this application to persist your user's data.
|
||||||
|
|
|
||||||
|
| Supported: "session"
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'guards' => [
|
||||||
|
'web' => [
|
||||||
|
'driver' => 'session',
|
||||||
|
'provider' => 'users',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| User Providers
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| All authentication drivers have a user provider. This defines how the
|
||||||
|
| users are actually retrieved out of your database or other storage
|
||||||
|
| mechanisms used by this application to persist your user's data.
|
||||||
|
|
|
||||||
|
| If you have multiple user tables or models you may configure multiple
|
||||||
|
| sources which represent each model / table. These sources may then
|
||||||
|
| be assigned to any extra authentication guards you have defined.
|
||||||
|
|
|
||||||
|
| Supported: "database", "eloquent"
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'providers' => [
|
||||||
|
'users' => [
|
||||||
|
'driver' => 'eloquent',
|
||||||
|
'model' => App\Models\User::class,
|
||||||
|
],
|
||||||
|
|
||||||
|
// 'users' => [
|
||||||
|
// 'driver' => 'database',
|
||||||
|
// 'table' => 'users',
|
||||||
|
// ],
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Resetting Passwords
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| You may specify multiple password reset configurations if you have more
|
||||||
|
| than one user table or model in the application and you want to have
|
||||||
|
| separate password reset settings based on the specific user types.
|
||||||
|
|
|
||||||
|
| The expiry time is the number of minutes that each reset token will be
|
||||||
|
| considered valid. This security feature keeps tokens short-lived so
|
||||||
|
| they have less time to be guessed. You may change this as needed.
|
||||||
|
|
|
||||||
|
| The throttle setting is the number of seconds a user must wait before
|
||||||
|
| generating more password reset tokens. This prevents the user from
|
||||||
|
| quickly generating a very large amount of password reset tokens.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'passwords' => [
|
||||||
|
'users' => [
|
||||||
|
'provider' => 'users',
|
||||||
|
'table' => 'password_reset_tokens',
|
||||||
|
'expire' => 60,
|
||||||
|
'throttle' => 60,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Password Confirmation Timeout
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may define the amount of seconds before a password confirmation
|
||||||
|
| times out and the user is prompted to re-enter their password via the
|
||||||
|
| confirmation screen. By default, the timeout lasts for three hours.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'password_timeout' => 10800,
|
||||||
|
|
||||||
|
];
|
|
@ -0,0 +1,71 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Default Broadcaster
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This option controls the default broadcaster that will be used by the
|
||||||
|
| framework when an event needs to be broadcast. You may set this to
|
||||||
|
| any of the connections defined in the "connections" array below.
|
||||||
|
|
|
||||||
|
| Supported: "pusher", "ably", "redis", "log", "null"
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'default' => env('BROADCAST_DRIVER', 'null'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Broadcast Connections
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may define all of the broadcast connections that will be used
|
||||||
|
| to broadcast events to other systems or over websockets. Samples of
|
||||||
|
| each available type of connection are provided inside this array.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'connections' => [
|
||||||
|
|
||||||
|
'pusher' => [
|
||||||
|
'driver' => 'pusher',
|
||||||
|
'key' => env('PUSHER_APP_KEY'),
|
||||||
|
'secret' => env('PUSHER_APP_SECRET'),
|
||||||
|
'app_id' => env('PUSHER_APP_ID'),
|
||||||
|
'options' => [
|
||||||
|
'cluster' => env('PUSHER_APP_CLUSTER'),
|
||||||
|
'host' => env('PUSHER_HOST') ?: 'api-'.env('PUSHER_APP_CLUSTER', 'mt1').'.pusher.com',
|
||||||
|
'port' => env('PUSHER_PORT', 443),
|
||||||
|
'scheme' => env('PUSHER_SCHEME', 'https'),
|
||||||
|
'encrypted' => true,
|
||||||
|
'useTLS' => env('PUSHER_SCHEME', 'https') === 'https',
|
||||||
|
],
|
||||||
|
'client_options' => [
|
||||||
|
// Guzzle client options: https://docs.guzzlephp.org/en/stable/request-options.html
|
||||||
|
],
|
||||||
|
],
|
||||||
|
|
||||||
|
'ably' => [
|
||||||
|
'driver' => 'ably',
|
||||||
|
'key' => env('ABLY_KEY'),
|
||||||
|
],
|
||||||
|
|
||||||
|
'redis' => [
|
||||||
|
'driver' => 'redis',
|
||||||
|
'connection' => 'default',
|
||||||
|
],
|
||||||
|
|
||||||
|
'log' => [
|
||||||
|
'driver' => 'log',
|
||||||
|
],
|
||||||
|
|
||||||
|
'null' => [
|
||||||
|
'driver' => 'null',
|
||||||
|
],
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
];
|
|
@ -0,0 +1,111 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Support\Str;
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Default Cache Store
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This option controls the default cache connection that gets used while
|
||||||
|
| using this caching library. This connection is used when another is
|
||||||
|
| not explicitly specified when executing a given caching function.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'default' => env('CACHE_DRIVER', 'file'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Cache Stores
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may define all of the cache "stores" for your application as
|
||||||
|
| well as their drivers. You may even define multiple stores for the
|
||||||
|
| same cache driver to group types of items stored in your caches.
|
||||||
|
|
|
||||||
|
| Supported drivers: "apc", "array", "database", "file",
|
||||||
|
| "memcached", "redis", "dynamodb", "octane", "null"
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'stores' => [
|
||||||
|
|
||||||
|
'apc' => [
|
||||||
|
'driver' => 'apc',
|
||||||
|
],
|
||||||
|
|
||||||
|
'array' => [
|
||||||
|
'driver' => 'array',
|
||||||
|
'serialize' => false,
|
||||||
|
],
|
||||||
|
|
||||||
|
'database' => [
|
||||||
|
'driver' => 'database',
|
||||||
|
'table' => 'cache',
|
||||||
|
'connection' => null,
|
||||||
|
'lock_connection' => null,
|
||||||
|
],
|
||||||
|
|
||||||
|
'file' => [
|
||||||
|
'driver' => 'file',
|
||||||
|
'path' => storage_path('framework/cache/data'),
|
||||||
|
'lock_path' => storage_path('framework/cache/data'),
|
||||||
|
],
|
||||||
|
|
||||||
|
'memcached' => [
|
||||||
|
'driver' => 'memcached',
|
||||||
|
'persistent_id' => env('MEMCACHED_PERSISTENT_ID'),
|
||||||
|
'sasl' => [
|
||||||
|
env('MEMCACHED_USERNAME'),
|
||||||
|
env('MEMCACHED_PASSWORD'),
|
||||||
|
],
|
||||||
|
'options' => [
|
||||||
|
// Memcached::OPT_CONNECT_TIMEOUT => 2000,
|
||||||
|
],
|
||||||
|
'servers' => [
|
||||||
|
[
|
||||||
|
'host' => env('MEMCACHED_HOST', '127.0.0.1'),
|
||||||
|
'port' => env('MEMCACHED_PORT', 11211),
|
||||||
|
'weight' => 100,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
],
|
||||||
|
|
||||||
|
'redis' => [
|
||||||
|
'driver' => 'redis',
|
||||||
|
'connection' => 'cache',
|
||||||
|
'lock_connection' => 'default',
|
||||||
|
],
|
||||||
|
|
||||||
|
'dynamodb' => [
|
||||||
|
'driver' => 'dynamodb',
|
||||||
|
'key' => env('AWS_ACCESS_KEY_ID'),
|
||||||
|
'secret' => env('AWS_SECRET_ACCESS_KEY'),
|
||||||
|
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
|
||||||
|
'table' => env('DYNAMODB_CACHE_TABLE', 'cache'),
|
||||||
|
'endpoint' => env('DYNAMODB_ENDPOINT'),
|
||||||
|
],
|
||||||
|
|
||||||
|
'octane' => [
|
||||||
|
'driver' => 'octane',
|
||||||
|
],
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Cache Key Prefix
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| When utilizing the APC, database, memcached, Redis, or DynamoDB cache
|
||||||
|
| stores there might be other applications using the same cache. For
|
||||||
|
| that reason, you may prefix every cache key to avoid collisions.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache_'),
|
||||||
|
|
||||||
|
];
|
|
@ -0,0 +1,34 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Cross-Origin Resource Sharing (CORS) Configuration
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may configure your settings for cross-origin resource sharing
|
||||||
|
| or "CORS". This determines what cross-origin operations may execute
|
||||||
|
| in web browsers. You are free to adjust these settings as needed.
|
||||||
|
|
|
||||||
|
| To learn more: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'paths' => ['api/*', 'sanctum/csrf-cookie'],
|
||||||
|
|
||||||
|
'allowed_methods' => ['*'],
|
||||||
|
|
||||||
|
'allowed_origins' => ['*'],
|
||||||
|
|
||||||
|
'allowed_origins_patterns' => [],
|
||||||
|
|
||||||
|
'allowed_headers' => ['*'],
|
||||||
|
|
||||||
|
'exposed_headers' => [],
|
||||||
|
|
||||||
|
'max_age' => 0,
|
||||||
|
|
||||||
|
'supports_credentials' => false,
|
||||||
|
|
||||||
|
];
|
|
@ -0,0 +1,151 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Support\Str;
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Default Database Connection Name
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may specify which of the database connections below you wish
|
||||||
|
| to use as your default connection for all database work. Of course
|
||||||
|
| you may use many connections at once using the Database library.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'default' => env('DB_CONNECTION', 'mysql'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Database Connections
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here are each of the database connections setup for your application.
|
||||||
|
| Of course, examples of configuring each database platform that is
|
||||||
|
| supported by Laravel is shown below to make development simple.
|
||||||
|
|
|
||||||
|
|
|
||||||
|
| All database work in Laravel is done through the PHP PDO facilities
|
||||||
|
| so make sure you have the driver for your particular database of
|
||||||
|
| choice installed on your machine before you begin development.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'connections' => [
|
||||||
|
|
||||||
|
'sqlite' => [
|
||||||
|
'driver' => 'sqlite',
|
||||||
|
'url' => env('DATABASE_URL'),
|
||||||
|
'database' => env('DB_DATABASE', database_path('database.sqlite')),
|
||||||
|
'prefix' => '',
|
||||||
|
'foreign_key_constraints' => env('DB_FOREIGN_KEYS', true),
|
||||||
|
],
|
||||||
|
|
||||||
|
'mysql' => [
|
||||||
|
'driver' => 'mysql',
|
||||||
|
'url' => env('DATABASE_URL'),
|
||||||
|
'host' => env('DB_HOST', '127.0.0.1'),
|
||||||
|
'port' => env('DB_PORT', '3306'),
|
||||||
|
'database' => env('DB_DATABASE', 'forge'),
|
||||||
|
'username' => env('DB_USERNAME', 'forge'),
|
||||||
|
'password' => env('DB_PASSWORD', ''),
|
||||||
|
'unix_socket' => env('DB_SOCKET', ''),
|
||||||
|
'charset' => 'utf8mb4',
|
||||||
|
'collation' => 'utf8mb4_unicode_ci',
|
||||||
|
'prefix' => '',
|
||||||
|
'prefix_indexes' => true,
|
||||||
|
'strict' => true,
|
||||||
|
'engine' => null,
|
||||||
|
'options' => extension_loaded('pdo_mysql') ? array_filter([
|
||||||
|
PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),
|
||||||
|
]) : [],
|
||||||
|
],
|
||||||
|
|
||||||
|
'pgsql' => [
|
||||||
|
'driver' => 'pgsql',
|
||||||
|
'url' => env('DATABASE_URL'),
|
||||||
|
'host' => env('DB_HOST', '127.0.0.1'),
|
||||||
|
'port' => env('DB_PORT', '5432'),
|
||||||
|
'database' => env('DB_DATABASE', 'forge'),
|
||||||
|
'username' => env('DB_USERNAME', 'forge'),
|
||||||
|
'password' => env('DB_PASSWORD', ''),
|
||||||
|
'charset' => 'utf8',
|
||||||
|
'prefix' => '',
|
||||||
|
'prefix_indexes' => true,
|
||||||
|
'search_path' => 'public',
|
||||||
|
'sslmode' => 'prefer',
|
||||||
|
],
|
||||||
|
|
||||||
|
'sqlsrv' => [
|
||||||
|
'driver' => 'sqlsrv',
|
||||||
|
'url' => env('DATABASE_URL'),
|
||||||
|
'host' => env('DB_HOST', 'localhost'),
|
||||||
|
'port' => env('DB_PORT', '1433'),
|
||||||
|
'database' => env('DB_DATABASE', 'forge'),
|
||||||
|
'username' => env('DB_USERNAME', 'forge'),
|
||||||
|
'password' => env('DB_PASSWORD', ''),
|
||||||
|
'charset' => 'utf8',
|
||||||
|
'prefix' => '',
|
||||||
|
'prefix_indexes' => true,
|
||||||
|
// 'encrypt' => env('DB_ENCRYPT', 'yes'),
|
||||||
|
// 'trust_server_certificate' => env('DB_TRUST_SERVER_CERTIFICATE', 'false'),
|
||||||
|
],
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Migration Repository Table
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This table keeps track of all the migrations that have already run for
|
||||||
|
| your application. Using this information, we can determine which of
|
||||||
|
| the migrations on disk haven't actually been run in the database.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'migrations' => 'migrations',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Redis Databases
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Redis is an open source, fast, and advanced key-value store that also
|
||||||
|
| provides a richer body of commands than a typical key-value system
|
||||||
|
| such as APC or Memcached. Laravel makes it easy to dig right in.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'redis' => [
|
||||||
|
|
||||||
|
'client' => env('REDIS_CLIENT', 'phpredis'),
|
||||||
|
|
||||||
|
'options' => [
|
||||||
|
'cluster' => env('REDIS_CLUSTER', 'redis'),
|
||||||
|
'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_database_'),
|
||||||
|
],
|
||||||
|
|
||||||
|
'default' => [
|
||||||
|
'url' => env('REDIS_URL'),
|
||||||
|
'host' => env('REDIS_HOST', '127.0.0.1'),
|
||||||
|
'username' => env('REDIS_USERNAME'),
|
||||||
|
'password' => env('REDIS_PASSWORD'),
|
||||||
|
'port' => env('REDIS_PORT', '6379'),
|
||||||
|
'database' => env('REDIS_DB', '0'),
|
||||||
|
],
|
||||||
|
|
||||||
|
'cache' => [
|
||||||
|
'url' => env('REDIS_URL'),
|
||||||
|
'host' => env('REDIS_HOST', '127.0.0.1'),
|
||||||
|
'username' => env('REDIS_USERNAME'),
|
||||||
|
'password' => env('REDIS_PASSWORD'),
|
||||||
|
'port' => env('REDIS_PORT', '6379'),
|
||||||
|
'database' => env('REDIS_CACHE_DB', '1'),
|
||||||
|
],
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
];
|
|
@ -0,0 +1,76 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Default Filesystem Disk
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may specify the default filesystem disk that should be used
|
||||||
|
| by the framework. The "local" disk, as well as a variety of cloud
|
||||||
|
| based disks are available to your application. Just store away!
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'default' => env('FILESYSTEM_DISK', 'local'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Filesystem Disks
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may configure as many filesystem "disks" as you wish, and you
|
||||||
|
| may even configure multiple disks of the same driver. Defaults have
|
||||||
|
| been set up for each driver as an example of the required values.
|
||||||
|
|
|
||||||
|
| Supported Drivers: "local", "ftp", "sftp", "s3"
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'disks' => [
|
||||||
|
|
||||||
|
'local' => [
|
||||||
|
'driver' => 'local',
|
||||||
|
'root' => storage_path('app'),
|
||||||
|
'throw' => false,
|
||||||
|
],
|
||||||
|
|
||||||
|
'public' => [
|
||||||
|
'driver' => 'local',
|
||||||
|
'root' => storage_path('app/public'),
|
||||||
|
'url' => env('APP_URL').'/storage',
|
||||||
|
'visibility' => 'public',
|
||||||
|
'throw' => false,
|
||||||
|
],
|
||||||
|
|
||||||
|
's3' => [
|
||||||
|
'driver' => 's3',
|
||||||
|
'key' => env('AWS_ACCESS_KEY_ID'),
|
||||||
|
'secret' => env('AWS_SECRET_ACCESS_KEY'),
|
||||||
|
'region' => env('AWS_DEFAULT_REGION'),
|
||||||
|
'bucket' => env('AWS_BUCKET'),
|
||||||
|
'url' => env('AWS_URL'),
|
||||||
|
'endpoint' => env('AWS_ENDPOINT'),
|
||||||
|
'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false),
|
||||||
|
'throw' => false,
|
||||||
|
],
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Symbolic Links
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may configure the symbolic links that will be created when the
|
||||||
|
| `storage:link` Artisan command is executed. The array keys should be
|
||||||
|
| the locations of the links and the values should be their targets.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'links' => [
|
||||||
|
public_path('storage') => storage_path('app/public'),
|
||||||
|
],
|
||||||
|
|
||||||
|
];
|
|
@ -0,0 +1,54 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Default Hash Driver
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This option controls the default hash driver that will be used to hash
|
||||||
|
| passwords for your application. By default, the bcrypt algorithm is
|
||||||
|
| used; however, you remain free to modify this option if you wish.
|
||||||
|
|
|
||||||
|
| Supported: "bcrypt", "argon", "argon2id"
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'driver' => 'bcrypt',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Bcrypt Options
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may specify the configuration options that should be used when
|
||||||
|
| passwords are hashed using the Bcrypt algorithm. This will allow you
|
||||||
|
| to control the amount of time it takes to hash the given password.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'bcrypt' => [
|
||||||
|
'rounds' => env('BCRYPT_ROUNDS', 12),
|
||||||
|
'verify' => true,
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Argon Options
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may specify the configuration options that should be used when
|
||||||
|
| passwords are hashed using the Argon algorithm. These will allow you
|
||||||
|
| to control the amount of time it takes to hash the given password.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'argon' => [
|
||||||
|
'memory' => 65536,
|
||||||
|
'threads' => 1,
|
||||||
|
'time' => 4,
|
||||||
|
'verify' => true,
|
||||||
|
],
|
||||||
|
|
||||||
|
];
|
|
@ -0,0 +1,131 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
use Monolog\Handler\NullHandler;
|
||||||
|
use Monolog\Handler\StreamHandler;
|
||||||
|
use Monolog\Handler\SyslogUdpHandler;
|
||||||
|
use Monolog\Processor\PsrLogMessageProcessor;
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Default Log Channel
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This option defines the default log channel that gets used when writing
|
||||||
|
| messages to the logs. The name specified in this option should match
|
||||||
|
| one of the channels defined in the "channels" configuration array.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'default' => env('LOG_CHANNEL', 'stack'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Deprecations Log Channel
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This option controls the log channel that should be used to log warnings
|
||||||
|
| regarding deprecated PHP and library features. This allows you to get
|
||||||
|
| your application ready for upcoming major versions of dependencies.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'deprecations' => [
|
||||||
|
'channel' => env('LOG_DEPRECATIONS_CHANNEL', 'null'),
|
||||||
|
'trace' => false,
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Log Channels
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may configure the log channels for your application. Out of
|
||||||
|
| the box, Laravel uses the Monolog PHP logging library. This gives
|
||||||
|
| you a variety of powerful log handlers / formatters to utilize.
|
||||||
|
|
|
||||||
|
| Available Drivers: "single", "daily", "slack", "syslog",
|
||||||
|
| "errorlog", "monolog",
|
||||||
|
| "custom", "stack"
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'channels' => [
|
||||||
|
'stack' => [
|
||||||
|
'driver' => 'stack',
|
||||||
|
'channels' => ['single'],
|
||||||
|
'ignore_exceptions' => false,
|
||||||
|
],
|
||||||
|
|
||||||
|
'single' => [
|
||||||
|
'driver' => 'single',
|
||||||
|
'path' => storage_path('logs/laravel.log'),
|
||||||
|
'level' => env('LOG_LEVEL', 'debug'),
|
||||||
|
'replace_placeholders' => true,
|
||||||
|
],
|
||||||
|
|
||||||
|
'daily' => [
|
||||||
|
'driver' => 'daily',
|
||||||
|
'path' => storage_path('logs/laravel.log'),
|
||||||
|
'level' => env('LOG_LEVEL', 'debug'),
|
||||||
|
'days' => 14,
|
||||||
|
'replace_placeholders' => true,
|
||||||
|
],
|
||||||
|
|
||||||
|
'slack' => [
|
||||||
|
'driver' => 'slack',
|
||||||
|
'url' => env('LOG_SLACK_WEBHOOK_URL'),
|
||||||
|
'username' => 'Laravel Log',
|
||||||
|
'emoji' => ':boom:',
|
||||||
|
'level' => env('LOG_LEVEL', 'critical'),
|
||||||
|
'replace_placeholders' => true,
|
||||||
|
],
|
||||||
|
|
||||||
|
'papertrail' => [
|
||||||
|
'driver' => 'monolog',
|
||||||
|
'level' => env('LOG_LEVEL', 'debug'),
|
||||||
|
'handler' => env('LOG_PAPERTRAIL_HANDLER', SyslogUdpHandler::class),
|
||||||
|
'handler_with' => [
|
||||||
|
'host' => env('PAPERTRAIL_URL'),
|
||||||
|
'port' => env('PAPERTRAIL_PORT'),
|
||||||
|
'connectionString' => 'tls://'.env('PAPERTRAIL_URL').':'.env('PAPERTRAIL_PORT'),
|
||||||
|
],
|
||||||
|
'processors' => [PsrLogMessageProcessor::class],
|
||||||
|
],
|
||||||
|
|
||||||
|
'stderr' => [
|
||||||
|
'driver' => 'monolog',
|
||||||
|
'level' => env('LOG_LEVEL', 'debug'),
|
||||||
|
'handler' => StreamHandler::class,
|
||||||
|
'formatter' => env('LOG_STDERR_FORMATTER'),
|
||||||
|
'with' => [
|
||||||
|
'stream' => 'php://stderr',
|
||||||
|
],
|
||||||
|
'processors' => [PsrLogMessageProcessor::class],
|
||||||
|
],
|
||||||
|
|
||||||
|
'syslog' => [
|
||||||
|
'driver' => 'syslog',
|
||||||
|
'level' => env('LOG_LEVEL', 'debug'),
|
||||||
|
'facility' => LOG_USER,
|
||||||
|
'replace_placeholders' => true,
|
||||||
|
],
|
||||||
|
|
||||||
|
'errorlog' => [
|
||||||
|
'driver' => 'errorlog',
|
||||||
|
'level' => env('LOG_LEVEL', 'debug'),
|
||||||
|
'replace_placeholders' => true,
|
||||||
|
],
|
||||||
|
|
||||||
|
'null' => [
|
||||||
|
'driver' => 'monolog',
|
||||||
|
'handler' => NullHandler::class,
|
||||||
|
],
|
||||||
|
|
||||||
|
'emergency' => [
|
||||||
|
'path' => storage_path('logs/laravel.log'),
|
||||||
|
],
|
||||||
|
],
|
||||||
|
|
||||||
|
];
|
|
@ -0,0 +1,134 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Default Mailer
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This option controls the default mailer that is used to send any email
|
||||||
|
| messages sent by your application. Alternative mailers may be setup
|
||||||
|
| and used as needed; however, this mailer will be used by default.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'default' => env('MAIL_MAILER', 'smtp'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Mailer Configurations
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may configure all of the mailers used by your application plus
|
||||||
|
| their respective settings. Several examples have been configured for
|
||||||
|
| you and you are free to add your own as your application requires.
|
||||||
|
|
|
||||||
|
| Laravel supports a variety of mail "transport" drivers to be used while
|
||||||
|
| sending an e-mail. You will specify which one you are using for your
|
||||||
|
| mailers below. You are free to add additional mailers as required.
|
||||||
|
|
|
||||||
|
| Supported: "smtp", "sendmail", "mailgun", "ses", "ses-v2",
|
||||||
|
| "postmark", "log", "array", "failover", "roundrobin"
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'mailers' => [
|
||||||
|
'smtp' => [
|
||||||
|
'transport' => 'smtp',
|
||||||
|
'url' => env('MAIL_URL'),
|
||||||
|
'host' => env('MAIL_HOST', 'smtp.mailgun.org'),
|
||||||
|
'port' => env('MAIL_PORT', 587),
|
||||||
|
'encryption' => env('MAIL_ENCRYPTION', 'tls'),
|
||||||
|
'username' => env('MAIL_USERNAME'),
|
||||||
|
'password' => env('MAIL_PASSWORD'),
|
||||||
|
'timeout' => null,
|
||||||
|
'local_domain' => env('MAIL_EHLO_DOMAIN'),
|
||||||
|
],
|
||||||
|
|
||||||
|
'ses' => [
|
||||||
|
'transport' => 'ses',
|
||||||
|
],
|
||||||
|
|
||||||
|
'postmark' => [
|
||||||
|
'transport' => 'postmark',
|
||||||
|
// 'message_stream_id' => null,
|
||||||
|
// 'client' => [
|
||||||
|
// 'timeout' => 5,
|
||||||
|
// ],
|
||||||
|
],
|
||||||
|
|
||||||
|
'mailgun' => [
|
||||||
|
'transport' => 'mailgun',
|
||||||
|
// 'client' => [
|
||||||
|
// 'timeout' => 5,
|
||||||
|
// ],
|
||||||
|
],
|
||||||
|
|
||||||
|
'sendmail' => [
|
||||||
|
'transport' => 'sendmail',
|
||||||
|
'path' => env('MAIL_SENDMAIL_PATH', '/usr/sbin/sendmail -bs -i'),
|
||||||
|
],
|
||||||
|
|
||||||
|
'log' => [
|
||||||
|
'transport' => 'log',
|
||||||
|
'channel' => env('MAIL_LOG_CHANNEL'),
|
||||||
|
],
|
||||||
|
|
||||||
|
'array' => [
|
||||||
|
'transport' => 'array',
|
||||||
|
],
|
||||||
|
|
||||||
|
'failover' => [
|
||||||
|
'transport' => 'failover',
|
||||||
|
'mailers' => [
|
||||||
|
'smtp',
|
||||||
|
'log',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
|
||||||
|
'roundrobin' => [
|
||||||
|
'transport' => 'roundrobin',
|
||||||
|
'mailers' => [
|
||||||
|
'ses',
|
||||||
|
'postmark',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Global "From" Address
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| You may wish for all e-mails sent by your application to be sent from
|
||||||
|
| the same address. Here, you may specify a name and address that is
|
||||||
|
| used globally for all e-mails that are sent by your application.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'from' => [
|
||||||
|
'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'),
|
||||||
|
'name' => env('MAIL_FROM_NAME', 'Example'),
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Markdown Mail Settings
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| If you are using Markdown based email rendering, you may configure your
|
||||||
|
| theme and component paths here, allowing you to customize the design
|
||||||
|
| of the emails. Or, you may simply stick with the Laravel defaults!
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'markdown' => [
|
||||||
|
'theme' => 'default',
|
||||||
|
|
||||||
|
'paths' => [
|
||||||
|
resource_path('views/vendor/mail'),
|
||||||
|
],
|
||||||
|
],
|
||||||
|
|
||||||
|
];
|
|
@ -0,0 +1,109 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Default Queue Connection Name
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Laravel's queue API supports an assortment of back-ends via a single
|
||||||
|
| API, giving you convenient access to each back-end using the same
|
||||||
|
| syntax for every one. Here you may define a default connection.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'default' => env('QUEUE_CONNECTION', 'sync'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Queue Connections
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may configure the connection information for each server that
|
||||||
|
| is used by your application. A default configuration has been added
|
||||||
|
| for each back-end shipped with Laravel. You are free to add more.
|
||||||
|
|
|
||||||
|
| Drivers: "sync", "database", "beanstalkd", "sqs", "redis", "null"
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'connections' => [
|
||||||
|
|
||||||
|
'sync' => [
|
||||||
|
'driver' => 'sync',
|
||||||
|
],
|
||||||
|
|
||||||
|
'database' => [
|
||||||
|
'driver' => 'database',
|
||||||
|
'table' => 'jobs',
|
||||||
|
'queue' => 'default',
|
||||||
|
'retry_after' => 90,
|
||||||
|
'after_commit' => false,
|
||||||
|
],
|
||||||
|
|
||||||
|
'beanstalkd' => [
|
||||||
|
'driver' => 'beanstalkd',
|
||||||
|
'host' => 'localhost',
|
||||||
|
'queue' => 'default',
|
||||||
|
'retry_after' => 90,
|
||||||
|
'block_for' => 0,
|
||||||
|
'after_commit' => false,
|
||||||
|
],
|
||||||
|
|
||||||
|
'sqs' => [
|
||||||
|
'driver' => 'sqs',
|
||||||
|
'key' => env('AWS_ACCESS_KEY_ID'),
|
||||||
|
'secret' => env('AWS_SECRET_ACCESS_KEY'),
|
||||||
|
'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'),
|
||||||
|
'queue' => env('SQS_QUEUE', 'default'),
|
||||||
|
'suffix' => env('SQS_SUFFIX'),
|
||||||
|
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
|
||||||
|
'after_commit' => false,
|
||||||
|
],
|
||||||
|
|
||||||
|
'redis' => [
|
||||||
|
'driver' => 'redis',
|
||||||
|
'connection' => 'default',
|
||||||
|
'queue' => env('REDIS_QUEUE', 'default'),
|
||||||
|
'retry_after' => 90,
|
||||||
|
'block_for' => null,
|
||||||
|
'after_commit' => false,
|
||||||
|
],
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Job Batching
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The following options configure the database and table that store job
|
||||||
|
| batching information. These options can be updated to any database
|
||||||
|
| connection and table which has been defined by your application.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'batching' => [
|
||||||
|
'database' => env('DB_CONNECTION', 'mysql'),
|
||||||
|
'table' => 'job_batches',
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Failed Queue Jobs
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| These options configure the behavior of failed queue job logging so you
|
||||||
|
| can control which database and table are used to store the jobs that
|
||||||
|
| have failed. You may change them to any database / table you wish.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'failed' => [
|
||||||
|
'driver' => env('QUEUE_FAILED_DRIVER', 'database-uuids'),
|
||||||
|
'database' => env('DB_CONNECTION', 'mysql'),
|
||||||
|
'table' => 'failed_jobs',
|
||||||
|
],
|
||||||
|
|
||||||
|
];
|
|
@ -0,0 +1,83 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
use Laravel\Sanctum\Sanctum;
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Stateful Domains
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Requests from the following domains / hosts will receive stateful API
|
||||||
|
| authentication cookies. Typically, these should include your local
|
||||||
|
| and production domains which access your API via a frontend SPA.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'stateful' => explode(',', env('SANCTUM_STATEFUL_DOMAINS', sprintf(
|
||||||
|
'%s%s',
|
||||||
|
'localhost,localhost:3000,127.0.0.1,127.0.0.1:8000,::1',
|
||||||
|
Sanctum::currentApplicationUrlWithPort()
|
||||||
|
))),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Sanctum Guards
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This array contains the authentication guards that will be checked when
|
||||||
|
| Sanctum is trying to authenticate a request. If none of these guards
|
||||||
|
| are able to authenticate the request, Sanctum will use the bearer
|
||||||
|
| token that's present on an incoming request for authentication.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'guard' => ['web'],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Expiration Minutes
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This value controls the number of minutes until an issued token will be
|
||||||
|
| considered expired. This will override any values set in the token's
|
||||||
|
| "expires_at" attribute, but first-party sessions are not affected.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'expiration' => null,
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Token Prefix
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Sanctum can prefix new tokens in order to take advantage of numerous
|
||||||
|
| security scanning initiatives maintained by open source platforms
|
||||||
|
| that notify developers if they commit tokens into repositories.
|
||||||
|
|
|
||||||
|
| See: https://docs.github.com/en/code-security/secret-scanning/about-secret-scanning
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'token_prefix' => env('SANCTUM_TOKEN_PREFIX', ''),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Sanctum Middleware
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| When authenticating your first-party SPA with Sanctum you may need to
|
||||||
|
| customize some of the middleware Sanctum uses while processing the
|
||||||
|
| request. You may change the middleware listed below as required.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'middleware' => [
|
||||||
|
'authenticate_session' => Laravel\Sanctum\Http\Middleware\AuthenticateSession::class,
|
||||||
|
'encrypt_cookies' => App\Http\Middleware\EncryptCookies::class,
|
||||||
|
'verify_csrf_token' => App\Http\Middleware\VerifyCsrfToken::class,
|
||||||
|
],
|
||||||
|
|
||||||
|
];
|
|
@ -0,0 +1,34 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Third Party Services
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This file is for storing the credentials for third party services such
|
||||||
|
| as Mailgun, Postmark, AWS and more. This file provides the de facto
|
||||||
|
| location for this type of information, allowing packages to have
|
||||||
|
| a conventional file to locate the various service credentials.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'mailgun' => [
|
||||||
|
'domain' => env('MAILGUN_DOMAIN'),
|
||||||
|
'secret' => env('MAILGUN_SECRET'),
|
||||||
|
'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'),
|
||||||
|
'scheme' => 'https',
|
||||||
|
],
|
||||||
|
|
||||||
|
'postmark' => [
|
||||||
|
'token' => env('POSTMARK_TOKEN'),
|
||||||
|
],
|
||||||
|
|
||||||
|
'ses' => [
|
||||||
|
'key' => env('AWS_ACCESS_KEY_ID'),
|
||||||
|
'secret' => env('AWS_SECRET_ACCESS_KEY'),
|
||||||
|
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
|
||||||
|
],
|
||||||
|
|
||||||
|
];
|
|
@ -0,0 +1,214 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Support\Str;
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Default Session Driver
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This option controls the default session "driver" that will be used on
|
||||||
|
| requests. By default, we will use the lightweight native driver but
|
||||||
|
| you may specify any of the other wonderful drivers provided here.
|
||||||
|
|
|
||||||
|
| Supported: "file", "cookie", "database", "apc",
|
||||||
|
| "memcached", "redis", "dynamodb", "array"
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'driver' => env('SESSION_DRIVER', 'file'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Session Lifetime
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may specify the number of minutes that you wish the session
|
||||||
|
| to be allowed to remain idle before it expires. If you want them
|
||||||
|
| to immediately expire on the browser closing, set that option.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'lifetime' => env('SESSION_LIFETIME', 120),
|
||||||
|
|
||||||
|
'expire_on_close' => false,
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Session Encryption
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This option allows you to easily specify that all of your session data
|
||||||
|
| should be encrypted before it is stored. All encryption will be run
|
||||||
|
| automatically by Laravel and you can use the Session like normal.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'encrypt' => false,
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Session File Location
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| When using the native session driver, we need a location where session
|
||||||
|
| files may be stored. A default has been set for you but a different
|
||||||
|
| location may be specified. This is only needed for file sessions.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'files' => storage_path('framework/sessions'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Session Database Connection
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| When using the "database" or "redis" session drivers, you may specify a
|
||||||
|
| connection that should be used to manage these sessions. This should
|
||||||
|
| correspond to a connection in your database configuration options.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'connection' => env('SESSION_CONNECTION'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Session Database Table
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| When using the "database" session driver, you may specify the table we
|
||||||
|
| should use to manage the sessions. Of course, a sensible default is
|
||||||
|
| provided for you; however, you are free to change this as needed.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'table' => 'sessions',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Session Cache Store
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| While using one of the framework's cache driven session backends you may
|
||||||
|
| list a cache store that should be used for these sessions. This value
|
||||||
|
| must match with one of the application's configured cache "stores".
|
||||||
|
|
|
||||||
|
| Affects: "apc", "dynamodb", "memcached", "redis"
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'store' => env('SESSION_STORE'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Session Sweeping Lottery
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Some session drivers must manually sweep their storage location to get
|
||||||
|
| rid of old sessions from storage. Here are the chances that it will
|
||||||
|
| happen on a given request. By default, the odds are 2 out of 100.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'lottery' => [2, 100],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Session Cookie Name
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may change the name of the cookie used to identify a session
|
||||||
|
| instance by ID. The name specified here will get used every time a
|
||||||
|
| new session cookie is created by the framework for every driver.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'cookie' => env(
|
||||||
|
'SESSION_COOKIE',
|
||||||
|
Str::slug(env('APP_NAME', 'laravel'), '_').'_session'
|
||||||
|
),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Session Cookie Path
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The session cookie path determines the path for which the cookie will
|
||||||
|
| be regarded as available. Typically, this will be the root path of
|
||||||
|
| your application but you are free to change this when necessary.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'path' => '/',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Session Cookie Domain
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may change the domain of the cookie used to identify a session
|
||||||
|
| in your application. This will determine which domains the cookie is
|
||||||
|
| available to in your application. A sensible default has been set.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'domain' => env('SESSION_DOMAIN'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| HTTPS Only Cookies
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| By setting this option to true, session cookies will only be sent back
|
||||||
|
| to the server if the browser has a HTTPS connection. This will keep
|
||||||
|
| the cookie from being sent to you when it can't be done securely.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'secure' => env('SESSION_SECURE_COOKIE'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| HTTP Access Only
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Setting this value to true will prevent JavaScript from accessing the
|
||||||
|
| value of the cookie and the cookie will only be accessible through
|
||||||
|
| the HTTP protocol. You are free to modify this option if needed.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'http_only' => true,
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Same-Site Cookies
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This option determines how your cookies behave when cross-site requests
|
||||||
|
| take place, and can be used to mitigate CSRF attacks. By default, we
|
||||||
|
| will set this value to "lax" since this is a secure default value.
|
||||||
|
|
|
||||||
|
| Supported: "lax", "strict", "none", null
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'same_site' => 'lax',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Partitioned Cookies
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Setting this value to true will tie the cookie to the top-level site for
|
||||||
|
| a cross-site context. Partitioned cookies are accepted by the browser
|
||||||
|
| when flagged "secure" and the Same-Site attribute is set to "none".
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'partitioned' => false,
|
||||||
|
|
||||||
|
];
|
|
@ -0,0 +1,269 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Theme
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| The theme to use for SweetAlert2 popups.
|
||||||
|
| Available themes: dark, minimal, borderless, bootstrap-4, material-ui, wordpress-admin, bulma.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'theme' => env('SWEET_ALERT_THEME', 'default'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| CDN LINK
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| By default SweetAlert2 use its local sweetalert.all.js
|
||||||
|
| file.
|
||||||
|
| However, you can use its cdn if you want.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'cdn' => env('SWEET_ALERT_CDN'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Always load the sweetalert.all.js
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| There might be situations where you will always want the sweet alert
|
||||||
|
| js package to be there for you. (for eg. you might use it heavily to
|
||||||
|
| show notifications or you might want to use the native js) then this
|
||||||
|
| might be handy.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'alwaysLoadJS' => env('SWEET_ALERT_ALWAYS_LOAD_JS', false),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Never load the sweetalert.all.js
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| If you want to handle the sweet alert js package by yourself
|
||||||
|
| (for eg. you might want to use laravel mix) then this can be
|
||||||
|
| handy.
|
||||||
|
| If you set always load js to true & never load js to false,
|
||||||
|
| it's going to prioritize the never load js.
|
||||||
|
|
|
||||||
|
| alwaysLoadJs = true & neverLoadJs = true => js will not be loaded
|
||||||
|
| alwaysLoadJs = true & neverLoadJs = false => js will be loaded
|
||||||
|
| alwaysLoadJs = false & neverLoadJs = false => js will be loaded when
|
||||||
|
| you set alert/toast by using the facade/helper functions.
|
||||||
|
*/
|
||||||
|
|
||||||
|
'neverLoadJS' => env('SWEET_ALERT_NEVER_LOAD_JS', false),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| AutoClose Timer
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This is for the all Modal windows.
|
||||||
|
| For specific modal just use the autoClose() helper method.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'timer' => env('SWEET_ALERT_TIMER', 5000),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Width
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Modal window width, including paddings (box-sizing: border-box).
|
||||||
|
| Can be in px or %.
|
||||||
|
| The default width is 32rem.
|
||||||
|
| This is for the all Modal windows.
|
||||||
|
| for particular modal just use the width() helper method.
|
||||||
|
*/
|
||||||
|
|
||||||
|
'width' => env('SWEET_ALERT_WIDTH', '32rem'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Height Auto
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| By default, SweetAlert2 sets html's and body's CSS height to auto !important.
|
||||||
|
| If this behavior isn't compatible with your project's layout,
|
||||||
|
| set heightAuto to false.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'height_auto' => env('SWEET_ALERT_HEIGHT_AUTO', true),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Padding
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Modal window padding.
|
||||||
|
| Can be in px or %.
|
||||||
|
| The default padding is 1.25rem.
|
||||||
|
| This is for the all Modal windows.
|
||||||
|
| for particular modal just use the padding() helper method.
|
||||||
|
*/
|
||||||
|
|
||||||
|
'padding' => env('SWEET_ALERT_PADDING', '1.25rem'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Background
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Modal window background
|
||||||
|
| (CSS background property).
|
||||||
|
| The default background is '#fff'.
|
||||||
|
*/
|
||||||
|
|
||||||
|
'background' => env('SWEET_ALERT_BACKGROUND', '#fff'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Animation
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Custom animation with [Animate.css](https://daneden.github.io/animate.css/)
|
||||||
|
| If set to false, modal CSS animation will be use default ones.
|
||||||
|
| For specific modal just use the animation() helper method.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'animation' => [
|
||||||
|
'enable' => env('SWEET_ALERT_ANIMATION_ENABLE', false),
|
||||||
|
],
|
||||||
|
|
||||||
|
'animatecss' => env('SWEET_ALERT_ANIMATECSS', 'https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| ShowConfirmButton
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| If set to false, a "Confirm"-button will not be shown.
|
||||||
|
| It can be useful when you're using custom HTML description.
|
||||||
|
| This is for the all Modal windows.
|
||||||
|
| For specific modal just use the showConfirmButton() helper method.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'show_confirm_button' => env('SWEET_ALERT_CONFIRM_BUTTON', true),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| ShowCloseButton
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| If set to true, a "Close"-button will be shown,
|
||||||
|
| which the user can click on to dismiss the modal.
|
||||||
|
| This is for the all Modal windows.
|
||||||
|
| For specific modal just use the showCloseButton() helper method.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'show_close_button' => env('SWEET_ALERT_CLOSE_BUTTON', false),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|-----------------------------------------------------------------------
|
||||||
|
| Confirm/Cancel Button Text
|
||||||
|
|-----------------------------------------------------------------------
|
||||||
|
| Change the default text of the modal buttons.
|
||||||
|
| The texts translations will be handled by Laravel at runtime.
|
||||||
|
| This is for the all Modal windows.
|
||||||
|
| For specific modal just use the confirmButtonText() and
|
||||||
|
| cancelButtonText() helper methods.
|
||||||
|
*/
|
||||||
|
|
||||||
|
'button_text' => [
|
||||||
|
'confirm' => env('SWEET_ALERT_CONFIRM_BUTTON_TEXT', 'OK'),
|
||||||
|
'cancel' => env('SWEET_ALERT_CANCEL_BUTTON_TEXT', 'Cancel'),
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Toast position
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Modal window or toast position, can be 'top',
|
||||||
|
| 'top-start', 'top-end', 'center', 'center-start',
|
||||||
|
| 'center-end', 'bottom', 'bottom-start', or 'bottom-end'.
|
||||||
|
| For specific modal just use the position() helper method.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'toast_position' => env('SWEET_ALERT_TOAST_POSITION', 'top-end'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Progress Bar
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| If set to true, a progress bar at the bottom of a popup will be shown.
|
||||||
|
| It can be useful with toasts.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'timer_progress_bar' => env('SWEET_ALERT_TIMER_PROGRESS_BAR', false),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Middleware
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Modal window or toast, config for the Middleware
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'middleware' => [
|
||||||
|
|
||||||
|
'autoClose' => env('SWEET_ALERT_MIDDLEWARE_AUTO_CLOSE', false),
|
||||||
|
|
||||||
|
'toast_position' => env('SWEET_ALERT_MIDDLEWARE_TOAST_POSITION', 'top-end'),
|
||||||
|
|
||||||
|
'toast_close_button' => env('SWEET_ALERT_MIDDLEWARE_TOAST_CLOSE_BUTTON', true),
|
||||||
|
|
||||||
|
'timer' => env('SWEET_ALERT_MIDDLEWARE_ALERT_CLOSE_TIME', 6000),
|
||||||
|
|
||||||
|
'auto_display_error_messages' => env('SWEET_ALERT_AUTO_DISPLAY_ERROR_MESSAGES', true),
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Custom Class
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| A custom CSS class for the modal:
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'customClass' => [
|
||||||
|
|
||||||
|
'container' => env('SWEET_ALERT_CONTAINER_CLASS'),
|
||||||
|
'popup' => env('SWEET_ALERT_POPUP_CLASS'),
|
||||||
|
'header' => env('SWEET_ALERT_HEADER_CLASS'),
|
||||||
|
'title' => env('SWEET_ALERT_TITLE_CLASS'),
|
||||||
|
'closeButton' => env('SWEET_ALERT_CLOSE_BUTTON_CLASS'),
|
||||||
|
'icon' => env('SWEET_ALERT_ICON_CLASS'),
|
||||||
|
'image' => env('SWEET_ALERT_IMAGE_CLASS'),
|
||||||
|
'content' => env('SWEET_ALERT_CONTENT_CLASS'),
|
||||||
|
'input' => env('SWEET_ALERT_INPUT_CLASS'),
|
||||||
|
'actions' => env('SWEET_ALERT_ACTIONS_CLASS'),
|
||||||
|
'confirmButton' => env('SWEET_ALERT_CONFIRM_BUTTON_CLASS'),
|
||||||
|
'cancelButton' => env('SWEET_ALERT_CANCEL_BUTTON_CLASS'),
|
||||||
|
'footer' => env('SWEET_ALERT_FOOTER_CLASS'),
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| confirmDelete
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| customize the configuration options of the confirmation popup.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'confirm_delete_confirm_button_text' => env('SWEET_ALERT_CONFIRM_DELETE_CONFIRM_BUTTON_TEXT', 'Yes, delete it!'),
|
||||||
|
'confirm_delete_confirm_button_color' => env('SWEET_ALERT_CONFIRM_DELETE_CONFIRM_BUTTON_COLOR'),
|
||||||
|
'confirm_delete_cancel_button_color' => env('SWEET_ALERT_CONFIRM_DELETE_CANCEL_BUTTON_COLOR', '#d33'),
|
||||||
|
'confirm_delete_cancel_button_text' => env('SWEET_ALERT_CONFIRM_DELETE_CANCEL_BUTTON_TEXT', 'Cancel'),
|
||||||
|
'confirm_delete_show_cancel_button' => env('SWEET_ALERT_CONFIRM_DELETE_SHOW_CANCEL_BUTTON', true),
|
||||||
|
'confirm_delete_show_close_button' => env('SWEET_ALERT_CONFIRM_DELETE_SHOW_CLOSE_BUTTON', false),
|
||||||
|
'confirm_delete_icon' => env('SWEET_ALERT_CONFIRM_DELETE_ICON', 'warning'),
|
||||||
|
'confirm_delete_show_loader_on_confirm' => env('SWEET_ALERT_CONFIRM_DELETE_SHOW_LOADER_ON_CONFIRM', true),
|
||||||
|
|
||||||
|
|
||||||
|
];
|
|
@ -0,0 +1,36 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| View Storage Paths
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Most templating systems load templates from disk. Here you may specify
|
||||||
|
| an array of paths that should be checked for your views. Of course
|
||||||
|
| the usual Laravel view path has already been registered for you.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'paths' => [
|
||||||
|
resource_path('views'),
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Compiled View Path
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This option determines where all the compiled Blade templates will be
|
||||||
|
| stored for your application. Typically, this is within the storage
|
||||||
|
| directory. However, as usual, you are free to change this value.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'compiled' => env(
|
||||||
|
'VIEW_COMPILED_PATH',
|
||||||
|
realpath(storage_path('framework/views'))
|
||||||
|
),
|
||||||
|
|
||||||
|
];
|
|
@ -0,0 +1 @@
|
||||||
|
*.sqlite*
|
|
@ -0,0 +1,44 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Database\Factories;
|
||||||
|
|
||||||
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||||
|
use Illuminate\Support\Facades\Hash;
|
||||||
|
use Illuminate\Support\Str;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\User>
|
||||||
|
*/
|
||||||
|
class UserFactory extends Factory
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* The current password being used by the factory.
|
||||||
|
*/
|
||||||
|
protected static ?string $password;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Define the model's default state.
|
||||||
|
*
|
||||||
|
* @return array<string, mixed>
|
||||||
|
*/
|
||||||
|
public function definition(): array
|
||||||
|
{
|
||||||
|
return [
|
||||||
|
'name' => fake()->name(),
|
||||||
|
'email' => fake()->unique()->safeEmail(),
|
||||||
|
'email_verified_at' => now(),
|
||||||
|
'password' => static::$password ??= Hash::make('password'),
|
||||||
|
'remember_token' => Str::random(10),
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Indicate that the model's email address should be unverified.
|
||||||
|
*/
|
||||||
|
public function unverified(): static
|
||||||
|
{
|
||||||
|
return $this->state(fn (array $attributes) => [
|
||||||
|
'email_verified_at' => null,
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,33 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Database\Migrations\Migration;
|
||||||
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
|
use Illuminate\Support\Facades\Schema;
|
||||||
|
|
||||||
|
return new class extends Migration
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Run the migrations.
|
||||||
|
*/
|
||||||
|
public function up(): void
|
||||||
|
{
|
||||||
|
Schema::create('users', function (Blueprint $table) {
|
||||||
|
$table->id();
|
||||||
|
$table->string('name');
|
||||||
|
$table->string('email')->unique();
|
||||||
|
$table->timestamp('email_verified_at')->nullable();
|
||||||
|
$table->string('password');
|
||||||
|
$table->enum('role', ['admin', 'user']);
|
||||||
|
$table->rememberToken();
|
||||||
|
$table->timestamps();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reverse the migrations.
|
||||||
|
*/
|
||||||
|
public function down(): void
|
||||||
|
{
|
||||||
|
Schema::dropIfExists('users');
|
||||||
|
}
|
||||||
|
};
|
|
@ -0,0 +1,28 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Database\Migrations\Migration;
|
||||||
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
|
use Illuminate\Support\Facades\Schema;
|
||||||
|
|
||||||
|
return new class extends Migration
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Run the migrations.
|
||||||
|
*/
|
||||||
|
public function up(): void
|
||||||
|
{
|
||||||
|
Schema::create('password_reset_tokens', function (Blueprint $table) {
|
||||||
|
$table->string('email')->primary();
|
||||||
|
$table->string('token');
|
||||||
|
$table->timestamp('created_at')->nullable();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reverse the migrations.
|
||||||
|
*/
|
||||||
|
public function down(): void
|
||||||
|
{
|
||||||
|
Schema::dropIfExists('password_reset_tokens');
|
||||||
|
}
|
||||||
|
};
|
|
@ -0,0 +1,32 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Database\Migrations\Migration;
|
||||||
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
|
use Illuminate\Support\Facades\Schema;
|
||||||
|
|
||||||
|
return new class extends Migration
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Run the migrations.
|
||||||
|
*/
|
||||||
|
public function up(): void
|
||||||
|
{
|
||||||
|
Schema::create('failed_jobs', function (Blueprint $table) {
|
||||||
|
$table->id();
|
||||||
|
$table->string('uuid')->unique();
|
||||||
|
$table->text('connection');
|
||||||
|
$table->text('queue');
|
||||||
|
$table->longText('payload');
|
||||||
|
$table->longText('exception');
|
||||||
|
$table->timestamp('failed_at')->useCurrent();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reverse the migrations.
|
||||||
|
*/
|
||||||
|
public function down(): void
|
||||||
|
{
|
||||||
|
Schema::dropIfExists('failed_jobs');
|
||||||
|
}
|
||||||
|
};
|
|
@ -0,0 +1,33 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Database\Migrations\Migration;
|
||||||
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
|
use Illuminate\Support\Facades\Schema;
|
||||||
|
|
||||||
|
return new class extends Migration
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Run the migrations.
|
||||||
|
*/
|
||||||
|
public function up(): void
|
||||||
|
{
|
||||||
|
Schema::create('personal_access_tokens', function (Blueprint $table) {
|
||||||
|
$table->id();
|
||||||
|
$table->morphs('tokenable');
|
||||||
|
$table->string('name');
|
||||||
|
$table->string('token', 64)->unique();
|
||||||
|
$table->text('abilities')->nullable();
|
||||||
|
$table->timestamp('last_used_at')->nullable();
|
||||||
|
$table->timestamp('expires_at')->nullable();
|
||||||
|
$table->timestamps();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reverse the migrations.
|
||||||
|
*/
|
||||||
|
public function down(): void
|
||||||
|
{
|
||||||
|
Schema::dropIfExists('personal_access_tokens');
|
||||||
|
}
|
||||||
|
};
|
|
@ -0,0 +1,30 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Database\Migrations\Migration;
|
||||||
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
|
use Illuminate\Support\Facades\Schema;
|
||||||
|
|
||||||
|
return new class extends Migration
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Run the migrations.
|
||||||
|
*/
|
||||||
|
public function up(): void
|
||||||
|
{
|
||||||
|
Schema::create('gejalas', function (Blueprint $table) {
|
||||||
|
$table->id();
|
||||||
|
$table->string('kode_gejala')->unique();
|
||||||
|
$table->string('name');
|
||||||
|
$table->float('nilai_cf');
|
||||||
|
$table->timestamps();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reverse the migrations.
|
||||||
|
*/
|
||||||
|
public function down(): void
|
||||||
|
{
|
||||||
|
Schema::dropIfExists('gejalas');
|
||||||
|
}
|
||||||
|
};
|
|
@ -0,0 +1,30 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Database\Migrations\Migration;
|
||||||
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
|
use Illuminate\Support\Facades\Schema;
|
||||||
|
|
||||||
|
return new class extends Migration
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Run the migrations.
|
||||||
|
*/
|
||||||
|
public function up(): void
|
||||||
|
{
|
||||||
|
Schema::create('penyakits', function (Blueprint $table) {
|
||||||
|
$table->id();
|
||||||
|
$table->string('name');
|
||||||
|
$table->text('desc');
|
||||||
|
$table->text('penanganan');
|
||||||
|
$table->timestamps();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reverse the migrations.
|
||||||
|
*/
|
||||||
|
public function down(): void
|
||||||
|
{
|
||||||
|
Schema::dropIfExists('penyakits');
|
||||||
|
}
|
||||||
|
};
|
|
@ -0,0 +1,31 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Database\Migrations\Migration;
|
||||||
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
|
use Illuminate\Support\Facades\Schema;
|
||||||
|
|
||||||
|
return new class extends Migration
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Run the migrations.
|
||||||
|
*/
|
||||||
|
public function up(): void
|
||||||
|
{
|
||||||
|
Schema::create('roles', function (Blueprint $table) {
|
||||||
|
$table->id();
|
||||||
|
$table->foreignId('penyakit_id')->nullable();
|
||||||
|
$table->foreignId('gejala_id')->nullable();
|
||||||
|
$table->foreignId('kode_gejala')->nullable();
|
||||||
|
$table->float('bobot_cf')->nullable();
|
||||||
|
$table->timestamps();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reverse the migrations.
|
||||||
|
*/
|
||||||
|
public function down(): void
|
||||||
|
{
|
||||||
|
Schema::dropIfExists('roles');
|
||||||
|
}
|
||||||
|
};
|
|
@ -0,0 +1,33 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Database\Migrations\Migration;
|
||||||
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
|
use Illuminate\Support\Facades\Schema;
|
||||||
|
|
||||||
|
return new class extends Migration
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Run the migrations.
|
||||||
|
*/
|
||||||
|
public function up(): void
|
||||||
|
{
|
||||||
|
Schema::create('pasiens', function (Blueprint $table) {
|
||||||
|
$table->id();
|
||||||
|
$table->string('name')->nullable();
|
||||||
|
$table->integer('umur')->nullable();
|
||||||
|
$table->float('akumulasi_cf')->nullable();
|
||||||
|
$table->float('persentase')->nullable();
|
||||||
|
$table->foreignId('penyakit_id')->nullable()->constrained('penyakits')->onDelete('set null');
|
||||||
|
$table->string('nama_penyakit')->nullable();
|
||||||
|
$table->timestamps();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reverse the migrations.
|
||||||
|
*/
|
||||||
|
public function down(): void
|
||||||
|
{
|
||||||
|
Schema::dropIfExists('pasiens');
|
||||||
|
}
|
||||||
|
};
|
|
@ -0,0 +1,32 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Database\Migrations\Migration;
|
||||||
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
|
use Illuminate\Support\Facades\Schema;
|
||||||
|
|
||||||
|
return new class extends Migration
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Run the migrations.
|
||||||
|
*/
|
||||||
|
public function up(): void
|
||||||
|
{
|
||||||
|
Schema::create('diagnosas', function (Blueprint $table) {
|
||||||
|
$table->id();
|
||||||
|
$table->foreignId('pasien_id')->nullable()->constrained('pasiens')->onDelete('set null');
|
||||||
|
$table->foreignId('gejala_id')->nullable()->constrained('gejalas')->onDelete('set null');
|
||||||
|
$table->foreignId('penyakit_id')->nullable()->constrained('penyakits')->onDelete('set null');
|
||||||
|
$table->float('nilai_cf')->nullable();
|
||||||
|
$table->float('cf_hasil')->nullable();
|
||||||
|
$table->timestamps();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reverse the migrations.
|
||||||
|
*/
|
||||||
|
public function down(): void
|
||||||
|
{
|
||||||
|
Schema::dropIfExists('diagnosas');
|
||||||
|
}
|
||||||
|
};
|
|
@ -0,0 +1,47 @@
|
||||||
|
<?php
|
||||||
|
use Illuminate\Database\Migrations\Migration;
|
||||||
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
|
use Illuminate\Support\Facades\Schema;
|
||||||
|
|
||||||
|
class TambahKolomKodeGejalaPadaTabelGejalas extends Migration
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Run the migrations.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function up()
|
||||||
|
{
|
||||||
|
// Check if the column already exists before adding it
|
||||||
|
if (!Schema::hasColumn('gejalas', 'kode_gejala')) {
|
||||||
|
Schema::table('gejalas', function (Blueprint $table) {
|
||||||
|
$table->string('kode_gejala')->nullable()->unique();
|
||||||
|
});
|
||||||
|
|
||||||
|
// Update existing records with incremental values
|
||||||
|
$gejalas = DB::table('gejalas')->get();
|
||||||
|
foreach ($gejalas as $index => $gejala) {
|
||||||
|
$kode_gejala = 'G' . str_pad($index + 1, 2, '0', STR_PAD_LEFT);
|
||||||
|
DB::table('gejalas')
|
||||||
|
->where('id', $gejala->id)
|
||||||
|
->update(['kode_gejala' => $kode_gejala]);
|
||||||
|
}
|
||||||
|
|
||||||
|
Schema::table('gejalas', function (Blueprint $table) {
|
||||||
|
$table->string('kode_gejala')->nullable(false)->change();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reverse the migrations.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function down()
|
||||||
|
{
|
||||||
|
Schema::table('gejalas', function (Blueprint $table) {
|
||||||
|
$table->dropColumn('kode_gejala');
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,22 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Database\Seeders;
|
||||||
|
|
||||||
|
// use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
||||||
|
use Illuminate\Database\Seeder;
|
||||||
|
|
||||||
|
class DatabaseSeeder extends Seeder
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Seed the application's database.
|
||||||
|
*/
|
||||||
|
public function run(): void
|
||||||
|
{
|
||||||
|
// \App\Models\User::factory(10)->create();
|
||||||
|
|
||||||
|
// \App\Models\User::factory()->create([
|
||||||
|
// 'name' => 'Test User',
|
||||||
|
// 'email' => 'test@example.com',
|
||||||
|
// ]);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
"private": true,
|
||||||
|
"type": "module",
|
||||||
|
"scripts": {
|
||||||
|
"dev": "vite",
|
||||||
|
"build": "vite build"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"axios": "^1.6.4",
|
||||||
|
"laravel-vite-plugin": "^1.0.0",
|
||||||
|
"vite": "^5.0.0"
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,32 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
|
||||||
|
bootstrap="vendor/autoload.php"
|
||||||
|
colors="true"
|
||||||
|
>
|
||||||
|
<testsuites>
|
||||||
|
<testsuite name="Unit">
|
||||||
|
<directory>tests/Unit</directory>
|
||||||
|
</testsuite>
|
||||||
|
<testsuite name="Feature">
|
||||||
|
<directory>tests/Feature</directory>
|
||||||
|
</testsuite>
|
||||||
|
</testsuites>
|
||||||
|
<source>
|
||||||
|
<include>
|
||||||
|
<directory>app</directory>
|
||||||
|
</include>
|
||||||
|
</source>
|
||||||
|
<php>
|
||||||
|
<env name="APP_ENV" value="testing"/>
|
||||||
|
<env name="BCRYPT_ROUNDS" value="4"/>
|
||||||
|
<env name="CACHE_DRIVER" value="array"/>
|
||||||
|
<!-- <env name="DB_CONNECTION" value="sqlite"/> -->
|
||||||
|
<!-- <env name="DB_DATABASE" value=":memory:"/> -->
|
||||||
|
<env name="MAIL_MAILER" value="array"/>
|
||||||
|
<env name="PULSE_ENABLED" value="false"/>
|
||||||
|
<env name="QUEUE_CONNECTION" value="sync"/>
|
||||||
|
<env name="SESSION_DRIVER" value="array"/>
|
||||||
|
<env name="TELESCOPE_ENABLED" value="false"/>
|
||||||
|
</php>
|
||||||
|
</phpunit>
|
|
@ -0,0 +1,21 @@
|
||||||
|
<IfModule mod_rewrite.c>
|
||||||
|
<IfModule mod_negotiation.c>
|
||||||
|
Options -MultiViews -Indexes
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
RewriteEngine On
|
||||||
|
|
||||||
|
# Handle Authorization Header
|
||||||
|
RewriteCond %{HTTP:Authorization} .
|
||||||
|
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
|
||||||
|
|
||||||
|
# Redirect Trailing Slashes If Not A Folder...
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
|
RewriteCond %{REQUEST_URI} (.+)/$
|
||||||
|
RewriteRule ^ %1 [L,R=301]
|
||||||
|
|
||||||
|
# Send Requests To Front Controller...
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
|
RewriteRule ^ index.php [L]
|
||||||
|
</IfModule>
|
|
@ -0,0 +1,8 @@
|
||||||
|
Template Name: Furni
|
||||||
|
Template Author: Untree.co
|
||||||
|
Template License: https://creativecommons.org/licenses/by/3.0/
|
||||||
|
Author URI: https://untree.co/
|
||||||
|
|
||||||
|
Twitter: https://twitter.com/Untree_co
|
||||||
|
Facebook: https://web.facebook.com/Untree.co/
|
||||||
|
Pinterest: https://pinterest.com/Untree_co/
|
|
@ -0,0 +1,428 @@
|
||||||
|
<!-- /*
|
||||||
|
* Bootstrap 5
|
||||||
|
* Template Name: Furni
|
||||||
|
* Template Author: Untree.co
|
||||||
|
* Template URI: https://untree.co/
|
||||||
|
* License: https://creativecommons.org/licenses/by/3.0/
|
||||||
|
*/ -->
|
||||||
|
<!doctype html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
<meta name="author" content="Untree.co">
|
||||||
|
<link rel="shortcut icon" href="favicon.png">
|
||||||
|
|
||||||
|
<meta name="description" content="" />
|
||||||
|
<meta name="keywords" content="bootstrap, bootstrap4" />
|
||||||
|
|
||||||
|
<!-- Bootstrap CSS -->
|
||||||
|
<link href="css/bootstrap.min.css" rel="stylesheet">
|
||||||
|
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
|
||||||
|
<link href="css/tiny-slider.css" rel="stylesheet">
|
||||||
|
<link href="css/style.css" rel="stylesheet">
|
||||||
|
<title>Furni Free Bootstrap 5 Template for Furniture and Interior Design Websites by Untree.co </title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<!-- Start Header/Navigation -->
|
||||||
|
<nav class="custom-navbar navbar navbar navbar-expand-md navbar-dark bg-dark" arial-label="Furni navigation bar">
|
||||||
|
|
||||||
|
<div class="container">
|
||||||
|
<a class="navbar-brand" href="index.html">Furni<span>.</span></a>
|
||||||
|
|
||||||
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsFurni" aria-controls="navbarsFurni" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
<span class="navbar-toggler-icon"></span>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<div class="collapse navbar-collapse" id="navbarsFurni">
|
||||||
|
<ul class="custom-navbar-nav navbar-nav ms-auto mb-2 mb-md-0">
|
||||||
|
<li class="nav-item ">
|
||||||
|
<a class="nav-link" href="index.html">Home</a>
|
||||||
|
</li>
|
||||||
|
<li><a class="nav-link" href="shop.html">Shop</a></li>
|
||||||
|
<li class="active"><a class="nav-link" href="about.html">About us</a></li>
|
||||||
|
<li><a class="nav-link" href="services.html">Services</a></li>
|
||||||
|
<li><a class="nav-link" href="blog.html">Blog</a></li>
|
||||||
|
<li><a class="nav-link" href="contact.html">Contact us</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<ul class="custom-navbar-cta navbar-nav mb-2 mb-md-0 ms-5">
|
||||||
|
<li><a class="nav-link" href="#"><img src="images/user.svg"></a></li>
|
||||||
|
<li><a class="nav-link" href="cart.html"><img src="images/cart.svg"></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</nav>
|
||||||
|
<!-- End Header/Navigation -->
|
||||||
|
|
||||||
|
<!-- Start Hero Section -->
|
||||||
|
<div class="hero">
|
||||||
|
<div class="container">
|
||||||
|
<div class="row justify-content-between">
|
||||||
|
<div class="col-lg-5">
|
||||||
|
<div class="intro-excerpt">
|
||||||
|
<h1>About Us</h1>
|
||||||
|
<p class="mb-4">Donec vitae odio quis nisl dapibus malesuada. Nullam ac aliquet velit. Aliquam vulputate velit imperdiet dolor tempor tristique.</p>
|
||||||
|
<p><a href="" class="btn btn-secondary me-2">Shop Now</a><a href="#" class="btn btn-white-outline">Explore</a></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-lg-7">
|
||||||
|
<div class="hero-img-wrap">
|
||||||
|
<img src="images/couch.png" class="img-fluid">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- End Hero Section -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Start Why Choose Us Section -->
|
||||||
|
<div class="why-choose-section">
|
||||||
|
<div class="container">
|
||||||
|
<div class="row justify-content-between align-items-center">
|
||||||
|
<div class="col-lg-6">
|
||||||
|
<h2 class="section-title">Why Choose Us</h2>
|
||||||
|
<p>Donec vitae odio quis nisl dapibus malesuada. Nullam ac aliquet velit. Aliquam vulputate velit imperdiet dolor tempor tristique.</p>
|
||||||
|
|
||||||
|
<div class="row my-5">
|
||||||
|
<div class="col-6 col-md-6">
|
||||||
|
<div class="feature">
|
||||||
|
<div class="icon">
|
||||||
|
<img src="images/truck.svg" alt="Image" class="imf-fluid">
|
||||||
|
</div>
|
||||||
|
<h3>Fast & Free Shipping</h3>
|
||||||
|
<p>Donec vitae odio quis nisl dapibus malesuada. Nullam ac aliquet velit. Aliquam vulputate.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-6 col-md-6">
|
||||||
|
<div class="feature">
|
||||||
|
<div class="icon">
|
||||||
|
<img src="images/bag.svg" alt="Image" class="imf-fluid">
|
||||||
|
</div>
|
||||||
|
<h3>Easy to Shop</h3>
|
||||||
|
<p>Donec vitae odio quis nisl dapibus malesuada. Nullam ac aliquet velit. Aliquam vulputate.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-6 col-md-6">
|
||||||
|
<div class="feature">
|
||||||
|
<div class="icon">
|
||||||
|
<img src="images/support.svg" alt="Image" class="imf-fluid">
|
||||||
|
</div>
|
||||||
|
<h3>24/7 Support</h3>
|
||||||
|
<p>Donec vitae odio quis nisl dapibus malesuada. Nullam ac aliquet velit. Aliquam vulputate.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-6 col-md-6">
|
||||||
|
<div class="feature">
|
||||||
|
<div class="icon">
|
||||||
|
<img src="images/return.svg" alt="Image" class="imf-fluid">
|
||||||
|
</div>
|
||||||
|
<h3>Hassle Free Returns</h3>
|
||||||
|
<p>Donec vitae odio quis nisl dapibus malesuada. Nullam ac aliquet velit. Aliquam vulputate.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-lg-5">
|
||||||
|
<div class="img-wrap">
|
||||||
|
<img src="images/why-choose-us-img.jpg" alt="Image" class="img-fluid">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- End Why Choose Us Section -->
|
||||||
|
|
||||||
|
<!-- Start Team Section -->
|
||||||
|
<div class="untree_co-section">
|
||||||
|
<div class="container">
|
||||||
|
|
||||||
|
<div class="row mb-5">
|
||||||
|
<div class="col-lg-5 mx-auto text-center">
|
||||||
|
<h2 class="section-title">Our Team</h2>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
|
||||||
|
<!-- Start Column 1 -->
|
||||||
|
<div class="col-12 col-md-6 col-lg-3 mb-5 mb-md-0">
|
||||||
|
<img src="images/person_1.jpg" class="img-fluid mb-5">
|
||||||
|
<h3 clas><a href="#"><span class="">Lawson</span> Arnold</a></h3>
|
||||||
|
<span class="d-block position mb-4">CEO, Founder, Atty.</span>
|
||||||
|
<p>Separated they live in.
|
||||||
|
Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.</p>
|
||||||
|
<p class="mb-0"><a href="#" class="more dark">Learn More <span class="icon-arrow_forward"></span></a></p>
|
||||||
|
</div>
|
||||||
|
<!-- End Column 1 -->
|
||||||
|
|
||||||
|
<!-- Start Column 2 -->
|
||||||
|
<div class="col-12 col-md-6 col-lg-3 mb-5 mb-md-0">
|
||||||
|
<img src="images/person_2.jpg" class="img-fluid mb-5">
|
||||||
|
|
||||||
|
<h3 clas><a href="#"><span class="">Jeremy</span> Walker</a></h3>
|
||||||
|
<span class="d-block position mb-4">CEO, Founder, Atty.</span>
|
||||||
|
<p>Separated they live in.
|
||||||
|
Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.</p>
|
||||||
|
<p class="mb-0"><a href="#" class="more dark">Learn More <span class="icon-arrow_forward"></span></a></p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<!-- End Column 2 -->
|
||||||
|
|
||||||
|
<!-- Start Column 3 -->
|
||||||
|
<div class="col-12 col-md-6 col-lg-3 mb-5 mb-md-0">
|
||||||
|
<img src="images/person_3.jpg" class="img-fluid mb-5">
|
||||||
|
<h3 clas><a href="#"><span class="">Patrik</span> White</a></h3>
|
||||||
|
<span class="d-block position mb-4">CEO, Founder, Atty.</span>
|
||||||
|
<p>Separated they live in.
|
||||||
|
Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.</p>
|
||||||
|
<p class="mb-0"><a href="#" class="more dark">Learn More <span class="icon-arrow_forward"></span></a></p>
|
||||||
|
</div>
|
||||||
|
<!-- End Column 3 -->
|
||||||
|
|
||||||
|
<!-- Start Column 4 -->
|
||||||
|
<div class="col-12 col-md-6 col-lg-3 mb-5 mb-md-0">
|
||||||
|
<img src="images/person_4.jpg" class="img-fluid mb-5">
|
||||||
|
|
||||||
|
<h3 clas><a href="#"><span class="">Kathryn</span> Ryan</a></h3>
|
||||||
|
<span class="d-block position mb-4">CEO, Founder, Atty.</span>
|
||||||
|
<p>Separated they live in.
|
||||||
|
Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.</p>
|
||||||
|
<p class="mb-0"><a href="#" class="more dark">Learn More <span class="icon-arrow_forward"></span></a></p>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<!-- End Column 4 -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- End Team Section -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Start Testimonial Slider -->
|
||||||
|
<div class="testimonial-section before-footer-section">
|
||||||
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-lg-7 mx-auto text-center">
|
||||||
|
<h2 class="section-title">Testimonials</h2>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row justify-content-center">
|
||||||
|
<div class="col-lg-12">
|
||||||
|
<div class="testimonial-slider-wrap text-center">
|
||||||
|
|
||||||
|
<div id="testimonial-nav">
|
||||||
|
<span class="prev" data-controls="prev"><span class="fa fa-chevron-left"></span></span>
|
||||||
|
<span class="next" data-controls="next"><span class="fa fa-chevron-right"></span></span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="testimonial-slider">
|
||||||
|
|
||||||
|
<div class="item">
|
||||||
|
<div class="row justify-content-center">
|
||||||
|
<div class="col-lg-8 mx-auto">
|
||||||
|
|
||||||
|
<div class="testimonial-block text-center">
|
||||||
|
<blockquote class="mb-5">
|
||||||
|
<p>“Donec facilisis quam ut purus rutrum lobortis. Donec vitae odio quis nisl dapibus malesuada. Nullam ac aliquet velit. Aliquam vulputate velit imperdiet dolor tempor tristique. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Integer convallis volutpat dui quis scelerisque.”</p>
|
||||||
|
</blockquote>
|
||||||
|
|
||||||
|
<div class="author-info">
|
||||||
|
<div class="author-pic">
|
||||||
|
<img src="images/person-1.png" alt="Maria Jones" class="img-fluid">
|
||||||
|
</div>
|
||||||
|
<h3 class="font-weight-bold">Maria Jones</h3>
|
||||||
|
<span class="position d-block mb-3">CEO, Co-Founder, XYZ Inc.</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- END item -->
|
||||||
|
|
||||||
|
<div class="item">
|
||||||
|
<div class="row justify-content-center">
|
||||||
|
<div class="col-lg-8 mx-auto">
|
||||||
|
|
||||||
|
<div class="testimonial-block text-center">
|
||||||
|
<blockquote class="mb-5">
|
||||||
|
<p>“Donec facilisis quam ut purus rutrum lobortis. Donec vitae odio quis nisl dapibus malesuada. Nullam ac aliquet velit. Aliquam vulputate velit imperdiet dolor tempor tristique. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Integer convallis volutpat dui quis scelerisque.”</p>
|
||||||
|
</blockquote>
|
||||||
|
|
||||||
|
<div class="author-info">
|
||||||
|
<div class="author-pic">
|
||||||
|
<img src="images/person-1.png" alt="Maria Jones" class="img-fluid">
|
||||||
|
</div>
|
||||||
|
<h3 class="font-weight-bold">Maria Jones</h3>
|
||||||
|
<span class="position d-block mb-3">CEO, Co-Founder, XYZ Inc.</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- END item -->
|
||||||
|
|
||||||
|
<div class="item">
|
||||||
|
<div class="row justify-content-center">
|
||||||
|
<div class="col-lg-8 mx-auto">
|
||||||
|
|
||||||
|
<div class="testimonial-block text-center">
|
||||||
|
<blockquote class="mb-5">
|
||||||
|
<p>“Donec facilisis quam ut purus rutrum lobortis. Donec vitae odio quis nisl dapibus malesuada. Nullam ac aliquet velit. Aliquam vulputate velit imperdiet dolor tempor tristique. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Integer convallis volutpat dui quis scelerisque.”</p>
|
||||||
|
</blockquote>
|
||||||
|
|
||||||
|
<div class="author-info">
|
||||||
|
<div class="author-pic">
|
||||||
|
<img src="images/person-1.png" alt="Maria Jones" class="img-fluid">
|
||||||
|
</div>
|
||||||
|
<h3 class="font-weight-bold">Maria Jones</h3>
|
||||||
|
<span class="position d-block mb-3">CEO, Co-Founder, XYZ Inc.</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- END item -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- End Testimonial Slider -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Start Footer Section -->
|
||||||
|
<footer class="footer-section">
|
||||||
|
<div class="container relative">
|
||||||
|
|
||||||
|
<div class="sofa-img">
|
||||||
|
<img src="images/sofa.png" alt="Image" class="img-fluid">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-lg-8">
|
||||||
|
<div class="subscription-form">
|
||||||
|
<h3 class="d-flex align-items-center"><span class="me-1"><img src="images/envelope-outline.svg" alt="Image" class="img-fluid"></span><span>Subscribe to Newsletter</span></h3>
|
||||||
|
|
||||||
|
<form action="#" class="row g-3">
|
||||||
|
<div class="col-auto">
|
||||||
|
<input type="text" class="form-control" placeholder="Enter your name">
|
||||||
|
</div>
|
||||||
|
<div class="col-auto">
|
||||||
|
<input type="email" class="form-control" placeholder="Enter your email">
|
||||||
|
</div>
|
||||||
|
<div class="col-auto">
|
||||||
|
<button class="btn btn-primary">
|
||||||
|
<span class="fa fa-paper-plane"></span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row g-5 mb-5">
|
||||||
|
<div class="col-lg-4">
|
||||||
|
<div class="mb-4 footer-logo-wrap"><a href="#" class="footer-logo">Furni<span>.</span></a></div>
|
||||||
|
<p class="mb-4">Donec facilisis quam ut purus rutrum lobortis. Donec vitae odio quis nisl dapibus malesuada. Nullam ac aliquet velit. Aliquam vulputate velit imperdiet dolor tempor tristique. Pellentesque habitant</p>
|
||||||
|
|
||||||
|
<ul class="list-unstyled custom-social">
|
||||||
|
<li><a href="#"><span class="fa fa-brands fa-facebook-f"></span></a></li>
|
||||||
|
<li><a href="#"><span class="fa fa-brands fa-twitter"></span></a></li>
|
||||||
|
<li><a href="#"><span class="fa fa-brands fa-instagram"></span></a></li>
|
||||||
|
<li><a href="#"><span class="fa fa-brands fa-linkedin"></span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-lg-8">
|
||||||
|
<div class="row links-wrap">
|
||||||
|
<div class="col-6 col-sm-6 col-md-3">
|
||||||
|
<ul class="list-unstyled">
|
||||||
|
<li><a href="#">About us</a></li>
|
||||||
|
<li><a href="#">Services</a></li>
|
||||||
|
<li><a href="#">Blog</a></li>
|
||||||
|
<li><a href="#">Contact us</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-6 col-sm-6 col-md-3">
|
||||||
|
<ul class="list-unstyled">
|
||||||
|
<li><a href="#">Support</a></li>
|
||||||
|
<li><a href="#">Knowledge base</a></li>
|
||||||
|
<li><a href="#">Live chat</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-6 col-sm-6 col-md-3">
|
||||||
|
<ul class="list-unstyled">
|
||||||
|
<li><a href="#">Jobs</a></li>
|
||||||
|
<li><a href="#">Our team</a></li>
|
||||||
|
<li><a href="#">Leadership</a></li>
|
||||||
|
<li><a href="#">Privacy Policy</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-6 col-sm-6 col-md-3">
|
||||||
|
<ul class="list-unstyled">
|
||||||
|
<li><a href="#">Nordic Chair</a></li>
|
||||||
|
<li><a href="#">Kruzo Aero</a></li>
|
||||||
|
<li><a href="#">Ergonomic Chair</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="border-top copyright">
|
||||||
|
<div class="row pt-4">
|
||||||
|
<div class="col-lg-6">
|
||||||
|
<p class="mb-2 text-center text-lg-start">Copyright ©<script>document.write(new Date().getFullYear());</script>. All Rights Reserved. — Designed with love by <a href="https://untree.co">Untree.co</a> Distributed By <a hreff="https://themewagon.com">ThemeWagon</a> <!-- License information: https://untree.co/license/ -->
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-lg-6 text-center text-lg-end">
|
||||||
|
<ul class="list-unstyled d-inline-flex ms-auto">
|
||||||
|
<li class="me-4"><a href="#">Terms & Conditions</a></li>
|
||||||
|
<li><a href="#">Privacy Policy</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
<!-- End Footer Section -->
|
||||||
|
|
||||||
|
|
||||||
|
<script src="js/bootstrap.bundle.min.js"></script>
|
||||||
|
<script src="js/tiny-slider.js"></script>
|
||||||
|
<script src="js/custom.js"></script>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
|
@ -0,0 +1,416 @@
|
||||||
|
<!-- /*
|
||||||
|
* Bootstrap 5
|
||||||
|
* Template Name: Furni
|
||||||
|
* Template Author: Untree.co
|
||||||
|
* Template URI: https://untree.co/
|
||||||
|
* License: https://creativecommons.org/licenses/by/3.0/
|
||||||
|
*/ -->
|
||||||
|
<!doctype html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
<meta name="author" content="Untree.co">
|
||||||
|
<link rel="shortcut icon" href="favicon.png">
|
||||||
|
|
||||||
|
<meta name="description" content="" />
|
||||||
|
<meta name="keywords" content="bootstrap, bootstrap4" />
|
||||||
|
|
||||||
|
<!-- Bootstrap CSS -->
|
||||||
|
<link href="css/bootstrap.min.css" rel="stylesheet">
|
||||||
|
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
|
||||||
|
<link href="css/tiny-slider.css" rel="stylesheet">
|
||||||
|
<link href="css/style.css" rel="stylesheet">
|
||||||
|
<title>Furni Free Bootstrap 5 Template for Furniture and Interior Design Websites by Untree.co </title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<!-- Start Header/Navigation -->
|
||||||
|
<nav class="custom-navbar navbar navbar navbar-expand-md navbar-dark bg-dark" arial-label="Furni navigation bar">
|
||||||
|
|
||||||
|
<div class="container">
|
||||||
|
<a class="navbar-brand" href="index.html">Furni<span>.</span></a>
|
||||||
|
|
||||||
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsFurni" aria-controls="navbarsFurni" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
<span class="navbar-toggler-icon"></span>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<div class="collapse navbar-collapse" id="navbarsFurni">
|
||||||
|
<ul class="custom-navbar-nav navbar-nav ms-auto mb-2 mb-md-0">
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="index.html">Home</a>
|
||||||
|
</li>
|
||||||
|
<li><a class="nav-link" href="shop.html">Shop</a></li>
|
||||||
|
<li><a class="nav-link" href="about.html">About us</a></li>
|
||||||
|
<li><a class="nav-link" href="services.html">Services</a></li>
|
||||||
|
<li class="active"><a class="nav-link" href="blog.html">Blog</a></li>
|
||||||
|
<li><a class="nav-link" href="contact.html">Contact us</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<ul class="custom-navbar-cta navbar-nav mb-2 mb-md-0 ms-5">
|
||||||
|
<li><a class="nav-link" href="#"><img src="images/user.svg"></a></li>
|
||||||
|
<li><a class="nav-link" href="cart.html"><img src="images/cart.svg"></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</nav>
|
||||||
|
<!-- End Header/Navigation -->
|
||||||
|
|
||||||
|
<!-- Start Hero Section -->
|
||||||
|
<div class="hero">
|
||||||
|
<div class="container">
|
||||||
|
<div class="row justify-content-between">
|
||||||
|
<div class="col-lg-5">
|
||||||
|
<div class="intro-excerpt">
|
||||||
|
<h1>Blog</h1>
|
||||||
|
<p class="mb-4">Donec vitae odio quis nisl dapibus malesuada. Nullam ac aliquet velit. Aliquam vulputate velit imperdiet dolor tempor tristique.</p>
|
||||||
|
<p><a href="" class="btn btn-secondary me-2">Shop Now</a><a href="#" class="btn btn-white-outline">Explore</a></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-lg-7">
|
||||||
|
<div class="hero-img-wrap">
|
||||||
|
<img src="images/couch.png" class="img-fluid">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- End Hero Section -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Start Blog Section -->
|
||||||
|
<div class="blog-section">
|
||||||
|
<div class="container">
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
|
||||||
|
<div class="col-12 col-sm-6 col-md-4 mb-5">
|
||||||
|
<div class="post-entry">
|
||||||
|
<a href="#" class="post-thumbnail"><img src="images/post-1.jpg" alt="Image" class="img-fluid"></a>
|
||||||
|
<div class="post-content-entry">
|
||||||
|
<h3><a href="#">First Time Home Owner Ideas</a></h3>
|
||||||
|
<div class="meta">
|
||||||
|
<span>by <a href="#">Kristin Watson</a></span> <span>on <a href="#">Dec 19, 2021</a></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-12 col-sm-6 col-md-4 mb-5">
|
||||||
|
<div class="post-entry">
|
||||||
|
<a href="#" class="post-thumbnail"><img src="images/post-2.jpg" alt="Image" class="img-fluid"></a>
|
||||||
|
<div class="post-content-entry">
|
||||||
|
<h3><a href="#">How To Keep Your Furniture Clean</a></h3>
|
||||||
|
<div class="meta">
|
||||||
|
<span>by <a href="#">Robert Fox</a></span> <span>on <a href="#">Dec 15, 2021</a></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-12 col-sm-6 col-md-4 mb-5">
|
||||||
|
<div class="post-entry">
|
||||||
|
<a href="#" class="post-thumbnail"><img src="images/post-3.jpg" alt="Image" class="img-fluid"></a>
|
||||||
|
<div class="post-content-entry">
|
||||||
|
<h3><a href="#">Small Space Furniture Apartment Ideas</a></h3>
|
||||||
|
<div class="meta">
|
||||||
|
<span>by <a href="#">Kristin Watson</a></span> <span>on <a href="#">Dec 12, 2021</a></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-12 col-sm-6 col-md-4 mb-5">
|
||||||
|
<div class="post-entry">
|
||||||
|
<a href="#" class="post-thumbnail"><img src="images/post-1.jpg" alt="Image" class="img-fluid"></a>
|
||||||
|
<div class="post-content-entry">
|
||||||
|
<h3><a href="#">First Time Home Owner Ideas</a></h3>
|
||||||
|
<div class="meta">
|
||||||
|
<span>by <a href="#">Kristin Watson</a></span> <span>on <a href="#">Dec 19, 2021</a></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-12 col-sm-6 col-md-4 mb-5">
|
||||||
|
<div class="post-entry">
|
||||||
|
<a href="#" class="post-thumbnail"><img src="images/post-2.jpg" alt="Image" class="img-fluid"></a>
|
||||||
|
<div class="post-content-entry">
|
||||||
|
<h3><a href="#">How To Keep Your Furniture Clean</a></h3>
|
||||||
|
<div class="meta">
|
||||||
|
<span>by <a href="#">Robert Fox</a></span> <span>on <a href="#">Dec 15, 2021</a></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-12 col-sm-6 col-md-4 mb-5">
|
||||||
|
<div class="post-entry">
|
||||||
|
<a href="#" class="post-thumbnail"><img src="images/post-3.jpg" alt="Image" class="img-fluid"></a>
|
||||||
|
<div class="post-content-entry">
|
||||||
|
<h3><a href="#">Small Space Furniture Apartment Ideas</a></h3>
|
||||||
|
<div class="meta">
|
||||||
|
<span>by <a href="#">Kristin Watson</a></span> <span>on <a href="#">Dec 12, 2021</a></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-12 col-sm-6 col-md-4 mb-5">
|
||||||
|
<div class="post-entry">
|
||||||
|
<a href="#" class="post-thumbnail"><img src="images/post-1.jpg" alt="Image" class="img-fluid"></a>
|
||||||
|
<div class="post-content-entry">
|
||||||
|
<h3><a href="#">First Time Home Owner Ideas</a></h3>
|
||||||
|
<div class="meta">
|
||||||
|
<span>by <a href="#">Kristin Watson</a></span> <span>on <a href="#">Dec 19, 2021</a></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-12 col-sm-6 col-md-4 mb-5">
|
||||||
|
<div class="post-entry">
|
||||||
|
<a href="#" class="post-thumbnail"><img src="images/post-2.jpg" alt="Image" class="img-fluid"></a>
|
||||||
|
<div class="post-content-entry">
|
||||||
|
<h3><a href="#">How To Keep Your Furniture Clean</a></h3>
|
||||||
|
<div class="meta">
|
||||||
|
<span>by <a href="#">Robert Fox</a></span> <span>on <a href="#">Dec 15, 2021</a></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-12 col-sm-6 col-md-4 mb-5">
|
||||||
|
<div class="post-entry">
|
||||||
|
<a href="#" class="post-thumbnail"><img src="images/post-3.jpg" alt="Image" class="img-fluid"></a>
|
||||||
|
<div class="post-content-entry">
|
||||||
|
<h3><a href="#">Small Space Furniture Apartment Ideas</a></h3>
|
||||||
|
<div class="meta">
|
||||||
|
<span>by <a href="#">Kristin Watson</a></span> <span>on <a href="#">Dec 12, 2021</a></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- End Blog Section -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Start Testimonial Slider -->
|
||||||
|
<div class="testimonial-section before-footer-section">
|
||||||
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-lg-7 mx-auto text-center">
|
||||||
|
<h2 class="section-title">Testimonials</h2>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row justify-content-center">
|
||||||
|
<div class="col-lg-12">
|
||||||
|
<div class="testimonial-slider-wrap text-center">
|
||||||
|
|
||||||
|
<div id="testimonial-nav">
|
||||||
|
<span class="prev" data-controls="prev"><span class="fa fa-chevron-left"></span></span>
|
||||||
|
<span class="next" data-controls="next"><span class="fa fa-chevron-right"></span></span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="testimonial-slider">
|
||||||
|
|
||||||
|
<div class="item">
|
||||||
|
<div class="row justify-content-center">
|
||||||
|
<div class="col-lg-8 mx-auto">
|
||||||
|
|
||||||
|
<div class="testimonial-block text-center">
|
||||||
|
<blockquote class="mb-5">
|
||||||
|
<p>“Donec facilisis quam ut purus rutrum lobortis. Donec vitae odio quis nisl dapibus malesuada. Nullam ac aliquet velit. Aliquam vulputate velit imperdiet dolor tempor tristique. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Integer convallis volutpat dui quis scelerisque.”</p>
|
||||||
|
</blockquote>
|
||||||
|
|
||||||
|
<div class="author-info">
|
||||||
|
<div class="author-pic">
|
||||||
|
<img src="images/person-1.png" alt="Maria Jones" class="img-fluid">
|
||||||
|
</div>
|
||||||
|
<h3 class="font-weight-bold">Maria Jones</h3>
|
||||||
|
<span class="position d-block mb-3">CEO, Co-Founder, XYZ Inc.</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- END item -->
|
||||||
|
|
||||||
|
<div class="item">
|
||||||
|
<div class="row justify-content-center">
|
||||||
|
<div class="col-lg-8 mx-auto">
|
||||||
|
|
||||||
|
<div class="testimonial-block text-center">
|
||||||
|
<blockquote class="mb-5">
|
||||||
|
<p>“Donec facilisis quam ut purus rutrum lobortis. Donec vitae odio quis nisl dapibus malesuada. Nullam ac aliquet velit. Aliquam vulputate velit imperdiet dolor tempor tristique. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Integer convallis volutpat dui quis scelerisque.”</p>
|
||||||
|
</blockquote>
|
||||||
|
|
||||||
|
<div class="author-info">
|
||||||
|
<div class="author-pic">
|
||||||
|
<img src="images/person-1.png" alt="Maria Jones" class="img-fluid">
|
||||||
|
</div>
|
||||||
|
<h3 class="font-weight-bold">Maria Jones</h3>
|
||||||
|
<span class="position d-block mb-3">CEO, Co-Founder, XYZ Inc.</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- END item -->
|
||||||
|
|
||||||
|
<div class="item">
|
||||||
|
<div class="row justify-content-center">
|
||||||
|
<div class="col-lg-8 mx-auto">
|
||||||
|
|
||||||
|
<div class="testimonial-block text-center">
|
||||||
|
<blockquote class="mb-5">
|
||||||
|
<p>“Donec facilisis quam ut purus rutrum lobortis. Donec vitae odio quis nisl dapibus malesuada. Nullam ac aliquet velit. Aliquam vulputate velit imperdiet dolor tempor tristique. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Integer convallis volutpat dui quis scelerisque.”</p>
|
||||||
|
</blockquote>
|
||||||
|
|
||||||
|
<div class="author-info">
|
||||||
|
<div class="author-pic">
|
||||||
|
<img src="images/person-1.png" alt="Maria Jones" class="img-fluid">
|
||||||
|
</div>
|
||||||
|
<h3 class="font-weight-bold">Maria Jones</h3>
|
||||||
|
<span class="position d-block mb-3">CEO, Co-Founder, XYZ Inc.</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- END item -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- End Testimonial Slider -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Start Footer Section -->
|
||||||
|
<footer class="footer-section">
|
||||||
|
<div class="container relative">
|
||||||
|
|
||||||
|
<div class="sofa-img">
|
||||||
|
<img src="images/sofa.png" alt="Image" class="img-fluid">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-lg-8">
|
||||||
|
<div class="subscription-form">
|
||||||
|
<h3 class="d-flex align-items-center"><span class="me-1"><img src="images/envelope-outline.svg" alt="Image" class="img-fluid"></span><span>Subscribe to Newsletter</span></h3>
|
||||||
|
|
||||||
|
<form action="#" class="row g-3">
|
||||||
|
<div class="col-auto">
|
||||||
|
<input type="text" class="form-control" placeholder="Enter your name">
|
||||||
|
</div>
|
||||||
|
<div class="col-auto">
|
||||||
|
<input type="email" class="form-control" placeholder="Enter your email">
|
||||||
|
</div>
|
||||||
|
<div class="col-auto">
|
||||||
|
<button class="btn btn-primary">
|
||||||
|
<span class="fa fa-paper-plane"></span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row g-5 mb-5">
|
||||||
|
<div class="col-lg-4">
|
||||||
|
<div class="mb-4 footer-logo-wrap"><a href="#" class="footer-logo">Furni<span>.</span></a></div>
|
||||||
|
<p class="mb-4">Donec facilisis quam ut purus rutrum lobortis. Donec vitae odio quis nisl dapibus malesuada. Nullam ac aliquet velit. Aliquam vulputate velit imperdiet dolor tempor tristique. Pellentesque habitant</p>
|
||||||
|
|
||||||
|
<ul class="list-unstyled custom-social">
|
||||||
|
<li><a href="#"><span class="fa fa-brands fa-facebook-f"></span></a></li>
|
||||||
|
<li><a href="#"><span class="fa fa-brands fa-twitter"></span></a></li>
|
||||||
|
<li><a href="#"><span class="fa fa-brands fa-instagram"></span></a></li>
|
||||||
|
<li><a href="#"><span class="fa fa-brands fa-linkedin"></span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-lg-8">
|
||||||
|
<div class="row links-wrap">
|
||||||
|
<div class="col-6 col-sm-6 col-md-3">
|
||||||
|
<ul class="list-unstyled">
|
||||||
|
<li><a href="#">About us</a></li>
|
||||||
|
<li><a href="#">Services</a></li>
|
||||||
|
<li><a href="#">Blog</a></li>
|
||||||
|
<li><a href="#">Contact us</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-6 col-sm-6 col-md-3">
|
||||||
|
<ul class="list-unstyled">
|
||||||
|
<li><a href="#">Support</a></li>
|
||||||
|
<li><a href="#">Knowledge base</a></li>
|
||||||
|
<li><a href="#">Live chat</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-6 col-sm-6 col-md-3">
|
||||||
|
<ul class="list-unstyled">
|
||||||
|
<li><a href="#">Jobs</a></li>
|
||||||
|
<li><a href="#">Our team</a></li>
|
||||||
|
<li><a href="#">Leadership</a></li>
|
||||||
|
<li><a href="#">Privacy Policy</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-6 col-sm-6 col-md-3">
|
||||||
|
<ul class="list-unstyled">
|
||||||
|
<li><a href="#">Nordic Chair</a></li>
|
||||||
|
<li><a href="#">Kruzo Aero</a></li>
|
||||||
|
<li><a href="#">Ergonomic Chair</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="border-top copyright">
|
||||||
|
<div class="row pt-4">
|
||||||
|
<div class="col-lg-6">
|
||||||
|
<p class="mb-2 text-center text-lg-start">Copyright ©<script>document.write(new Date().getFullYear());</script>. All Rights Reserved. — Designed with love by <a href="https://untree.co">Untree.co</a> Distributed By <a hreff="https://themewagon.com">ThemeWagon</a> <!-- License information: https://untree.co/license/ -->
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-lg-6 text-center text-lg-end">
|
||||||
|
<ul class="list-unstyled d-inline-flex ms-auto">
|
||||||
|
<li class="me-4"><a href="#">Terms & Conditions</a></li>
|
||||||
|
<li><a href="#">Privacy Policy</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
<!-- End Footer Section -->
|
||||||
|
|
||||||
|
|
||||||
|
<script src="js/bootstrap.bundle.min.js"></script>
|
||||||
|
<script src="js/tiny-slider.js"></script>
|
||||||
|
<script src="js/custom.js"></script>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
|
@ -0,0 +1,322 @@
|
||||||
|
<!-- /*
|
||||||
|
* Bootstrap 5
|
||||||
|
* Template Name: Furni
|
||||||
|
* Template Author: Untree.co
|
||||||
|
* Template URI: https://untree.co/
|
||||||
|
* License: https://creativecommons.org/licenses/by/3.0/
|
||||||
|
*/ -->
|
||||||
|
<!doctype html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
<meta name="author" content="Untree.co">
|
||||||
|
<link rel="shortcut icon" href="favicon.png">
|
||||||
|
|
||||||
|
<meta name="description" content="" />
|
||||||
|
<meta name="keywords" content="bootstrap, bootstrap4" />
|
||||||
|
|
||||||
|
<!-- Bootstrap CSS -->
|
||||||
|
<link href="css/bootstrap.min.css" rel="stylesheet">
|
||||||
|
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
|
||||||
|
<link href="css/tiny-slider.css" rel="stylesheet">
|
||||||
|
<link href="css/style.css" rel="stylesheet">
|
||||||
|
<title>Furni Free Bootstrap 5 Template for Furniture and Interior Design Websites by Untree.co </title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<!-- Start Header/Navigation -->
|
||||||
|
<nav class="custom-navbar navbar navbar navbar-expand-md navbar-dark bg-dark" arial-label="Furni navigation bar">
|
||||||
|
|
||||||
|
<div class="container">
|
||||||
|
<a class="navbar-brand" href="index.html">Furni<span>.</span></a>
|
||||||
|
|
||||||
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsFurni" aria-controls="navbarsFurni" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
<span class="navbar-toggler-icon"></span>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<div class="collapse navbar-collapse" id="navbarsFurni">
|
||||||
|
<ul class="custom-navbar-nav navbar-nav ms-auto mb-2 mb-md-0">
|
||||||
|
<li class="nav-item ">
|
||||||
|
<a class="nav-link" href="index.html">Home</a>
|
||||||
|
</li>
|
||||||
|
<li><a class="nav-link" href="shop.html">Shop</a></li>
|
||||||
|
<li><a class="nav-link" href="about.html">About us</a></li>
|
||||||
|
<li><a class="nav-link" href="services.html">Services</a></li>
|
||||||
|
<li><a class="nav-link" href="blog.html">Blog</a></li>
|
||||||
|
<li><a class="nav-link" href="contact.html">Contact us</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<ul class="custom-navbar-cta navbar-nav mb-2 mb-md-0 ms-5">
|
||||||
|
<li><a class="nav-link" href="#"><img src="images/user.svg"></a></li>
|
||||||
|
<li><a class="nav-link" href="cart.html"><img src="images/cart.svg"></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</nav>
|
||||||
|
<!-- End Header/Navigation -->
|
||||||
|
|
||||||
|
<!-- Start Hero Section -->
|
||||||
|
<div class="hero">
|
||||||
|
<div class="container">
|
||||||
|
<div class="row justify-content-between">
|
||||||
|
<div class="col-lg-5">
|
||||||
|
<div class="intro-excerpt">
|
||||||
|
<h1>Cart</h1>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-lg-7">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- End Hero Section -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="untree_co-section before-footer-section">
|
||||||
|
<div class="container">
|
||||||
|
<div class="row mb-5">
|
||||||
|
<form class="col-md-12" method="post">
|
||||||
|
<div class="site-blocks-table">
|
||||||
|
<table class="table">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="product-thumbnail">Image</th>
|
||||||
|
<th class="product-name">Product</th>
|
||||||
|
<th class="product-price">Price</th>
|
||||||
|
<th class="product-quantity">Quantity</th>
|
||||||
|
<th class="product-total">Total</th>
|
||||||
|
<th class="product-remove">Remove</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td class="product-thumbnail">
|
||||||
|
<img src="images/product-1.png" alt="Image" class="img-fluid">
|
||||||
|
</td>
|
||||||
|
<td class="product-name">
|
||||||
|
<h2 class="h5 text-black">Product 1</h2>
|
||||||
|
</td>
|
||||||
|
<td>$49.00</td>
|
||||||
|
<td>
|
||||||
|
<div class="input-group mb-3 d-flex align-items-center quantity-container" style="max-width: 120px;">
|
||||||
|
<div class="input-group-prepend">
|
||||||
|
<button class="btn btn-outline-black decrease" type="button">−</button>
|
||||||
|
</div>
|
||||||
|
<input type="text" class="form-control text-center quantity-amount" value="1" placeholder="" aria-label="Example text with button addon" aria-describedby="button-addon1">
|
||||||
|
<div class="input-group-append">
|
||||||
|
<button class="btn btn-outline-black increase" type="button">+</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</td>
|
||||||
|
<td>$49.00</td>
|
||||||
|
<td><a href="#" class="btn btn-black btn-sm">X</a></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td class="product-thumbnail">
|
||||||
|
<img src="images/product-2.png" alt="Image" class="img-fluid">
|
||||||
|
</td>
|
||||||
|
<td class="product-name">
|
||||||
|
<h2 class="h5 text-black">Product 2</h2>
|
||||||
|
</td>
|
||||||
|
<td>$49.00</td>
|
||||||
|
<td>
|
||||||
|
<div class="input-group mb-3 d-flex align-items-center quantity-container" style="max-width: 120px;">
|
||||||
|
<div class="input-group-prepend">
|
||||||
|
<button class="btn btn-outline-black decrease" type="button">−</button>
|
||||||
|
</div>
|
||||||
|
<input type="text" class="form-control text-center quantity-amount" value="1" placeholder="" aria-label="Example text with button addon" aria-describedby="button-addon1">
|
||||||
|
<div class="input-group-append">
|
||||||
|
<button class="btn btn-outline-black increase" type="button">+</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</td>
|
||||||
|
<td>$49.00</td>
|
||||||
|
<td><a href="#" class="btn btn-black btn-sm">X</a></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<div class="row mb-5">
|
||||||
|
<div class="col-md-6 mb-3 mb-md-0">
|
||||||
|
<button class="btn btn-black btn-sm btn-block">Update Cart</button>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<button class="btn btn-outline-black btn-sm btn-block">Continue Shopping</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<label class="text-black h4" for="coupon">Coupon</label>
|
||||||
|
<p>Enter your coupon code if you have one.</p>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-8 mb-3 mb-md-0">
|
||||||
|
<input type="text" class="form-control py-3" id="coupon" placeholder="Coupon Code">
|
||||||
|
</div>
|
||||||
|
<div class="col-md-4">
|
||||||
|
<button class="btn btn-black">Apply Coupon</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6 pl-5">
|
||||||
|
<div class="row justify-content-end">
|
||||||
|
<div class="col-md-7">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-12 text-right border-bottom mb-5">
|
||||||
|
<h3 class="text-black h4 text-uppercase">Cart Totals</h3>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row mb-3">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<span class="text-black">Subtotal</span>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6 text-right">
|
||||||
|
<strong class="text-black">$230.00</strong>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row mb-5">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<span class="text-black">Total</span>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6 text-right">
|
||||||
|
<strong class="text-black">$230.00</strong>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<button class="btn btn-black btn-lg py-3 btn-block" onclick="window.location='checkout.html'">Proceed To Checkout</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Start Footer Section -->
|
||||||
|
<footer class="footer-section">
|
||||||
|
<div class="container relative">
|
||||||
|
|
||||||
|
<div class="sofa-img">
|
||||||
|
<img src="images/sofa.png" alt="Image" class="img-fluid">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-lg-8">
|
||||||
|
<div class="subscription-form">
|
||||||
|
<h3 class="d-flex align-items-center"><span class="me-1"><img src="images/envelope-outline.svg" alt="Image" class="img-fluid"></span><span>Subscribe to Newsletter</span></h3>
|
||||||
|
|
||||||
|
<form action="#" class="row g-3">
|
||||||
|
<div class="col-auto">
|
||||||
|
<input type="text" class="form-control" placeholder="Enter your name">
|
||||||
|
</div>
|
||||||
|
<div class="col-auto">
|
||||||
|
<input type="email" class="form-control" placeholder="Enter your email">
|
||||||
|
</div>
|
||||||
|
<div class="col-auto">
|
||||||
|
<button class="btn btn-primary">
|
||||||
|
<span class="fa fa-paper-plane"></span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row g-5 mb-5">
|
||||||
|
<div class="col-lg-4">
|
||||||
|
<div class="mb-4 footer-logo-wrap"><a href="#" class="footer-logo">Furni<span>.</span></a></div>
|
||||||
|
<p class="mb-4">Donec facilisis quam ut purus rutrum lobortis. Donec vitae odio quis nisl dapibus malesuada. Nullam ac aliquet velit. Aliquam vulputate velit imperdiet dolor tempor tristique. Pellentesque habitant</p>
|
||||||
|
|
||||||
|
<ul class="list-unstyled custom-social">
|
||||||
|
<li><a href="#"><span class="fa fa-brands fa-facebook-f"></span></a></li>
|
||||||
|
<li><a href="#"><span class="fa fa-brands fa-twitter"></span></a></li>
|
||||||
|
<li><a href="#"><span class="fa fa-brands fa-instagram"></span></a></li>
|
||||||
|
<li><a href="#"><span class="fa fa-brands fa-linkedin"></span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-lg-8">
|
||||||
|
<div class="row links-wrap">
|
||||||
|
<div class="col-6 col-sm-6 col-md-3">
|
||||||
|
<ul class="list-unstyled">
|
||||||
|
<li><a href="#">About us</a></li>
|
||||||
|
<li><a href="#">Services</a></li>
|
||||||
|
<li><a href="#">Blog</a></li>
|
||||||
|
<li><a href="#">Contact us</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-6 col-sm-6 col-md-3">
|
||||||
|
<ul class="list-unstyled">
|
||||||
|
<li><a href="#">Support</a></li>
|
||||||
|
<li><a href="#">Knowledge base</a></li>
|
||||||
|
<li><a href="#">Live chat</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-6 col-sm-6 col-md-3">
|
||||||
|
<ul class="list-unstyled">
|
||||||
|
<li><a href="#">Jobs</a></li>
|
||||||
|
<li><a href="#">Our team</a></li>
|
||||||
|
<li><a href="#">Leadership</a></li>
|
||||||
|
<li><a href="#">Privacy Policy</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-6 col-sm-6 col-md-3">
|
||||||
|
<ul class="list-unstyled">
|
||||||
|
<li><a href="#">Nordic Chair</a></li>
|
||||||
|
<li><a href="#">Kruzo Aero</a></li>
|
||||||
|
<li><a href="#">Ergonomic Chair</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="border-top copyright">
|
||||||
|
<div class="row pt-4">
|
||||||
|
<div class="col-lg-6">
|
||||||
|
<p class="mb-2 text-center text-lg-start">Copyright ©<script>document.write(new Date().getFullYear());</script>. All Rights Reserved. — Designed with love by <a href="https://untree.co">Untree.co</a> Distributed By <a hreff="https://themewagon.com">ThemeWagon</a> <!-- License information: https://untree.co/license/ -->
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-lg-6 text-center text-lg-end">
|
||||||
|
<ul class="list-unstyled d-inline-flex ms-auto">
|
||||||
|
<li class="me-4"><a href="#">Terms & Conditions</a></li>
|
||||||
|
<li><a href="#">Privacy Policy</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
<!-- End Footer Section -->
|
||||||
|
|
||||||
|
|
||||||
|
<script src="js/bootstrap.bundle.min.js"></script>
|
||||||
|
<script src="js/tiny-slider.js"></script>
|
||||||
|
<script src="js/custom.js"></script>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
|
@ -0,0 +1,457 @@
|
||||||
|
<!-- /*
|
||||||
|
* Bootstrap 5
|
||||||
|
* Template Name: Furni
|
||||||
|
* Template Author: Untree.co
|
||||||
|
* Template URI: https://untree.co/
|
||||||
|
* License: https://creativecommons.org/licenses/by/3.0/
|
||||||
|
*/ -->
|
||||||
|
<!doctype html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
<meta name="author" content="Untree.co">
|
||||||
|
<link rel="shortcut icon" href="favicon.png">
|
||||||
|
|
||||||
|
<meta name="description" content="" />
|
||||||
|
<meta name="keywords" content="bootstrap, bootstrap4" />
|
||||||
|
|
||||||
|
<!-- Bootstrap CSS -->
|
||||||
|
<link href="css/bootstrap.min.css" rel="stylesheet">
|
||||||
|
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
|
||||||
|
<link href="css/tiny-slider.css" rel="stylesheet">
|
||||||
|
<link href="css/style.css" rel="stylesheet">
|
||||||
|
<title>Furni Free Bootstrap 5 Template for Furniture and Interior Design Websites by Untree.co </title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<!-- Start Header/Navigation -->
|
||||||
|
<nav class="custom-navbar navbar navbar navbar-expand-md navbar-dark bg-dark" arial-label="Furni navigation bar">
|
||||||
|
|
||||||
|
<div class="container">
|
||||||
|
<a class="navbar-brand" href="index.html">Furni<span>.</span></a>
|
||||||
|
|
||||||
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsFurni" aria-controls="navbarsFurni" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
<span class="navbar-toggler-icon"></span>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<div class="collapse navbar-collapse" id="navbarsFurni">
|
||||||
|
<ul class="custom-navbar-nav navbar-nav ms-auto mb-2 mb-md-0">
|
||||||
|
<li class="nav-item ">
|
||||||
|
<a class="nav-link" href="index.html">Home</a>
|
||||||
|
</li>
|
||||||
|
<li><a class="nav-link" href="shop.html">Shop</a></li>
|
||||||
|
<li><a class="nav-link" href="about.html">About us</a></li>
|
||||||
|
<li><a class="nav-link" href="services.html">Services</a></li>
|
||||||
|
<li><a class="nav-link" href="blog.html">Blog</a></li>
|
||||||
|
<li><a class="nav-link" href="contact.html">Contact us</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<ul class="custom-navbar-cta navbar-nav mb-2 mb-md-0 ms-5">
|
||||||
|
<li><a class="nav-link" href="#"><img src="images/user.svg"></a></li>
|
||||||
|
<li><a class="nav-link" href="cart.html"><img src="images/cart.svg"></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</nav>
|
||||||
|
<!-- End Header/Navigation -->
|
||||||
|
|
||||||
|
<!-- Start Hero Section -->
|
||||||
|
<div class="hero">
|
||||||
|
<div class="container">
|
||||||
|
<div class="row justify-content-between">
|
||||||
|
<div class="col-lg-5">
|
||||||
|
<div class="intro-excerpt">
|
||||||
|
<h1>Checkout</h1>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-lg-7">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- End Hero Section -->
|
||||||
|
|
||||||
|
<div class="untree_co-section">
|
||||||
|
<div class="container">
|
||||||
|
<div class="row mb-5">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<div class="border p-4 rounded" role="alert">
|
||||||
|
Returning customer? <a href="#">Click here</a> to login
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-6 mb-5 mb-md-0">
|
||||||
|
<h2 class="h3 mb-3 text-black">Billing Details</h2>
|
||||||
|
<div class="p-3 p-lg-5 border bg-white">
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="c_country" class="text-black">Country <span class="text-danger">*</span></label>
|
||||||
|
<select id="c_country" class="form-control">
|
||||||
|
<option value="1">Select a country</option>
|
||||||
|
<option value="2">bangladesh</option>
|
||||||
|
<option value="3">Algeria</option>
|
||||||
|
<option value="4">Afghanistan</option>
|
||||||
|
<option value="5">Ghana</option>
|
||||||
|
<option value="6">Albania</option>
|
||||||
|
<option value="7">Bahrain</option>
|
||||||
|
<option value="8">Colombia</option>
|
||||||
|
<option value="9">Dominican Republic</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
<div class="form-group row">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="c_fname" class="text-black">First Name <span class="text-danger">*</span></label>
|
||||||
|
<input type="text" class="form-control" id="c_fname" name="c_fname">
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="c_lname" class="text-black">Last Name <span class="text-danger">*</span></label>
|
||||||
|
<input type="text" class="form-control" id="c_lname" name="c_lname">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group row">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<label for="c_companyname" class="text-black">Company Name </label>
|
||||||
|
<input type="text" class="form-control" id="c_companyname" name="c_companyname">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group row">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<label for="c_address" class="text-black">Address <span class="text-danger">*</span></label>
|
||||||
|
<input type="text" class="form-control" id="c_address" name="c_address" placeholder="Street address">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group mt-3">
|
||||||
|
<input type="text" class="form-control" placeholder="Apartment, suite, unit etc. (optional)">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group row">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="c_state_country" class="text-black">State / Country <span class="text-danger">*</span></label>
|
||||||
|
<input type="text" class="form-control" id="c_state_country" name="c_state_country">
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="c_postal_zip" class="text-black">Posta / Zip <span class="text-danger">*</span></label>
|
||||||
|
<input type="text" class="form-control" id="c_postal_zip" name="c_postal_zip">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group row mb-5">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="c_email_address" class="text-black">Email Address <span class="text-danger">*</span></label>
|
||||||
|
<input type="text" class="form-control" id="c_email_address" name="c_email_address">
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="c_phone" class="text-black">Phone <span class="text-danger">*</span></label>
|
||||||
|
<input type="text" class="form-control" id="c_phone" name="c_phone" placeholder="Phone Number">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="c_create_account" class="text-black" data-bs-toggle="collapse" href="#create_an_account" role="button" aria-expanded="false" aria-controls="create_an_account"><input type="checkbox" value="1" id="c_create_account"> Create an account?</label>
|
||||||
|
<div class="collapse" id="create_an_account">
|
||||||
|
<div class="py-2 mb-4">
|
||||||
|
<p class="mb-3">Create an account by entering the information below. If you are a returning customer please login at the top of the page.</p>
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="c_account_password" class="text-black">Account Password</label>
|
||||||
|
<input type="email" class="form-control" id="c_account_password" name="c_account_password" placeholder="">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="c_ship_different_address" class="text-black" data-bs-toggle="collapse" href="#ship_different_address" role="button" aria-expanded="false" aria-controls="ship_different_address"><input type="checkbox" value="1" id="c_ship_different_address"> Ship To A Different Address?</label>
|
||||||
|
<div class="collapse" id="ship_different_address">
|
||||||
|
<div class="py-2">
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="c_diff_country" class="text-black">Country <span class="text-danger">*</span></label>
|
||||||
|
<select id="c_diff_country" class="form-control">
|
||||||
|
<option value="1">Select a country</option>
|
||||||
|
<option value="2">bangladesh</option>
|
||||||
|
<option value="3">Algeria</option>
|
||||||
|
<option value="4">Afghanistan</option>
|
||||||
|
<option value="5">Ghana</option>
|
||||||
|
<option value="6">Albania</option>
|
||||||
|
<option value="7">Bahrain</option>
|
||||||
|
<option value="8">Colombia</option>
|
||||||
|
<option value="9">Dominican Republic</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="form-group row">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="c_diff_fname" class="text-black">First Name <span class="text-danger">*</span></label>
|
||||||
|
<input type="text" class="form-control" id="c_diff_fname" name="c_diff_fname">
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="c_diff_lname" class="text-black">Last Name <span class="text-danger">*</span></label>
|
||||||
|
<input type="text" class="form-control" id="c_diff_lname" name="c_diff_lname">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group row">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<label for="c_diff_companyname" class="text-black">Company Name </label>
|
||||||
|
<input type="text" class="form-control" id="c_diff_companyname" name="c_diff_companyname">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group row mb-3">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<label for="c_diff_address" class="text-black">Address <span class="text-danger">*</span></label>
|
||||||
|
<input type="text" class="form-control" id="c_diff_address" name="c_diff_address" placeholder="Street address">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<input type="text" class="form-control" placeholder="Apartment, suite, unit etc. (optional)">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group row">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="c_diff_state_country" class="text-black">State / Country <span class="text-danger">*</span></label>
|
||||||
|
<input type="text" class="form-control" id="c_diff_state_country" name="c_diff_state_country">
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="c_diff_postal_zip" class="text-black">Posta / Zip <span class="text-danger">*</span></label>
|
||||||
|
<input type="text" class="form-control" id="c_diff_postal_zip" name="c_diff_postal_zip">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group row mb-5">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="c_diff_email_address" class="text-black">Email Address <span class="text-danger">*</span></label>
|
||||||
|
<input type="text" class="form-control" id="c_diff_email_address" name="c_diff_email_address">
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<label for="c_diff_phone" class="text-black">Phone <span class="text-danger">*</span></label>
|
||||||
|
<input type="text" class="form-control" id="c_diff_phone" name="c_diff_phone" placeholder="Phone Number">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="c_order_notes" class="text-black">Order Notes</label>
|
||||||
|
<textarea name="c_order_notes" id="c_order_notes" cols="30" rows="5" class="form-control" placeholder="Write your notes here..."></textarea>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
|
||||||
|
<div class="row mb-5">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<h2 class="h3 mb-3 text-black">Coupon Code</h2>
|
||||||
|
<div class="p-3 p-lg-5 border bg-white">
|
||||||
|
|
||||||
|
<label for="c_code" class="text-black mb-3">Enter your coupon code if you have one</label>
|
||||||
|
<div class="input-group w-75 couponcode-wrap">
|
||||||
|
<input type="text" class="form-control me-2" id="c_code" placeholder="Coupon Code" aria-label="Coupon Code" aria-describedby="button-addon2">
|
||||||
|
<div class="input-group-append">
|
||||||
|
<button class="btn btn-black btn-sm" type="button" id="button-addon2">Apply</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row mb-5">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<h2 class="h3 mb-3 text-black">Your Order</h2>
|
||||||
|
<div class="p-3 p-lg-5 border bg-white">
|
||||||
|
<table class="table site-block-order-table mb-5">
|
||||||
|
<thead>
|
||||||
|
<th>Product</th>
|
||||||
|
<th>Total</th>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>Top Up T-Shirt <strong class="mx-2">x</strong> 1</td>
|
||||||
|
<td>$250.00</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Polo Shirt <strong class="mx-2">x</strong> 1</td>
|
||||||
|
<td>$100.00</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="text-black font-weight-bold"><strong>Cart Subtotal</strong></td>
|
||||||
|
<td class="text-black">$350.00</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="text-black font-weight-bold"><strong>Order Total</strong></td>
|
||||||
|
<td class="text-black font-weight-bold"><strong>$350.00</strong></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<div class="border p-3 mb-3">
|
||||||
|
<h3 class="h6 mb-0"><a class="d-block" data-bs-toggle="collapse" href="#collapsebank" role="button" aria-expanded="false" aria-controls="collapsebank">Direct Bank Transfer</a></h3>
|
||||||
|
|
||||||
|
<div class="collapse" id="collapsebank">
|
||||||
|
<div class="py-2">
|
||||||
|
<p class="mb-0">Make your payment directly into our bank account. Please use your Order ID as the payment reference. Your order won’t be shipped until the funds have cleared in our account.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="border p-3 mb-3">
|
||||||
|
<h3 class="h6 mb-0"><a class="d-block" data-bs-toggle="collapse" href="#collapsecheque" role="button" aria-expanded="false" aria-controls="collapsecheque">Cheque Payment</a></h3>
|
||||||
|
|
||||||
|
<div class="collapse" id="collapsecheque">
|
||||||
|
<div class="py-2">
|
||||||
|
<p class="mb-0">Make your payment directly into our bank account. Please use your Order ID as the payment reference. Your order won’t be shipped until the funds have cleared in our account.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="border p-3 mb-5">
|
||||||
|
<h3 class="h6 mb-0"><a class="d-block" data-bs-toggle="collapse" href="#collapsepaypal" role="button" aria-expanded="false" aria-controls="collapsepaypal">Paypal</a></h3>
|
||||||
|
|
||||||
|
<div class="collapse" id="collapsepaypal">
|
||||||
|
<div class="py-2">
|
||||||
|
<p class="mb-0">Make your payment directly into our bank account. Please use your Order ID as the payment reference. Your order won’t be shipped until the funds have cleared in our account.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<button class="btn btn-black btn-lg py-3 btn-block" onclick="window.location='thankyou.html'">Place Order</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- </form> -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Start Footer Section -->
|
||||||
|
<footer class="footer-section">
|
||||||
|
<div class="container relative">
|
||||||
|
|
||||||
|
<div class="sofa-img">
|
||||||
|
<img src="images/sofa.png" alt="Image" class="img-fluid">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-lg-8">
|
||||||
|
<div class="subscription-form">
|
||||||
|
<h3 class="d-flex align-items-center"><span class="me-1"><img src="images/envelope-outline.svg" alt="Image" class="img-fluid"></span><span>Subscribe to Newsletter</span></h3>
|
||||||
|
|
||||||
|
<form action="#" class="row g-3">
|
||||||
|
<div class="col-auto">
|
||||||
|
<input type="text" class="form-control" placeholder="Enter your name">
|
||||||
|
</div>
|
||||||
|
<div class="col-auto">
|
||||||
|
<input type="email" class="form-control" placeholder="Enter your email">
|
||||||
|
</div>
|
||||||
|
<div class="col-auto">
|
||||||
|
<button class="btn btn-primary">
|
||||||
|
<span class="fa fa-paper-plane"></span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row g-5 mb-5">
|
||||||
|
<div class="col-lg-4">
|
||||||
|
<div class="mb-4 footer-logo-wrap"><a href="#" class="footer-logo">Furni<span>.</span></a></div>
|
||||||
|
<p class="mb-4">Donec facilisis quam ut purus rutrum lobortis. Donec vitae odio quis nisl dapibus malesuada. Nullam ac aliquet velit. Aliquam vulputate velit imperdiet dolor tempor tristique. Pellentesque habitant</p>
|
||||||
|
|
||||||
|
<ul class="list-unstyled custom-social">
|
||||||
|
<li><a href="#"><span class="fa fa-brands fa-facebook-f"></span></a></li>
|
||||||
|
<li><a href="#"><span class="fa fa-brands fa-twitter"></span></a></li>
|
||||||
|
<li><a href="#"><span class="fa fa-brands fa-instagram"></span></a></li>
|
||||||
|
<li><a href="#"><span class="fa fa-brands fa-linkedin"></span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-lg-8">
|
||||||
|
<div class="row links-wrap">
|
||||||
|
<div class="col-6 col-sm-6 col-md-3">
|
||||||
|
<ul class="list-unstyled">
|
||||||
|
<li><a href="#">About us</a></li>
|
||||||
|
<li><a href="#">Services</a></li>
|
||||||
|
<li><a href="#">Blog</a></li>
|
||||||
|
<li><a href="#">Contact us</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-6 col-sm-6 col-md-3">
|
||||||
|
<ul class="list-unstyled">
|
||||||
|
<li><a href="#">Support</a></li>
|
||||||
|
<li><a href="#">Knowledge base</a></li>
|
||||||
|
<li><a href="#">Live chat</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-6 col-sm-6 col-md-3">
|
||||||
|
<ul class="list-unstyled">
|
||||||
|
<li><a href="#">Jobs</a></li>
|
||||||
|
<li><a href="#">Our team</a></li>
|
||||||
|
<li><a href="#">Leadership</a></li>
|
||||||
|
<li><a href="#">Privacy Policy</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-6 col-sm-6 col-md-3">
|
||||||
|
<ul class="list-unstyled">
|
||||||
|
<li><a href="#">Nordic Chair</a></li>
|
||||||
|
<li><a href="#">Kruzo Aero</a></li>
|
||||||
|
<li><a href="#">Ergonomic Chair</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="border-top copyright">
|
||||||
|
<div class="row pt-4">
|
||||||
|
<div class="col-lg-6">
|
||||||
|
<p class="mb-2 text-center text-lg-start">Copyright ©<script>document.write(new Date().getFullYear());</script>. All Rights Reserved. — Designed with love by <a href="https://untree.co">Untree.co</a> Distributed By <a hreff="https://themewagon.com">ThemeWagon</a> <!-- License information: https://untree.co/license/ -->
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-lg-6 text-center text-lg-end">
|
||||||
|
<ul class="list-unstyled d-inline-flex ms-auto">
|
||||||
|
<li class="me-4"><a href="#">Terms & Conditions</a></li>
|
||||||
|
<li><a href="#">Privacy Policy</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
<!-- End Footer Section -->
|
||||||
|
|
||||||
|
|
||||||
|
<script src="js/bootstrap.bundle.min.js"></script>
|
||||||
|
<script src="js/tiny-slider.js"></script>
|
||||||
|
<script src="js/custom.js"></script>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
|
@ -0,0 +1,290 @@
|
||||||
|
<!-- /*
|
||||||
|
* Bootstrap 5
|
||||||
|
* Template Name: Furni
|
||||||
|
* Template Author: Untree.co
|
||||||
|
* Template URI: https://untree.co/
|
||||||
|
* License: https://creativecommons.org/licenses/by/3.0/
|
||||||
|
*/ -->
|
||||||
|
<!doctype html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
<meta name="author" content="Untree.co">
|
||||||
|
<link rel="shortcut icon" href="favicon.png">
|
||||||
|
|
||||||
|
<meta name="description" content="" />
|
||||||
|
<meta name="keywords" content="bootstrap, bootstrap4" />
|
||||||
|
|
||||||
|
<!-- Bootstrap CSS -->
|
||||||
|
<link href="css/bootstrap.min.css" rel="stylesheet">
|
||||||
|
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
|
||||||
|
<link href="css/tiny-slider.css" rel="stylesheet">
|
||||||
|
<link href="css/style.css" rel="stylesheet">
|
||||||
|
<title>Furni Free Bootstrap 5 Template for Furniture and Interior Design Websites by Untree.co </title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<!-- Start Header/Navigation -->
|
||||||
|
<nav class="custom-navbar navbar navbar navbar-expand-md navbar-dark bg-dark" arial-label="Furni navigation bar">
|
||||||
|
|
||||||
|
<div class="container">
|
||||||
|
<a class="navbar-brand" href="index.html">Furni<span>.</span></a>
|
||||||
|
|
||||||
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsFurni" aria-controls="navbarsFurni" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
<span class="navbar-toggler-icon"></span>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<div class="collapse navbar-collapse" id="navbarsFurni">
|
||||||
|
<ul class="custom-navbar-nav navbar-nav ms-auto mb-2 mb-md-0">
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="index.html">Home</a>
|
||||||
|
</li>
|
||||||
|
<li><a class="nav-link" href="shop.html">Shop</a></li>
|
||||||
|
<li><a class="nav-link" href="about.html">About us</a></li>
|
||||||
|
<li><a class="nav-link" href="services.html">Services</a></li>
|
||||||
|
<li><a class="nav-link" href="blog.html">Blog</a></li>
|
||||||
|
<li class="active"><a class="nav-link" href="contact.html">Contact us</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<ul class="custom-navbar-cta navbar-nav mb-2 mb-md-0 ms-5">
|
||||||
|
<li><a class="nav-link" href="#"><img src="images/user.svg"></a></li>
|
||||||
|
<li><a class="nav-link" href="cart.html"><img src="images/cart.svg"></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</nav>
|
||||||
|
<!-- End Header/Navigation -->
|
||||||
|
|
||||||
|
<!-- Start Hero Section -->
|
||||||
|
<div class="hero">
|
||||||
|
<div class="container">
|
||||||
|
<div class="row justify-content-between">
|
||||||
|
<div class="col-lg-5">
|
||||||
|
<div class="intro-excerpt">
|
||||||
|
<h1>Contact</h1>
|
||||||
|
<p class="mb-4">Donec vitae odio quis nisl dapibus malesuada. Nullam ac aliquet velit. Aliquam vulputate velit imperdiet dolor tempor tristique.</p>
|
||||||
|
<p><a href="" class="btn btn-secondary me-2">Shop Now</a><a href="#" class="btn btn-white-outline">Explore</a></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-lg-7">
|
||||||
|
<div class="hero-img-wrap">
|
||||||
|
<img src="images/couch.png" class="img-fluid">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- End Hero Section -->
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Start Contact Form -->
|
||||||
|
<div class="untree_co-section">
|
||||||
|
<div class="container">
|
||||||
|
|
||||||
|
<div class="block">
|
||||||
|
<div class="row justify-content-center">
|
||||||
|
|
||||||
|
|
||||||
|
<div class="col-md-8 col-lg-8 pb-4">
|
||||||
|
|
||||||
|
|
||||||
|
<div class="row mb-5">
|
||||||
|
<div class="col-lg-4">
|
||||||
|
<div class="service no-shadow align-items-center link horizontal d-flex active" data-aos="fade-left" data-aos-delay="0">
|
||||||
|
<div class="service-icon color-1 mb-4">
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-geo-alt-fill" viewBox="0 0 16 16">
|
||||||
|
<path d="M8 16s6-5.686 6-10A6 6 0 0 0 2 6c0 4.314 6 10 6 10zm0-7a3 3 0 1 1 0-6 3 3 0 0 1 0 6z"/>
|
||||||
|
</svg>
|
||||||
|
</div> <!-- /.icon -->
|
||||||
|
<div class="service-contents">
|
||||||
|
<p>43 Raymouth Rd. Baltemoer, London 3910</p>
|
||||||
|
</div> <!-- /.service-contents-->
|
||||||
|
</div> <!-- /.service -->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-lg-4">
|
||||||
|
<div class="service no-shadow align-items-center link horizontal d-flex active" data-aos="fade-left" data-aos-delay="0">
|
||||||
|
<div class="service-icon color-1 mb-4">
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-envelope-fill" viewBox="0 0 16 16">
|
||||||
|
<path d="M.05 3.555A2 2 0 0 1 2 2h12a2 2 0 0 1 1.95 1.555L8 8.414.05 3.555zM0 4.697v7.104l5.803-3.558L0 4.697zM6.761 8.83l-6.57 4.027A2 2 0 0 0 2 14h12a2 2 0 0 0 1.808-1.144l-6.57-4.027L8 9.586l-1.239-.757zm3.436-.586L16 11.801V4.697l-5.803 3.546z"/>
|
||||||
|
</svg>
|
||||||
|
</div> <!-- /.icon -->
|
||||||
|
<div class="service-contents">
|
||||||
|
<p>info@yourdomain.com</p>
|
||||||
|
</div> <!-- /.service-contents-->
|
||||||
|
</div> <!-- /.service -->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-lg-4">
|
||||||
|
<div class="service no-shadow align-items-center link horizontal d-flex active" data-aos="fade-left" data-aos-delay="0">
|
||||||
|
<div class="service-icon color-1 mb-4">
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-telephone-fill" viewBox="0 0 16 16">
|
||||||
|
<path fill-rule="evenodd" d="M1.885.511a1.745 1.745 0 0 1 2.61.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.678.678 0 0 0 .178.643l2.457 2.457a.678.678 0 0 0 .644.178l2.189-.547a1.745 1.745 0 0 1 1.494.315l2.306 1.794c.829.645.905 1.87.163 2.611l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.634 18.634 0 0 1-7.01-4.42 18.634 18.634 0 0 1-4.42-7.009c-.362-1.03-.037-2.137.703-2.877L1.885.511z"/>
|
||||||
|
</svg>
|
||||||
|
</div> <!-- /.icon -->
|
||||||
|
<div class="service-contents">
|
||||||
|
<p>+1 294 3925 3939</p>
|
||||||
|
</div> <!-- /.service-contents-->
|
||||||
|
</div> <!-- /.service -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<form>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-6">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="text-black" for="fname">First name</label>
|
||||||
|
<input type="text" class="form-control" id="fname">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-6">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="text-black" for="lname">Last name</label>
|
||||||
|
<input type="text" class="form-control" id="lname">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="text-black" for="email">Email address</label>
|
||||||
|
<input type="email" class="form-control" id="email">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group mb-5">
|
||||||
|
<label class="text-black" for="message">Message</label>
|
||||||
|
<textarea name="" class="form-control" id="message" cols="30" rows="5"></textarea>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<button type="submit" class="btn btn-primary-hover-outline">Send Message</button>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- End Contact Form -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Start Footer Section -->
|
||||||
|
<footer class="footer-section">
|
||||||
|
<div class="container relative">
|
||||||
|
|
||||||
|
<div class="sofa-img">
|
||||||
|
<img src="images/sofa.png" alt="Image" class="img-fluid">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-lg-8">
|
||||||
|
<div class="subscription-form">
|
||||||
|
<h3 class="d-flex align-items-center"><span class="me-1"><img src="images/envelope-outline.svg" alt="Image" class="img-fluid"></span><span>Subscribe to Newsletter</span></h3>
|
||||||
|
|
||||||
|
<form action="#" class="row g-3">
|
||||||
|
<div class="col-auto">
|
||||||
|
<input type="text" class="form-control" placeholder="Enter your name">
|
||||||
|
</div>
|
||||||
|
<div class="col-auto">
|
||||||
|
<input type="email" class="form-control" placeholder="Enter your email">
|
||||||
|
</div>
|
||||||
|
<div class="col-auto">
|
||||||
|
<button class="btn btn-primary">
|
||||||
|
<span class="fa fa-paper-plane"></span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row g-5 mb-5">
|
||||||
|
<div class="col-lg-4">
|
||||||
|
<div class="mb-4 footer-logo-wrap"><a href="#" class="footer-logo">Furni<span>.</span></a></div>
|
||||||
|
<p class="mb-4">Donec facilisis quam ut purus rutrum lobortis. Donec vitae odio quis nisl dapibus malesuada. Nullam ac aliquet velit. Aliquam vulputate velit imperdiet dolor tempor tristique. Pellentesque habitant</p>
|
||||||
|
|
||||||
|
<ul class="list-unstyled custom-social">
|
||||||
|
<li><a href="#"><span class="fa fa-brands fa-facebook-f"></span></a></li>
|
||||||
|
<li><a href="#"><span class="fa fa-brands fa-twitter"></span></a></li>
|
||||||
|
<li><a href="#"><span class="fa fa-brands fa-instagram"></span></a></li>
|
||||||
|
<li><a href="#"><span class="fa fa-brands fa-linkedin"></span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-lg-8">
|
||||||
|
<div class="row links-wrap">
|
||||||
|
<div class="col-6 col-sm-6 col-md-3">
|
||||||
|
<ul class="list-unstyled">
|
||||||
|
<li><a href="#">About us</a></li>
|
||||||
|
<li><a href="#">Services</a></li>
|
||||||
|
<li><a href="#">Blog</a></li>
|
||||||
|
<li><a href="#">Contact us</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-6 col-sm-6 col-md-3">
|
||||||
|
<ul class="list-unstyled">
|
||||||
|
<li><a href="#">Support</a></li>
|
||||||
|
<li><a href="#">Knowledge base</a></li>
|
||||||
|
<li><a href="#">Live chat</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-6 col-sm-6 col-md-3">
|
||||||
|
<ul class="list-unstyled">
|
||||||
|
<li><a href="#">Jobs</a></li>
|
||||||
|
<li><a href="#">Our team</a></li>
|
||||||
|
<li><a href="#">Leadership</a></li>
|
||||||
|
<li><a href="#">Privacy Policy</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-6 col-sm-6 col-md-3">
|
||||||
|
<ul class="list-unstyled">
|
||||||
|
<li><a href="#">Nordic Chair</a></li>
|
||||||
|
<li><a href="#">Kruzo Aero</a></li>
|
||||||
|
<li><a href="#">Ergonomic Chair</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="border-top copyright">
|
||||||
|
<div class="row pt-4">
|
||||||
|
<div class="col-lg-6">
|
||||||
|
<p class="mb-2 text-center text-lg-start">Copyright ©<script>document.write(new Date().getFullYear());</script>. All Rights Reserved. — Designed with love by <a href="https://untree.co">Untree.co</a> Distributed By <a hreff="https://themewagon.com">ThemeWagon</a> <!-- License information: https://untree.co/license/ -->
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-lg-6 text-center text-lg-end">
|
||||||
|
<ul class="list-unstyled d-inline-flex ms-auto">
|
||||||
|
<li class="me-4"><a href="#">Terms & Conditions</a></li>
|
||||||
|
<li><a href="#">Privacy Policy</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
<!-- End Footer Section -->
|
||||||
|
|
||||||
|
|
||||||
|
<script src="js/bootstrap.bundle.min.js"></script>
|
||||||
|
<script src="js/tiny-slider.js"></script>
|
||||||
|
<script src="js/custom.js"></script>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
|
@ -0,0 +1,711 @@
|
||||||
|
/*
|
||||||
|
* Template Name: UntreeStore
|
||||||
|
* Template Author: Untree.co
|
||||||
|
* Author URI: https://untree.co/
|
||||||
|
* License: https://creativecommons.org/licenses/by/3.0/
|
||||||
|
*/
|
||||||
|
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");
|
||||||
|
body {
|
||||||
|
overflow-x: hidden;
|
||||||
|
position: relative; }
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: "Inter", sans-serif;
|
||||||
|
font-weight: 400;
|
||||||
|
line-height: 28px;
|
||||||
|
color: #6a6a6a;
|
||||||
|
font-size: 14px;
|
||||||
|
background-color: #eff2f1; }
|
||||||
|
|
||||||
|
a {
|
||||||
|
text-decoration: none;
|
||||||
|
-webkit-transition: .3s all ease;
|
||||||
|
-o-transition: .3s all ease;
|
||||||
|
transition: .3s all ease;
|
||||||
|
color: #2f2f2f;
|
||||||
|
text-decoration: underline; }
|
||||||
|
a:hover {
|
||||||
|
color: #2f2f2f;
|
||||||
|
text-decoration: none; }
|
||||||
|
a.more {
|
||||||
|
font-weight: 600; }
|
||||||
|
|
||||||
|
.custom-navbar {
|
||||||
|
background: #3b5d50 !important;
|
||||||
|
padding-top: 20px;
|
||||||
|
padding-bottom: 20px; }
|
||||||
|
.custom-navbar .navbar-brand {
|
||||||
|
font-size: 32px;
|
||||||
|
font-weight: 600; }
|
||||||
|
.custom-navbar .navbar-brand > span {
|
||||||
|
opacity: .4; }
|
||||||
|
.custom-navbar .navbar-toggler {
|
||||||
|
border-color: transparent; }
|
||||||
|
.custom-navbar .navbar-toggler:active, .custom-navbar .navbar-toggler:focus {
|
||||||
|
-webkit-box-shadow: none;
|
||||||
|
box-shadow: none;
|
||||||
|
outline: none; }
|
||||||
|
@media (min-width: 992px) {
|
||||||
|
.custom-navbar .custom-navbar-nav li {
|
||||||
|
margin-left: 15px;
|
||||||
|
margin-right: 15px; } }
|
||||||
|
.custom-navbar .custom-navbar-nav li a {
|
||||||
|
font-weight: 500;
|
||||||
|
color: #ffffff !important;
|
||||||
|
opacity: .5;
|
||||||
|
-webkit-transition: .3s all ease;
|
||||||
|
-o-transition: .3s all ease;
|
||||||
|
transition: .3s all ease;
|
||||||
|
position: relative; }
|
||||||
|
@media (min-width: 768px) {
|
||||||
|
.custom-navbar .custom-navbar-nav li a:before {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
left: 8px;
|
||||||
|
right: 8px;
|
||||||
|
background: #f9bf29;
|
||||||
|
height: 5px;
|
||||||
|
opacity: 1;
|
||||||
|
visibility: visible;
|
||||||
|
width: 0;
|
||||||
|
-webkit-transition: .15s all ease-out;
|
||||||
|
-o-transition: .15s all ease-out;
|
||||||
|
transition: .15s all ease-out; } }
|
||||||
|
.custom-navbar .custom-navbar-nav li a:hover {
|
||||||
|
opacity: 1; }
|
||||||
|
.custom-navbar .custom-navbar-nav li a:hover:before {
|
||||||
|
width: calc(100% - 16px); }
|
||||||
|
.custom-navbar .custom-navbar-nav li.active a {
|
||||||
|
opacity: 1; }
|
||||||
|
.custom-navbar .custom-navbar-nav li.active a:before {
|
||||||
|
width: calc(100% - 16px); }
|
||||||
|
.custom-navbar .custom-navbar-cta {
|
||||||
|
margin-left: 0 !important;
|
||||||
|
-webkit-box-orient: horizontal;
|
||||||
|
-webkit-box-direction: normal;
|
||||||
|
-ms-flex-direction: row;
|
||||||
|
flex-direction: row; }
|
||||||
|
@media (min-width: 768px) {
|
||||||
|
.custom-navbar .custom-navbar-cta {
|
||||||
|
margin-left: 40px !important; } }
|
||||||
|
.custom-navbar .custom-navbar-cta li {
|
||||||
|
margin-left: 0px;
|
||||||
|
margin-right: 0px; }
|
||||||
|
.custom-navbar .custom-navbar-cta li:first-child {
|
||||||
|
margin-right: 20px; }
|
||||||
|
|
||||||
|
.hero {
|
||||||
|
background: #3b5d50;
|
||||||
|
padding: calc(4rem - 30px) 0 0rem 0; }
|
||||||
|
@media (min-width: 768px) {
|
||||||
|
.hero {
|
||||||
|
padding: calc(4rem - 30px) 0 4rem 0; } }
|
||||||
|
@media (min-width: 992px) {
|
||||||
|
.hero {
|
||||||
|
padding: calc(8rem - 30px) 0 8rem 0; } }
|
||||||
|
.hero .intro-excerpt {
|
||||||
|
position: relative;
|
||||||
|
z-index: 4; }
|
||||||
|
@media (min-width: 992px) {
|
||||||
|
.hero .intro-excerpt {
|
||||||
|
max-width: 450px; } }
|
||||||
|
.hero h1 {
|
||||||
|
font-weight: 700;
|
||||||
|
color: #ffffff;
|
||||||
|
margin-bottom: 30px; }
|
||||||
|
@media (min-width: 1400px) {
|
||||||
|
.hero h1 {
|
||||||
|
font-size: 54px; } }
|
||||||
|
.hero p {
|
||||||
|
color: rgba(255, 255, 255, 0.5);
|
||||||
|
margin-botom: 30px; }
|
||||||
|
.hero .hero-img-wrap {
|
||||||
|
position: relative; }
|
||||||
|
.hero .hero-img-wrap img {
|
||||||
|
position: relative;
|
||||||
|
top: 0px;
|
||||||
|
right: 0px;
|
||||||
|
z-index: 2;
|
||||||
|
max-width: 780px;
|
||||||
|
left: -20px; }
|
||||||
|
@media (min-width: 768px) {
|
||||||
|
.hero .hero-img-wrap img {
|
||||||
|
right: 0px;
|
||||||
|
left: -100px; } }
|
||||||
|
@media (min-width: 992px) {
|
||||||
|
.hero .hero-img-wrap img {
|
||||||
|
left: 0px;
|
||||||
|
top: -80px;
|
||||||
|
position: absolute;
|
||||||
|
right: -50px; } }
|
||||||
|
@media (min-width: 1200px) {
|
||||||
|
.hero .hero-img-wrap img {
|
||||||
|
left: 0px;
|
||||||
|
top: -80px;
|
||||||
|
right: -100px; } }
|
||||||
|
.hero .hero-img-wrap:after {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
width: 255px;
|
||||||
|
height: 217px;
|
||||||
|
background-image: url("../images/dots-light.svg");
|
||||||
|
background-size: contain;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
right: -100px;
|
||||||
|
top: -0px; }
|
||||||
|
@media (min-width: 1200px) {
|
||||||
|
.hero .hero-img-wrap:after {
|
||||||
|
top: -40px; } }
|
||||||
|
|
||||||
|
.btn {
|
||||||
|
font-weight: 600;
|
||||||
|
padding: 12px 30px;
|
||||||
|
border-radius: 30px;
|
||||||
|
color: #ffffff;
|
||||||
|
background: #2f2f2f;
|
||||||
|
border-color: #2f2f2f; }
|
||||||
|
.btn:hover {
|
||||||
|
color: #ffffff;
|
||||||
|
background: #222222;
|
||||||
|
border-color: #222222; }
|
||||||
|
.btn:active, .btn:focus {
|
||||||
|
outline: none !important;
|
||||||
|
-webkit-box-shadow: none;
|
||||||
|
box-shadow: none; }
|
||||||
|
.btn.btn-primary {
|
||||||
|
background: #3b5d50;
|
||||||
|
border-color: #3b5d50; }
|
||||||
|
.btn.btn-primary:hover {
|
||||||
|
background: #314d43;
|
||||||
|
border-color: #314d43; }
|
||||||
|
.btn.btn-secondary {
|
||||||
|
color: #2f2f2f;
|
||||||
|
background: #f9bf29;
|
||||||
|
border-color: #f9bf29; }
|
||||||
|
.btn.btn-secondary:hover {
|
||||||
|
background: #f8b810;
|
||||||
|
border-color: #f8b810; }
|
||||||
|
.btn.btn-white-outline {
|
||||||
|
background: transparent;
|
||||||
|
border-width: 2px;
|
||||||
|
border-color: rgba(255, 255, 255, 0.3); }
|
||||||
|
.btn.btn-white-outline:hover {
|
||||||
|
border-color: white;
|
||||||
|
color: #ffffff; }
|
||||||
|
|
||||||
|
.section-title {
|
||||||
|
color: #2f2f2f; }
|
||||||
|
|
||||||
|
.product-section {
|
||||||
|
padding: 7rem 0; }
|
||||||
|
.product-section .product-item {
|
||||||
|
text-align: center;
|
||||||
|
text-decoration: none;
|
||||||
|
display: block;
|
||||||
|
position: relative;
|
||||||
|
padding-bottom: 50px;
|
||||||
|
cursor: pointer; }
|
||||||
|
.product-section .product-item .product-thumbnail {
|
||||||
|
margin-bottom: 30px;
|
||||||
|
position: relative;
|
||||||
|
top: 0;
|
||||||
|
-webkit-transition: .3s all ease;
|
||||||
|
-o-transition: .3s all ease;
|
||||||
|
transition: .3s all ease; }
|
||||||
|
.product-section .product-item h3 {
|
||||||
|
font-weight: 600;
|
||||||
|
font-size: 16px; }
|
||||||
|
.product-section .product-item strong {
|
||||||
|
font-weight: 800 !important;
|
||||||
|
font-size: 18px !important; }
|
||||||
|
.product-section .product-item h3, .product-section .product-item strong {
|
||||||
|
color: #2f2f2f;
|
||||||
|
text-decoration: none; }
|
||||||
|
.product-section .product-item .icon-cross {
|
||||||
|
position: absolute;
|
||||||
|
width: 35px;
|
||||||
|
height: 35px;
|
||||||
|
display: inline-block;
|
||||||
|
background: #2f2f2f;
|
||||||
|
bottom: 15px;
|
||||||
|
left: 50%;
|
||||||
|
-webkit-transform: translateX(-50%);
|
||||||
|
-ms-transform: translateX(-50%);
|
||||||
|
transform: translateX(-50%);
|
||||||
|
margin-bottom: -17.5px;
|
||||||
|
border-radius: 50%;
|
||||||
|
opacity: 0;
|
||||||
|
visibility: hidden;
|
||||||
|
-webkit-transition: .3s all ease;
|
||||||
|
-o-transition: .3s all ease;
|
||||||
|
transition: .3s all ease; }
|
||||||
|
.product-section .product-item .icon-cross img {
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
top: 50%;
|
||||||
|
-webkit-transform: translate(-50%, -50%);
|
||||||
|
-ms-transform: translate(-50%, -50%);
|
||||||
|
transform: translate(-50%, -50%); }
|
||||||
|
.product-section .product-item:before {
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
position: absolute;
|
||||||
|
content: "";
|
||||||
|
background: #dce5e4;
|
||||||
|
height: 0%;
|
||||||
|
z-index: -1;
|
||||||
|
border-radius: 10px;
|
||||||
|
-webkit-transition: .3s all ease;
|
||||||
|
-o-transition: .3s all ease;
|
||||||
|
transition: .3s all ease; }
|
||||||
|
.product-section .product-item:hover .product-thumbnail {
|
||||||
|
top: -25px; }
|
||||||
|
.product-section .product-item:hover .icon-cross {
|
||||||
|
bottom: 0;
|
||||||
|
opacity: 1;
|
||||||
|
visibility: visible; }
|
||||||
|
.product-section .product-item:hover:before {
|
||||||
|
height: 70%; }
|
||||||
|
|
||||||
|
.why-choose-section {
|
||||||
|
padding: 7rem 0; }
|
||||||
|
.why-choose-section .img-wrap {
|
||||||
|
position: relative; }
|
||||||
|
.why-choose-section .img-wrap:before {
|
||||||
|
position: absolute;
|
||||||
|
content: "";
|
||||||
|
width: 255px;
|
||||||
|
height: 217px;
|
||||||
|
background-image: url("../images/dots-yellow.svg");
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: contain;
|
||||||
|
-webkit-transform: translate(-40%, -40%);
|
||||||
|
-ms-transform: translate(-40%, -40%);
|
||||||
|
transform: translate(-40%, -40%);
|
||||||
|
z-index: -1; }
|
||||||
|
.why-choose-section .img-wrap img {
|
||||||
|
border-radius: 20px; }
|
||||||
|
|
||||||
|
.feature {
|
||||||
|
margin-bottom: 30px; }
|
||||||
|
.feature .icon {
|
||||||
|
display: inline-block;
|
||||||
|
position: relative;
|
||||||
|
margin-bottom: 20px; }
|
||||||
|
.feature .icon:before {
|
||||||
|
content: "";
|
||||||
|
width: 33px;
|
||||||
|
height: 33px;
|
||||||
|
position: absolute;
|
||||||
|
background: rgba(59, 93, 80, 0.2);
|
||||||
|
border-radius: 50%;
|
||||||
|
right: -8px;
|
||||||
|
bottom: 0; }
|
||||||
|
.feature h3 {
|
||||||
|
font-size: 14px;
|
||||||
|
color: #2f2f2f; }
|
||||||
|
.feature p {
|
||||||
|
font-size: 14px;
|
||||||
|
line-height: 22px;
|
||||||
|
color: #6a6a6a; }
|
||||||
|
|
||||||
|
.we-help-section {
|
||||||
|
padding: 7rem 0; }
|
||||||
|
.we-help-section .imgs-grid {
|
||||||
|
display: -ms-grid;
|
||||||
|
display: grid;
|
||||||
|
-ms-grid-columns: (1fr)[27];
|
||||||
|
grid-template-columns: repeat(27, 1fr);
|
||||||
|
position: relative; }
|
||||||
|
.we-help-section .imgs-grid:before {
|
||||||
|
position: absolute;
|
||||||
|
content: "";
|
||||||
|
width: 255px;
|
||||||
|
height: 217px;
|
||||||
|
background-image: url("../images/dots-green.svg");
|
||||||
|
background-size: contain;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
-webkit-transform: translate(-40%, -40%);
|
||||||
|
-ms-transform: translate(-40%, -40%);
|
||||||
|
transform: translate(-40%, -40%);
|
||||||
|
z-index: -1; }
|
||||||
|
.we-help-section .imgs-grid .grid {
|
||||||
|
position: relative; }
|
||||||
|
.we-help-section .imgs-grid .grid img {
|
||||||
|
border-radius: 20px;
|
||||||
|
max-width: 100%; }
|
||||||
|
.we-help-section .imgs-grid .grid.grid-1 {
|
||||||
|
-ms-grid-column: 1;
|
||||||
|
-ms-grid-column-span: 18;
|
||||||
|
grid-column: 1 / span 18;
|
||||||
|
-ms-grid-row: 1;
|
||||||
|
-ms-grid-row-span: 27;
|
||||||
|
grid-row: 1 / span 27; }
|
||||||
|
.we-help-section .imgs-grid .grid.grid-2 {
|
||||||
|
-ms-grid-column: 19;
|
||||||
|
-ms-grid-column-span: 27;
|
||||||
|
grid-column: 19 / span 27;
|
||||||
|
-ms-grid-row: 1;
|
||||||
|
-ms-grid-row-span: 5;
|
||||||
|
grid-row: 1 / span 5;
|
||||||
|
padding-left: 20px; }
|
||||||
|
.we-help-section .imgs-grid .grid.grid-3 {
|
||||||
|
-ms-grid-column: 14;
|
||||||
|
-ms-grid-column-span: 16;
|
||||||
|
grid-column: 14 / span 16;
|
||||||
|
-ms-grid-row: 6;
|
||||||
|
-ms-grid-row-span: 27;
|
||||||
|
grid-row: 6 / span 27;
|
||||||
|
padding-top: 20px; }
|
||||||
|
|
||||||
|
.custom-list {
|
||||||
|
width: 100%; }
|
||||||
|
.custom-list li {
|
||||||
|
display: inline-block;
|
||||||
|
width: calc(50% - 20px);
|
||||||
|
margin-bottom: 12px;
|
||||||
|
line-height: 1.5;
|
||||||
|
position: relative;
|
||||||
|
padding-left: 20px; }
|
||||||
|
.custom-list li:before {
|
||||||
|
content: "";
|
||||||
|
width: 8px;
|
||||||
|
height: 8px;
|
||||||
|
border-radius: 50%;
|
||||||
|
border: 2px solid #3b5d50;
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 8px; }
|
||||||
|
|
||||||
|
.popular-product {
|
||||||
|
padding: 0 0 7rem 0; }
|
||||||
|
.popular-product .product-item-sm h3 {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 700;
|
||||||
|
color: #2f2f2f; }
|
||||||
|
.popular-product .product-item-sm a {
|
||||||
|
text-decoration: none;
|
||||||
|
color: #2f2f2f;
|
||||||
|
-webkit-transition: .3s all ease;
|
||||||
|
-o-transition: .3s all ease;
|
||||||
|
transition: .3s all ease; }
|
||||||
|
.popular-product .product-item-sm a:hover {
|
||||||
|
color: rgba(47, 47, 47, 0.5); }
|
||||||
|
.popular-product .product-item-sm p {
|
||||||
|
line-height: 1.4;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
font-size: 14px; }
|
||||||
|
.popular-product .product-item-sm .thumbnail {
|
||||||
|
margin-right: 10px;
|
||||||
|
-webkit-box-flex: 0;
|
||||||
|
-ms-flex: 0 0 120px;
|
||||||
|
flex: 0 0 120px;
|
||||||
|
position: relative; }
|
||||||
|
.popular-product .product-item-sm .thumbnail:before {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
border-radius: 20px;
|
||||||
|
background: #dce5e4;
|
||||||
|
width: 98px;
|
||||||
|
height: 98px;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
-webkit-transform: translate(-50%, -50%);
|
||||||
|
-ms-transform: translate(-50%, -50%);
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
z-index: -1; }
|
||||||
|
|
||||||
|
.testimonial-section {
|
||||||
|
padding: 3rem 0 7rem 0; }
|
||||||
|
|
||||||
|
.testimonial-slider-wrap {
|
||||||
|
position: relative; }
|
||||||
|
.testimonial-slider-wrap .tns-inner {
|
||||||
|
padding-top: 30px; }
|
||||||
|
.testimonial-slider-wrap .item .testimonial-block blockquote {
|
||||||
|
font-size: 16px; }
|
||||||
|
@media (min-width: 768px) {
|
||||||
|
.testimonial-slider-wrap .item .testimonial-block blockquote {
|
||||||
|
line-height: 32px;
|
||||||
|
font-size: 18px; } }
|
||||||
|
.testimonial-slider-wrap .item .testimonial-block .author-info .author-pic {
|
||||||
|
margin-bottom: 20px; }
|
||||||
|
.testimonial-slider-wrap .item .testimonial-block .author-info .author-pic img {
|
||||||
|
max-width: 500px;
|
||||||
|
border-radius: 10%; }
|
||||||
|
.testimonial-slider-wrap .item .testimonial-block .author-info h3 {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 700;
|
||||||
|
color: #2f2f2f;
|
||||||
|
margin-bottom: 0; }
|
||||||
|
.testimonial-slider-wrap #testimonial-nav {
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
z-index: 99;
|
||||||
|
width: 100%;
|
||||||
|
display: none; }
|
||||||
|
@media (min-width: 768px) {
|
||||||
|
.testimonial-slider-wrap #testimonial-nav {
|
||||||
|
display: block; } }
|
||||||
|
.testimonial-slider-wrap #testimonial-nav > span {
|
||||||
|
cursor: pointer;
|
||||||
|
position: absolute;
|
||||||
|
width: 58px;
|
||||||
|
height: 58px;
|
||||||
|
line-height: 58px;
|
||||||
|
border-radius: 50%;
|
||||||
|
background: rgba(59, 93, 80, 0.1);
|
||||||
|
color: #2f2f2f;
|
||||||
|
-webkit-transition: .10s all ease;
|
||||||
|
-o-transition: .10s all ease;
|
||||||
|
transition: .10s all ease; }
|
||||||
|
.testimonial-slider-wrap #testimonial-nav > span:hover {
|
||||||
|
background: #3b5d50;
|
||||||
|
color: #ffffff; }
|
||||||
|
.testimonial-slider-wrap #testimonial-nav .prev {
|
||||||
|
left: -10px; }
|
||||||
|
.testimonial-slider-wrap #testimonial-nav .next {
|
||||||
|
right: 0; }
|
||||||
|
.testimonial-slider-wrap .tns-nav {
|
||||||
|
position: absolute;
|
||||||
|
bottom: -50px;
|
||||||
|
left: 50%;
|
||||||
|
-webkit-transform: translateX(-50%);
|
||||||
|
-ms-transform: translateX(-50%);
|
||||||
|
transform: translateX(-50%); }
|
||||||
|
.testimonial-slider-wrap .tns-nav button {
|
||||||
|
background: none;
|
||||||
|
border: none;
|
||||||
|
display: inline-block;
|
||||||
|
position: relative;
|
||||||
|
width: 0 !important;
|
||||||
|
height: 7px !important;
|
||||||
|
margin: 2px; }
|
||||||
|
.testimonial-slider-wrap .tns-nav button:active, .testimonial-slider-wrap .tns-nav button:focus, .testimonial-slider-wrap .tns-nav button:hover {
|
||||||
|
outline: none;
|
||||||
|
-webkit-box-shadow: none;
|
||||||
|
box-shadow: none;
|
||||||
|
background: none; }
|
||||||
|
.testimonial-slider-wrap .tns-nav button:before {
|
||||||
|
display: block;
|
||||||
|
width: 7px;
|
||||||
|
height: 7px;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
position: absolute;
|
||||||
|
content: "";
|
||||||
|
border-radius: 50%;
|
||||||
|
-webkit-transition: .10s all ease;
|
||||||
|
-o-transition: .10s all ease;
|
||||||
|
transition: .10s all ease;
|
||||||
|
background-color: #d6d6d6; }
|
||||||
|
.testimonial-slider-wrap .tns-nav button:hover:before, .testimonial-slider-wrap .tns-nav button.tns-nav-active:before {
|
||||||
|
background-color: #3b5d50; }
|
||||||
|
|
||||||
|
.before-footer-section {
|
||||||
|
padding: 7rem 0 12rem 0 !important; }
|
||||||
|
|
||||||
|
.blog-section {
|
||||||
|
padding: 7rem 0 12rem 0; }
|
||||||
|
.blog-section .post-entry a {
|
||||||
|
text-decoration: none; }
|
||||||
|
.blog-section .post-entry .post-thumbnail {
|
||||||
|
display: block;
|
||||||
|
margin-bottom: 20px; }
|
||||||
|
.blog-section .post-entry .post-thumbnail img {
|
||||||
|
border-radius: 20px;
|
||||||
|
-webkit-transition: .3s all ease;
|
||||||
|
-o-transition: .3s all ease;
|
||||||
|
transition: .3s all ease; }
|
||||||
|
.blog-section .post-entry .post-content-entry {
|
||||||
|
padding-left: 15px;
|
||||||
|
padding-right: 15px; }
|
||||||
|
.blog-section .post-entry .post-content-entry h3 {
|
||||||
|
font-size: 16px;
|
||||||
|
margin-bottom: 0;
|
||||||
|
font-weight: 600;
|
||||||
|
margin-bottom: 7px; }
|
||||||
|
.blog-section .post-entry .post-content-entry .meta {
|
||||||
|
font-size: 14px; }
|
||||||
|
.blog-section .post-entry .post-content-entry .meta a {
|
||||||
|
font-weight: 600; }
|
||||||
|
.blog-section .post-entry:hover .post-thumbnail img, .blog-section .post-entry:focus .post-thumbnail img {
|
||||||
|
opacity: .7; }
|
||||||
|
|
||||||
|
.footer-section {
|
||||||
|
padding: 80px 0;
|
||||||
|
background: #ffffff; }
|
||||||
|
.footer-section .relative {
|
||||||
|
position: relative; }
|
||||||
|
.footer-section a {
|
||||||
|
text-decoration: none;
|
||||||
|
color: #2f2f2f;
|
||||||
|
-webkit-transition: .3s all ease;
|
||||||
|
-o-transition: .3s all ease;
|
||||||
|
transition: .3s all ease; }
|
||||||
|
.footer-section a:hover {
|
||||||
|
color: rgba(47, 47, 47, 0.5); }
|
||||||
|
.footer-section .subscription-form {
|
||||||
|
margin-bottom: 40px;
|
||||||
|
position: relative;
|
||||||
|
z-index: 2;
|
||||||
|
margin-top: 100px; }
|
||||||
|
@media (min-width: 992px) {
|
||||||
|
.footer-section .subscription-form {
|
||||||
|
margin-top: 0px;
|
||||||
|
margin-bottom: 80px; } }
|
||||||
|
.footer-section .subscription-form h3 {
|
||||||
|
font-size: 18px;
|
||||||
|
font-weight: 500;
|
||||||
|
color: #3b5d50; }
|
||||||
|
.footer-section .subscription-form .form-control {
|
||||||
|
height: 50px;
|
||||||
|
border-radius: 10px;
|
||||||
|
font-family: "Inter", sans-serif; }
|
||||||
|
.footer-section .subscription-form .form-control:active, .footer-section .subscription-form .form-control:focus {
|
||||||
|
outline: none;
|
||||||
|
-webkit-box-shadow: none;
|
||||||
|
box-shadow: none;
|
||||||
|
border-color: #3b5d50;
|
||||||
|
-webkit-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
|
||||||
|
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2); }
|
||||||
|
.footer-section .subscription-form .form-control::-webkit-input-placeholder {
|
||||||
|
font-size: 14px; }
|
||||||
|
.footer-section .subscription-form .form-control::-moz-placeholder {
|
||||||
|
font-size: 14px; }
|
||||||
|
.footer-section .subscription-form .form-control:-ms-input-placeholder {
|
||||||
|
font-size: 14px; }
|
||||||
|
.footer-section .subscription-form .form-control:-moz-placeholder {
|
||||||
|
font-size: 14px; }
|
||||||
|
.footer-section .subscription-form .btn {
|
||||||
|
border-radius: 10px !important; }
|
||||||
|
.footer-section .sofa-img {
|
||||||
|
position: absolute;
|
||||||
|
top: -200px;
|
||||||
|
z-index: 1;
|
||||||
|
right: 0; }
|
||||||
|
.footer-section .sofa-img img {
|
||||||
|
max-width: 380px; }
|
||||||
|
.footer-section .links-wrap {
|
||||||
|
margin-top: 0px; }
|
||||||
|
@media (min-width: 992px) {
|
||||||
|
.footer-section .links-wrap {
|
||||||
|
margin-top: 54px; } }
|
||||||
|
.footer-section .links-wrap ul li {
|
||||||
|
margin-bottom: 10px; }
|
||||||
|
.footer-section .footer-logo-wrap .footer-logo {
|
||||||
|
font-size: 32px;
|
||||||
|
font-weight: 500;
|
||||||
|
text-decoration: none;
|
||||||
|
color: #3b5d50; }
|
||||||
|
.footer-section .custom-social li {
|
||||||
|
margin: 2px;
|
||||||
|
display: inline-block; }
|
||||||
|
.footer-section .custom-social li a {
|
||||||
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 40px;
|
||||||
|
display: inline-block;
|
||||||
|
background: #dce5e4;
|
||||||
|
color: #3b5d50;
|
||||||
|
border-radius: 50%; }
|
||||||
|
.footer-section .custom-social li a:hover {
|
||||||
|
background: #3b5d50;
|
||||||
|
color: #ffffff; }
|
||||||
|
.footer-section .border-top {
|
||||||
|
border-color: #dce5e4; }
|
||||||
|
.footer-section .border-top.copyright {
|
||||||
|
font-size: 14px !important; }
|
||||||
|
|
||||||
|
.untree_co-section {
|
||||||
|
padding: 7rem 0; }
|
||||||
|
|
||||||
|
.form-control {
|
||||||
|
height: 50px;
|
||||||
|
border-radius: 10px;
|
||||||
|
font-family: "Inter", sans-serif; }
|
||||||
|
.form-control:active, .form-control:focus {
|
||||||
|
outline: none;
|
||||||
|
-webkit-box-shadow: none;
|
||||||
|
box-shadow: none;
|
||||||
|
border-color: #3b5d50;
|
||||||
|
-webkit-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
|
||||||
|
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2); }
|
||||||
|
.form-control::-webkit-input-placeholder {
|
||||||
|
font-size: 14px; }
|
||||||
|
.form-control::-moz-placeholder {
|
||||||
|
font-size: 14px; }
|
||||||
|
.form-control:-ms-input-placeholder {
|
||||||
|
font-size: 14px; }
|
||||||
|
.form-control:-moz-placeholder {
|
||||||
|
font-size: 14px; }
|
||||||
|
|
||||||
|
.service {
|
||||||
|
line-height: 1.5; }
|
||||||
|
.service .service-icon {
|
||||||
|
border-radius: 10px;
|
||||||
|
-webkit-box-flex: 0;
|
||||||
|
-ms-flex: 0 0 50px;
|
||||||
|
flex: 0 0 50px;
|
||||||
|
height: 50px;
|
||||||
|
line-height: 50px;
|
||||||
|
text-align: center;
|
||||||
|
background: #3b5d50;
|
||||||
|
margin-right: 20px;
|
||||||
|
color: #ffffff; }
|
||||||
|
|
||||||
|
textarea {
|
||||||
|
height: auto !important; }
|
||||||
|
|
||||||
|
.site-blocks-table {
|
||||||
|
overflow: auto; }
|
||||||
|
.site-blocks-table .product-thumbnail {
|
||||||
|
width: 200px; }
|
||||||
|
.site-blocks-table .btn {
|
||||||
|
padding: 2px 10px; }
|
||||||
|
.site-blocks-table thead th {
|
||||||
|
padding: 30px;
|
||||||
|
text-align: center;
|
||||||
|
border-width: 0px !important;
|
||||||
|
vertical-align: middle;
|
||||||
|
color: rgba(0, 0, 0, 0.8);
|
||||||
|
font-size: 18px; }
|
||||||
|
.site-blocks-table td {
|
||||||
|
padding: 20px;
|
||||||
|
text-align: center;
|
||||||
|
vertical-align: middle;
|
||||||
|
color: rgba(0, 0, 0, 0.8); }
|
||||||
|
.site-blocks-table tbody tr:first-child td {
|
||||||
|
border-top: 1px solid #3b5d50 !important; }
|
||||||
|
.site-blocks-table .btn {
|
||||||
|
background: none !important;
|
||||||
|
color: #000000;
|
||||||
|
border: none;
|
||||||
|
height: auto !important; }
|
||||||
|
|
||||||
|
.site-block-order-table th {
|
||||||
|
border-top: none !important;
|
||||||
|
border-bottom-width: 1px !important; }
|
||||||
|
|
||||||
|
.site-block-order-table td, .site-block-order-table th {
|
||||||
|
color: #000000; }
|
||||||
|
|
||||||
|
.couponcode-wrap input {
|
||||||
|
border-radius: 10px !important; }
|
||||||
|
|
||||||
|
.text-primary {
|
||||||
|
color: #3b5d50 !important; }
|
||||||
|
|
||||||
|
.thankyou-icon {
|
||||||
|
position: relative;
|
||||||
|
color: #3b5d50; }
|
||||||
|
.thankyou-icon:before {
|
||||||
|
position: absolute;
|
||||||
|
content: "";
|
||||||
|
width: 50px;
|
||||||
|
height: 50px;
|
||||||
|
border-radius: 50%;
|
||||||
|
background: rgba(59, 93, 80, 0.2); }
|
|
@ -0,0 +1,3 @@
|
||||||
|
.tns-outer{padding:0 !important}.tns-outer [hidden]{display:none !important}.tns-outer [aria-controls],.tns-outer [data-action]{cursor:pointer}.tns-slider{-webkit-transition:all 0s;-moz-transition:all 0s;transition:all 0s}.tns-slider>.tns-item{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.tns-horizontal.tns-subpixel{white-space:nowrap}.tns-horizontal.tns-subpixel>.tns-item{display:inline-block;vertical-align:top;white-space:normal}.tns-horizontal.tns-no-subpixel:after{content:'';display:table;clear:both}.tns-horizontal.tns-no-subpixel>.tns-item{float:left}.tns-horizontal.tns-carousel.tns-no-subpixel>.tns-item{margin-right:-100%}.tns-no-calc{position:relative;left:0}.tns-gallery{position:relative;left:0;min-height:1px}.tns-gallery>.tns-item{position:absolute;left:-100%;-webkit-transition:transform 0s, opacity 0s;-moz-transition:transform 0s, opacity 0s;transition:transform 0s, opacity 0s}.tns-gallery>.tns-slide-active{position:relative;left:auto !important}.tns-gallery>.tns-moving{-webkit-transition:all 0.25s;-moz-transition:all 0.25s;transition:all 0.25s}.tns-autowidth{display:inline-block}.tns-lazy-img{-webkit-transition:opacity 0.6s;-moz-transition:opacity 0.6s;transition:opacity 0.6s;opacity:0.6}.tns-lazy-img.tns-complete{opacity:1}.tns-ah{-webkit-transition:height 0s;-moz-transition:height 0s;transition:height 0s}.tns-ovh{overflow:hidden}.tns-visually-hidden{position:absolute;left:-10000em}.tns-transparent{opacity:0;visibility:hidden}.tns-fadeIn{opacity:1;filter:alpha(opacity=100);z-index:0}.tns-normal,.tns-fadeOut{opacity:0;filter:alpha(opacity=0);z-index:-1}.tns-vpfix{white-space:nowrap}.tns-vpfix>div,.tns-vpfix>li{display:inline-block}.tns-t-subp2{margin:0 auto;width:310px;position:relative;height:10px;overflow:hidden}.tns-t-ct{width:2333.3333333%;width:-webkit-calc(100% * 70 / 3);width:-moz-calc(100% * 70 / 3);width:calc(100% * 70 / 3);position:absolute;right:0}.tns-t-ct:after{content:'';display:table;clear:both}.tns-t-ct>div{width:1.4285714%;width:-webkit-calc(100% / 70);width:-moz-calc(100% / 70);width:calc(100% / 70);height:10px;float:left}
|
||||||
|
|
||||||
|
/*# sourceMappingURL=sourcemaps/tiny-slider.css.map */
|
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 748 KiB |
After Width: | Height: | Size: 4.1 MiB |
After Width: | Height: | Size: 1.9 MiB |
After Width: | Height: | Size: 2.8 MiB |
After Width: | Height: | Size: 12 MiB |
After Width: | Height: | Size: 3.0 MiB |
After Width: | Height: | Size: 1.1 MiB |
After Width: | Height: | Size: 2.2 MiB |
After Width: | Height: | Size: 13 MiB |
After Width: | Height: | Size: 12 MiB |
After Width: | Height: | Size: 47 KiB |
After Width: | Height: | Size: 344 KiB |
After Width: | Height: | Size: 54 KiB |
After Width: | Height: | Size: 37 KiB |
After Width: | Height: | Size: 36 KiB |
|
@ -0,0 +1,2 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
||||||
|
<svg width="46" height="46" viewBox="0 0 24 24" id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg"><defs><style>.cls-1{fill:none;stroke:#020202;stroke-miterlimit:10;stroke-width:1.91px;}</style></defs><path class="cls-1" d="M17.07,20.61H9.79a2,2,0,0,1-2-2,2,2,0,0,1,2-2h1.87L5,9.86a2,2,0,0,1-.19-2.65,1.88,1.88,0,0,1,1.47-.68,1.84,1.84,0,0,1,1.35.55l4.06,4.06,4.08-3.06a1.91,1.91,0,0,1,2.5.18h0A17.18,17.18,0,0,1,22.42,15l.06.19"/><path class="cls-1" d="M10.63,10.12A4.73,4.73,0,0,0,11,8.17,4.78,4.78,0,1,0,6.26,13a4.67,4.67,0,0,0,1.55-.26"/></svg>
|
After Width: | Height: | Size: 684 B |