Rename files.

Add svg icons
This commit is contained in:
mustafa-rezae 2025-03-06 14:58:20 +03:30
parent 658c28e45c
commit 953d98f3be
120 changed files with 381 additions and 266 deletions

View File

Before

Width:  |  Height:  |  Size: 910 B

After

Width:  |  Height:  |  Size: 910 B

View File

Before

Width:  |  Height:  |  Size: 304 B

After

Width:  |  Height:  |  Size: 304 B

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 566 B

After

Width:  |  Height:  |  Size: 566 B

View File

Before

Width:  |  Height:  |  Size: 341 B

After

Width:  |  Height:  |  Size: 341 B

View File

Before

Width:  |  Height:  |  Size: 341 B

After

Width:  |  Height:  |  Size: 341 B

View File

Before

Width:  |  Height:  |  Size: 251 B

After

Width:  |  Height:  |  Size: 251 B

View File

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

Before

Width:  |  Height:  |  Size: 868 B

After

Width:  |  Height:  |  Size: 868 B

View File

Before

Width:  |  Height:  |  Size: 915 B

After

Width:  |  Height:  |  Size: 915 B

View File

Before

Width:  |  Height:  |  Size: 212 B

After

Width:  |  Height:  |  Size: 212 B

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 781 B

After

Width:  |  Height:  |  Size: 781 B

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 529 B

After

Width:  |  Height:  |  Size: 529 B

View File

Before

Width:  |  Height:  |  Size: 203 B

After

Width:  |  Height:  |  Size: 203 B

View File

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 681 B

After

Width:  |  Height:  |  Size: 681 B

View File

Before

Width:  |  Height:  |  Size: 648 B

After

Width:  |  Height:  |  Size: 648 B

View File

Before

Width:  |  Height:  |  Size: 631 B

After

Width:  |  Height:  |  Size: 631 B

View File

Before

Width:  |  Height:  |  Size: 943 B

After

Width:  |  Height:  |  Size: 943 B

View File

Before

Width:  |  Height:  |  Size: 625 B

After

Width:  |  Height:  |  Size: 625 B

View File

Before

Width:  |  Height:  |  Size: 823 B

After

Width:  |  Height:  |  Size: 823 B

View File

Before

Width:  |  Height:  |  Size: 490 KiB

After

Width:  |  Height:  |  Size: 490 KiB

View File

Before

Width:  |  Height:  |  Size: 783 KiB

After

Width:  |  Height:  |  Size: 783 KiB

View File

Before

Width:  |  Height:  |  Size: 263 KiB

After

Width:  |  Height:  |  Size: 263 KiB

View File

Before

Width:  |  Height:  |  Size: 203 KiB

After

Width:  |  Height:  |  Size: 203 KiB

View File

Before

Width:  |  Height:  |  Size: 69 KiB

After

Width:  |  Height:  |  Size: 69 KiB

View File

Before

Width:  |  Height:  |  Size: 186 KiB

After

Width:  |  Height:  |  Size: 186 KiB

View File

Before

Width:  |  Height:  |  Size: 113 KiB

After

Width:  |  Height:  |  Size: 113 KiB

View File

Before

Width:  |  Height:  |  Size: 198 KiB

After

Width:  |  Height:  |  Size: 198 KiB

View File

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

View File

Before

Width:  |  Height:  |  Size: 550 B

After

Width:  |  Height:  |  Size: 550 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View File

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig><msapplication><tile><square70x70logo src="/ms-icon-70x70.png"/><square150x150logo src="/ms-icon-150x150.png"/><square310x310logo src="/ms-icon-310x310.png"/><TileColor>#ffffff</TileColor></tile></msapplication></browserconfig>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -0,0 +1,41 @@
{
"name": "App",
"icons": [
{
"src": "\/android-icon-36x36.png",
"sizes": "36x36",
"type": "image\/png",
"density": "0.75"
},
{
"src": "\/android-icon-48x48.png",
"sizes": "48x48",
"type": "image\/png",
"density": "1.0"
},
{
"src": "\/android-icon-72x72.png",
"sizes": "72x72",
"type": "image\/png",
"density": "1.5"
},
{
"src": "\/android-icon-96x96.png",
"sizes": "96x96",
"type": "image\/png",
"density": "2.0"
},
{
"src": "\/android-icon-144x144.png",
"sizes": "144x144",
"type": "image\/png",
"density": "3.0"
},
{
"src": "\/android-icon-192x192.png",
"sizes": "192x192",
"type": "image\/png",
"density": "4.0"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

View File

Before

Width:  |  Height:  |  Size: 269 KiB

After

Width:  |  Height:  |  Size: 269 KiB

View File

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

View File

Before

Width:  |  Height:  |  Size: 304 KiB

After

Width:  |  Height:  |  Size: 304 KiB

View File

Before

Width:  |  Height:  |  Size: 102 KiB

After

Width:  |  Height:  |  Size: 102 KiB

View File

Before

Width:  |  Height:  |  Size: 95 KiB

After

Width:  |  Height:  |  Size: 95 KiB

View File

Before

Width:  |  Height:  |  Size: 107 KiB

After

Width:  |  Height:  |  Size: 107 KiB

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Before

Width:  |  Height:  |  Size: 630 B

After

Width:  |  Height:  |  Size: 630 B

View File

Before

Width:  |  Height:  |  Size: 174 B

After

Width:  |  Height:  |  Size: 174 B

View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

View File

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

View File

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

View File

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

View File

Before

Width:  |  Height:  |  Size: 161 KiB

After

Width:  |  Height:  |  Size: 161 KiB

View File

@ -52,7 +52,7 @@ html {
font-family: IRANSansX; font-family: IRANSansX;
} }
} }
.hadith-system { .haditha-system {
height: 100%; height: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -60,9 +60,8 @@ html {
.isolate { .isolate {
flex-grow: 1; flex-grow: 1;
} }
[class*="i-haditha"] { }
/* font-size: 1.3em !important; */ .firefox-scrollbar {
/* width: 2rem !important; */ scrollbar-width: thin;
/* height: 2rem !important; */ scrollbar-color: #ccc #eee;
}
} }

View File

@ -142,7 +142,7 @@ const onUpdateModel = (newVal: string) => {
const onSearch = () => { const onSearch = () => {
console.info("onSearch"); console.info("onSearch");
router.push({ router.push({
name: "hadithSearch", name: "hadithaSearch",
}); });
}; };
const onKeyDown = () => { const onKeyDown = () => {
@ -162,8 +162,8 @@ const onSend = () => {
</script> </script>
<template> <template>
<div class="hadith-search-root-wrapper"> <div class="haditha-search-root-wrapper">
<div class="hadith-search-root"> <div class="haditha-search-root">
<div v-if="showPrevSearch" class="prev-search-item flex items-center"> <div v-if="showPrevSearch" class="prev-search-item flex items-center">
<span class="total">۴۷ مشابه </span> <span class="total">۴۷ مشابه </span>
<span class="text me-auto"> <span class="text me-auto">
@ -186,7 +186,7 @@ const onSend = () => {
v-model:search-term="searchTerm" v-model:search-term="searchTerm"
placeholder="هوشمند جستجو کنید..." placeholder="هوشمند جستجو کنید..."
:ui="{ :ui="{
base: ['hadith-search-input'], base: ['haditha-search-input'],
}" }"
:content="{ :content="{
align: 'start', align: 'start',
@ -207,7 +207,7 @@ const onSend = () => {
> >
</UInputMenu> </UInputMenu>
</div> </div>
<UButton class="my-trailing-button" @click.prevent="onSearch" icon="i-lucide-search"> <UButton class="my-trailing-button" @click.prevent="onSearch" icon="i-haditha-search">
<!-- <UIcon name="i-lucide-search" /> --> <!-- <UIcon name="i-lucide-search" /> -->
</UButton> </UButton>
</div> </div>
@ -227,7 +227,7 @@ const onSend = () => {
<UButton <UButton
class="filter-item" class="filter-item"
:label="filter.label" :label="filter.label"
:trailingIcon="filter.items?.length ? 'i-lucide-chevron-down' : ''" :trailingIcon="filter.items?.length ? 'i-haditha-chevron-down' : ''"
/> />
</UDropdownMenu> </UDropdownMenu>
</div> </div>
@ -235,12 +235,12 @@ const onSend = () => {
</template> </template>
<style scoped> <style scoped>
.hadith-search-root-wrapper { .haditha-search-root-wrapper {
max-width: 656px; max-width: 656px;
width: 100%; width: 100%;
margin: 0 1em; margin: 0 1em;
.hadith-search-root { .haditha-search-root {
position: relative; position: relative;
&::before { &::before {
@ -358,10 +358,10 @@ const onSend = () => {
content: none; content: none;
} }
.my-trailing-button { .my-trailing-button {
width: 32px; /* width: 32px; */
height: 32px; /* height: 32px; */
} }
.hadith-search-input { .haditha-search-input {
height: 56px; height: 56px;
} }
} }
@ -370,7 +370,7 @@ const onSend = () => {
</style> </style>
<style> <style>
.hadith-search-root-wrapper { .haditha-search-root-wrapper {
.my-trailing-button { .my-trailing-button {
position: absolute; position: absolute;
@ -395,17 +395,17 @@ const onSend = () => {
} }
& > span { & > span {
width: 18px; /* width: 18px; */
height: 18px; /* height: 18px; */
background-image: linear-gradient( /* background-image: linear-gradient(
102.02deg, 102.02deg,
#4be8ae 7.38%, #4be8ae 7.38%,
#00a762 91.78% #00a762 91.78%
); ); */
} }
} }
.hadith-search-input { .haditha-search-input {
z-index: 0; z-index: 0;
height: 72px; height: 72px;

View File

@ -9,7 +9,7 @@ const props = defineProps({
default: "نتیجه‌ای یافت نشد!", default: "نتیجه‌ای یافت نشد!",
}, },
noDataIcon: { noDataIcon: {
default: "/img/no-data.png", default: "/img/haditha/no-data.png",
}, },
}); });
</script> </script>
@ -22,7 +22,7 @@ const props = defineProps({
fit="auto" fit="auto"
quality="80" quality="80"
placeholder placeholder
src="/img/haditha-title.svg" src="/img/haditha/haditha-title.svg"
/> />
</div> </div>
@ -43,7 +43,7 @@ const props = defineProps({
<ULink <ULink
:to="{ :to="{
name:'hadithLibraryShow', name:'hadithaLibraryShow',
params:{ params:{
id:1, id:1,
slug:'اصول کافی-جلد 1' slug:'اصول کافی-جلد 1'
@ -60,7 +60,7 @@ const props = defineProps({
fit="auto" fit="auto"
quality="80" quality="80"
placeholder placeholder
src="/img/sample-bgi.svg" src="/img/haditha/sample-bgi.svg"
/> />
<p class="title">اصول کافی</p> <p class="title">اصول کافی</p>
<p class="version">جلد 1</p> <p class="version">جلد 1</p>

View File

@ -64,7 +64,7 @@ const items = [
<UButton <UButton
color="white" color="white"
label="Options" label="Options"
trailing-icon="i-heroicons-chevron-down-20-solid" trailing-icon="i-haditha-chevron-down"
/> />
<!-- <template #account="{ item }"> <!-- <template #account="{ item }">

View File

@ -3,28 +3,28 @@ const items = ref([
{ {
label: "حانه", label: "حانه",
icon: "i-haditha-home", icon: "i-haditha-home",
to: "/hadith", to: "/haditha",
descrption: "صفحه اصلی", descrption: "صفحه اصلی",
class: "flex flex-col lg:flex-row justify-center items-center hide-label", class: "flex flex-col lg:flex-row justify-center items-center hide-label",
}, },
{ {
label: "جستجو", label: "جستجو",
icon: "i-haditha-search", icon: "i-haditha-search",
to: "/hadith/search", to: "/haditha/search",
slot: "search", slot: "search",
class: "flex flex-col lg:flex-row justify-center items-center", class: "flex flex-col lg:flex-row justify-center items-center",
}, },
{ {
label: "چت بات", label: "چت بات",
icon: "i-haditha-chat-bot", icon: "i-haditha-chat-bot",
to: "/hadith/chat-bot", to: "/haditha/chat-bot",
slot: "chat-bot", slot: "chat-bot",
class: "flex flex-col lg:flex-row justify-center items-center", class: "flex flex-col lg:flex-row justify-center items-center",
}, },
{ {
label: "کتابخانه", label: "کتابخانه",
icon: "i-haditha-library", icon: "i-haditha-library",
to: "/hadith/library", to: "/haditha/library",
slot: "library", slot: "library",
class: "flex flex-col lg:flex-row justify-center items-center", class: "flex flex-col lg:flex-row justify-center items-center",
}, },
@ -32,7 +32,7 @@ const items = ref([
{ {
label: "نشان شده ها", label: "نشان شده ها",
icon: "i-haditha-bookmark", icon: "i-haditha-bookmark",
to: "/hadith/favorites", to: "/haditha/favorites",
class: "flex flex-col lg:hidden justify-center items-center", class: "flex flex-col lg:hidden justify-center items-center",
}, },
@ -44,22 +44,22 @@ const items = ref([
{ {
label: "در باره ما", label: "در باره ما",
icon: "i-haditha-about-us", icon: "i-haditha-about-us",
to: "/hadith/about-us", to: "/haditha/about-us",
}, },
{ {
label: "تماس با ما", label: "تماس با ما",
icon: "i-haditha-contact-us", icon: "i-haditha-contact-us",
to: "/hadith/contact-us", to: "/haditha/contact-us",
}, },
{ {
label: "قوانین و مقررات", label: "قوانین و مقررات",
icon: "i-haditha-copyright", icon: "i-haditha-copyright",
to: "/hadith/rules", to: "/haditha/rules",
}, },
{ {
label: "خروج از حساب", label: "خروج از حساب",
icon: "i-haditha-logout", icon: "i-haditha-logout",
to: "/hadith/logout", to: "/haditha/logout",
}, },
], ],
}, },
@ -69,7 +69,7 @@ const leftItem = ref([
{ {
label: "نشان شده ها", label: "نشان شده ها",
icon: "i-haditha-bookmark", icon: "i-haditha-bookmark",
to: "/hadith/favorites", to: "/haditha/favorites",
}, },
{ {
@ -78,23 +78,23 @@ const leftItem = ref([
children: [ children: [
{ {
label: "در باره ما", label: "در باره ما",
icon: "i-haditha-about-us size-4", icon: "i-haditha-about-us",
to: "/hadith/about-us", to: "/haditha/about-us",
}, },
{ {
label: "تماس با ما", label: "تماس با ما",
icon: "i-haditha-contact-us", icon: "i-haditha-contact-us",
to: "/hadith/contact-us", to: "/haditha/contact-us",
}, },
{ {
label: "قوانین و مقررات", label: "قوانین و مقررات",
icon: "i-haditha-copyright", icon: "i-haditha-copyright",
to: "/hadith/rules", to: "/haditha/rules",
}, },
{ {
label: "خروج از حساب", label: "خروج از حساب",
icon: "i-haditha-logout", icon: "i-haditha-logout",
to: "/hadith/logout", to: "/haditha/logout",
}, },
], ],
}, },
@ -108,7 +108,7 @@ onMounted(() => {
isMobile.value = true; isMobile.value = true;
console.info("is less than 576"); console.info("is less than 576");
items.value = items.value.filter((item) => item.to != "/hadith/favorites"); items.value = items.value.filter((item) => item.to != "/haditha/favorites");
rerenderNavigation.value++; rerenderNavigation.value++;
} }
}); });

View File

@ -46,7 +46,7 @@ const state = reactive({
fit="auto" fit="auto"
quality="80" quality="80"
placeholder placeholder
src="/img/haditha-title.svg" src="/img/haditha/haditha-title.svg"
class="me-2" class="me-2"
/> />
</div> </div>

View File

@ -2,30 +2,30 @@
const state = reactive({ const state = reactive({
cards: [ cards: [
{ {
img: "/img/section-four_card-one.png", img: "/img/haditha/section-four_card-one.png",
title: "تشخیص موجودیت", title: "تشخیص موجودیت",
description: description:
"استخراج و شناسایی موجودیت‌های مرتبط از متن حدیثی (مانند افراد، مکان‌ها، مفاهیم کلیدی یا موضوعات)", "استخراج و شناسایی موجودیت‌های مرتبط از متن حدیثی (مانند افراد، مکان‌ها، مفاهیم کلیدی یا موضوعات)",
}, },
{ {
img: "/img/section-four_card-two.png", img: "/img/haditha/section-four_card-two.png",
title: "تشخیص موجودیت", title: "تشخیص موجودیت",
description: "تجمیع نکات کلیدی از احادیث و شروح مختلف", description: "تجمیع نکات کلیدی از احادیث و شروح مختلف",
}, },
{ {
img: "/img/section-four_card-three.png", img: "/img/haditha/section-four_card-three.png",
title: "تشخیص موجودیت", title: "تشخیص موجودیت",
description: description:
"امکان تعامل مستقیم با سامانه برای پاسخ به سوالات یا دریافت توضیحات از مفاهیم حدیثی", "امکان تعامل مستقیم با سامانه برای پاسخ به سوالات یا دریافت توضیحات از مفاهیم حدیثی",
}, },
{ {
img: "/img/section-four_card-four.png", img: "/img/haditha/section-four_card-four.png",
title: "تشخیص کلمات کلیدی", title: "تشخیص کلمات کلیدی",
description: description:
"با تحلیل دقیق متن، کلمات و عبارات کلیدی هر حدیث را شناسایی و ارائه می‌کند", "با تحلیل دقیق متن، کلمات و عبارات کلیدی هر حدیث را شناسایی و ارائه می‌کند",
}, },
{ {
img: "/img/section-four_card-five.png", img: "/img/haditha/section-four_card-five.png",
title: "دسته‌بندی هوشمند", title: "دسته‌بندی هوشمند",
description: description:
"احادیث را بر اساس موضوعات، مفاهیم یا کلیدواژه‌های اصلی به‌صورت خودکار دسته‌بندی می‌کند", "احادیث را بر اساس موضوعات، مفاهیم یا کلیدواژه‌های اصلی به‌صورت خودکار دسته‌بندی می‌کند",
@ -47,7 +47,7 @@ const state = reactive({
fit="auto" fit="auto"
quality="80" quality="80"
placeholder placeholder
src="/img/haditha-title.svg" src="/img/haditha/haditha-title.svg"
class="me-2" class="me-2"
/> />
</div> </div>

View File

@ -1,10 +1,32 @@
<script setup>
const img = useImage();
const backgroundImageStyle = computed(() => {
// Use $img to generate an optimized image URL
const optimizedImageUrl = img("/img/haditha/background.png", {
quality: 80,
fit: "auto",
});
return {
backgroundImage: `url(${optimizedImageUrl}), linear-gradient(199.05deg, #ffffff 9.99%, #e4fff7 42.07%, #ffffff 97.12%)`,
};
});
const NavigationMenu = defineAsyncComponent(() =>
import("@haditha/components/haditha/NavigationMenu.vue")
);
const AutoComplation = defineAsyncComponent(() =>
import("@haditha/components/haditha/AutoComplation.vue")
);
</script>
<template> <template>
<section class="section-one flex flex-col justify-center"> <section class="section-one flex flex-col justify-center">
<div class="background-image h-full" :style="backgroundImageStyle"> <div class="background-image h-full" :style="backgroundImageStyle">
<navigation-menu></navigation-menu> <navigation-menu></navigation-menu>
<div class="logo-container flex justify-center flex-col items-center"> <div class="logo-container flex justify-center flex-col items-center">
<NuxtImg fit="auto" quality="80" placeholder src="/img/logo.png" /> <NuxtImg fit="auto" quality="80" placeholder src="/img/haditha/logo.png" />
<div class="title"> <div class="title">
کاوش با کاوش با
<span class="badge-style me-1"> هوش مصنوعی </span> <span class="badge-style me-1"> هوش مصنوعی </span>
@ -17,36 +39,7 @@
</div> </div>
</section> </section>
</template> </template>
<script>
export default {
data() {
return {
logo: "",
};
},
computed: {
backgroundImageStyle() {
// Use $img to generate an optimized image URL
const optimizedImageUrl = this.$img("/img/background.png", {
quality: 60,
});
return {
backgroundImage: `url(${optimizedImageUrl}), linear-gradient(199.05deg, #ffffff 9.99%, #e4fff7 42.07%, #ffffff 97.12%)`,
};
},
},
components: {
NavigationMenu: defineAsyncComponent(() =>
import("@hadith/components/hadith/NavigationMenu.vue")
),
AutoComplation: defineAsyncComponent(() =>
import("@hadith/components/hadith/AutoComplation.vue")
),
},
};
</script>
<style scoped> <style scoped>
.section-one { .section-one {
.background-image { .background-image {
@ -54,7 +47,7 @@ export default {
background-size: 100% auto; background-size: 100% auto;
background-repeat: no-repeat; background-repeat: no-repeat;
background-attachment: fixed; background-attachment: fixed;
/* background-image: url("/img/background.svg"), /* background-image: url("/img/haditha/background.svg"),
linear-gradient(199.05deg, #ffffff 9.99%, #e4fff7 42.07%, #ffffff 97.12%); */ linear-gradient(199.05deg, #ffffff 9.99%, #e4fff7 42.07%, #ffffff 97.12%); */
} }

View File

@ -3,7 +3,7 @@ const img = useImage();
const backgroundImageStyle = computed(() => { const backgroundImageStyle = computed(() => {
// Use $img to generate an optimized image URL // Use $img to generate an optimized image URL
const optimizedImageUrl = img("/img/section-three-bgi.svg", { const optimizedImageUrl = img("/img/haditha/section-three-bgi.png", {
quality: 80, quality: 80,
fit: "auto", fit: "auto",
}); });
@ -23,7 +23,7 @@ const backgroundImageStyle = computed(() => {
fit="auto" fit="auto"
quality="80" quality="80"
placeholder placeholder
src="/img/section-three-logo.svg" src="/img/haditha/section-three-logo.svg"
class="me-2" class="me-2"
/> />
<span class="title"> چگونه کار میکند؟ </span> <span class="title"> چگونه کار میکند؟ </span>

View File

@ -9,7 +9,7 @@
fit="auto" fit="auto"
quality="80" quality="80"
placeholder placeholder
src="/img/chevron-down.svg" src="/img/haditha/chevron-down.svg"
/> />
</div> </div>
</div> </div>
@ -29,7 +29,7 @@
fit="auto" fit="auto"
quality="80" quality="80"
placeholder placeholder
src="/img/card-one.png" src="/img/haditha/card-one.png"
/> />
</div> </div>
</div> </div>
@ -47,7 +47,7 @@
fit="auto" fit="auto"
quality="80" quality="80"
placeholder placeholder
src="/img/card-two.png" src="/img/haditha/card-two.png"
/> />
</div> </div>
</div> </div>
@ -67,7 +67,7 @@
fit="auto" fit="auto"
quality="80" quality="80"
placeholder placeholder
src="/img/card-three.png" src="/img/haditha/card-three.png"
/> />
</div> </div>
</div> </div>
@ -113,15 +113,15 @@
} }
&.card-one { &.card-one {
background-image: url("/img/card-one-bgi.png"), background-image: url("/img/haditha/card-one-bgi.png"),
linear-gradient(134.17deg, #ffffff -9.81%, #e5e0ff 87.62%); linear-gradient(134.17deg, #ffffff -9.81%, #e5e0ff 87.62%);
} }
&.card-two { &.card-two {
background-image: url("/img/card-two-bgi.png"), background-image: url("/img/haditha/card-two-bgi.png"),
linear-gradient(329.16deg, #b9fde0 13.45%, #eefff8 63.57%); linear-gradient(329.16deg, #b9fde0 13.45%, #eefff8 63.57%);
} }
&.card-three { &.card-three {
background-image: url("/img/card-three-bgi.png"), background-image: url("/img/haditha/card-three-bgi.png"),
linear-gradient(134.17deg, #ffffff -9.81%, #e5e0ff 87.62%); linear-gradient(134.17deg, #ffffff -9.81%, #e5e0ff 87.62%);
} }
} }

View File

@ -9,7 +9,7 @@ const props = defineProps({
default: "نتیجه‌ای یافت نشد!", default: "نتیجه‌ای یافت نشد!",
}, },
noDataIcon: { noDataIcon: {
default: "/img/no-data.png", default: "/img/haditha/no-data.png",
}, },
}); });

View File

@ -4,7 +4,7 @@ import type { FormSubmitEvent } from "@nuxt/ui";
definePageMeta({ definePageMeta({
layout: false, layout: false,
name: "hadithLogin", name: "hadithaLogin",
}); });
useHead({ useHead({
title: `${import.meta.env.VITE_HADITH_PAGE_TITLE} | ورود`, title: `${import.meta.env.VITE_HADITH_PAGE_TITLE} | ورود`,
@ -45,17 +45,17 @@ async function onSubmit(event: FormSubmitEvent<Schema>) {
} }
// components declaration // components declaration
const HadithLayout = defineAsyncComponent( const HadithaLayout = defineAsyncComponent(
() => import("@hadith/layouts/HadithLayout.vue") () => import("@haditha/layouts/HadithaLayout.vue")
); );
const NavigationMenu = defineAsyncComponent( const NavigationMenu = defineAsyncComponent(
() => import("@hadith/components/hadith/NavigationMenu.vue") () => import("@haditha/components/haditha/NavigationMenu.vue")
); );
</script> </script>
<template> <template>
<HadithLayout> <HadithaLayout>
<div class="hadith-login-page h-full"> <div class="haditha-login-page h-full">
<div class="page-container pt-20 h-full"> <div class="page-container pt-20 h-full">
<navigation-menu></navigation-menu> <navigation-menu></navigation-menu>
@ -113,11 +113,11 @@ const NavigationMenu = defineAsyncComponent(
</UContainer> </UContainer>
</div> </div>
</div> </div>
</HadithLayout> </HadithaLayout>
</template> </template>
<style scoped> <style scoped>
.hadith-login-page { .haditha-login-page {
background: #f7fffd; background: #f7fffd;
.page-container { .page-container {
@ -165,7 +165,7 @@ const NavigationMenu = defineAsyncComponent(
</style> </style>
<style> <style>
.hadith-login-page { .haditha-login-page {
.page-container { .page-container {
.page-inner-container { .page-inner-container {
.input-elem { .input-elem {

Some files were not shown because too many files have changed in this diff Show More