complete story 10.5

This commit is contained in:
Naser Mansour
2026-01-03 03:54:27 +02:00
parent de606da191
commit e9a478108a
9 changed files with 321 additions and 123 deletions
@@ -1,20 +1,47 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 55" {{ $attributes }}>
<!-- Libra Scales of Justice Icon -->
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" {{ $attributes }}>
<!-- LIBRA for Rights - Botanical Icon -->
<g fill="currentColor">
<!-- Center pillar -->
<rect x="22" y="15" width="6" height="35" rx="1"/>
<!-- Top beam -->
<rect x="5" y="10" width="40" height="5" rx="2"/>
<!-- Left scale pan -->
<path d="M5 18 L15 18 L12 28 Q10 32 8 28 L5 18 Z"/>
<ellipse cx="10" cy="28" rx="8" ry="3"/>
<!-- Right scale pan -->
<path d="M35 18 L45 18 L42 28 Q40 32 38 28 L35 18 Z"/>
<ellipse cx="40" cy="28" rx="8" ry="3"/>
<!-- Chains -->
<line x1="10" y1="12" x2="10" y2="18" stroke="currentColor" stroke-width="1.5"/>
<line x1="40" y1="12" x2="40" y2="18" stroke="currentColor" stroke-width="1.5"/>
<!-- Base -->
<rect x="15" y="48" width="20" height="4" rx="2"/>
<!-- Outer frame -->
<rect x="1" y="1" width="48" height="48" fill="none" stroke="currentColor" stroke-width="2"/>
<!-- Inner decorative frame -->
<rect x="4" y="4" width="42" height="42" fill="none" stroke="currentColor" stroke-width="1"/>
<!-- Central plant stem -->
<line x1="25" y1="44" x2="25" y2="18" stroke="currentColor" stroke-width="2.5"/>
<!-- Central leaves (symmetrical) -->
<path d="M25 28 Q19 23 16 28 Q19 33 25 28"/>
<path d="M25 28 Q31 23 34 28 Q31 33 25 28"/>
<path d="M25 21 Q17 16 14 23 Q19 28 25 21"/>
<path d="M25 21 Q33 16 36 23 Q31 28 25 21"/>
<!-- Top leaf/bud -->
<ellipse cx="25" cy="13" rx="5" ry="7"/>
<!-- Left wheat stalk -->
<line x1="11" y1="43" x2="11" y2="16" stroke="currentColor" stroke-width="1.5"/>
<ellipse cx="11" cy="13" rx="2.5" ry="5"/>
<ellipse cx="8" cy="18" rx="2.5" ry="4"/>
<ellipse cx="14" cy="18" rx="2.5" ry="4"/>
<ellipse cx="8" cy="26" rx="2.5" ry="4"/>
<ellipse cx="14" cy="26" rx="2.5" ry="4"/>
<!-- Right wheat stalk -->
<line x1="39" y1="43" x2="39" y2="16" stroke="currentColor" stroke-width="1.5"/>
<ellipse cx="39" cy="13" rx="2.5" ry="5"/>
<ellipse cx="36" cy="18" rx="2.5" ry="4"/>
<ellipse cx="42" cy="18" rx="2.5" ry="4"/>
<ellipse cx="36" cy="26" rx="2.5" ry="4"/>
<ellipse cx="42" cy="26" rx="2.5" ry="4"/>
<!-- Water droplets -->
<path d="M7 38 Q7 34 10 38 Q7 42 7 38"/>
<path d="M43 38 Q43 34 46 38 Q43 42 43 38"/>
<!-- Corner decorations -->
<circle cx="7" cy="7" r="2"/>
<circle cx="43" cy="7" r="2"/>
<circle cx="7" cy="43" r="2"/>
<circle cx="43" cy="43" r="2"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 908 B

After

Width:  |  Height:  |  Size: 1.9 KiB

@@ -24,11 +24,11 @@ $logoFile = $variants[$variant] ?? $variants['full'];
<div {{ $attributes->merge(['class' => 'flex items-center gap-2 p-5']) }}>
<img
src="{{ asset('images/' . $logoFile) }}"
alt="{{ __('Libra Law Firm') }}"
alt="{{ __('LIBRA for Rights') }}"
class="{{ $sizeClass }} w-auto object-contain"
onerror="this.onerror=null; this.src='{{ asset('images/logo.png') }}';"
/>
@if($showText)
<span class="font-semibold text-sm truncate">{{ __('Libra Law Firm') }}</span>
<span class="font-semibold text-sm truncate">{{ __('LIBRA for Rights') }}</span>
@endif
</div>
+14 -5
View File
@@ -1,9 +1,18 @@
@props(['size' => 'default'])
@props(['size' => 'default', 'variant' => 'full'])
@if(file_exists(public_path('images/logo.svg')))
@php
$variants = [
'full' => 'logo.svg',
'reversed' => 'logo-reversed.svg',
'mono' => 'logo-mono.svg',
];
$logoFile = $variants[$variant] ?? $variants['full'];
@endphp
@if(file_exists(public_path('images/' . $logoFile)))
<img
src="{{ asset('images/logo.svg') }}"
alt="{{ __('Libra Law Firm') }}"
src="{{ asset('images/' . $logoFile) }}"
alt="{{ __('LIBRA for Rights') }}"
@class([
'h-8' => $size === 'small',
'h-12' => $size === 'default',
@@ -16,5 +25,5 @@
'text-lg' => $size === 'small',
'text-2xl' => $size === 'default',
'text-3xl' => $size === 'large',
])>Libra</span>
])>LIBRA</span>
@endif