انتقل إلى المحتوى
الأدلة
التنقل
التنبيهات
الطبقات العائمة
التخطيط
عرض البيانات
النماذج
.md

التذييل

footer-08

تذييل بسيط: شعار مع صف واحد من الروابط ونموذج اشتراك واسم الشركة بخط كبير فوق الشريط القانوني.

فتح بملء الشاشة

التثبيت

php artisan ui:add-block footer-08

أمر واحد يثبّت ملف Blade الخاص بالقالب وكل مكوّن يعتمد عليه. اعرضه في تخطيطك كالتالي <x-ui.blocks.footer-08 />.

المكونات المضمّنة

الاستخدام

Every piece of content is a prop, so you can drive this footer from a CMS. A link is either a plain string or ['label' => ..., 'href' => ...]. The wordmark defaults to `brand`; set it separately for a longer legal name, and retune the clamp below if the word no longer fills the container.

<x-ui.blocks.footer-08
    brand="Acme"
    wordmark="Acme Cloud"
    :links="[
        ['label' => 'Pricing', 'href' => '/pricing'],
        ['label' => 'Docs', 'href' => '/docs'],
        ['label' => 'Changelog', 'href' => '/changelog'],
        'Careers',
    ]"
    newsletter-title="Ship notes"
    :form-action="route('newsletter.store')"
    privacy-href="/privacy"
    :legal="[
        ['label' => 'Privacy', 'href' => '/privacy'],
        ['label' => 'Terms', 'href' => '/terms'],
    ]"
    copyright="© 2026 Acme Pty Ltd"
/>

الخصائص

كل خاصية مع قيمتها الافتراضية. مرّر أيًّا منها كسمة، واستخدم : لربط قيمة PHP.

@props([
    'brand' => 'LaralCN',
    'brandHref' => '#',
    'wordmark' => null,
    'links' => ['Link One', 'Link Two', 'Link Three', 'Link Four', 'Link Five'],
    'newsletterTitle' => 'Subscribe',
    'formAction' => null,
    'emailPlaceholder' => 'Enter your email',
    'subscribeLabel' => 'Subscribe',
    'privacyHref' => '#',
    'legal' => ['Privacy Policy', 'Terms of Service', 'Cookies Settings'],
    'copyright' => null,
])