Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
makura-2025
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Raj Shah
makura-2025
Commits
203f6cab
Commit
203f6cab
authored
Feb 05, 2025
by
rajshah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
challenges block done
parent
3bb101b1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
231 additions
and
1 deletions
+231
-1
portfolio-text-image-section.php
blocks/portfolio-text-image-section.php
+231
-1
No files found.
blocks/portfolio-text-image-section.php
View file @
203f6cab
...
@@ -23,8 +23,238 @@
...
@@ -23,8 +23,238 @@
</div>
</div>
</div>
</div>
</section>
</section>
<!-- content -->
<?php
$content
=
get_field
(
'content'
)
?:
[];
if
(
isset
(
$content
)
&&
is_array
(
$content
)
&&
!
empty
(
$content
))
:
foreach
(
$content
as
$ci
=>
$content
)
:
$title
=
$content
[
'title'
]
?:
''
;
$description
=
$content
[
'description'
]
?:
''
;
$bgClass
=
$content
[
'background_colour'
]
?:
''
;
$image
=
$content
[
'image'
]
?:
''
;
$image_position
=
$content
[
'image_position'
]
?:
''
;
$class_name
=
!
empty
(
$bgClass
)
?
explode
(
':'
,
$bgClass
)
:
'none'
;
$class_name
=
$class_name
[
0
];
$challenges
=
$content
[
'challenges'
]
?:
[];
if
(
!
empty
(
$title
))
:
?>
<section
class=
"portfolio-block"
id=
"
<?php
echo
strtolower
(
str_replace
(
' '
,
'-'
,
$title
));
?>
"
>
<div
class=
"ONLY-TEXT-SECTION py-80
<?php
echo
$class_name
;
?>
"
>
<div
class=
"container"
>
<div
class=
"row justify-content-between"
>
<div
class=
"col-lg-5 col-xl-4
<?php
echo
(
$image_position
==
'right'
)
?
'order-lg-2'
:
''
;
?>
"
>
<?php
if
(
$image
)
:
echo
wp_get_attachment_image
(
$image
,
'full'
);
endif
;
?>
</div>
<div
class=
"col-lg-7
<?php
echo
(
$image_position
==
'right'
)
?
''
:
'order-lg-1'
;
?>
"
>
<?php
if
(
!
empty
(
$title
))
:
?>
<h3>
<?php
echo
$title
;
?>
</h3>
<?php
endif
;
?>
<?php
echo
$description
?:
''
;
?>
</div>
</div>
</div>
</div>
<!-- challenges -->
<?php
endif
;
if
(
isset
(
$challenges
)
&&
is_array
(
$challenges
)
&&
!
empty
(
$challenges
))
:
$enable_challenges
=
$challenges
[
'enable_challenges'
];
if
(
$enable_challenges
&&
isset
(
$enable_challenges
))
:
$challenges_title
=
$challenges
[
'challenges_title'
]
?:
''
;
$challenges_stitle
=
$challenges
[
'challenges_stitle'
]
?:
''
;
$challenges_desc
=
$challenges
[
'challenges_desc'
]
?:
''
;
$challenges_img
=
$challenges
[
'challenges_img'
]
?:
''
;
?>
<div
class=
"ONLY-TEXT-SECTION top-primary mb-60"
>
<div
class=
"container"
>
<div
class=
"bg-white content-box"
>
<?php
if
(
!
empty
(
$challenges_title
)
||
!
empty
(
$challenges_stitle
))
:
?>
<div
class=
"section-title"
>
<?php
if
(
!
empty
(
$challenges_title
))
:
?>
<h3>
<?php
echo
$challenges_title
;
?>
</h3>
<?php
endif
;
?>
<?php
echo
$challenges_stitle
?:
''
;
?>
</div>
<?php
endif
;
?>
<div
class=
"row justify-content-between"
>
<?php
if
(
!
empty
(
$challenges_img
))
:
?>
<div
class=
"col-lg-6 order-lg-2"
>
<img
decoding=
"async"
src=
"
<?php
echo
esc_url
(
$challenges_img
);
?>
"
class=
"attachment-full size-full"
alt=
"
<?php
echo
esc_attr
(
get_post_meta
(
attachment_url_to_postid
(
$challenges_img
),
'_wp_attachment_image_alt'
,
true
))
?:
get_the_title
(
attachment_url_to_postid
(
$challenges_img
));
?>
"
>
</div>
<?php
endif
;
if
(
!
empty
(
$challenges_desc
))
:
?>
<div
class=
"col-lg-6 order-lg-1"
>
<?php
echo
$challenges_desc
?:
''
;
?>
</div>
<?php
endif
;
?>
</div>
</div>
</div>
</div>
<?php
endif
;
endif
;
?>
<!-- challenges -->
<!-- solutions -->
<div
class=
"ONLY-TEXT-SECTION mb-80"
>
<div
class=
"container"
>
<div
class=
"row justify-content-between"
>
<div
class=
"col-lg-5 "
>
<img
decoding=
"async"
src=
"http://192.168.1.89/makura-theme/wp-content/uploads/2024/04/can-1.png"
class=
"attachment-full size-full"
alt=
"arbitrary image of CAN"
>
</div>
<div
class=
"col-lg-7"
>
<h3>
Solutions
</h3>
<p><span
style=
"font-weight: 400;"
>
Working on the CAN website was a significant undertaking for us, given our
shared passion for cricket. To enhance social media engagement, we dedicated ourselves to crafting
visually appealing graphics and curating compelling content that resonated with users.
</span></p>
<p><span
style=
"font-weight: 400;"
>
Additionally, we undertook the revamp of the website to incorporate
advanced features and modernize its UI/UX. On the website, we added newer features like ‘Player stats’ and
‘Tournament Management’ to showcase the players and their contributions.
</span></p>
<p><span
style=
"font-weight: 400;"
>
In addition to these efforts, we took on the task of designing Viber
stickers and mascots as part of an initiative to promote both the site and the sport itself.
</span>
</p>
<p><span
style=
"font-weight: 400;"
>
Finally, we have also introduced a mobile application with a ball-by-ball
score feature to keep sports enthusiasts informed while on the move.
</span></p>
<p><span
style=
"font-weight: 400;"
>
By completion, we had successfully revitalized CAN’s entire brand image
while simultaneously shaping a new identity for it.
</span></p>
<ul>
<li>
Designed visually engaging and vibrant graphics to attract and retain audience attention.
</li>
<li>
Developed consistent branding materials, including Viber stickers and mascots, to strengthen identity.
</li>
<li>
Optimized graphics and layouts for mobile apps and the website, ensuring seamless user experiences
across devices.
</li>
</ul>
</div>
</div>
</div>
</div>
<!-- solutions -->
<!-- gallery -->
<div
class=
"block-gallery makura-new mb-120"
>
<div
class=
"container"
>
<div
class=
"section-title slide-up animate"
>
<div
class=
"title"
>
<h3>
UI/UX Design Galleries
</h3>
<p>
Explore a collection of stunning and inspiring graphic design showcases.
</p>
</div>
<div
class=
"slider-controller d-none d-md-flex justify-content-end"
>
<button
type=
"button"
class=
"prev"
>
<svg
width=
"14"
height=
"14"
viewBox=
"0 0 14 14"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
fill-rule=
"evenodd"
clip-rule=
"evenodd"
d=
"M13.6693 7.83341L3.5276 7.83341L8.18594 12.4917L7.0026 13.6667L0.335937 7.00008L7.0026 0.333413L8.1776 1.50841L3.5276 6.16675L13.6693 6.16675L13.6693 7.83341Z"
fill=
"#58595A"
></path>
</svg>
</button>
<button
type=
"button"
class=
"next"
>
<svg
width=
"14"
height=
"14"
viewBox=
"0 0 14 14"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
fill-rule=
"evenodd"
clip-rule=
"evenodd"
d=
"M0.33073 7.83341L10.4724 7.83341L5.81406 12.4917L6.9974 13.6667L13.6641 7.00008L6.9974 0.333413L5.8224 1.50841L10.4724 6.16675L0.33073 6.16675L0.33073 7.83341Z"
fill=
"#58595A"
></path>
</svg>
</button>
</div>
</div>
<div
class=
"gallery-slider-wrapper slide-up animate"
>
<div
class=
"gallery-slider owl-carousel owl-loaded owl-drag"
id=
"ui-ux-gallery"
>
<div
class=
"owl-stage-outer"
>
<div
class=
"owl-stage"
style=
"transform: translate3d(0px, 0px, 0px); transition: 0.45s; width: 2096px;"
>
<div
class=
"owl-item active"
style=
"width: 253.934px; margin-right: 8px;"
>
<div
class=
"gallery-item"
>
<a
data-src=
"http://192.168.1.89/makura-theme/wp-content/themes/makura/assets/img/placeholder-10.png"
>
<img
decoding=
"async"
src=
"http://192.168.1.89/makura-theme/wp-content/themes/makura/assets/img/placeholder-10.png"
alt=
""
class=
"img-fluid"
>
</a>
</div>
</div>
<div
class=
"owl-item active"
style=
"width: 253.934px; margin-right: 8px;"
>
<div
class=
"gallery-item"
>
<a
data-src=
"http://192.168.1.89/makura-theme/wp-content/themes/makura/assets/img/placeholder-11.png"
>
<img
decoding=
"async"
src=
"http://192.168.1.89/makura-theme/wp-content/themes/makura/assets/img/placeholder-11.png"
alt=
""
class=
"img-fluid"
>
</a>
</div>
</div>
<div
class=
"owl-item active"
style=
"width: 253.934px; margin-right: 8px;"
>
<div
class=
"gallery-item"
>
<a
data-src=
"http://192.168.1.89/makura-theme/wp-content/themes/makura/assets/img/placeholder-12.png"
>
<img
decoding=
"async"
src=
"http://192.168.1.89/makura-theme/wp-content/themes/makura/assets/img/placeholder-12.png"
alt=
""
class=
"img-fluid"
>
</a>
</div>
</div>
<div
class=
"owl-item active"
style=
"width: 253.934px; margin-right: 8px;"
>
<div
class=
"gallery-item"
>
<a
data-src=
"http://192.168.1.89/makura-theme/wp-content/themes/makura/assets/img/placeholder-13.png"
>
<img
decoding=
"async"
src=
"http://192.168.1.89/makura-theme/wp-content/themes/makura/assets/img/placeholder-13.png"
alt=
""
class=
"img-fluid"
>
</a>
</div>
</div>
<div
class=
"owl-item active"
style=
"width: 253.934px; margin-right: 8px;"
>
<div
class=
"gallery-item"
>
<a
data-src=
"http://192.168.1.89/makura-theme/wp-content/themes/makura/assets/img/placeholder-14.png"
>
<img
decoding=
"async"
src=
"http://192.168.1.89/makura-theme/wp-content/themes/makura/assets/img/placeholder-14.png"
alt=
""
class=
"img-fluid"
>
</a>
</div>
</div>
<div
class=
"owl-item active"
style=
"width: 253.934px; margin-right: 8px;"
>
<div
class=
"gallery-item"
>
<a
data-src=
"http://192.168.1.89/makura-theme/wp-content/themes/makura/assets/img/placeholder-15.png"
>
<img
decoding=
"async"
src=
"http://192.168.1.89/makura-theme/wp-content/themes/makura/assets/img/placeholder-15.png"
alt=
""
class=
"img-fluid"
>
</a>
</div>
</div>
<div
class=
"owl-item active"
style=
"width: 253.934px; margin-right: 8px;"
>
<div
class=
"gallery-item"
>
<a
data-src=
"http://192.168.1.89/makura-theme/wp-content/themes/makura/assets/img/placeholder-11.png"
>
<img
decoding=
"async"
src=
"http://192.168.1.89/makura-theme/wp-content/themes/makura/assets/img/placeholder-11.png"
alt=
""
class=
"img-fluid"
>
</a>
</div>
</div>
<div
class=
"owl-item"
style=
"width: 253.934px; margin-right: 8px;"
>
<div
class=
"gallery-item"
>
<a
data-src=
"http://192.168.1.89/makura-theme/wp-content/themes/makura/assets/img/placeholder-10.png"
>
<img
decoding=
"async"
src=
"http://192.168.1.89/makura-theme/wp-content/themes/makura/assets/img/placeholder-10.png"
alt=
""
class=
"img-fluid"
>
</a>
</div>
</div>
</div>
</div>
<div
class=
"owl-nav"
><button
type=
"button"
role=
"presentation"
class=
"owl-prev"
><span
aria-label=
"Previous"
>
‹
</span></button><button
type=
"button"
role=
"presentation"
class=
"owl-next disabled"
><span
aria-label=
"Next"
>
›
</span></button></div>
<div
class=
"owl-dots disabled"
></div>
</div>
</div>
</div>
</div>
<!-- gallery -->
</section>
<?php
endforeach
;
endif
;
?>
<!-- content -->
<?php
<?php
if
(
have_rows
(
'content'
))
:
if
(
have_rows
(
'
s
content'
))
:
?>
?>
<!-- <section
<!-- <section
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment