haditha_ui/pages/hadith/index.vue

133 lines
2.9 KiB
Vue
Raw Normal View History

2025-02-11 10:17:22 +00:00
<template>
2025-02-18 12:56:13 +00:00
<HadithLayout>
<section-one></section-one>
<section-two></section-two>
2025-02-12 14:14:07 +00:00
</HadithLayout>
2025-02-11 10:17:22 +00:00
</template>
<script>
export default {
2025-02-11 12:49:27 +00:00
name: "hadith",
2025-02-11 10:17:22 +00:00
setup() {
useHead({
2025-02-11 12:49:27 +00:00
title: import.meta.env.VITE_HADITH_PAGE_TITLE,
meta: [
{ name: "description", content: "کاوش با هوش مصنوعی در احادیث اسلامی" },
],
2025-02-11 10:17:22 +00:00
bodyAttrs: {
2025-02-11 12:49:27 +00:00
class: import.meta.env.VITE_HADITH_SYSTEM,
2025-02-11 10:17:22 +00:00
},
});
definePageMeta({
layout: false,
2025-02-11 12:49:27 +00:00
name: "hadith",
2025-02-11 10:17:22 +00:00
});
},
components: {
2025-02-18 12:56:13 +00:00
SectionOne: defineAsyncComponent(() =>
import("@hadith/components/hadith/hero-page/SectionOne.vue")
2025-02-16 12:51:52 +00:00
),
2025-02-18 12:56:13 +00:00
SectionTwo: defineAsyncComponent(() =>
import("@hadith/components/hadith/hero-page/SectionTwo.vue")
2025-02-11 10:17:22 +00:00
),
2025-02-11 12:49:27 +00:00
HadithLayout: defineAsyncComponent(() =>
import("@hadith/layouts/HadithLayout.vue")
2025-02-11 10:17:22 +00:00
),
},
};
</script>
2025-02-16 12:51:52 +00:00
<style scoped>
.section-one {
.bg-container {
height: 521px;
background-size: 100% auto;
background-repeat: no-repeat;
2025-02-17 13:03:06 +00:00
/* background-attachment: fixed; */
/* background-image: url("/img/background.svg"),
linear-gradient(199.05deg, #ffffff 9.99%, #e4fff7 42.07%, #ffffff 97.12%); */
2025-02-16 12:51:52 +00:00
}
.text-logo {
padding-top: 10em;
position: relative;
.title {
margin-top: 3.5em;
font-family: IRANSansX;
font-size: 14px;
line-height: 21px;
letter-spacing: 0%;
text-align: center;
color: #1b2132;
}
.badge-style {
width: 100;
height: 23;
border-radius: 40px;
padding-right: 8px;
padding-bottom: 2px;
padding-left: 8px;
gap: 10px;
color: #fff;
background: linear-gradient(270.29deg, #d284ff 8.12%, #4d00ff 109.58%);
}
}
.search-box-container {
padding-top: 1em;
padding-bottom: 4em; /*64px */
2025-02-17 13:03:06 +00:00
}
2025-02-16 12:51:52 +00:00
}
.section-two {
font-weight: 200;
font-size: 20px;
line-height: 30px;
letter-spacing: 0%;
text-align: center;
2025-02-17 13:03:06 +00:00
.my-card {
background-repeat: no-repeat;
background-size: auto;
height: 660px;
.inner-container {
max-width: 21.25em;
margin: auto;
}
.title {
font-weight: 500;
font-size: 24px;
line-height: 36px;
letter-spacing: 0%;
color: #1b2132;
text-align: right;
}
.description {
font-weight: 300;
font-size: 20px;
line-height: 30px;
letter-spacing: 0%;
text-align: right;
color: #626b84;
}
&.card-one {
background-image: url("/img/card-one-bgi.png"),
linear-gradient(134.17deg, #ffffff -9.81%, #e5e0ff 87.62%);
}
&.card-two {
background-image: url("/img/card-two-bgi.png"),
linear-gradient(329.16deg, #b9fde0 13.45%, #eefff8 63.57%);
}
&.card-three {
background-image: url("/img/card-three-bgi.png"),
linear-gradient(134.17deg, #ffffff -9.81%, #e5e0ff 87.62%);
}
}
2025-02-16 12:51:52 +00:00
}
</style>