Hello! How can we help you?
<button class="absolute left-0 top-1/2 transform -translate-y-1/2 bg-gray-700 text-white p-2 rounded-full z-10 prev-btn"> <i class="fas fa-chevron-left"></i> </button> <div id="sliderCategroy" class="owl-carousel flex"> @foreach ($brands as $brand) <div class="item m-1"> <a href="{{ route('brand.products', ['brandId' => $brand->id]) }}" class="text-center bg-gray-100 shadow-md px-2 pt-1 pb-[.6px] rounded-lg"> <div class="p-4 flex w-full justify-center"> <div class="w-[60%]"> <img src="{{ asset($brand->image) }}" alt="Brand Image" class="w-24 h-24 rounded-full border-2 border-gray-200"> </div> </div> <p class="text-base tracking-wider text-gray-900">{{ $brand->name }}</p> <p class="text-sm tracking-wider text-gray-700 mb-2"> Products: {{ $brand->products->count() }} </p> </a> </div> @endforeach </div> <button class="absolute right-0 top-1/2 transform -translate-y-1/2 bg-gray-700 text-white p-2 rounded-full z-10 next-btn"> <i class="fas fa-chevron-right"></i> </button> </div> es ko slider sy hata kr esy show krwao or mujy ya professional bna kr do pechy background do or jo ap div box banao gy us main phily image phir brand ka name ok or es box ka opacity bg ho color ap ik black white or gray-100 use kr sakhty hyn professional bna kr do
Great! Let's make it look clean, professional, and responsive without the slider (Owl Carousel). Here's a redesigned version that uses Tailwind CSS only — it will show the brand cards in a responsive grid with a nice background and a professional layout.
blade
CopyEdit
<section class="bg-gradient-to-br from-gray-900 via-black to-gray-800 py-10"> <div class="container mx-auto px-4"> <h2 class="text-white text-2xl font-semibold mb-6 text-center">Our Brands</h2> <div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 gap-6"> @foreach ($brands as $brand) <a href="{{ route('brand.products', ['brandId' => $brand->id]) }}" class="group relative bg-white bg-opacity-10 hover:bg-opacity-20 transition-all duration-300 rounded-xl p-4 text-center shadow-lg backdrop-blur-md"> <div class="flex justify-center mb-4"> <img src="{{ asset($brand->image) }}" alt="Brand Image" class="w-20 h-20 rounded-full border-2 border-gray-300 shadow-md group-hover:scale-105 transition duration-300"> </div> <h3 class="text-white text-lg font-semibold mb-1">{{ $brand->name }}</h3> <p class="text-gray-300 text-sm">Products: {{ $brand->products->count() }}</p> </a> @endforeach </div> </div> </section>
No slider — All brands display in a grid.
Dark background — Smooth black/gray gradient.
Opacity cards — Stylish bg-opacity
with a blur effect.
Hover animations — Cards and image scale on hover.
Responsive layout — Looks good on all devices.
Let me know if you want to add filters or make it scrollable horizontally on small screens!
Last Update
April 15, 2025
Published
April 15, 2025
Resolution Screen
yes
Included Files
html | php | css | java
Support Browsers
chrome | google | sss
Use FrameWork
laravel | react
Software Version
php 11
Tags
asd | dsfewr | dfer | dsfr | ssss
Be the first to know. Subscribe today and unlock exclusive deals!
Free support line!
Orders Support!
Working Days / Hours!