hadith_ui/components/haditha/hero-page/SectionThree.vue
mustafa-rezae 55f39c3721 Work on responsive.
Work on apis
2025-04-16 09:22:47 +03:30

208 lines
5.2 KiB
Vue
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<script setup>
const img = useImage();
// const backgroundImageStyle = computed(() => {
// // Use $img to generate an optimized image URL
// // const optimizedImageUrl = img("/img/haditha/section-three-bgi.webp", {
// // quality: 30,
// // fit: "auto",
// // });
// // return {
// // backgroundImage: `url(${optimizedImageUrl})`,
// // };
// return {
// backgroundImage: `url(/img/haditha/section-three-bgi.webp)`,
// };
// });
</script>
<template>
<section class="section-three flex">
<div class="section-container md:flex md:flex-col md:items-center xl:block mx-auto">
<div class="header flex items-center mb-2">
<img
fit="auto"
quality="80"
title="حدیثا"
src="/img/haditha/section-three-logo.png"
class="me-2 haditha-text"
/>
<span class="title"> چگونه کار میکند؟ </span>
</div>
<div class="content">
حدیثا، پیشرفتهترین سامانه هوش مصنوعی در حوزه مفاهیم حدیثی است. این
سامانه با تحلیل عمیق متون حدیثی و استفاده از جدیدترین فناوریهای هوش
مصنوعی، امکان دسترسی سریع، دقیق و معنادار به احادیث و مفاهیم اسلامی را
فراهم میکند.این سرویس با استفاده از تکنولوژیهای پیشرفتهای نظیر پردازش
زبان طبیعی (NLP) و جستجوی معنایی، مفاهیم مرتبط را شناسایی کرده و بهترین
نتایج را نمایش میدهد.
</div>
</div>
</section>
</template>
<style scoped>
.section-three {
padding-top: 10.5em; /*120px;*/
padding-bottom: 10.5em; /*65px;*/
background-repeat: no-repeat;
background-image: url("/img/haditha/section-three-bgi.webp");
background-blend-mode: exclusion;
/*height: 37.5em;600px;*/
gap: 8.75em; /*140px;*/
padding-right: 2em; /*32px;*/
padding-left: 2em; /*32px;*/
background-color: #1b2132;
background-size: cover;
.section-container {
width: 56.7em; /*907px;*/
/*height: 15.5em; 249px;*/
gap: 9px;
.header {
max-width: 30em; /*480px;*/
background: #1b2132cc;
width: 352.611083984375;
height: 56;
gap: 10px;
padding-top: 0.25em;
padding-right: 1em;
padding-bottom: 0.25em;
padding-left: 1em;
border-radius: 1em;
.haditha-text {
width: 5.5em; /*"88";*/
height: 2.1em; /*"34";*/
}
.title {
font-family: IRANSansX;
font-weight: 300;
font-size: 2rem; /*32px;*/
line-height: 3rem; /*48px;*/
letter-spacing: 0%;
text-align: center;
color: #d9d9d9;
}
}
.content {
max-width: 30em; /*480px;*/
height: 184;
gap: 10px;
padding-top: 0.5em;
padding-right: 1em;
padding-bottom: 0.5em;
padding-left: 1em;
border-radius: 1em;
background: #1b2132cc;
font-family: IRANSansX;
font-weight: 300;
font-size: 1rem;
line-height: 1.5rem; /*24px;*/
letter-spacing: 0%;
text-align: right;
color: #ffffff;
}
}
}
@media screen and (max-width: 1199.99px) {
.section-three {
background-image: url("/img/haditha/mobile/section-three-bgi_md.png");
height: 46.87em;
background-position: center 65%;
padding-top: 7.5em;
padding-bottom: 7.5em;
background-size: cover;
.section-container {
width: 100%;
.header {
width: auto;
background: transparent;
.haditha-text {
width: 4em; /*"61px";*/
height: 1.5em; /*"22px";*/
}
.title {
font-size: 1.5rem; /*"20px";*/
line-height: 100%;
}
}
.content {
background: transparent;
color: #626b84;
max-width: 40em; /*480px;*/
font-size: 1rem;
letter-spacing: 0%;
background: transparent;
}
}
}
}
@media screen and (max-width: 991.99px) {
.section-three {
/* background-image: url("/img/haditha/mobile/section-three-bgi_md.png"); */
/* height: 46.87em; */
/* background-position: center 65%; */
/* padding-top: 7.5em; */
/* padding-bottom: 7.5em; */
.section-container {
/* width: 100%; */
.header {
/* width: auto; */
/* background: transparent; */
.haditha-text {
width: 3.8em; /*"61px";*/
height: 1.3em; /*"22px";*/
}
.title {
font-size: 1.2rem; /*"20px";*/
/* line-height: 100%; */
}
}
.content {
/* background: transparent; */
/* color: #626b84; */
max-width: 36em; /*480px;*/
font-size: 0.84rem;
/* letter-spacing: 0%; */
/* background: transparent; */
}
}
}
}
@media screen and (max-width: 719.99px) {
.section-three {
.section-container {
width: 100%;
.header {
.haditha-text {
width: 3em; /*"49px";*/
height: 1.1em; /*"18px";*/
}
.title {
font-size: 1.3rem; /*"20px";*/
}
}
}
}
}
</style>