Commit f51bd5f 1 parent 840f981 commit f51bd5f Copy full SHA for f51bd5f
File tree 1 file changed +7
-8
lines changed
resources/views/components/frontend
1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 2
2
<h4 class =" text-center mb-5 fs-3" >Our Achievments</h4 >
3
3
<div class =" row justify-content-center px-3" >
4
4
@foreach ($achievements as $item )
5
- <div class =" col-sm- 6 col-md-4 col-xl-3 mb-1 px-2 align-items-center justify-content-center" >
5
+ <div class =" col-6 col-md-4 col-xl-3 mb-1 px-2 align-items-center justify-content-center" >
6
6
<div class =" px-1 bg-primary rounded" >
7
- <div class =" card rounded " >
8
- <div class =" grid grid-cols-5 gap-3 " style = " height : 8rem ; " >
9
- <img loading =" lazy" class =" rounded-l-sm col-span-2 object-cover" style =" width :100% ; height :100% ;"
7
+ <div class =" card overflow-hidden " >
8
+ <div class =" grid grid-cols-5 gap-2 md:gap-3 h-[3.5rem] md:h-[ 8rem] " >
9
+ <img loading =" lazy" class =" rounded-l-sm overflow-hidden col-span-2 object-cover" style =" width :100% ; height :100% ;"
10
10
src =" {{ useImage ($item -> image ) } }" alt =" " >
11
- <div class =" col-span-3 flex flex-col w-full items-center justify-center pr-3 " >
11
+ <div class =" col-span-3 flex flex-col w-full items-center justify-center" >
12
12
<div
13
- class =" fw-medium text-center text-primary whitespace-nowrap text-ellipsis overflow-hidden w-full" >
13
+ class =" font-semibold text-sm md:text-lg text-center text-primary whitespace-nowrap text-ellipsis overflow-hidden w-full" >
14
14
{{ $item -> title } } </div >
15
- <h2 class =" counter-up m-0 text-primary text-center"
16
- style =" font-size : 32px ; font-weight : 700 ;" >
15
+ <h2 class =" counter-up m-0 text-primary text-center font-bold text-lg md:text-xl" >
17
16
{{ $item -> count } } </h2 >
18
17
</div >
19
18
</div >
You can’t perform that action at this time.
0 commit comments