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
e43def48
Commit
e43def48
authored
Feb 05, 2025
by
rajshah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
single portfolio: captured moments worth sharing done
parent
c2494c4c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
73 additions
and
68 deletions
+73
-68
portfolio-conclusion-section.php
blocks/portfolio-conclusion-section.php
+46
-68
portfolio-text-image-section.php
blocks/portfolio-text-image-section.php
+27
-0
No files found.
blocks/portfolio-conclusion-section.php
View file @
e43def48
...
...
@@ -2,88 +2,63 @@
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"col-lg-5 col-xl-4 order-lg-2"
>
<?php
if
(
$image
=
get_field
(
'image'
))
:
echo
wp_get_attachment_image
(
$image
,
'full'
);
endif
;
?>
<?php
if
(
$image
=
get_field
(
'image'
))
:
echo
wp_get_attachment_image
(
$image
,
'full'
);
endif
;
?>
</div>
<div
class=
"col-lg-7 col-xl-8 order-lg-1"
>
<div
class=
"pc-content-box"
>
<?php
echo
get_field
(
'description'
);
?>
<?php
if
(
have_rows
(
'stats'
))
:
?>
<?php
echo
get_field
(
'description'
);
?>
<?php
if
(
have_rows
(
'stats'
))
:
?>
<div
class=
"percentage-box"
>
<div
class=
"row"
>
<?php
while
(
have_rows
(
'stats'
))
:
the_row
();
?>
<?php
while
(
have_rows
(
'stats'
))
:
the_row
();
?>
<div
class=
"col-sm-6 col-lg-5 col-xl-4"
>
<div
class=
"inner-wrapper"
>
<span>
<?php
the_sub_field
(
'number'
);
?>
</span>
<p>
<?php
the_sub_field
(
'title'
);
?>
</p>
<span>
<?php
the_sub_field
(
'number'
);
?>
</span>
<p>
<?php
the_sub_field
(
'title'
);
?>
</p>
</div>
</div>
<?php
endwhile
;
?>
<?php
endwhile
;
?>
</div>
</div>
<?php
endif
;
?>
<?php
endif
;
?>
</div>
</div>
</div>
</div>
</section>
<section
class=
"moment-worth-sharing makura-new mb-100"
>
<?php
$cmws
=
get_field
(
'cmws'
)
?:
[];
if
(
isset
(
$cmws
)
&&
is_array
(
$cmws
)
&&
!
empty
(
$cmws
))
:
$enable_cmws
=
$cmws
[
'enable_cmws'
];
if
(
$enable_cmws
&&
isset
(
$enable_cmws
))
:
$cmws_title
=
$cmws
[
'cmws_title'
]
?:
''
;
$cmws_desc
=
$cmws
[
'cmws_desc'
]
?:
''
;
$cmws_gal
=
$cmws
[
'cmws_gal'
]
?:
[];
?>
<section
class=
"moment-worth-sharing makura-new mb-100"
>
<div
class=
"container"
>
<?php
if
(
!
empty
(
$cmws_title
)
||
!
empty
(
$cmws_desc
))
:
?>
<div
class=
"section-title slide-up"
>
<h2>
Captured Moments Worth Sharing
</h2>
<p>
Showcasing visually striking designs that tell stories worth sharing.
</p>
<?php
if
(
!
empty
(
$cmws_title
))
:
?>
<h2>
<?php
echo
$cmws_title
;
?>
</h2>
<?php
endif
;
?>
<?php
echo
$cmws_desc
?:
''
;
?>
</div>
<?php
endif
;
?>
<?php
if
(
!
empty
(
$cmws_gal
)
&&
is_array
(
$cmws_gal
))
:
?>
<div
class=
"gallery-grid slide-up"
>
<div
class=
"gallery-item horizontal"
>
<a
data-src=
"
<?php
echo
get_parent_theme_file_uri
()
?>
/assets/img/placeholder-10.png"
>
<img
src=
"
<?php
echo
get_parent_theme_file_uri
()
?>
/assets/img/placeholder-10.png"
alt=
""
class=
"img-fluid"
>
</a>
</div>
<div
class=
"gallery-item"
>
<a
data-src=
"
<?php
echo
get_parent_theme_file_uri
()
?>
/assets/img/placeholder-11.png"
>
<img
src=
"
<?php
echo
get_parent_theme_file_uri
()
?>
/assets/img/placeholder-11.png"
alt=
""
class=
"img-fluid"
>
</a>
</div>
<div
class=
"gallery-item vertical"
>
<a
data-src=
"
<?php
echo
get_parent_theme_file_uri
()
?>
/assets/img/placeholder-16.png"
>
<img
src=
"
<?php
echo
get_parent_theme_file_uri
()
?>
/assets/img/placeholder-16.png"
alt=
""
class=
"img-fluid"
>
<span><svg
width=
"16"
height=
"16"
viewBox=
"0 0 16 16"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
d=
"M4.78477 6.63253C5.80499 6.63253 6.63205 5.80548 6.63205 4.78526C6.63205 3.76504 5.80499 2.93799 4.78477 2.93799C3.76455 2.93799 2.9375 3.76504 2.9375 4.78526C2.9375 5.80548 3.76455 6.63253 4.78477 6.63253Z"
fill=
"white"
/>
<path
d=
"M4.78477 13.0617C5.80499 13.0617 6.63205 12.2347 6.63205 11.2145C6.63205 10.1942 5.80499 9.36719 4.78477 9.36719C3.76455 9.36719 2.9375 10.1942 2.9375 11.2145C2.9375 12.2347 3.76455 13.0617 4.78477 13.0617Z"
fill=
"white"
/>
<path
d=
"M11.2145 6.63253C12.2347 6.63253 13.0617 5.80548 13.0617 4.78526C13.0617 3.76504 12.2347 2.93799 11.2145 2.93799C10.1942 2.93799 9.36719 3.76504 9.36719 4.78526C9.36719 5.80548 10.1942 6.63253 11.2145 6.63253Z"
fill=
"white"
/>
<path
d=
"M11.2145 13.0617C12.2347 13.0617 13.0617 12.2347 13.0617 11.2145C13.0617 10.1942 12.2347 9.36719 11.2145 9.36719C10.1942 9.36719 9.36719 10.1942 9.36719 11.2145C9.36719 12.2347 10.1942 13.0617 11.2145 13.0617Z"
fill=
"white"
/>
</svg>
View All
</span>
</a>
</div>
<div
class=
"gallery-item"
>
<a
data-src=
"
<?php
echo
get_parent_theme_file_uri
()
?>
/assets/img/placeholder-17.png"
>
<img
src=
"
<?php
echo
get_parent_theme_file_uri
()
?>
/assets/img/placeholder-17.png"
alt=
""
class=
"img-fluid"
>
</a>
</div>
<div
class=
"gallery-item"
>
<a
data-src=
"
<?php
echo
get_parent_theme_file_uri
()
?>
/assets/img/placeholder-14.png"
>
<img
src=
"
<?php
echo
get_parent_theme_file_uri
()
?>
/assets/img/placeholder-14.png"
alt=
""
class=
"img-fluid"
>
</a>
</div>
<div
class=
"gallery-item horizontal"
>
<a
data-src=
"
<?php
echo
get_parent_theme_file_uri
()
?>
/assets/img/placeholder-15.png"
>
<img
src=
"
<?php
echo
get_parent_theme_file_uri
()
?>
/assets/img/placeholder-15.png"
alt=
""
class=
"img-fluid"
>
</a>
</div>
<div
class=
"gallery-item"
>
<a
data-src=
"
<?php
echo
get_parent_theme_file_uri
()
?>
/assets/img/placeholder-11.png"
>
<img
src=
"
<?php
echo
get_parent_theme_file_uri
()
?>
/assets/img/placeholder-11.png"
alt=
""
class=
"img-fluid"
>
<span><svg
width=
"16"
height=
"16"
viewBox=
"0 0 16 16"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<?php
foreach
(
$cmws_gal
as
$i
=>
$gallery_item
)
:
$img
=
$gallery_item
[
'img'
]
?:
''
;
$layout
=
$gallery_item
[
'layout'
]
?:
''
;
$new
=
$layout
[
0
];
$class_name
=
!
empty
(
$layout
)
?
explode
(
':'
,
$layout
[
0
])
:
'none'
;
$class_name
=
$class_name
[
0
];
?>
<div
class=
"gallery-item
<?php
echo
$class_name
;
?>
"
>
<a
data-src=
"
<?php
echo
esc_url
(
$img
);
?>
"
>
<img
src=
"
<?php
echo
esc_url
(
$img
);
?>
"
alt=
""
class=
"img-fluid"
>
<?php
if
(
$i
===
(
count
(
$cmws_gal
)
-
1
))
:
?>
<span><svg
width=
"16"
height=
"16"
viewBox=
"0 0 16 16"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
d=
"M4.78477 6.63253C5.80499 6.63253 6.63205 5.80548 6.63205 4.78526C6.63205 3.76504 5.80499 2.93799 4.78477 2.93799C3.76455 2.93799 2.9375 3.76504 2.9375 4.78526C2.9375 5.80548 3.76455 6.63253 4.78477 6.63253Z"
fill=
"white"
/>
...
...
@@ -97,16 +72,18 @@
d=
"M11.2145 13.0617C12.2347 13.0617 13.0617 12.2347 13.0617 11.2145C13.0617 10.1942 12.2347 9.36719 11.2145 9.36719C10.1942 9.36719 9.36719 10.1942 9.36719 11.2145C9.36719 12.2347 10.1942 13.0617 11.2145 13.0617Z"
fill=
"white"
/>
</svg>
View All
</span
>
</span>
<?php
endif
;
?
>
</a>
</div>
<?php
endforeach
;
?>
</div>
<?php
endif
;
?>
</div>
</section>
</section>
<?php
endif
;
endif
;
?>
<section
class=
"quote PROJECT-CONCLUSION"
>
<div
class=
"container"
>
<?php
if
(
$quote_text
=
get_field
(
'quote_text'
))
:
?>
<?php
if
(
$quote_text
=
get_field
(
'quote_text'
))
:
?>
<div
class=
"row justify-content-center"
>
<div
class=
"col-lg-10 col-xl-8 mx-auto"
>
<div
class=
"position-relative pt-40 pb-100 quote-text"
>
...
...
@@ -117,10 +94,10 @@
fill=
"#005AFF"
/>
</svg>
</div>
<?
php
echo
$quote_text
;
?>
<?php
echo
$quote_text
;
?>
</div>
</div>
</div>
<?php
endif
;
?>
<?php
endif
;
?>
</div>
</section>
\ No newline at end of file
blocks/portfolio-text-image-section.php
View file @
e43def48
<section
class=
"sticky-tab makura-new"
>
<div
class=
"container"
>
<div
class=
"st-content d-flex justify-content-between align-items-center"
>
<ul
class=
"d-flex"
>
<li
class=
"active"
>
<a
href=
"#"
data-target=
"graphics-design"
>
Graphics Design
</a>
</li>
<li>
<a
href=
"#"
data-target=
"ui-ux-design"
>
UI/UX Design
</a>
</li>
<li>
<a
href=
"#"
data-target=
"web-development"
>
Web Development
</a>
</li>
<li>
<a
href=
"#"
data-target=
"seo"
>
SEO
</a>
</li>
</ul>
<a
href=
"#project-conclusion"
class=
"mc-btn-underlined font-18 font-600 d-none d-md-inline-block"
>
Scroll to
Conclusion
<svg
width=
"12"
height=
"12"
viewBox=
"0 0 12 12"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
fill-rule=
"evenodd"
clip-rule=
"evenodd"
d=
"M5.25 -9.26804e-07L5.25 9.1275L1.0575 4.935L1.12062e-06 6L6 12L12 6L10.9425 4.9425L6.75 9.1275L6.75 -6.46648e-07L5.25 -9.26804e-07Z"
fill=
"#121526"
/>
</svg>
</a>
</div>
</div>
</section>
<?php
if
(
have_rows
(
'content'
))
:
...
...
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