Commit e480cbe5 by rajshah

done for solutions

parent 203f6cab
......@@ -35,6 +35,7 @@ if (isset($content) && is_array($content) && !empty($content)):
$class_name = !empty($bgClass) ? explode(':', $bgClass) : 'none';
$class_name = $class_name[0];
$challenges = $content['challenges'] ?: [];
$solutions = $content['solutions'] ?: [];
if (!empty($title)):
?>
<section class="portfolio-block" id="<?php echo strtolower(str_replace(' ', '-', $title)); ?>">
......@@ -77,8 +78,8 @@ if (isset($content) && is_array($content) && !empty($content)):
<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)); ?>">
<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)): ?>
......@@ -92,40 +93,31 @@ if (isset($content) && is_array($content) && !empty($content)):
<?php endif; endif; ?>
<!-- challenges -->
<!-- solutions -->
<?php if (isset($solutions) && is_array($solutions) && !empty($solutions)):
$enable_solutions = $solutions['enable_solutions'];
if ($enable_solutions && isset($enable_solutions)):
$solutions_title = $solutions['solutions_title'] ?: '';
$solutions_desc = $solutions['solutions_desc'] ?: '';
$solutions_img = $solutions['solutions_img'] ?: '';
?>
<div class="ONLY-TEXT-SECTION mb-80">
<div class="container">
<div class="row justify-content-between">
<?php if (!empty($solutions_img)): ?>
<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>
<img decoding="async" src="<?php echo esc_url($solutions_img); ?>" class="attachment-full size-full"
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)); ?>">
</div><?php endif; ?>
<?php if (!empty($solutions_title) || !empty($solutions_desc)): ?>
<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.&nbsp;</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.&nbsp;</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>
<?php if (!empty($solutions_title)): ?>
<h3><?php echo $solutions_title; ?></h3><?php endif; ?>
<?php echo $solutions_desc ?: ''; ?>
</div><?php endif; ?>
</div>
</div>
</div>
<?php endif; endif; ?>
<!-- solutions -->
<!-- gallery -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment