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
e480cbe5
Commit
e480cbe5
authored
Feb 05, 2025
by
rajshah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
done for solutions
parent
203f6cab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
34 deletions
+26
-34
portfolio-text-image-section.php
blocks/portfolio-text-image-section.php
+26
-34
No files found.
blocks/portfolio-text-image-section.php
View file @
e480cbe5
...
@@ -35,6 +35,7 @@ if (isset($content) && is_array($content) && !empty($content)):
...
@@ -35,6 +35,7 @@ if (isset($content) && is_array($content) && !empty($content)):
$class_name
=
!
empty
(
$bgClass
)
?
explode
(
':'
,
$bgClass
)
:
'none'
;
$class_name
=
!
empty
(
$bgClass
)
?
explode
(
':'
,
$bgClass
)
:
'none'
;
$class_name
=
$class_name
[
0
];
$class_name
=
$class_name
[
0
];
$challenges
=
$content
[
'challenges'
]
?:
[];
$challenges
=
$content
[
'challenges'
]
?:
[];
$solutions
=
$content
[
'solutions'
]
?:
[];
if
(
!
empty
(
$title
))
:
if
(
!
empty
(
$title
))
:
?>
?>
<section
class=
"portfolio-block"
id=
"
<?php
echo
strtolower
(
str_replace
(
' '
,
'-'
,
$title
));
?>
"
>
<section
class=
"portfolio-block"
id=
"
<?php
echo
strtolower
(
str_replace
(
' '
,
'-'
,
$title
));
?>
"
>
...
@@ -77,8 +78,8 @@ if (isset($content) && is_array($content) && !empty($content)):
...
@@ -77,8 +78,8 @@ if (isset($content) && is_array($content) && !empty($content)):
<div
class=
"row justify-content-between"
>
<div
class=
"row justify-content-between"
>
<?php
if
(
!
empty
(
$challenges_img
))
:
?>
<?php
if
(
!
empty
(
$challenges_img
))
:
?>
<div
class=
"col-lg-6 order-lg-2"
>
<div
class=
"col-lg-6 order-lg-2"
>
<img
decoding=
"async"
src=
"
<?php
echo
esc_url
(
$challenges_img
);
?>
"
<img
decoding=
"async"
src=
"
<?php
echo
esc_url
(
$challenges_img
);
?>
"
class=
"attachment-full size-full
"
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
));
?>
"
>
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>
</div>
<?php
endif
;
<?php
endif
;
if
(
!
empty
(
$challenges_desc
))
:
?>
if
(
!
empty
(
$challenges_desc
))
:
?>
...
@@ -92,40 +93,31 @@ if (isset($content) && is_array($content) && !empty($content)):
...
@@ -92,40 +93,31 @@ if (isset($content) && is_array($content) && !empty($content)):
<?php
endif
;
endif
;
?>
<?php
endif
;
endif
;
?>
<!-- challenges -->
<!-- challenges -->
<!-- solutions -->
<!-- solutions -->
<?php
if
(
isset
(
$solutions
)
&&
is_array
(
$solutions
)
&&
!
empty
(
$solutions
))
:
<div
class=
"ONLY-TEXT-SECTION mb-80"
>
$enable_solutions
=
$solutions
[
'enable_solutions'
];
<div
class=
"container"
>
if
(
$enable_solutions
&&
isset
(
$enable_solutions
))
:
<div
class=
"row justify-content-between"
>
$solutions_title
=
$solutions
[
'solutions_title'
]
?:
''
;
<div
class=
"col-lg-5 "
>
$solutions_desc
=
$solutions
[
'solutions_desc'
]
?:
''
;
<img
decoding=
"async"
src=
"http://192.168.1.89/makura-theme/wp-content/uploads/2024/04/can-1.png"
$solutions_img
=
$solutions
[
'solutions_img'
]
?:
''
;
class=
"attachment-full size-full"
alt=
"arbitrary image of CAN"
>
?>
</div>
<div
class=
"ONLY-TEXT-SECTION mb-80"
>
<div
class=
"col-lg-7"
>
<div
class=
"container"
>
<h3>
Solutions
</h3>
<div
class=
"row justify-content-between"
>
<p><span
style=
"font-weight: 400;"
>
Working on the CAN website was a significant undertaking for us, given our
<?php
if
(
!
empty
(
$solutions_img
))
:
?>
shared passion for cricket. To enhance social media engagement, we dedicated ourselves to crafting
<div
class=
"col-lg-5 "
>
visually appealing graphics and curating compelling content that resonated with users.
</span></p>
<img
decoding=
"async"
src=
"
<?php
echo
esc_url
(
$solutions_img
);
?>
"
class=
"attachment-full size-full"
<p><span
style=
"font-weight: 400;"
>
Additionally, we undertook the revamp of the website to incorporate
alt=
"
<?php
echo
esc_attr
(
get_post_meta
(
attachment_url_to_postid
(
$solutions_img
),
'_wp_attachment_image_alt'
,
true
))
?:
get_the_title
(
attachment_url_to_postid
(
$solutions_img
));
?>
"
>
advanced features and modernize its UI/UX. On the website, we added newer features like ‘Player stats’ and
</div>
<?php
endif
;
?>
‘Tournament Management’ to showcase the players and their contributions.
</span></p>
<?php
if
(
!
empty
(
$solutions_title
)
||
!
empty
(
$solutions_desc
))
:
?>
<p><span
style=
"font-weight: 400;"
>
In addition to these efforts, we took on the task of designing Viber
<div
class=
"col-lg-7"
>
stickers and mascots as part of an initiative to promote both the site and the sport itself.
</span>
<?php
if
(
!
empty
(
$solutions_title
))
:
?>
</p>
<h3>
<?php
echo
$solutions_title
;
?>
</h3>
<?php
endif
;
?>
<p><span
style=
"font-weight: 400;"
>
Finally, we have also introduced a mobile application with a ball-by-ball
<?php
echo
$solutions_desc
?:
''
;
?>
score feature to keep sports enthusiasts informed while on the move.
</span></p>
</div>
<?php
endif
;
?>
<p><span
style=
"font-weight: 400;"
>
By completion, we had successfully revitalized CAN’s entire brand image
</div>
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>
</div>
<?php
endif
;
endif
;
?>
</div>
<!-- solutions -->
<!-- solutions -->
<!-- gallery -->
<!-- gallery -->
...
...
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