admin design module

This commit is contained in:
developer 2026-03-26 14:31:02 +08:00
parent 5f92e67e7f
commit 1babe189ec
3 changed files with 12 additions and 5 deletions

View File

@ -28,7 +28,7 @@
@if(DESIGN_PARAMETERS['logo']) @if(DESIGN_PARAMETERS['logo'])
<img src="{{ url('/storage/' . DESIGN_PARAMETERS['logo']) }}" alt="Logo" height="70"> <img src="{{ url('/storage/' . DESIGN_PARAMETERS['logo']) }}" alt="Logo" height="70">
@else @else
<img src={{ url('/images/logo.png') }} alt="Logo" width="70"> <img src={{ url('/images/logo.png') }} alt="Logo" height="70">
@endif @endif
</a> </a>
</div> </div>

View File

@ -26,7 +26,11 @@
<div class="container d-flex flex-row"> <div class="container d-flex flex-row">
<div class=" text-center"> <div class=" text-center">
<a class="navbar-brand"> <a class="navbar-brand">
<img src={{ url('/images/logo.png') }} alt="Logo" width="70"> @if(DESIGN_PARAMETERS['logo'])
<img src="{{ url('/storage/' . DESIGN_PARAMETERS['logo']) }}" alt="Logo" height="70">
@else
<img src={{ url('/images/logo.png') }} alt="Logo" height="70">
@endif
</a> </a>
</div> </div>
<div class="flex-fill px-0 px-md-4 text-start text-truncate fw-light fs-4 text-secondary text-uppercase" <div class="flex-fill px-0 px-md-4 text-start text-truncate fw-light fs-4 text-secondary text-uppercase"

View File

@ -60,8 +60,11 @@
<div class="cover-container d-flex w-100 h-100 p-3 mx-auto flex-column"> <div class="cover-container d-flex w-100 h-100 p-3 mx-auto flex-column">
<header class="mb-auto"> <header class="mb-auto">
<h3 class="float-md-start mb-0"> <h3 class="float-md-start mb-0">
<img class="" data-original="{{ url('/images/logo.svg') }}" alt="" @if(DESIGN_PARAMETERS['logo'])
imgfield="tn_img_1702578351550" src="{{ url('/images/logo.svg') }}" width="100"> <img src="{{ url('/storage/' . DESIGN_PARAMETERS['logo']) }}" alt="Logo" height="100">
@else
<img src={{ url('/images/logo.png') }} alt="Logo" width="100">
@endif
</h3> </h3>
<div class="justify-content-center float-md-end"> <div class="justify-content-center float-md-end">
<div> <div>