Preview: Service5.jsx
Size: 4.09 KB
//proc/thread-self/root/home/byroehnu/easetack.com/resources/js/Frontend/Components/Service/Service5.jsx
import NavigationLink from "@/Components/NavigationLink"
export default function Service5({ data }) {
const { section_title, section_subtitle, service_list } = data
return (
<div className="container">
<div className="row cs_gap_y_40">
<div className="col-lg-7">
{(section_subtitle || section_title) && (
<>
<div className="cs_section_heading cs_style_1">
{section_subtitle && (
<p
className="cs_section_subtitle cs_fs_18 cs_medium"
dangerouslySetInnerHTML={{
__html: section_subtitle
}}
/>
)}
{section_title && (
<h2
className="cs_section_title cs_fs_53 cs_normal mb-0"
dangerouslySetInnerHTML={{
__html: section_title
}}
/>
)}
</div>
</>
)}
</div>
<div className="col-lg-5">
<ul className="cs_list cs_style_2 cs_mp0">
{service_list?.map((item, index) => (
<li key={index}>
{(item.service_title || item.service_btn_url) && (
<NavigationLink href={item.service_btn_url} className="cs_btn cs_style_1 cs_type_2">
<h2
className="mb-0 cs_fs_30 cs_normal"
dangerouslySetInnerHTML={{
__html: item.service_title
}}
/>
<span>
<i>
<svg width={11} height={11} viewBox="0 0 11 11" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M1 10L10 1M10 1L1 1M10 1L10 10"
stroke="currentColor"
strokeWidth="1.5"
strokeLinecap="round"
strokeLinejoin="round"
/>
</svg>
</i>
<i>
<svg width={11} height={11} viewBox="0 0 11 11" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M1 10L10 1M10 1L1 1M10 1L10 10"
stroke="currentColor"
strokeWidth="1.5"
strokeLinecap="round"
strokeLinejoin="round"
/>
</svg>
</i>
</span>
</NavigationLink>
)}
</li>
))}
</ul>
</div>
</div>
</div>
)
}
Directory Contents
Dirs: 0 × Files: 6