Commit e480cbe5 by rajshah

done for solutions

parent 203f6cab
...@@ -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.&nbsp;</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.&nbsp;</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 -->
......
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