diff --git a/03_WordPress/wp-content/themes/ifnex/front-page.php b/03_WordPress/wp-content/themes/ifnex/front-page.php index 42936b8..71bed54 100644 --- a/03_WordPress/wp-content/themes/ifnex/front-page.php +++ b/03_WordPress/wp-content/themes/ifnex/front-page.php @@ -84,7 +84,6 @@ $testimonials = $is_en ? [ -
@@ -126,11 +125,11 @@ $testimonials = $is_en ? [
- - - - - + + + + +
@@ -147,6 +146,7 @@ $testimonials = $is_en ? [
+
diff --git a/03_WordPress/wp-content/themes/ifnex/style.css b/03_WordPress/wp-content/themes/ifnex/style.css index 9122113..98d82e4 100644 --- a/03_WordPress/wp-content/themes/ifnex/style.css +++ b/03_WordPress/wp-content/themes/ifnex/style.css @@ -1728,4 +1728,176 @@ html.lang-en .single-nav-next { .ifnx-login-subtitle { font-size: 15px; } .ifnx-login-form-side { padding: 40px 24px; } .ifnx-login-form-container h2 { font-size: 24px; } +} + +/* ═══════════════════════════════════════════════════ + HERO SECTION - ENHANCED RESPONSIVE +════════════════════════════════════════════════════ */ + +/* دسکتاپ: دو ستون کنار هم با alignment بهتر */ +.hero-layout { + display: grid; + grid-template-columns: 1fr 1fr; + gap: 48px; + align-items: center; + justify-items: stretch; +} + +/* متن hero در سمت راست (RTL) */ +.hero-text { + text-align: right; +} + +/* فرم tracking در سمت چپ */ +.hero-card { + width: 100%; + max-width: 500px; + margin: 0 auto; +} + +/* تبلت (768px - 1024px): دو ستون با gap کمتر */ +@media (max-width: 1024px) { + .hero-layout { + grid-template-columns: 1fr 1fr; + gap: 32px; + } + + .hero-heading { + font-size: clamp(1.8rem, 3.5vw, 2.5rem); + } + + .hero-card { + padding: 28px; + } +} + +/* موبایل (< 768px): دو ستون روی هم با spacing بهتر */ +@media (max-width: 768px) { + .hero-layout { + grid-template-columns: 1fr; + gap: 40px; + } + + .hero-text { + text-align: center; + order: 1; + } + + .hero-card { + order: 2; + max-width: 100%; + } + + .hero-buttons { + justify-content: center; + } + + .hero-trust { + justify-content: center; + } + + .hero-heading { + font-size: clamp(1.6rem, 5vw, 2.2rem); + } + + .hero-subheading { + font-size: 1rem; + } +} + +/* موبایل کوچک (< 480px) */ +@media (max-width: 480px) { + .hero-layout { + gap: 32px; + } + + .hero-card { + padding: 24px 20px; + } + + .hero-buttons { + flex-direction: column; + width: 100%; + } + + .hero-buttons .btn { + width: 100%; + justify-content: center; + } + + .hero-card-stats { + grid-template-columns: 1fr; + gap: 16px; + } + + .h-stat { + padding: 12px; + background: var(--gray-100); + border-radius: var(--radius-sm); + } +} + +/* Admin Bar Offset (WordPress Fix) - بهبود یافته */ +.admin-bar .hero { + padding-top: calc(72px + 32px); /* header + admin bar */ +} + +@media screen and (max-width: 782px) { + .admin-bar .hero { + padding-top: calc(72px + 46px); /* header + mobile admin bar */ + } +} + +/* ═══════════════════════════════════════════════════ + HERO BUTTONS - ENHANCED +════════════════════════════════════════════════════ */ +.hero-buttons { + display: flex; + gap: 12px; + flex-wrap: wrap; + margin-bottom: 32px; +} + +.hero-buttons .btn { + flex-shrink: 0; +} + +/* ═══════════════════════════════════════════════════ + HERO TRUST BADGES - ENHANCED +════════════════════════════════════════════════════ */ +.hero-trust { + display: flex; + align-items: center; + gap: 20px; + flex-wrap: wrap; +} + +.trust-item { + display: flex; + align-items: center; + gap: 7px; + white-space: nowrap; +} + +@media (max-width: 768px) { + .hero-trust { + gap: 16px; + } + + .trust-item { + font-size: 0.85rem; + } +} + +@media (max-width: 480px) { + .hero-trust { + flex-direction: column; + align-items: center; + gap: 12px; + } +} + +/* مخفی کردن کادرهای زرد debug */ +.plugin-zone { + display: none !important; } \ No newline at end of file diff --git a/04_Laravel/app/Providers/Filament/AdminPanelProvider.php b/04_Laravel/app/Providers/Filament/AdminPanelProvider.php index df71df4..b4c8a95 100644 --- a/04_Laravel/app/Providers/Filament/AdminPanelProvider.php +++ b/04_Laravel/app/Providers/Filament/AdminPanelProvider.php @@ -25,7 +25,7 @@ class AdminPanelProvider extends PanelProvider return $panel ->default() ->id('admin') - ->path('admin') + ->path('panel') ->login() ->brandName('IFNEX Logistics') ->colors([ diff --git a/04_Laravel/routes/web.php b/04_Laravel/routes/web.php index fdb12b2..9e58f8c 100644 --- a/04_Laravel/routes/web.php +++ b/04_Laravel/routes/web.php @@ -21,7 +21,7 @@ Route::middleware('auth')->group(function () { Route::get('/shipments/{shipment}/pdf/label', [ShipmentPdfController::class, 'label'])->name('shipments.pdf.label'); }); -// صفحات نتیجه پرداخت (برای تست) +// صفحات نتیجه پرداخت Route::get('/payment-result', function (Illuminate\Http\Request $request) { $status = $request->input('status'); $transactionId = $request->input('transaction_id');