Files
merchbay/resources/views/user-layouts/header.blade.php
Frank John Begornia ad8d8d7564
All checks were successful
Deploy Production (merchbay.com) / deploy (push) Successful in 2m54s
feat: Add MinIO storage support and update image URLs
- Implemented MinIO storage driver in AppServiceProvider for S3-compatible storage.
- Added helper functions to generate MinIO URLs for files and images.
- Updated filesystem configuration to include MinIO settings.
- Modified site configuration to include MinIO URL.
- Enhanced Docker Compose configuration for local development with MinIO.
- Updated various Blade templates to use MinIO URLs for images instead of local paths.
- Ensured all image references in views are now pointing to MinIO storage.
2026-05-13 00:25:23 +08:00

32 lines
1.3 KiB
PHP
Executable File

<header class="main-header">
<!-- Logo -->
<a href="{{ url('user') }}" class="logo">
<!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini"><b>M</b></span>
<!-- logo for regular state and mobile devices -->
<span class="logo-lg"><b>Merchbay</b></span>
</a>
<!-- Header Navbar: style can be found in header.less -->
<nav class="navbar navbar-static-top">
<!-- Sidebar toggle button-->
<a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
<span class="sr-only">Toggle navigation</span>
</a>
<div class="navbar-custom-menu">
<ul class="nav navbar-nav">
<!-- User Account: style can be found in dropdown.less -->
<!-- Control Sidebar Toggle Button -->
<li class="user user-menu">
<a href="#">
<img src="{{ minio_url('user/default-user.png') }}" class="user-image" alt="User Image">
<span class="hidden-xs">{{ Auth::user()->username }}</span>
</a>
</li>
<li>
<a href="{{ url('/auth/logout') }}"><i class="fa fa-sign-out"></i> Logout</a>
</li>
</ul>
</div>
</nav>
</header>