This commit is contained in:
sayaanto 2026-07-16 12:34:11 +07:00
commit 682ca7152e
162 changed files with 24167 additions and 0 deletions

18
.editorconfig Normal file
View File

@ -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
[compose.yaml]
indent_size = 4

65
.env.example Normal file
View File

@ -0,0 +1,65 @@
APP_NAME=Laravel
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost
APP_LOCALE=en
APP_FALLBACK_LOCALE=en
APP_FAKER_LOCALE=en_US
APP_MAINTENANCE_DRIVER=file
# APP_MAINTENANCE_STORE=database
# PHP_CLI_SERVER_WORKERS=4
BCRYPT_ROUNDS=12
LOG_CHANNEL=stack
LOG_STACK=single
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug
DB_CONNECTION=sqlite
# DB_HOST=127.0.0.1
# DB_PORT=3306
# DB_DATABASE=laravel
# DB_USERNAME=root
# DB_PASSWORD=
SESSION_DRIVER=database
SESSION_LIFETIME=120
SESSION_ENCRYPT=false
SESSION_PATH=/
SESSION_DOMAIN=null
BROADCAST_CONNECTION=log
FILESYSTEM_DISK=local
QUEUE_CONNECTION=database
CACHE_STORE=database
# CACHE_PREFIX=
MEMCACHED_HOST=127.0.0.1
REDIS_CLIENT=phpredis
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
MAIL_MAILER=log
MAIL_SCHEME=null
MAIL_HOST=127.0.0.1
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=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
VITE_APP_NAME="${APP_NAME}"

11
.gitattributes vendored Normal file
View File

@ -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

24
.gitignore vendored Normal file
View File

@ -0,0 +1,24 @@
*.log
.DS_Store
.env
.env.backup
.env.production
.phpactor.json
.phpunit.result.cache
/.fleet
/.idea
/.nova
/.phpunit.cache
/.vscode
/.zed
/auth.json
/node_modules
/public/build
/public/hot
/public/storage
/storage/*.key
/storage/pail
/vendor
Homestead.json
Homestead.yaml
Thumbs.db

59
README.md Normal file
View File

@ -0,0 +1,59 @@
<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 can also check out [Laravel Learn](https://laravel.com/learn), where you will be guided through building a modern Laravel application.
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)**
- **[Kirschbaum Development Group](https://kirschbaumdevelopment.com)**
- **[64 Robots](https://64robots.com)**
- **[Curotec](https://www.curotec.com/services/technologies/laravel)**
- **[DevSquad](https://devsquad.com/hire-laravel-developers)**
- **[Redberry](https://redberry.international/laravel-development)**
- **[Active Logic](https://activelogic.com)**
## 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).

View File

@ -0,0 +1,108 @@
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class ApparelNewController extends Controller
{
public function index(Request $request) // WAJIB tambahkan Request $request
{
// 1. Data asli produk Anda
$products = [
[
'name' => 'Stone Island Polo Shirt',
'category' => 'Apparel New',
'status' => 'NEW',
'price' => '1.250.000',
'image' => ['an-1-a.png', 'an-1-b.png', 'an-1-c.png'],
'badge_class' => 'badge-new',
'sizes' => ['S', 'M', 'L', 'Xl'],
'upload_date' => '2026-04-30 14:30:00',
'stock' => 3,
'views' => 2847,
],
[
'name' => 'Tracktop BW Bird',
'category' => 'Apparel New',
'status' => 'NEW',
'price' => '1.350.000',
'image' => ['an-2-a.png', 'an-2-b.png', 'an-2-c.png'],
'badge_class' => 'badge-new',
'sizes' => ['M', 'L'],
'upload_date' => '2026-04-28 10:15:00',
'stock' => 5,
'views' => 1563,
],
[
'name' => 'Tracktop Ellese Black',
'category' => 'Apparel New',
'status' => 'NEW',
'price' => '1.650.000',
'image' => ['an-3-a.png', 'an-3-b.png', 'an-3-c.png'],
'badge_class' => 'badge-new',
'sizes' => ['L', 'Xl', 'Xxl'],
'upload_date' => '2026-04-25 16:45:00',
'stock' => 2,
'views' => 2190,
],
[
'name' => 'Jersey Adidas Oasis',
'category' => 'Apparel New',
'status' => 'NEW',
'price' => '2.250.000',
'image' => ['an-4-a.png', 'an-4-b.png', 'an-4-c.png'],
'badge_class' => 'badge-new',
'sizes' => ['Xs', 'S', 'M'],
'upload_date' => '2026-04-22 09:20:00',
'stock' => 4,
'views' => 874,
],
[
'name' => 'Jaket Napapijri',
'category' => 'Apparel New',
'status' => 'NEW',
'price' => '3.150.000',
'image' => ['an-5-a.png', 'an-5-b.png', 'an-5-c.png'],
'badge_class' => 'badge-new',
'sizes' => ['Xl', 'Xxl', '3xl'],
'upload_date' => '2026-04-18 11:05:00',
'stock' => 1,
'views' => 431,
],
[
'name' => 'Rugby Adidas',
'category' => 'Apparel New',
'status' => 'NEW',
'price' => '950.000',
'image' => ['an-6-a.png', 'an-6-b.png', 'an-6-c.png'],
'badge_class' => 'badge-new',
'sizes' => ['M', 'L', '14'],
'upload_date' => '2026-04-10 08:30:00',
'stock' => 3,
'views' => 1208,
],
];
// 2. Ubah array biasa menjadi Laravel Collection agar mudah di-filter
$productCollection = collect($products);
// 3. LOGIKA PENCARIAN
// Jika ada input 'q' dari search bar
if ($request->has('q') && $request->q != '') {
$keyword = $request->q;
// Filter koleksi: kembalikan item yang namanya mengandung kata kunci
// Menggunakan stripos agar tidak sensitif huruf besar/kecil
$productCollection = $productCollection->filter(function ($item) use ($keyword) {
return stripos($item['name'], $keyword) !== false;
});
}
// 4. Kembalikan data yang sudah difilter menjadi array kembali
$filteredProducts = $productCollection->values()->all();
// 5. Kirim data ke view
return view('apparelnew', ['products' => $filteredProducts]);
}
}

View File

@ -0,0 +1,104 @@
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class ApparelSecondController extends Controller
{
public function index(Request $request) // Tambahkan Request $request
{
$allProducts = [
[
'name' => 'Adidas Ringertee Camo',
'category' => 'Apparel Second',
'status' => 'SECOND',
'price' => '150.000',
'image' => ['as-1-a.png', 'as-1-b.png', 'as-1-c.png'],
'badge_class' => 'badge-second',
'sizes' => ['M'],
'upload_date' => '2026-04-30 08:15:22',
'stock' => 1,
'views' => 1847,
],
[
'name' => 'Adidas Big Logo',
'category' => 'Apparel Second',
'status' => 'SECOND',
'price' => '120.000',
'image' => ['as-2-a.png', 'as-2-b.png', 'as-2-c.png'],
'badge_class' => 'badge-second',
'sizes' => ['Xl'],
'upload_date' => '2026-04-28 14:30:05',
'stock' => 1,
'views' => 634,
],
[
'name' => 'Jaket TNF',
'category' => 'Apparel Second',
'status' => 'SECOND',
'price' => '450.000',
'image' => ['as-3-a.png', 'as-3-b.png', 'as-3-c.png'],
'badge_class' => 'badge-second',
'sizes' => ['L'],
'upload_date' => '2026-04-26 10:45:10',
'stock' => 1,
'views' => 2315,
],
[
'name' => 'Stone Island Anora Multi',
'category' => 'Apparel Second',
'status' => 'SECOND',
'price' => '600.000',
'image' => ['as-4-a.png', 'as-4-b.png', 'as-4-c.png'],
'badge_class' => 'badge-second',
'sizes' => ['Xxl'],
'upload_date' => '2026-04-22 19:20:45',
'stock' => 1,
'views' => 981,
],
[
'name' => 'Tracktop Adidas Grey',
'category' => 'Apparel Second',
'status' => 'SECOND',
'price' => '250.000',
'image' => ['as-5-a.png', 'as-5-b.png', 'as-5-c.png'],
'badge_class' => 'badge-second',
'sizes' => ['S'],
'upload_date' => '2026-04-15 16:10:30',
'stock' => 1,
'views' => 1452,
],
[
'name' => 'Adidas Logo Camo',
'category' => 'Apparel Second',
'status' => 'SECOND',
'price' => '130.000',
'image' => ['as-6-a.png', 'as-6-b.png', 'as-6-c.png'],
'badge_class' => 'badge-second',
'sizes' => ['M'],
'upload_date' => '2026-04-10 09:05:15',
'stock' => 1,
'views' => 276,
],
];
// Konversi array ke Collection
$productCollection = collect($allProducts);
// Cek jika ada input pencarian 'q'
if ($request->has('q') && $request->q != '') {
$keyword = $request->q;
// Filter data berdasarkan nama (tidak peka huruf besar/kecil)
$productCollection = $productCollection->filter(function ($item) use ($keyword) {
return stripos($item['name'], $keyword) !== false;
});
}
// Ambil hasil filter
$products = $productCollection->values()->all();
return view('apparelsecond', compact('products'));
}
}

View File

@ -0,0 +1,8 @@
<?php
namespace App\Http\Controllers;
abstract class Controller
{
//
}

View File

@ -0,0 +1,468 @@
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class DashboardController extends Controller
{
// ============================================================
// 1. GUDANG DATA PRODUK (Fungsi Privat)
// ============================================================
private function getDataProduk()
{
$apparelNew = [
[
'name' => 'Stone Island Polo Shirt',
'category' => 'Apparel New',
'status' => 'NEW',
'description' => '100% Original',
'price' => '1.250.000',
'image' => ['an-1-a.png', 'an-1-b.png', 'an-1-c.png'],
'badge_class' => 'badge-new',
'sizes' => ['S', 'M', 'L', 'Xl'],
'upload_date' => '2026-04-30 14:30:00',
'stock' => 3,
'views' => 2847,
],
[
'name' => 'Tracktop BW Bird',
'category' => 'Apparel New',
'status' => 'NEW',
'description' => '100% Original',
'price' => '1.350.000',
'image' => ['an-2-a.png', 'an-2-b.png', 'an-2-c.png'],
'badge_class' => 'badge-new',
'sizes' => ['M', 'L'],
'upload_date' => '2026-04-28 10:15:00',
'stock' => 5,
'views' => 1563,
],
[
'name' => 'Tracktop Ellese Black',
'category' => 'Apparel New',
'status' => 'NEW',
'description' => '100% Original',
'price' => '1.650.000',
'image' => ['an-3-a.png', 'an-3-b.png', 'an-3-c.png'],
'badge_class' => 'badge-new',
'sizes' => ['L', 'Xl', 'Xxl'],
'upload_date' => '2026-04-25 16:45:00',
'stock' => 2,
'views' => 2190,
],
[
'name' => 'Jersey Adidas Oasis',
'category' => 'Apparel New',
'status' => 'NEW',
'description' => '100% Original',
'price' => '2.250.000',
'image' => ['an-4-a.png', 'an-4-b.png', 'an-4-c.png'],
'badge_class' => 'badge-new',
'sizes' => ['Xs', 'S', 'M'],
'upload_date' => '2026-04-22 09:20:00',
'stock' => 4,
'views' => 874,
],
[
'name' => 'Jaket Napapijri',
'category' => 'Apparel New',
'status' => 'NEW',
'description' => '100% Original',
'price' => '3.150.000',
'image' => ['an-5-a.png', 'an-5-b.png', 'an-5-c.png'],
'badge_class' => 'badge-new',
'sizes' => ['Xl', 'Xxl', '3xl'],
'upload_date' => '2026-04-18 11:05:00',
'stock' => 1,
'views' => 431,
],
[
'name' => 'Rugby Adidas',
'category' => 'Apparel New',
'status' => 'NEW',
'description' => '100% Original',
'price' => '950.000',
'image' => ['an-6-a.png', 'an-6-b.png', 'an-6-c.png'],
'badge_class' => 'badge-new',
'sizes' => ['M', 'L', '14'],
'upload_date' => '2026-04-10 08:30:00',
'stock' => 3,
'views' => 1208,
],
];
$apparelSecond = [
[
'name' => 'Adidas Ringertee Camo',
'category' => 'Apparel Second',
'status' => 'SECOND',
'description' => 'Tidak ada minus',
'price' => '150.000',
'image' => ['as-1-a.png', 'as-1-b.png', 'as-1-c.png'],
'badge_class' => 'badge-second',
'sizes' => ['M'],
'upload_date' => '2026-04-30 08:15:22',
'stock' => 1,
'views' => 1847,
],
[
'name' => 'Adidas Big Logo',
'category' => 'Apparel Second',
'status' => 'SECOND',
'description' => 'Tidak ada minus',
'price' => '120.000',
'image' => ['as-2-a.png', 'as-2-b.png', 'as-2-c.png'],
'badge_class' => 'badge-second',
'sizes' => ['Xl'],
'upload_date' => '2026-04-28 14:30:05',
'stock' => 1,
'views' => 634,
],
[
'name' => 'Jaket TNF',
'category' => 'Apparel Second',
'status' => 'SECOND',
'description' => 'Tidak ada minus',
'price' => '450.000',
'image' => ['as-3-a.png', 'as-3-b.png', 'as-3-c.png'],
'badge_class' => 'badge-second',
'sizes' => ['L'],
'upload_date' => '2026-04-26 10:45:10',
'stock' => 1,
'views' => 2315,
],
[
'name' => 'Stone Island Anora Multi',
'category' => 'Apparel Second',
'status' => 'SECOND',
'description' => 'Tidak ada minus',
'price' => '600.000',
'image' => ['as-4-a.png', 'as-4-b.png', 'as-4-c.png'],
'badge_class' => 'badge-second',
'sizes' => ['Xxl'],
'upload_date' => '2026-04-22 19:20:45',
'stock' => 1,
'views' => 981,
],
[
'name' => 'Tracktop Adidas Grey',
'category' => 'Apparel Second',
'status' => 'SECOND',
'description' => 'Tidak ada minus',
'price' => '250.000',
'image' => ['as-5-a.png', 'as-5-b.png', 'as-5-c.png'],
'badge_class' => 'badge-second',
'sizes' => ['S'],
'upload_date' => '2026-04-15 16:10:30',
'stock' => 1,
'views' => 1452,
],
[
'name' => 'Adidas Logo Camo',
'category' => 'Apparel Second',
'status' => 'SECOND',
'description' => 'Tidak ada minus',
'price' => '130.000',
'image' => ['as-6-a.png', 'as-6-b.png', 'as-6-c.png'],
'badge_class' => 'badge-second',
'sizes' => ['M'],
'upload_date' => '2026-04-10 09:05:15',
'stock' => 1,
'views' => 276,
],
];
$footwearNew = [
[
'name' => 'Evo SL Core Black',
'category' => 'Footwear New',
'status' => 'NEW',
'description' => '100% Original',
'price' => '2.650.000',
'image' => ['fn-1-a.png', 'fn-1-b.png', 'fn-1-c.png'],
'badge_class' => 'badge-new',
'sizes' => ['40', '41', '42', '43'],
'upload_date' => '2026-05-01 10:15:30',
'stock' => 4,
'views' => 2963,
],
[
'name' => 'Adidas Spezial Ice Blue',
'category' => 'Footwear New',
'status' => 'NEW',
'description' => '100% Original',
'price' => '2.350.000',
'image' => ['fn-2-a.png', 'fn-2-b.png', 'fn-2-c.png'],
'badge_class' => 'badge-new',
'sizes' => ['39', '40', '44'],
'upload_date' => '2026-04-29 14:20:15',
'stock' => 2,
'views' => 1784,
],
[
'name' => 'Adidas Samba Classic Black',
'category' => 'Footwear New',
'status' => 'NEW',
'description' => '100% Original',
'price' => '1.850.000',
'image' => ['fn-3-a.png', 'fn-3-b.png', 'fn-3-c.png'],
'badge_class' => 'badge-new',
'sizes' => ['41', '42', '45'],
'upload_date' => '2026-04-27 09:45:00',
'stock' => 5,
'views' => 2201,
],
[
'name' => 'Adidas Samba Classic White',
'category' => 'Footwear New',
'status' => 'NEW',
'description' => '100% Original',
'price' => '1.950.000',
'image' => ['fn-4-a.png', 'fn-4-b.png', 'fn-4-c.png'],
'badge_class' => 'badge-new',
'sizes' => ['38', '39', '40'],
'upload_date' => '2026-04-25 16:10:45',
'stock' => 1,
'views' => 548,
],
[
'name' => 'Adidas Spezial Cw Oslo',
'category' => 'Footwear New',
'status' => 'NEW',
'description' => '100% Original',
'price' => '3.150.000',
'image' => ['fn-5-a.png', 'fn-5-b.png', 'fn-5-c.png'],
'badge_class' => 'badge-new',
'sizes' => ['42', '43', '44'],
'upload_date' => '2026-04-21 11:30:20',
'stock' => 3,
'views' => 1129,
],
[
'name' => 'Adidas Series Bali',
'category' => 'Footwear New',
'status' => 'NEW',
'description' => '100% Original',
'price' => '3.150.000',
'image' => ['fn-6-a.png', 'fn-6-b.png', 'fn-6-c.png'],
'badge_class' => 'badge-new',
'sizes' => ['40', '41', '42'],
'upload_date' => '2026-04-18 08:05:10',
'stock' => 2,
'views' => 317,
],
];
$footwearSecond = [
[
'name' => 'Adidas LA Trainer',
'category' => 'Footwear Second',
'status' => 'SECOND',
'description' => 'Tidak ada minus',
'price' => '650.000',
'image' => ['fs-1-a.png', 'fs-1-b.png', 'fs-1-c.png'],
'badge_class' => 'badge-second',
'sizes' => ['41'],
'upload_date' => '2026-05-01 15:30:00',
'stock' => 1,
'views' => 2741,
],
[
'name' => 'Adidas Samba OG',
'category' => 'Footwear Second',
'status' => 'SECOND',
'description' => 'Tidak ada minus',
'price' => '550.000',
'image' => ['fs-2-a.png', 'fs-2-b.png', 'fs-2-c.png'],
'badge_class' => 'badge-second',
'sizes' => ['40'],
'upload_date' => '2026-04-30 11:20:15',
'stock' => 1,
'views' => 1093,
],
[
'name' => 'Adidas Spezial Orbit Indigo',
'category' => 'Footwear Second',
'status' => 'SECOND',
'description' => 'Tidak ada minus',
'price' => '600.000',
'image' => ['fs-3-a.png', 'fs-3-b.png', 'fs-3-c.png'],
'badge_class' => 'badge-second',
'sizes' => ['43'],
'upload_date' => '2026-04-29 09:45:10',
'stock' => 1,
'views' => 1876,
],
[
'name' => 'Adidas TRX Vintage',
'category' => 'Footwear Second',
'status' => 'SECOND',
'description' => 'Tidak ada minus',
'price' => '950.000',
'image' => ['fs-4-a.png', 'fs-4-b.png', 'fs-4-c.png'],
'badge_class' => 'badge-second',
'sizes' => ['42'],
'upload_date' => '2026-04-27 16:15:45',
'stock' => 1,
'views' => 462,
],
[
'name' => 'Adidas Dragon',
'category' => 'Footwear Second',
'status' => 'SECOND',
'description' => 'Tidak ada minus',
'price' => '350.000',
'image' => ['fs-5-a.png', 'fs-5-b.png', 'fs-5-c.png'],
'badge_class' => 'badge-second',
'sizes' => ['39'],
'upload_date' => '2026-04-25 14:10:30',
'stock' => 1,
'views' => 2158,
],
[
'name' => 'Adidas Munchen Grey',
'category' => 'Footwear Second',
'status' => 'SECOND',
'description' => 'Tidak ada minus',
'price' => '750.000',
'image' => ['fs-6-a.png', 'fs-6-b.png', 'fs-6-c.png'],
'badge_class' => 'badge-second',
'sizes' => ['44'],
'upload_date' => '2026-04-23 08:05:15',
'stock' => 1,
'views' => 729,
],
];
return array_merge($apparelNew, $apparelSecond, $footwearNew, $footwearSecond);
}
// ============================================================
// 2. FUNGSI HALAMAN UTAMA DASHBOARD (Statistik)
// ============================================================
public function index()
{
$allProducts = $this->getDataProduk();
$totalProduk = count($allProducts);
$totalDilihat = array_sum(array_column($allProducts, 'views'));
$totalStok = array_sum(array_column($allProducts, 'stock'));
$totalKategori = count(array_unique(array_column($allProducts, 'category')));
usort($allProducts, fn($a, $b) => $b['views'] <=> $a['views']);
$topProducts = array_slice($allProducts, 0, 5);
return view('dashboard', compact(
'totalProduk',
'totalDilihat',
'totalStok',
'totalKategori',
'topProducts'
));
}
// ============================================================
// 3. FUNGSI HALAMAN KELOLA PRODUK (CRUD Tabel)
// ============================================================
public function kelolaProduk()
{
$products = $this->getDataProduk();
$productsForView = array_map(function ($item) {
$item['image'] = is_array($item['image']) ? $item['image'][0] : $item['image'];
return $item;
}, $products);
return view('kelolaproduk', ['products' => $productsForView]);
}
public function editProduk($name)
{
$allProducts = $this->getDataProduk();
$nameDecoded = urldecode($name);
$product = collect($allProducts)->firstWhere('name', $nameDecoded);
if (!$product) {
return redirect('/kelola-produk');
}
return view('editproduk', compact('product'));
}
// ============================================================
// 4. FUNGSI HALAMAN TAMBAH PRODUK
// ============================================================
public function tambahProduk()
{
// Langsung arahkan ke view tambahproduk.blade.php
return view('tambahproduk');
}
// ============================================================
// 5. FUNGSI ACTION FORM (Bisa diisi nanti jika sudah pakai Database)
// ============================================================
public function storeProduk(Request $request)
{
// Logika untuk menyimpan produk baru ke database
// ...
return redirect('/kelola-produk')->with('success', 'Produk berhasil ditambahkan!');
}
public function updateProduk(Request $request, $name)
{
// Logika untuk mengupdate produk yang ada di database
// ...
return redirect('/kelola-produk')->with('success', 'Produk berhasil diperbarui!');
}
// ============================================================
// 6. FUNGSI HALAMAN ANALITIK PRODUK
// ============================================================
public function analitikProduk()
{
// 1. Ambil semua data produk dummy dan jadikan Collection agar mudah difilter
$allProducts = collect($this->getDataProduk());
// 2. Hitung Stok Menipis (produk yang stoknya di bawah 3)
$stokMenipisCount = $allProducts->where('stock', '<', 3)->count();
// 3. Data Dummy Tambahan
$rasioKlikWA = 19.5;
$totalKeranjang = 28;
// 4. Proses Data Per Kategori menggunakan Looping agar kode lebih ringkas
$categories = [
'Apparel New',
'Apparel Second',
'Footwear New',
'Footwear Second'
];
$categoryStats = [];
foreach ($categories as $cat) {
// Ambil produk yang sesuai kategori saja
$filtered = $allProducts->where('category', $cat);
$categoryStats[$cat] = [
'total_produk' => $filtered->count(), // Menghitung "X Produk Terdaftar"
'total_views' => $filtered->sum('views') // Menjumlahkan semua views dalam kategori ini
];
}
// 5. Cari views tertinggi untuk patokan 100% lebar Progress Bar di Blade
$maxViews = max(array_column($categoryStats, 'total_views')) ?: 1;
// 6. Kirim semua data ke view 'analitikproduk'
return view('analitikproduk', compact(
'categoryStats',
'maxViews',
'stokMenipisCount',
'rasioKlikWA',
'totalKeranjang'
));
}
}

View File

@ -0,0 +1,104 @@
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class FootwearNewController extends Controller
{
public function index(Request $request) // Tambahkan parameter Request
{
$allProducts = [
[
'name' => 'Evo SL Core Black',
'category' => 'Footwear New',
'status' => 'NEW',
'price' => '2.650.000',
'image' => ['fn-1-a.png', 'fn-1-b.png', 'fn-1-c.png'],
'badge_class' => 'badge-new',
'sizes' => ['40', '41', '42', '43'],
'upload_date' => '2026-05-01 10:15:30',
'stock' => 4,
'views' => 2963,
],
[
'name' => 'Adidas Spezial Ice Blue',
'category' => 'Footwear New',
'status' => 'NEW',
'price' => '2.350.000',
'image' => ['fn-2-a.png', 'fn-2-b.png', 'fn-2-c.png'],
'badge_class' => 'badge-new',
'sizes' => ['39', '40', '44'],
'upload_date' => '2026-04-29 14:20:15',
'stock' => 2,
'views' => 1784,
],
[
'name' => 'Adidas Samba Classic Black',
'category' => 'Footwear New',
'status' => 'NEW',
'price' => '1.850.000',
'image' => ['fn-3-a.png', 'fn-3-b.png', 'fn-3-c.png'],
'badge_class' => 'badge-new',
'sizes' => ['41', '42', '45'],
'upload_date' => '2026-04-27 09:45:00',
'stock' => 5,
'views' => 2201,
],
[
'name' => 'Adidas Samba Classic White',
'category' => 'Footwear New',
'status' => 'NEW',
'price' => '1.950.000',
'image' => ['fn-4-a.png', 'fn-4-b.png', 'fn-4-c.png'],
'badge_class' => 'badge-new',
'sizes' => ['38', '39', '40'],
'upload_date' => '2026-04-25 16:10:45',
'stock' => 1,
'views' => 548,
],
[
'name' => 'Adidas Spezial Cw Oslo',
'category' => 'Footwear New',
'status' => 'NEW',
'price' => '3.150.000',
'image' => ['fn-5-a.png', 'fn-5-b.png', 'fn-5-c.png'],
'badge_class' => 'badge-new',
'sizes' => ['42', '43', '44'],
'upload_date' => '2026-04-21 11:30:20',
'stock' => 3,
'views' => 1129,
],
[
'name' => 'Adidas Series Bali',
'category' => 'Footwear New',
'status' => 'NEW',
'price' => '3.150.000',
'image' => ['fn-6-a.png', 'fn-6-b.png', 'fn-6-c.png'],
'badge_class' => 'badge-new',
'sizes' => ['40', '41', '42'],
'upload_date' => '2026-04-18 08:05:10',
'stock' => 2,
'views' => 317,
],
];
// Ubah array menjadi Collection agar bisa difilter
$productCollection = collect($allProducts);
// Logika pencarian berdasarkan input 'q' di navbar
if ($request->has('q') && $request->q != '') {
$keyword = $request->q;
// Mencari nama produk yang mengandung kata kunci (tidak peka huruf besar/kecil)
$productCollection = $productCollection->filter(function ($item) use ($keyword) {
return stripos($item['name'], $keyword) !== false;
});
}
// Ambil data hasil akhir
$products = $productCollection->values()->all();
return view('footwearnew', compact('products'));
}
}

View File

@ -0,0 +1,104 @@
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class FootwearSecondController extends Controller
{
public function index(Request $request) // Tambahkan parameter Request
{
$allProducts = [
[
'name' => 'Adidas LA Trainer',
'category' => 'Footwear Second',
'status' => 'SECOND',
'price' => '650.000',
'image' => ['fs-1-a.png', 'fs-1-b.png', 'fs-1-c.png'],
'badge_class' => 'badge-second',
'sizes' => ['41'],
'upload_date' => '2026-05-01 15:30:00',
'stock' => 1,
'views' => 2741,
],
[
'name' => 'Adidas Samba OG',
'category' => 'Footwear Second',
'status' => 'SECOND',
'price' => '550.000',
'image' => ['fs-2-a.png', 'fs-2-b.png', 'fs-2-c.png'],
'badge_class' => 'badge-second',
'sizes' => ['40'],
'upload_date' => '2026-04-30 11:20:15',
'stock' => 1,
'views' => 1093,
],
[
'name' => 'Adidas Spezial Orbit Indigo',
'category' => 'Footwear Second',
'status' => 'SECOND',
'price' => '600.000',
'image' => ['fs-3-a.png', 'fs-3-b.png', 'fs-3-c.png'],
'badge_class' => 'badge-second',
'sizes' => ['43'],
'upload_date' => '2026-04-29 09:45:10',
'stock' => 1,
'views' => 1876,
],
[
'name' => 'Adidas TRX Vintage',
'category' => 'Footwear Second',
'status' => 'SECOND',
'price' => '950.000',
'image' => ['fs-4-a.png', 'fs-4-b.png', 'fs-4-c.png'],
'badge_class' => 'badge-second',
'sizes' => ['42'],
'upload_date' => '2026-04-27 16:15:45',
'stock' => 1,
'views' => 462,
],
[
'name' => 'Adidas Dragon',
'category' => 'Footwear Second',
'status' => 'SECOND',
'price' => '350.000',
'image' => ['fs-5-a.png', 'fs-5-b.png', 'fs-5-c.png'],
'badge_class' => 'badge-second',
'sizes' => ['39'],
'upload_date' => '2026-04-25 14:10:30',
'stock' => 1,
'views' => 2158,
],
[
'name' => 'Adidas Munchen Grey',
'category' => 'Footwear Second',
'status' => 'SECOND',
'price' => '750.000',
'image' => ['fs-6-a.png', 'fs-6-b.png', 'fs-6-c.png'],
'badge_class' => 'badge-second',
'sizes' => ['44'],
'upload_date' => '2026-04-23 08:05:15',
'stock' => 1,
'views' => 729,
],
];
// Bungkus array ke dalam Laravel Collection
$productCollection = collect($allProducts);
// Eksekusi filter jika pengguna mengisi search bar
if ($request->has('q') && $request->q != '') {
$keyword = $request->q;
// Mencocokkan nama produk dengan kata kunci (tidak case-sensitive)
$productCollection = $productCollection->filter(function ($item) use ($keyword) {
return stripos($item['name'], $keyword) !== false;
});
}
// Ambil data hasil akhir dalam bentuk array
$products = $productCollection->values()->all();
return view('footwearsecond', compact('products'));
}
}

View File

@ -0,0 +1,62 @@
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class LoginController extends Controller
{
// Menampilkan halaman login
public function index()
{
return view('login');
}
// Proses autentikasi data dummy
public function authenticate(Request $request)
{
$dummyAdmins = [
[
'username' => 'admin',
'password' => 'admin123',
'role' => 'admin',
'nama' => 'Administrator'
],
[
'username' => 'dimas',
'password' => 'owner123',
'role' => 'owner',
'nama' => 'Dimas Yusuf Ashari'
],
[
'username' => 'santo',
'password' => 'dev123',
'role' => 'pengembang',
'nama' => 'Santo'
]
];
// Ambil input dari form
$username = $request->input('username');
$password = $request->input('password');
// Cek ke semua data dummy
foreach ($dummyAdmins as $admin) {
if ($username === $admin['username'] && $password === $admin['password']) {
// Simpan session
session([
'is_admin' => true,
'username' => $admin['username'],
'nama' => $admin['nama'],
'role' => $admin['role']
]);
return redirect('/dashboard')->with('success', 'Selamat Datang, ' . $admin['nama'] . '!');
}
}
// Jika tidak ada yang cocok
return back()->with('error', 'Username atau Password salah!');
}
}

View File

@ -0,0 +1,79 @@
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class ProductController extends Controller
{
public function index()
{
$products = [
[
'name' => 'Stone Island Polo Shirt',
'category' => 'Apparel',
'status' => 'NEW',
'price' => '1.250.000',
'image' => 'an 1.png',
'badge_class' => 'badge-new'
],
[
'name' => 'Tracktop Ellese Black',
'category' => 'Apparel',
'status' => 'NEW',
'price' => '1.650.000',
'image' => 'an 2.png',
'badge_class' => 'badge-new'
],
[
'name' => 'Evo SL Core Black',
'category' => 'Footwear',
'status' => 'NEW',
'price' => '2.650.000',
'image' => 'an 3.jpg',
'badge_class' => 'badge-new'
],
[
'name' => 'Adidas Spezial Ice Blue',
'category' => 'Footwear',
'status' => 'NEW',
'price' => '2.350.000',
'image' => 'an 4.jpg',
'badge_class' => 'badge-new'
],
[
'name' => 'Adidas LA Trainer',
'category' => 'Footwear',
'status' => 'SECOND',
'price' => '650.000',
'image' => 'an 5.png',
'badge_class' => 'badge-second'
],
[
'name' => 'Adidas Ringertee Camo',
'category' => 'Apparel',
'status' => 'SECOND',
'price' => '150.000',
'image' => 'an 6.jpeg',
'badge_class' => 'badge-second'
],
[
'name' => 'Jacket TNF',
'category' => 'Apparel',
'status' => 'NEW',
'price' => '450.000',
'image' => 'an 7.png',
'badge_class' => 'badge-new'
],
[
'name' => 'Adidas BW Army',
'category' => 'Footwear',
'status' => 'SECOND',
'price' => '550.000',
'image' => 'an 8.png',
'badge_class' => 'badge-second'
],
];
return view('welcome', compact('products'));
}
}

View File

@ -0,0 +1,365 @@
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class TerbaruController extends Controller
{
// ============================================================
// FUNGSI GUDANG DATA (Hanya untuk menyimpan array)
// ============================================================
private function getDataProduk()
{
$apparelNew = [
[
'name' => 'Stone Island Polo Shirt',
'category' => 'Apparel New',
'status' => 'NEW',
'price' => '1.250.000',
'image' => ['an-1-a.png', 'an-1-b.png', 'an-1-c.png'],
'badge_class' => 'badge-new',
'sizes' => ['S', 'M', 'L', 'Xl'],
'upload_date' => '2026-04-30 14:30:00',
'stock' => 3,
'views' => 2847,
],
[
'name' => 'Tracktop BW Bird',
'category' => 'Apparel New',
'status' => 'NEW',
'price' => '1.350.000',
'image' => ['an-2-a.png', 'an-2-b.png', 'an-2-c.png'],
'badge_class' => 'badge-new',
'sizes' => ['M', 'L'],
'upload_date' => '2026-04-28 10:15:00',
'stock' => 5,
'views' => 1563,
],
[
'name' => 'Tracktop Ellese Black',
'category' => 'Apparel New',
'status' => 'NEW',
'price' => '1.650.000',
'image' => ['an-3-a.png', 'an-3-b.png', 'an-3-c.png'],
'badge_class' => 'badge-new',
'sizes' => ['L', 'Xl', 'Xxl'],
'upload_date' => '2026-04-25 16:45:00',
'stock' => 2,
'views' => 2190,
],
[
'name' => 'Jersey Adidas Oasis',
'category' => 'Apparel New',
'status' => 'NEW',
'price' => '2.250.000',
'image' => ['an-4-a.png', 'an-4-b.png', 'an-4-c.png'],
'badge_class' => 'badge-new',
'sizes' => ['Xs', 'S', 'M'],
'upload_date' => '2026-04-22 09:20:00',
'stock' => 4,
'views' => 874,
],
[
'name' => 'Jaket Napapijri',
'category' => 'Apparel New',
'status' => 'NEW',
'price' => '3.150.000',
'image' => ['an-5-a.png', 'an-5-b.png', 'an-5-c.png'],
'badge_class' => 'badge-new',
'sizes' => ['Xl', 'Xxl', '3xl'],
'upload_date' => '2026-04-18 11:05:00',
'stock' => 1,
'views' => 431,
],
[
'name' => 'Rugby Adidas',
'category' => 'Apparel New',
'status' => 'NEW',
'price' => '950.000',
'image' => ['an-6-a.png', 'an-6-b.png', 'an-6-c.png'],
'badge_class' => 'badge-new',
'sizes' => ['M', 'L', '14'],
'upload_date' => '2026-04-10 08:30:00',
'stock' => 3,
'views' => 1208,
],
];
$apparelSecond = [
[
'name' => 'Adidas Ringertee Camo',
'category' => 'Apparel Second',
'status' => 'SECOND',
'price' => '150.000',
'image' => ['as-1-a.png', 'as-1-b.png', 'as-1-c.png'],
'badge_class' => 'badge-second',
'sizes' => ['M'],
'upload_date' => '2026-04-30 08:15:22',
'stock' => 1,
'views' => 1847,
],
[
'name' => 'Adidas Big Logo',
'category' => 'Apparel Second',
'status' => 'SECOND',
'price' => '120.000',
'image' => ['as-2-a.png', 'as-2-b.png', 'as-2-c.png'],
'badge_class' => 'badge-second',
'sizes' => ['Xl'],
'upload_date' => '2026-04-28 14:30:05',
'stock' => 1,
'views' => 634,
],
[
'name' => 'Jaket TNF',
'category' => 'Apparel Second',
'status' => 'SECOND',
'price' => '450.000',
'image' => ['as-3-a.png', 'as-3-b.png', 'as-3-c.png'],
'badge_class' => 'badge-second',
'sizes' => ['L'],
'upload_date' => '2026-04-26 10:45:10',
'stock' => 1,
'views' => 2315,
],
[
'name' => 'Stone Island Anora Multi',
'category' => 'Apparel Second',
'status' => 'SECOND',
'price' => '600.000',
'image' => ['as-4-a.png', 'as-4-b.png', 'as-4-c.png'],
'badge_class' => 'badge-second',
'sizes' => ['Xxl'],
'upload_date' => '2026-04-22 19:20:45',
'stock' => 1,
'views' => 981,
],
[
'name' => 'Tracktop Adidas Grey',
'category' => 'Apparel Second',
'status' => 'SECOND',
'price' => '250.000',
'image' => ['as-5-a.png', 'as-5-b.png', 'as-5-c.png'],
'badge_class' => 'badge-second',
'sizes' => ['S'],
'upload_date' => '2026-04-15 16:10:30',
'stock' => 1,
'views' => 1452,
],
[
'name' => 'Adidas Logo Camo',
'category' => 'Apparel Second',
'status' => 'SECOND',
'price' => '130.000',
'image' => ['as-6-a.png', 'as-6-b.png', 'as-6-c.png'],
'badge_class' => 'badge-second',
'sizes' => ['M'],
'upload_date' => '2026-04-10 09:05:15',
'stock' => 1,
'views' => 276,
],
];
$footwearNew = [
[
'name' => 'Evo SL Core Black',
'category' => 'Footwear New',
'status' => 'NEW',
'price' => '2.650.000',
'image' => ['fn-1-a.png', 'fn-1-b.png', 'fn-1-c.png'],
'badge_class' => 'badge-new',
'sizes' => ['40', '41', '42', '43'],
'upload_date' => '2026-05-01 10:15:30',
'stock' => 4,
'views' => 2963,
],
[
'name' => 'Adidas Spezial Ice Blue',
'category' => 'Footwear New',
'status' => 'NEW',
'price' => '2.350.000',
'image' => ['fn-2-a.png', 'fn-2-b.png', 'fn-2-c.png'],
'badge_class' => 'badge-new',
'sizes' => ['39', '40', '44'],
'upload_date' => '2026-04-29 14:20:15',
'stock' => 2,
'views' => 1784,
],
[
'name' => 'Adidas Samba Classic Black',
'category' => 'Footwear New',
'status' => 'NEW',
'price' => '1.850.000',
'image' => ['fn-3-a.png', 'fn-3-b.png', 'fn-3-c.png'],
'badge_class' => 'badge-new',
'sizes' => ['41', '42', '45'],
'upload_date' => '2026-04-27 09:45:00',
'stock' => 5,
'views' => 2201,
],
[
'name' => 'Adidas Samba Classic White',
'category' => 'Footwear New',
'status' => 'NEW',
'price' => '1.950.000',
'image' => ['fn-4-a.png', 'fn-4-b.png', 'fn-4-c.png'],
'badge_class' => 'badge-new',
'sizes' => ['38', '39', '40'],
'upload_date' => '2026-04-25 16:10:45',
'stock' => 1,
'views' => 548,
],
[
'name' => 'Adidas Spezial Cw Oslo',
'category' => 'Footwear New',
'status' => 'NEW',
'price' => '3.150.000',
'image' => ['fn-5-a.png', 'fn-5-b.png', 'fn-5-c.png'],
'badge_class' => 'badge-new',
'sizes' => ['42', '43', '44'],
'upload_date' => '2026-04-21 11:30:20',
'stock' => 3,
'views' => 1129,
],
[
'name' => 'Adidas Series Bali',
'category' => 'Footwear New',
'status' => 'NEW',
'price' => '3.150.000',
'image' => ['fn-6-a.png', 'fn-6-b.png', 'fn-6-c.png'],
'badge_class' => 'badge-new',
'sizes' => ['40', '41', '42'],
'upload_date' => '2026-04-18 08:05:10',
'stock' => 2,
'views' => 317,
],
];
$footwearSecond = [
[
'name' => 'Adidas LA Trainer',
'category' => 'Footwear Second',
'status' => 'SECOND',
'price' => '650.000',
'image' => ['fs-1-a.png', 'fs-1-b.png', 'fs-1-c.png'],
'badge_class' => 'badge-second',
'sizes' => ['41'],
'upload_date' => '2026-05-01 15:30:00',
'stock' => 1,
'views' => 2741,
],
[
'name' => 'Adidas Samba OG',
'category' => 'Footwear Second',
'status' => 'SECOND',
'price' => '550.000',
'image' => ['fs-2-a.png', 'fs-2-b.png', 'fs-2-c.png'],
'badge_class' => 'badge-second',
'sizes' => ['40'],
'upload_date' => '2026-04-30 11:20:15',
'stock' => 1,
'views' => 1093,
],
[
'name' => 'Adidas Spezial Orbit Indigo',
'category' => 'Footwear Second',
'status' => 'SECOND',
'price' => '600.000',
'image' => ['fs-3-a.png', 'fs-3-b.png', 'fs-3-c.png'],
'badge_class' => 'badge-second',
'sizes' => ['43'],
'upload_date' => '2026-04-29 09:45:10',
'stock' => 1,
'views' => 1876,
],
[
'name' => 'Adidas TRX Vintage',
'category' => 'Footwear Second',
'status' => 'SECOND',
'price' => '950.000',
'image' => ['fs-4-a.png', 'fs-4-b.png', 'fs-4-c.png'],
'badge_class' => 'badge-second',
'sizes' => ['42'],
'upload_date' => '2026-04-27 16:15:45',
'stock' => 1,
'views' => 462,
],
[
'name' => 'Adidas Dragon',
'category' => 'Footwear Second',
'status' => 'SECOND',
'price' => '350.000',
'image' => ['fs-5-a.png', 'fs-5-b.png', 'fs-5-c.png'],
'badge_class' => 'badge-second',
'sizes' => ['39'],
'upload_date' => '2026-04-25 14:10:30',
'stock' => 1,
'views' => 2158,
],
[
'name' => 'Adidas Munchen Grey',
'category' => 'Footwear Second',
'status' => 'SECOND',
'price' => '750.000',
'image' => ['fs-6-a.png', 'fs-6-b.png', 'fs-6-c.png'],
'badge_class' => 'badge-second',
'sizes' => ['44'],
'upload_date' => '2026-04-23 08:05:15',
'stock' => 1,
'views' => 729,
],
];
// Langsung gabungkan dan kembalikan datanya
return array_merge($apparelNew, $apparelSecond, $footwearNew, $footwearSecond);
}
// ============================================================
// FUNGSI UNTUK HALAMAN BERANDA (MENGAMBIL 8 TERBARU)
// ============================================================
public function index()
{
// 1. Panggil data dari fungsi gudang di atas
$allProducts = $this->getDataProduk();
// 2. Urutkan berdasarkan tanggal terbaru
usort($allProducts, fn($a, $b) => strtotime($b['upload_date']) <=> strtotime($a['upload_date']));
// 3. Potong 8 saja
$latestProducts = array_slice($allProducts, 0, 8);
return view('welcome', compact('latestProducts'));
}
// ============================================================
// FUNGSI UNTUK HALAMAN DETAIL PRODUK
// ============================================================
public function show($kategori, $nama_produk)
{
// 1. Panggil data dari fungsi gudang (getDataProduk)
$allProducts = $this->getDataProduk();
// 2. Cari produk berdasarkan namanya
$produkYangDicari = null;
foreach ($allProducts as $item) {
// Kita bandingkan nama produk di URL dengan nama di data gudang
if ($item['name'] === $nama_produk) {
$produkYangDicari = $item;
break;
}
}
// 3. Jika tidak ketemu, lempar error 404
if (!$produkYangDicari) {
abort(404, 'Produk tidak ditemukan');
}
// 4. Kirim data produk ke view 'detailproduk'
return view('detailproduk', [
'product' => $produkYangDicari
]);
}
}

49
app/Models/User.php Normal file
View File

@ -0,0 +1,49 @@
<?php
namespace App\Models;
// use Illuminate\Contracts\Auth\MustVerifyEmail;
use Database\Factories\UserFactory;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
class User extends Authenticatable
{
/** @use HasFactory<UserFactory> */
use HasFactory, Notifiable;
/**
* The attributes that are mass assignable.
*
* @var list<string>
*/
protected $fillable = [
'name',
'email',
'password',
];
/**
* The attributes that should be hidden for serialization.
*
* @var list<string>
*/
protected $hidden = [
'password',
'remember_token',
];
/**
* Get the attributes that should be cast.
*
* @return array<string, string>
*/
protected function casts(): array
{
return [
'email_verified_at' => 'datetime',
'password' => 'hashed',
];
}
}

View File

@ -0,0 +1,24 @@
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*/
public function register(): void
{
//
}
/**
* Bootstrap any application services.
*/
public function boot(): void
{
//
}
}

18
artisan Normal file
View File

@ -0,0 +1,18 @@
#!/usr/bin/env php
<?php
use Illuminate\Foundation\Application;
use Symfony\Component\Console\Input\ArgvInput;
define('LARAVEL_START', microtime(true));
// Register the Composer autoloader...
require __DIR__.'/vendor/autoload.php';
// Bootstrap Laravel and handle the command...
/** @var Application $app */
$app = require_once __DIR__.'/bootstrap/app.php';
$status = $app->handleCommand(new ArgvInput);
exit($status);

18
bootstrap/app.php Normal file
View File

@ -0,0 +1,18 @@
<?php
use Illuminate\Foundation\Application;
use Illuminate\Foundation\Configuration\Exceptions;
use Illuminate\Foundation\Configuration\Middleware;
return Application::configure(basePath: dirname(__DIR__))
->withRouting(
web: __DIR__.'/../routes/web.php',
commands: __DIR__.'/../routes/console.php',
health: '/up',
)
->withMiddleware(function (Middleware $middleware): void {
//
})
->withExceptions(function (Exceptions $exceptions): void {
//
})->create();

2
bootstrap/cache/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*
!.gitignore

7
bootstrap/providers.php Normal file
View File

@ -0,0 +1,7 @@
<?php
use App\Providers\AppServiceProvider;
return [
AppServiceProvider::class,
];

86
composer.json Normal file
View File

@ -0,0 +1,86 @@
{
"$schema": "https://getcomposer.org/schema.json",
"name": "laravel/laravel",
"type": "project",
"description": "The skeleton application for the Laravel framework.",
"keywords": ["laravel", "framework"],
"license": "MIT",
"require": {
"php": "^8.2",
"laravel/framework": "^12.0",
"laravel/tinker": "^2.10.1"
},
"require-dev": {
"fakerphp/faker": "^1.23",
"laravel/pail": "^1.2.2",
"laravel/pint": "^1.24",
"laravel/sail": "^1.41",
"mockery/mockery": "^1.6",
"nunomaduro/collision": "^8.6",
"phpunit/phpunit": "^11.5.50"
},
"autoload": {
"psr-4": {
"App\\": "app/",
"Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"scripts": {
"setup": [
"composer install",
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
"@php artisan key:generate",
"@php artisan migrate --force",
"npm install",
"npm run build"
],
"dev": [
"Composer\\Config::disableProcessTimeout",
"npx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --tries=1 --timeout=0\" \"php artisan pail --timeout=0\" \"npm run dev\" --names=server,queue,logs,vite --kill-others"
],
"test": [
"@php artisan config:clear --ansi",
"@php artisan test"
],
"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",
"@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
"@php artisan migrate --graceful --ansi"
],
"pre-package-uninstall": [
"Illuminate\\Foundation\\ComposerScripts::prePackageUninstall"
]
},
"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
}

8399
composer.lock generated Normal file

File diff suppressed because it is too large Load Diff

126
config/app.php Normal file
View File

@ -0,0 +1,126 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application, which will be used when the
| framework needs to place the application's name in a notification or
| other UI elements where an application name needs to be displayed.
|
*/
'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
| the application so that it's available within Artisan commands.
|
*/
'url' => env('APP_URL', 'http://localhost'),
/*
|--------------------------------------------------------------------------
| Application Timezone
|--------------------------------------------------------------------------
|
| Here you may specify the default timezone for your application, which
| will be used by the PHP date and date-time functions. The timezone
| is set to "UTC" by default as it is suitable for most use cases.
|
*/
'timezone' => 'UTC',
/*
|--------------------------------------------------------------------------
| Application Locale Configuration
|--------------------------------------------------------------------------
|
| The application locale determines the default locale that will be used
| by Laravel's translation / localization methods. This option can be
| set to any locale for which you plan to have translation strings.
|
*/
'locale' => env('APP_LOCALE', 'en'),
'fallback_locale' => env('APP_FALLBACK_LOCALE', 'en'),
'faker_locale' => env('APP_FAKER_LOCALE', 'en_US'),
/*
|--------------------------------------------------------------------------
| Encryption Key
|--------------------------------------------------------------------------
|
| This key is utilized by Laravel's encryption services and should be set
| to a random, 32 character string to ensure that all encrypted values
| are secure. You should do this prior to deploying the application.
|
*/
'cipher' => 'AES-256-CBC',
'key' => env('APP_KEY'),
'previous_keys' => [
...array_filter(
explode(',', (string) env('APP_PREVIOUS_KEYS', ''))
),
],
/*
|--------------------------------------------------------------------------
| 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' => env('APP_MAINTENANCE_DRIVER', 'file'),
'store' => env('APP_MAINTENANCE_STORE', 'database'),
],
];

117
config/auth.php Normal file
View File

@ -0,0 +1,117 @@
<?php
use App\Models\User;
return [
/*
|--------------------------------------------------------------------------
| Authentication Defaults
|--------------------------------------------------------------------------
|
| This option defines the default authentication "guard" and password
| reset "broker" for your application. You may change these values
| as required, but they're a perfect start for most applications.
|
*/
'defaults' => [
'guard' => env('AUTH_GUARD', 'web'),
'passwords' => env('AUTH_PASSWORD_BROKER', 'users'),
],
/*
|--------------------------------------------------------------------------
| Authentication Guards
|--------------------------------------------------------------------------
|
| Next, you may define every authentication guard for your application.
| Of course, a great default configuration has been defined for you
| which utilizes session storage plus the Eloquent user provider.
|
| All authentication guards have a user provider, which defines how the
| users are actually retrieved out of your database or other storage
| system used by the application. Typically, Eloquent is utilized.
|
| Supported: "session"
|
*/
'guards' => [
'web' => [
'driver' => 'session',
'provider' => 'users',
],
],
/*
|--------------------------------------------------------------------------
| User Providers
|--------------------------------------------------------------------------
|
| All authentication guards have a user provider, which defines how the
| users are actually retrieved out of your database or other storage
| system used by the application. Typically, Eloquent is utilized.
|
| If you have multiple user tables or models you may configure multiple
| providers to represent the model / table. These providers may then
| be assigned to any extra authentication guards you have defined.
|
| Supported: "database", "eloquent"
|
*/
'providers' => [
'users' => [
'driver' => 'eloquent',
'model' => env('AUTH_MODEL', User::class),
],
// 'users' => [
// 'driver' => 'database',
// 'table' => 'users',
// ],
],
/*
|--------------------------------------------------------------------------
| Resetting Passwords
|--------------------------------------------------------------------------
|
| These configuration options specify the behavior of Laravel's password
| reset functionality, including the table utilized for token storage
| and the user provider that is invoked to actually retrieve users.
|
| 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' => env('AUTH_PASSWORD_RESET_TOKEN_TABLE', 'password_reset_tokens'),
'expire' => 60,
'throttle' => 60,
],
],
/*
|--------------------------------------------------------------------------
| Password Confirmation Timeout
|--------------------------------------------------------------------------
|
| Here you may define the number of seconds before a password confirmation
| window expires and users are asked to re-enter their password via the
| confirmation screen. By default, the timeout lasts for three hours.
|
*/
'password_timeout' => env('AUTH_PASSWORD_TIMEOUT', 10800),
];

117
config/cache.php Normal file
View File

@ -0,0 +1,117 @@
<?php
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Default Cache Store
|--------------------------------------------------------------------------
|
| This option controls the default cache store that will be used by the
| framework. This connection is utilized if another isn't explicitly
| specified when running a cache operation inside the application.
|
*/
'default' => env('CACHE_STORE', 'database'),
/*
|--------------------------------------------------------------------------
| 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: "array", "database", "file", "memcached",
| "redis", "dynamodb", "octane",
| "failover", "null"
|
*/
'stores' => [
'array' => [
'driver' => 'array',
'serialize' => false,
],
'database' => [
'driver' => 'database',
'connection' => env('DB_CACHE_CONNECTION'),
'table' => env('DB_CACHE_TABLE', 'cache'),
'lock_connection' => env('DB_CACHE_LOCK_CONNECTION'),
'lock_table' => env('DB_CACHE_LOCK_TABLE'),
],
'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' => env('REDIS_CACHE_CONNECTION', 'cache'),
'lock_connection' => env('REDIS_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',
],
'failover' => [
'driver' => 'failover',
'stores' => [
'database',
'array',
],
],
],
/*
|--------------------------------------------------------------------------
| Cache Key Prefix
|--------------------------------------------------------------------------
|
| When utilizing the APC, database, memcached, Redis, and 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((string) env('APP_NAME', 'laravel')).'-cache-'),
];

184
config/database.php Normal file
View File

@ -0,0 +1,184 @@
<?php
use Illuminate\Support\Str;
use Pdo\Mysql;
return [
/*
|--------------------------------------------------------------------------
| Default Database Connection Name
|--------------------------------------------------------------------------
|
| Here you may specify which of the database connections below you wish
| to use as your default connection for database operations. This is
| the connection which will be utilized unless another connection
| is explicitly specified when you execute a query / statement.
|
*/
'default' => env('DB_CONNECTION', 'sqlite'),
/*
|--------------------------------------------------------------------------
| Database Connections
|--------------------------------------------------------------------------
|
| Below are all of the database connections defined for your application.
| An example configuration is provided for each database system which
| is supported by Laravel. You're free to add / remove connections.
|
*/
'connections' => [
'sqlite' => [
'driver' => 'sqlite',
'url' => env('DB_URL'),
'database' => env('DB_DATABASE', database_path('database.sqlite')),
'prefix' => '',
'foreign_key_constraints' => env('DB_FOREIGN_KEYS', true),
'busy_timeout' => null,
'journal_mode' => null,
'synchronous' => null,
'transaction_mode' => 'DEFERRED',
],
'mysql' => [
'driver' => 'mysql',
'url' => env('DB_URL'),
'host' => env('DB_HOST', '127.0.0.1'),
'port' => env('DB_PORT', '3306'),
'database' => env('DB_DATABASE', 'laravel'),
'username' => env('DB_USERNAME', 'root'),
'password' => env('DB_PASSWORD', ''),
'unix_socket' => env('DB_SOCKET', ''),
'charset' => env('DB_CHARSET', 'utf8mb4'),
'collation' => env('DB_COLLATION', 'utf8mb4_unicode_ci'),
'prefix' => '',
'prefix_indexes' => true,
'strict' => true,
'engine' => null,
'options' => extension_loaded('pdo_mysql') ? array_filter([
(PHP_VERSION_ID >= 80500 ? Mysql::ATTR_SSL_CA : PDO::MYSQL_ATTR_SSL_CA) => env('MYSQL_ATTR_SSL_CA'),
]) : [],
],
'mariadb' => [
'driver' => 'mariadb',
'url' => env('DB_URL'),
'host' => env('DB_HOST', '127.0.0.1'),
'port' => env('DB_PORT', '3306'),
'database' => env('DB_DATABASE', 'laravel'),
'username' => env('DB_USERNAME', 'root'),
'password' => env('DB_PASSWORD', ''),
'unix_socket' => env('DB_SOCKET', ''),
'charset' => env('DB_CHARSET', 'utf8mb4'),
'collation' => env('DB_COLLATION', 'utf8mb4_unicode_ci'),
'prefix' => '',
'prefix_indexes' => true,
'strict' => true,
'engine' => null,
'options' => extension_loaded('pdo_mysql') ? array_filter([
(PHP_VERSION_ID >= 80500 ? Mysql::ATTR_SSL_CA : PDO::MYSQL_ATTR_SSL_CA) => env('MYSQL_ATTR_SSL_CA'),
]) : [],
],
'pgsql' => [
'driver' => 'pgsql',
'url' => env('DB_URL'),
'host' => env('DB_HOST', '127.0.0.1'),
'port' => env('DB_PORT', '5432'),
'database' => env('DB_DATABASE', 'laravel'),
'username' => env('DB_USERNAME', 'root'),
'password' => env('DB_PASSWORD', ''),
'charset' => env('DB_CHARSET', 'utf8'),
'prefix' => '',
'prefix_indexes' => true,
'search_path' => 'public',
'sslmode' => env('DB_SSLMODE', 'prefer'),
],
'sqlsrv' => [
'driver' => 'sqlsrv',
'url' => env('DB_URL'),
'host' => env('DB_HOST', 'localhost'),
'port' => env('DB_PORT', '1433'),
'database' => env('DB_DATABASE', 'laravel'),
'username' => env('DB_USERNAME', 'root'),
'password' => env('DB_PASSWORD', ''),
'charset' => env('DB_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 on the database.
|
*/
'migrations' => [
'table' => 'migrations',
'update_date_on_publish' => true,
],
/*
|--------------------------------------------------------------------------
| 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 Memcached. You may define your connection settings here.
|
*/
'redis' => [
'client' => env('REDIS_CLIENT', 'phpredis'),
'options' => [
'cluster' => env('REDIS_CLUSTER', 'redis'),
'prefix' => env('REDIS_PREFIX', Str::slug((string) env('APP_NAME', 'laravel')).'-database-'),
'persistent' => env('REDIS_PERSISTENT', false),
],
'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'),
'max_retries' => env('REDIS_MAX_RETRIES', 3),
'backoff_algorithm' => env('REDIS_BACKOFF_ALGORITHM', 'decorrelated_jitter'),
'backoff_base' => env('REDIS_BACKOFF_BASE', 100),
'backoff_cap' => env('REDIS_BACKOFF_CAP', 1000),
],
'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'),
'max_retries' => env('REDIS_MAX_RETRIES', 3),
'backoff_algorithm' => env('REDIS_BACKOFF_ALGORITHM', 'decorrelated_jitter'),
'backoff_base' => env('REDIS_BACKOFF_BASE', 100),
'backoff_cap' => env('REDIS_BACKOFF_CAP', 1000),
],
],
];

80
config/filesystems.php Normal file
View File

@ -0,0 +1,80 @@
<?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 for file storage.
|
*/
'default' => env('FILESYSTEM_DISK', 'local'),
/*
|--------------------------------------------------------------------------
| Filesystem Disks
|--------------------------------------------------------------------------
|
| Below you may configure as many filesystem disks as necessary, and you
| may even configure multiple disks for the same driver. Examples for
| most supported storage drivers are configured here for reference.
|
| Supported drivers: "local", "ftp", "sftp", "s3"
|
*/
'disks' => [
'local' => [
'driver' => 'local',
'root' => storage_path('app/private'),
'serve' => true,
'throw' => false,
'report' => false,
],
'public' => [
'driver' => 'local',
'root' => storage_path('app/public'),
'url' => rtrim(env('APP_URL', 'http://localhost'), '/').'/storage',
'visibility' => 'public',
'throw' => false,
'report' => 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,
'report' => 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'),
],
];

132
config/logging.php Normal file
View File

@ -0,0 +1,132 @@
<?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 is utilized to write
| messages to your logs. The value provided here should match one of
| the channels present in the list of "channels" configured below.
|
*/
'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' => env('LOG_DEPRECATIONS_TRACE', false),
],
/*
|--------------------------------------------------------------------------
| Log Channels
|--------------------------------------------------------------------------
|
| Here you may configure the log channels for your application. Laravel
| utilizes the Monolog PHP logging library, which includes a variety
| of powerful log handlers and formatters that you're free to use.
|
| Available drivers: "single", "daily", "slack", "syslog",
| "errorlog", "monolog", "custom", "stack"
|
*/
'channels' => [
'stack' => [
'driver' => 'stack',
'channels' => explode(',', (string) env('LOG_STACK', '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' => env('LOG_DAILY_DAYS', 14),
'replace_placeholders' => true,
],
'slack' => [
'driver' => 'slack',
'url' => env('LOG_SLACK_WEBHOOK_URL'),
'username' => env('LOG_SLACK_USERNAME', env('APP_NAME', 'Laravel')),
'emoji' => env('LOG_SLACK_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,
'handler_with' => [
'stream' => 'php://stderr',
],
'formatter' => env('LOG_STDERR_FORMATTER'),
'processors' => [PsrLogMessageProcessor::class],
],
'syslog' => [
'driver' => 'syslog',
'level' => env('LOG_LEVEL', 'debug'),
'facility' => env('LOG_SYSLOG_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'),
],
],
];

118
config/mail.php Normal file
View File

@ -0,0 +1,118 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Mailer
|--------------------------------------------------------------------------
|
| This option controls the default mailer that is used to send all email
| messages unless another mailer is explicitly specified when sending
| the message. All additional mailers can be configured within the
| "mailers" array. Examples of each type of mailer are provided.
|
*/
'default' => env('MAIL_MAILER', 'log'),
/*
|--------------------------------------------------------------------------
| 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 that can be used
| when delivering an email. You may specify which one you're using for
| your mailers below. You may also add additional mailers if needed.
|
| Supported: "smtp", "sendmail", "mailgun", "ses", "ses-v2",
| "postmark", "resend", "log", "array",
| "failover", "roundrobin"
|
*/
'mailers' => [
'smtp' => [
'transport' => 'smtp',
'scheme' => env('MAIL_SCHEME'),
'url' => env('MAIL_URL'),
'host' => env('MAIL_HOST', '127.0.0.1'),
'port' => env('MAIL_PORT', 2525),
'username' => env('MAIL_USERNAME'),
'password' => env('MAIL_PASSWORD'),
'timeout' => null,
'local_domain' => env('MAIL_EHLO_DOMAIN', parse_url((string) env('APP_URL', 'http://localhost'), PHP_URL_HOST)),
],
'ses' => [
'transport' => 'ses',
],
'postmark' => [
'transport' => 'postmark',
// 'message_stream_id' => env('POSTMARK_MESSAGE_STREAM_ID'),
// 'client' => [
// 'timeout' => 5,
// ],
],
'resend' => [
'transport' => 'resend',
],
'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',
],
'retry_after' => 60,
],
'roundrobin' => [
'transport' => 'roundrobin',
'mailers' => [
'ses',
'postmark',
],
'retry_after' => 60,
],
],
/*
|--------------------------------------------------------------------------
| Global "From" Address
|--------------------------------------------------------------------------
|
| You may wish for all emails 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 emails that are sent by your application.
|
*/
'from' => [
'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'),
'name' => env('MAIL_FROM_NAME', env('APP_NAME', 'Laravel')),
],
];

129
config/queue.php Normal file
View File

@ -0,0 +1,129 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Queue Connection Name
|--------------------------------------------------------------------------
|
| Laravel's queue supports a variety of backends via a single, unified
| API, giving you convenient access to each backend using identical
| syntax for each. The default queue connection is defined below.
|
*/
'default' => env('QUEUE_CONNECTION', 'database'),
/*
|--------------------------------------------------------------------------
| Queue Connections
|--------------------------------------------------------------------------
|
| Here you may configure the connection options for every queue backend
| used by your application. An example configuration is provided for
| each backend supported by Laravel. You're also free to add more.
|
| Drivers: "sync", "database", "beanstalkd", "sqs", "redis",
| "deferred", "background", "failover", "null"
|
*/
'connections' => [
'sync' => [
'driver' => 'sync',
],
'database' => [
'driver' => 'database',
'connection' => env('DB_QUEUE_CONNECTION'),
'table' => env('DB_QUEUE_TABLE', 'jobs'),
'queue' => env('DB_QUEUE', 'default'),
'retry_after' => (int) env('DB_QUEUE_RETRY_AFTER', 90),
'after_commit' => false,
],
'beanstalkd' => [
'driver' => 'beanstalkd',
'host' => env('BEANSTALKD_QUEUE_HOST', 'localhost'),
'queue' => env('BEANSTALKD_QUEUE', 'default'),
'retry_after' => (int) env('BEANSTALKD_QUEUE_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' => env('REDIS_QUEUE_CONNECTION', 'default'),
'queue' => env('REDIS_QUEUE', 'default'),
'retry_after' => (int) env('REDIS_QUEUE_RETRY_AFTER', 90),
'block_for' => null,
'after_commit' => false,
],
'deferred' => [
'driver' => 'deferred',
],
'background' => [
'driver' => 'background',
],
'failover' => [
'driver' => 'failover',
'connections' => [
'database',
'deferred',
],
],
],
/*
|--------------------------------------------------------------------------
| 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', 'sqlite'),
'table' => 'job_batches',
],
/*
|--------------------------------------------------------------------------
| Failed Queue Jobs
|--------------------------------------------------------------------------
|
| These options configure the behavior of failed queue job logging so you
| can control how and where failed jobs are stored. Laravel ships with
| support for storing failed jobs in a simple file or in a database.
|
| Supported drivers: "database-uuids", "dynamodb", "file", "null"
|
*/
'failed' => [
'driver' => env('QUEUE_FAILED_DRIVER', 'database-uuids'),
'database' => env('DB_CONNECTION', 'sqlite'),
'table' => 'failed_jobs',
],
];

38
config/services.php Normal file
View File

@ -0,0 +1,38 @@
<?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.
|
*/
'postmark' => [
'key' => env('POSTMARK_API_KEY'),
],
'resend' => [
'key' => env('RESEND_API_KEY'),
],
'ses' => [
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
],
'slack' => [
'notifications' => [
'bot_user_oauth_token' => env('SLACK_BOT_USER_OAUTH_TOKEN'),
'channel' => env('SLACK_BOT_USER_DEFAULT_CHANNEL'),
],
],
];

217
config/session.php Normal file
View File

@ -0,0 +1,217 @@
<?php
use Illuminate\Support\Str;
return [
/*
|--------------------------------------------------------------------------
| Default Session Driver
|--------------------------------------------------------------------------
|
| This option determines the default session driver that is utilized for
| incoming requests. Laravel supports a variety of storage options to
| persist session data. Database storage is a great default choice.
|
| Supported: "file", "cookie", "database", "memcached",
| "redis", "dynamodb", "array"
|
*/
'driver' => env('SESSION_DRIVER', 'database'),
/*
|--------------------------------------------------------------------------
| 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 expire immediately when the browser is closed then you may
| indicate that via the expire_on_close configuration option.
|
*/
'lifetime' => (int) env('SESSION_LIFETIME', 120),
'expire_on_close' => env('SESSION_EXPIRE_ON_CLOSE', false),
/*
|--------------------------------------------------------------------------
| Session Encryption
|--------------------------------------------------------------------------
|
| This option allows you to easily specify that all of your session data
| should be encrypted before it's stored. All encryption is performed
| automatically by Laravel and you may use the session like normal.
|
*/
'encrypt' => env('SESSION_ENCRYPT', false),
/*
|--------------------------------------------------------------------------
| Session File Location
|--------------------------------------------------------------------------
|
| When utilizing the "file" session driver, the session files are placed
| on disk. The default storage location is defined here; however, you
| are free to provide another location where they should be stored.
|
*/
'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 to
| be used to store sessions. Of course, a sensible default is defined
| for you; however, you're welcome to change this to another table.
|
*/
'table' => env('SESSION_TABLE', 'sessions'),
/*
|--------------------------------------------------------------------------
| Session Cache Store
|--------------------------------------------------------------------------
|
| When using one of the framework's cache driven session backends, you may
| define the cache store which should be used to store the session data
| between requests. This must match one of your defined cache stores.
|
| Affects: "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 session cookie that is created by
| the framework. Typically, you should not need to change this value
| since doing so does not grant a meaningful security improvement.
|
*/
'cookie' => env(
'SESSION_COOKIE',
Str::slug((string) 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're free to change this when necessary.
|
*/
'path' => env('SESSION_PATH', '/'),
/*
|--------------------------------------------------------------------------
| Session Cookie Domain
|--------------------------------------------------------------------------
|
| This value determines the domain and subdomains the session cookie is
| available to. By default, the cookie will be available to the root
| domain without subdomains. Typically, this shouldn't be changed.
|
*/
'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. It's unlikely you should disable this option.
|
*/
'http_only' => env('SESSION_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" to permit secure cross-site requests.
|
| See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#samesitesamesite-value
|
| Supported: "lax", "strict", "none", null
|
*/
'same_site' => env('SESSION_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' => env('SESSION_PARTITIONED_COOKIE', false),
];

1
database/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.sqlite*

View File

@ -0,0 +1,45 @@
<?php
namespace Database\Factories;
use App\Models\User;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Str;
/**
* @extends Factory<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,
]);
}
}

View File

@ -0,0 +1,49 @@
<?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->rememberToken();
$table->timestamps();
});
Schema::create('password_reset_tokens', function (Blueprint $table) {
$table->string('email')->primary();
$table->string('token');
$table->timestamp('created_at')->nullable();
});
Schema::create('sessions', function (Blueprint $table) {
$table->string('id')->primary();
$table->foreignId('user_id')->nullable()->index();
$table->string('ip_address', 45)->nullable();
$table->text('user_agent')->nullable();
$table->longText('payload');
$table->integer('last_activity')->index();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('users');
Schema::dropIfExists('password_reset_tokens');
Schema::dropIfExists('sessions');
}
};

View File

@ -0,0 +1,35 @@
<?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('cache', function (Blueprint $table) {
$table->string('key')->primary();
$table->mediumText('value');
$table->integer('expiration')->index();
});
Schema::create('cache_locks', function (Blueprint $table) {
$table->string('key')->primary();
$table->string('owner');
$table->integer('expiration')->index();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('cache');
Schema::dropIfExists('cache_locks');
}
};

View File

@ -0,0 +1,57 @@
<?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('jobs', function (Blueprint $table) {
$table->id();
$table->string('queue')->index();
$table->longText('payload');
$table->unsignedTinyInteger('attempts');
$table->unsignedInteger('reserved_at')->nullable();
$table->unsignedInteger('available_at');
$table->unsignedInteger('created_at');
});
Schema::create('job_batches', function (Blueprint $table) {
$table->string('id')->primary();
$table->string('name');
$table->integer('total_jobs');
$table->integer('pending_jobs');
$table->integer('failed_jobs');
$table->longText('failed_job_ids');
$table->mediumText('options')->nullable();
$table->integer('cancelled_at')->nullable();
$table->integer('created_at');
$table->integer('finished_at')->nullable();
});
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('jobs');
Schema::dropIfExists('job_batches');
Schema::dropIfExists('failed_jobs');
}
};

View File

@ -0,0 +1,25 @@
<?php
namespace Database\Seeders;
use App\Models\User;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
use WithoutModelEvents;
/**
* Seed the application's database.
*/
public function run(): void
{
// User::factory(10)->create();
User::factory()->create([
'name' => 'Test User',
'email' => 'test@example.com',
]);
}
}

17
package.json Normal file
View File

@ -0,0 +1,17 @@
{
"$schema": "https://www.schemastore.org/package.json",
"private": true,
"type": "module",
"scripts": {
"build": "vite build",
"dev": "vite"
},
"devDependencies": {
"@tailwindcss/vite": "^4.0.0",
"axios": "^1.11.0",
"concurrently": "^9.0.1",
"laravel-vite-plugin": "^2.0.0",
"tailwindcss": "^4.0.0",
"vite": "^7.0.7"
}
}

36
phpunit.xml Normal file
View File

@ -0,0 +1,36 @@
<?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="APP_MAINTENANCE_DRIVER" value="file"/>
<env name="BCRYPT_ROUNDS" value="4"/>
<env name="BROADCAST_CONNECTION" value="null"/>
<env name="CACHE_STORE" value="array"/>
<env name="DB_CONNECTION" value="sqlite"/>
<env name="DB_DATABASE" value=":memory:"/>
<env name="DB_URL" value=""/>
<env name="MAIL_MAILER" value="array"/>
<env name="QUEUE_CONNECTION" value="sync"/>
<env name="SESSION_DRIVER" value="array"/>
<env name="PULSE_ENABLED" value="false"/>
<env name="TELESCOPE_ENABLED" value="false"/>
<env name="NIGHTWATCH_ENABLED" value="false"/>
</php>
</phpunit>

25
public/.htaccess Normal file
View File

@ -0,0 +1,25 @@
<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}]
# Handle X-XSRF-Token Header
RewriteCond %{HTTP:x-xsrf-token} .
RewriteRule .* - [E=HTTP_X_XSRF_TOKEN:%{HTTP:X-XSRF-Token}]
# 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>

12
public/css/app.css Normal file
View File

@ -0,0 +1,12 @@
@import 'tailwindcss';
@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
@source '../../storage/framework/views/*.php';
@source '../**/*.blade.php';
@source '../**/*.js';
@theme {
/* Mengganti font sans utama menjadi Poppins */
--font-sans: 'Poppins', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
'Segoe UI Symbol', 'Noto Color Emoji';
}

914
public/css/styles.css Normal file
View File

@ -0,0 +1,914 @@
/* =========================================================
GLOBAL
========================================================= */
* {
box-sizing: border-box;
}
body {
font-family: 'Poppins', sans-serif;
background-color: #f8f9fa;
color: #1a1a1a;
}
/* =========================================================
NAVBAR
========================================================= */
.navbar {
background-color: #ffffff;
border-bottom: 1px solid #e8e8e8;
padding: 12px 0;
position: sticky;
top: 0;
z-index: 1050;
box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}
.navbar-brand {
display: flex;
align-items: center;
gap: 10px;
text-decoration: none;
}
.navbar-brand .brand-logo {
width: 46px;
height: 46px;
/* HAPUS background linear-gradient dan border-radius jika ingin
logo tampil apa adanya tanpa bingkai bulat biru */
background: transparent;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
overflow: hidden;
/* Memastikan jika gambar logo lebih besar, tidak keluar jalur */
}
/* Tambahkan ini agar gambar di dalam logo pas ukurannya */
.navbar-brand .brand-logo img {
width: 100%;
height: 100%;
object-fit: contain;
/* Kunci agar logo tidak gepeng/penyet */
}
.navbar-brand .brand-text {
font-weight: 700;
font-size: 20px;
line-height: 1.2;
color: #1a1a1a;
}
.navbar-brand .brand-text span {
display: block;
font-weight: 700;
font-size: 20px;
color: #1a1a1a;
}
.nav-link {
font-size: 14px;
font-weight: 500;
color: #333 !important;
padding: 6px 14px !important;
transition: color .2s;
}
.nav-link:hover,
.nav-link.active {
color: #2563eb !important;
}
.nav-link.active {
border-bottom: 2px solid #2563eb;
}
/* Search bar */
.search-form .input-group {
width: 200px;
}
.search-form .form-control {
border-radius: 10px 0 0 10px;
border: 1px solid #ddd;
font-size: 13px;
padding: 6px 14px;
}
.search-form .btn-search {
background: #2D9CDB;
color: #fff;
border: none;
border-radius: 0 10px 10px 0;
padding: 6px 14px;
}
.search-form .btn-search:hover {
background: #2D9CDB;
}
/* Login button */
.btn-login {
background: #0F1C2E;
color: #fff !important;
border-radius: 8px;
font-size: 13px;
font-weight: 500;
padding: 7px 28px 7px 16px;
display: flex;
align-items: center;
gap: 6px;
border: none;
text-decoration: none;
transition: background .2s;
}
.btn-login:hover {
background: #1e3a8a;
color: #fff;
}
.btn-login i {
font-size: 28px; /* Sesuaikan ukurannya di sini */
}
/* Cart icon */
.cart-icon {
position: relative;
font-size: 24px;
color: #0f172a;
text-decoration: none;
display: inline-block;
/* Ubah ke inline-block agar badge absolute presisi */
}
.cart-icon .cart-badge {
position: absolute;
top: -4px;
right: -8px;
background: #ef4444;
color: #fff;
font-size: 11px;
font-weight: 700;
border-radius: 50%;
width: 18px;
height: 18px;
/* MEMAKSA ANGKA KE TENGAH TANPA FLEXBOX */
display: block;
text-align: center;
line-height: 19px;
/* Samakan dengan height, atau lebihkan 1px untuk vertikal tengah */
/* KUNCI: Mendorong angka sedikit ke kanan agar visualnya seimbang */
padding-left: 1px;
margin: 0;
letter-spacing: 0;
}
/* =========================================================
HERO CAROUSEL
========================================================= */
/* 1. Berikan ruang di bawah keseluruhan slider */
.hero-carousel {
margin-bottom: 40px;
/* Jarak yang sudah disesuaikan agar dekat */
}
/* 2. Tarik indikator keluar, dekatkan ke gambar, dan geser ke KIRI */
.hero-carousel .carousel-indicators {
bottom: -25px;
/* Jarak dekat dengan gambar */
margin-bottom: 0;
justify-content: flex-start;
/* KUNCI: Menggeser semua dot ke kiri */
margin-left: 2%;
/* Memberi jarak aman dari ujung kiri layar (bisa disesuaikan) */
margin-right: 0;
/* Menghapus margin kanan bawaan Bootstrap */
}
/* 3. Atur Dimensi Dasar dan Warna Non-Aktif (abu-abu lingkaran) */
.hero-carousel .carousel-indicators [data-bs-target] {
height: 12px;
/* Tinggi yang sedikit lebih besar untuk bentuk pil */
width: 12px;
/* Lebar lingkaran dasar */
border-radius: 50%;
/* Menjadi lingkaran dasar */
/* Warna abu-abu sedang (sesuai image_3.png) */
background-color: #8c9ab3;
border: none;
/* Tanpa batas */
margin: 0 6px;
/* Jarak antar titik */
transition: all 0.3s ease;
/* Transisi halus */
}
/* 4. Atur Dimensi dan Warna Indikator Aktif (biru tua pil memanjang) */
.hero-carousel .carousel-indicators .active {
/* Warna biru tua (sesuai image_3.png dan tema navy image_2.png) */
background-color: #1d2f5a;
width: 48px;
/* Lebar pil memanjang */
border-radius: 12px;
/* Setengah tinggi pil untuk bentuk sempurna */
}
.hero-carousel .carousel-item {
height: 580px;
background: #111;
position: relative;
overflow: hidden;
}
.hero-carousel .carousel-item img {
width: 100%;
height: 100%;
object-fit: cover;
opacity: .7;
}
/* Tambahan class untuk menengahkan teks secara vertikal & horizontal */
.carousel-caption-custom.caption-center {
top: 50%;
bottom: auto;
/* Membatalkan efek bottom: 60px dari class utamanya */
transform: translate(-50%, -50%);
}
/* Placeholder hero jika belum ada gambar */
.hero-placeholder {
width: 100%;
height: 420px;
background: linear-gradient(135deg, #0f1923 0%, #1e3a5f 50%, #0f2744 100%);
display: flex;
align-items: center;
justify-content: center;
position: relative;
overflow: hidden;
}
.hero-placeholder::before {
content: '';
position: absolute;
inset: 0;
background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.carousel-caption-custom {
position: absolute;
bottom: 60px;
left: 50%;
transform: translateX(-50%);
text-align: center;
color: #fff;
width: 100%;
}
.carousel-caption-custom h2 {
font-size: 36px;
font-weight: 700;
letter-spacing: 1px;
text-shadow: 0 2px 8px rgba(0, 0, 0, .5);
margin-bottom: 4px;
}
.carousel-caption-custom p {
font-size: 20px;
font-weight: 300;
color: rgba(255, 255, 255, .85);
margin: 0;
}
/* Carousel indicators - dots */
.carousel-indicators [data-bs-target] {
width: 28px;
height: 6px;
border-radius: 3px;
background: rgba(255, 255, 255, .4);
border: none;
}
.carousel-indicators .active {
background: #2563eb;
width: 36px;
}
/* =========================================================
SECTION TITLES
========================================================= */
.section-title {
font-size: 22px;
font-weight: 700;
color: #1a1a1a;
margin-bottom: 20px;
}
.section-title-center {
font-size: 24px;
font-weight: 700;
color: #1a1a1a;
text-align: center;
margin-bottom: 24px;
}
/* =========================================================
KATEGORI PRODUK
========================================================= */
.kategori-section {
padding: 40px 0 30px;
background: #f8fafc;
}
.kategori-card {
background: #fff;
border: 1px solid #e8e8e8;
border-radius: 12px;
padding: 60px 16px 20px;
text-align: center;
position: relative;
width: 100%;
max-width: 300px;
height: 245px;
margin: 0 auto;
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
transition: all .25s;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
}
.kategori-card:hover {
box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.12);
transform: translateY(-3px);
border-color: #2563eb;
}
.kategori-card .badge-status {
position: absolute;
top: 15px;
right: 15px;
font-size: 12px;
font-weight: 700;
padding: 6px 14px;
border-radius: 20px;
letter-spacing: .5px;
}
.badge-new {
background: #22c55e;
color: #fff;
}
.badge-second {
background: #374151;
color: #fff;
}
.kategori-card .icon-wrap {
font-size: 48px;
margin-bottom: 15px;
height: 55px;
display: flex;
align-items: center;
justify-content: center;
}
.kategori-card h6 {
font-weight: 700;
font-size: 16px;
color: #1a1a1a;
margin-bottom: 6px;
}
.kategori-card p {
font-size: 12px;
color: #777;
margin: 0;
line-height: 1.5;
}
/* =========================================================
PRODUK TERBARU
========================================================= */
.produk-section {
padding: 36px 0;
background: #f8f9fa;
}
.product-card {
background: #fff;
border: 1px solid #e5e7eb;
/* Border sedikit lebih terang */
border-radius: 12px;
overflow: hidden;
transition: all .25s;
height: 100%;
display: flex;
flex-direction: column;
}
.product-card:hover {
box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
/* Bayangan sedikit diperhalus */
transform: translateY(-3px);
}
/* KUNCI: Latar belakang abu-abu terang untuk gambar */
.product-img-wrap {
position: relative;
width: 100%;
padding-top: 100%;
/* Rasio 1:1 (persegi) cocok untuk produk pakaian/sepatu */
background: #f3f4f6;
/* Latar abu-abu persis desain */
overflow: hidden;
}
/* KUNCI: Menyesuaikan gambar agar tidak terpotong (contain) */
.product-img-wrap img {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
/* --- THE FIX (PEMBESARAN GAMBAR) --- */
/* Ganti max-width: 90% menjadi width: 100% */
width: 100%;
/* Ganti max-height: 90% menjadi height: 100% */
height: 100%;
/* Tetap gunakan object-fit: contain agar gambar proporsional (tidak gepeng)
tapi sekarang dia akan mengisi penuh ruang 100% */
object-fit: contain;
transition: transform .3s;
}
/* Penyesuaian hover jika menggunakan teknik transform center */
.product-card:hover .product-img-wrap img {
transform: translate(-50%, -50%) scale(1.05);
}
/* Badge New/Second */
.product-badge {
position: absolute;
top: 12px;
/* Jarak dari atas kotak abu-abu */
left: 12px;
/* Jarak dari kiri kotak abu-abu */
font-size: 12px;
font-weight: 700;
padding: 4px 14px;
/* Sedikit dilebarkan ke samping agar proporsional */
/* PERBAIKAN: Ubah menjadi membulat penuh (bentuk pil) seperti di desain */
border-radius: 20px;
letter-spacing: .5px;
z-index: 2;
}
/* Badge Baru disesuaikan warnanya */
.badge-new {
background: #22c55e;
color: #fff;
}
/* Ruang untuk teks */
.product-body {
padding: 16px;
/* Sedikit lebih lega */
flex: 1;
display: flex;
flex-direction: column;
}
.product-name {
font-weight: 700;
font-size: 20px;
color: #111827;
/* Diselaraskan menjadi 8px */
margin-bottom: 8px;
line-height: 1.3;
}
.product-cat {
font-size: 14px;
color: #6b7280;
/* Diselaraskan menjadi 8px */
margin-bottom: 8px;
}
/* Harga dengan warna oranye spesifik */
.product-price {
font-size: 20px;
font-weight: 700;
color: #FF7A00;
/* Diselaraskan menjadi 8px agar jarak ke tombol sama konsistennya */
margin-bottom: 8px;
}
/* TOMBOL */
.product-actions {
display: flex;
gap: 8px;
align-items: stretch;
/* Memastikan kedua tombol sama tingginji */
margin-top: auto;
}
/* Tombol Keranjang Biru Terang */
.btn-keranjang {
background: #3ba1eb;
color: #fff;
border: none;
border-radius: 6px;
font-size: 12px;
font-weight: 600;
padding: 8px 12px;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
text-decoration: none;
transition: background .2s;
/* UBAH INI: Menjadi 1 agar seimbang */
flex: 1;
}
.btn-keranjang:hover {
background: #2563eb;
/* Biru gelap saat hover */
color: #fff;
}
/* Tombol Detail Putih Berbingkai */
.btn-detail {
background: #fff;
border: 1px solid #e5e7eb;
color: #4b5563;
border-radius: 6px;
font-size: 12px;
font-weight: 500;
padding: 8px 12px;
display: flex;
align-items: center;
justify-content: center;
gap: 4px;
text-decoration: none;
transition: all .2s;
/* TETAPKAN INI: 1 agar seimbang dengan tombol keranjang */
flex: 1;
}
.btn-detail:hover {
background: #f3f4f6;
color: #111827;
border-color: #d1d5db;
}
/* =========================================================
SHOES TREATMENT
========================================================= */
.treatment-section {
padding: 40px 0;
background: #fff;
}
.treatment-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 24px;
}
.treatment-header a {
font-size: 13px;
color: #2563eb;
text-decoration: none;
font-weight: 500;
}
.treatment-header a:hover {
text-decoration: underline;
}
.treatment-card {
background: #fff;
border: 1px solid #e8e8e8;
border-radius: 14px;
padding: 28px 20px;
text-align: center;
transition: all .25s;
height: 100%;
}
.treatment-card:hover {
box-shadow: 0 6px 20px rgba(0, 0, 0, .1);
transform: translateY(-2px);
}
.treatment-icon {
width: 64px;
height: 64px;
background: #f97316;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 16px;
font-size: 26px;
color: #fff;
}
.treatment-card h6 {
font-weight: 700;
font-size: 14px;
color: #1a1a1a;
margin-bottom: 8px;
}
.treatment-card p {
font-size: 12px;
color: #777;
margin: 0;
line-height: 1.6;
}
/* =========================================================
CSS MODAL DAFTAR MENU (Sesuai Permintaan)
========================================================= */
/* 1. Overlay (Latar Belakang Gelap) */
.modal-menu-overlay {
display: none;
/* Sembunyi secara default */
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.7);
/* Hitam transparan */
z-index: 9999;
/* Pastikan di atas segalanya */
justify-content: center;
align-items: center;
opacity: 0;
transition: opacity 0.3s ease;
}
/* State Aktif (Saat Modal Muncul) */
.modal-menu-overlay.active {
display: flex;
opacity: 1;
}
/* 2. Kontainer Konten Modal */
.modal-menu-content {
background-color: transparent;
/* Gambar sudah punya background */
position: relative;
/* UKURAN PRESISI SESUAI PERMINTAAN */
width: 383px;
height: 575px;
border-radius: 12px;
/* Sedikit membulat agar elegan */
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
overflow: visible;
/* Agar tombol X bisa melayang keluar sedikit */
/* Animasi muncul */
transform: scale(0.8);
transition: transform 0.3s ease;
}
/* Animasi konten saat aktif */
.modal-menu-overlay.active .modal-menu-content {
transform: scale(1);
}
/* 3. Tombol Close (X) */
.modal-menu-close {
position: absolute;
top: -15px;
/* Sedikit melayang ke atas */
right: -15px;
/* Sedikit melayang ke kanan */
width: 35px;
height: 35px;
background-color: #ef4444;
/* Merah cerah */
color: white;
border: 2px solid white;
/* Frame putih */
border-radius: 50%;
/* Bulat sempurna */
font-size: 20px;
font-weight: bold;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
z-index: 10;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
transition: all 0.2s ease;
}
.modal-menu-close:hover {
background-color: #dc2626;
/* Merah lebih gelap saat hover */
transform: scale(1.1);
}
/* 4. Body Modal (Tempat Gambar) */
.modal-menu-body {
width: 100%;
height: 100%;
border-radius: 12px;
overflow: hidden;
/* Memastikan gambar mengikuti border-radius konten */
}
.modal-menu-body img {
width: 100%;
height: 100%;
object-fit: cover;
/* Memastikan gambar memenuhi frame tanpa penyet */
display: block;
}
/* RESPONSIVE: Agar pop-up tidak melebih layar HP */
@media (max-width: 420px) {
.modal-menu-content {
width: 90%;
/* Gunakan persentase di layar kecil */
height: auto;
/* Biarkan tinggi menyesuaikan proporsi */
aspect-ratio: 383 / 575;
/* Menjaga rasio gambar */
}
}
/* =========================================================
FOOTER
========================================================= */
/* =========================================================
FOOTER
========================================================= */
.footer {
background: #0f172a;
color: #f1f5f9;
padding: 60px 0 24px;
}
.footer-logo .brand-logo-footer {
width: 80px;
height: 80px;
background: transparent;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 20px;
}
.brand-logo-footer img {
width: 100%;
height: 100%;
object-fit: contain;
}
.footer-logo p {
font-size: 15px;
color: #f8fafc;
line-height: 1.6;
margin-bottom: 24px;
max-width: 250px;
}
.footer-social {
display: flex;
gap: 12px;
}
/* Lingkaran abu-abu transparan untuk ikon sosial media */
.footer-social a {
display: flex;
align-items: center;
justify-content: center;
width: 38px;
height: 38px;
background: rgba(255, 255, 255, 0.1);
border-radius: 50%;
color: #fff;
font-size: 16px;
text-decoration: none;
transition: all 0.3s ease;
}
.footer-social a:hover {
background: #3b82f6;
color: #fff;
}
.footer h6 {
color: #fff;
font-weight: 700;
font-size: 18px;
margin-bottom: 24px;
}
.footer-links {
list-style: none;
padding: 0;
margin: 0;
}
.footer-links li {
margin-bottom: 16px;
}
.footer-links a {
color: #f1f5f9;
text-decoration: none;
font-size: 15px;
transition: color .2s;
}
.footer-links a:hover {
color: #3b82f6;
}
.footer-contact {
list-style: none;
padding: 0;
margin: 0;
}
.footer-contact li {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 16px;
font-size: 15px;
color: #f1f5f9;
}
.footer-contact li i {
color: #3ba1eb;
font-size: 20px;
flex-shrink: 0;
}
.footer-divider {
border-top: 1px solid rgba(255, 255, 255, 0.2);
margin: 40px 0 24px;
}
.footer-copy {
text-align: center;
font-size: 14px;
color: #cbd5e1;
}
/* =========================================================
RESPONSIVE TWEAKS
========================================================= */
@media (max-width: 768px) {
.hero-carousel .carousel-item,
.hero-placeholder {
height: 260px;
}
.carousel-caption-custom h2 {
font-size: 20px;
}
.section-title-center {
font-size: 20px;
}
.search-form .input-group {
width: 140px;
}
}

0
public/favicon.ico Normal file
View File

BIN
public/images/an-1-a.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

BIN
public/images/an-1-b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 KiB

BIN
public/images/an-1-c.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

BIN
public/images/an-2-a.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 KiB

BIN
public/images/an-2-b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 KiB

BIN
public/images/an-2-c.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

BIN
public/images/an-3-a.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

BIN
public/images/an-3-b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 KiB

BIN
public/images/an-3-c.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 291 KiB

BIN
public/images/an-4-a.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

BIN
public/images/an-4-b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 KiB

BIN
public/images/an-4-c.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

BIN
public/images/an-5-a.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 KiB

BIN
public/images/an-5-b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 129 KiB

BIN
public/images/an-5-c.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 239 KiB

BIN
public/images/an-6-a.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 249 KiB

BIN
public/images/an-6-b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

BIN
public/images/an-6-c.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 KiB

BIN
public/images/as-1-a.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 364 KiB

BIN
public/images/as-1-b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 473 KiB

BIN
public/images/as-1-c.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 448 KiB

BIN
public/images/as-2-a.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 KiB

BIN
public/images/as-2-b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 409 KiB

BIN
public/images/as-2-c.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 520 KiB

BIN
public/images/as-3-a.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 464 KiB

BIN
public/images/as-3-b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 386 KiB

BIN
public/images/as-3-c.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 462 KiB

BIN
public/images/as-4-a.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 358 KiB

BIN
public/images/as-4-b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 510 KiB

BIN
public/images/as-4-c.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 460 KiB

BIN
public/images/as-5-a.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 564 KiB

BIN
public/images/as-5-b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 518 KiB

BIN
public/images/as-5-c.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 572 KiB

BIN
public/images/as-6-a.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 229 KiB

BIN
public/images/as-6-b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 338 KiB

BIN
public/images/as-6-c.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 445 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 MiB

BIN
public/images/fn-1-a.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

BIN
public/images/fn-1-b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

BIN
public/images/fn-1-c.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB

BIN
public/images/fn-2-a.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

BIN
public/images/fn-2-b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 KiB

BIN
public/images/fn-2-c.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 KiB

BIN
public/images/fn-3-a.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

BIN
public/images/fn-3-b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

BIN
public/images/fn-3-c.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 KiB

BIN
public/images/fn-4-a.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

BIN
public/images/fn-4-b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

BIN
public/images/fn-4-c.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 KiB

BIN
public/images/fn-5-a.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

BIN
public/images/fn-5-b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

BIN
public/images/fn-5-c.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 KiB

BIN
public/images/fn-6-a.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 133 KiB

BIN
public/images/fn-6-b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB

BIN
public/images/fn-6-c.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 372 KiB

BIN
public/images/fs-1-a.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 691 KiB

Some files were not shown because too many files have changed in this diff Show More