5/29-add apk link

This commit is contained in:
2026-08-20 17:17:37 +03:30
parent 90832f269a
commit 2bdc9e9ccb
8 changed files with 5438 additions and 2857 deletions
-8
View File
@@ -1,8 +0,0 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml
-10
View File
@@ -1,10 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/../../hamkar/admin/.idea/admin.iml" filepath="$PROJECT_DIR$/../../hamkar/admin/.idea/admin.iml" />
<module fileurl="file://$PROJECT_DIR$/.idea/khanegi_boursecu_landing.iml" filepath="$PROJECT_DIR$/.idea/khanegi_boursecu_landing.iml" />
<module fileurl="file://$PROJECT_DIR$/../../hamkar/user/.idea/user.iml" filepath="$PROJECT_DIR$/../../hamkar/user/.idea/user.iml" />
</modules>
</component>
</project>
Generated
-19
View File
@@ -1,19 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="MessDetectorOptionsConfiguration">
<option name="transferred" value="true" />
</component>
<component name="PHPCSFixerOptionsConfiguration">
<option name="transferred" value="true" />
</component>
<component name="PHPCodeSnifferOptionsConfiguration">
<option name="highlightLevel" value="WARNING" />
<option name="transferred" value="true" />
</component>
<component name="PhpStanOptionsConfiguration">
<option name="transferred" value="true" />
</component>
<component name="PsalmOptionsConfiguration">
<option name="transferred" value="true" />
</component>
</project>
Generated
-6
View File
@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>
+1447 -497
View File
File diff suppressed because it is too large Load Diff
@@ -387,15 +387,27 @@
<p class="dlanding-appcta__text">
با اپلیکیشن بورس مس، در هر لحظه به قیمت لحظه‌ای مس دسترسی داشته باشید و معاملات خود را بدون ریسک انجام دهید.
</p>
<button
type="button"
class="dlanding-appcta__btn"
:disabled="!canInstallWebApp"
@click="installWebApp"
>
<img :src="downloadIcon" alt="" class="dlanding-appcta__btn-icon" width="18" height="18" />
<span>نصب وب اپلیکیشن</span>
</button>
<div class="dlanding-appcta__actions">
<a
v-if="apkDownloadLink"
class="dlanding-appcta__btn"
:href="apkDownloadLink"
target="_blank"
rel="noopener noreferrer"
>
<img :src="downloadIcon" alt="" class="dlanding-appcta__btn-icon" width="18" height="18" />
<span>دانلود اپ اندروید</span>
</a>
<button
type="button"
class="dlanding-appcta__btn"
:disabled="!canInstallWebApp"
@click="installWebApp"
>
<img :src="downloadIcon" alt="" class="dlanding-appcta__btn-icon" width="18" height="18" />
<span>نصب وب اپلیکیشن</span>
</button>
</div>
</div>
<div class="dlanding-appcta__visual" aria-hidden="true">
@@ -934,6 +946,7 @@ import {
isPwaManifestReady,
promptDeferredPwaInstall,
} from '@/modules/pwa/manifest'
import { useSettingsStore } from '@/store/settingsStore'
import { useAboutUsPageContext } from '../composables/useAboutUsPage'
const DesktopPwaGuideModal = import.meta.client
@@ -969,6 +982,14 @@ const LIVE_CHART_RANGE_OPTIONS: Array<{
]
const { config } = useAboutUsPageContext()
const settingsStore = useSettingsStore()
const apkDownloadLink = computed(() => {
const value = settingsStore.getSettingByKey('apk_download_link')
if (value == null) return null
const trimmed = String(value).trim()
return trimmed || null
})
const activeProduct = ref<'wire' | 'cathode'>('wire')
const liveChartRange = ref<LiveChartRange>('DAILY')
@@ -1080,13 +1080,21 @@ body.dlanding-menu-open {
line-height: 1.9;
}
&__actions {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 10px;
margin-top: clamp(18px, 2.2vw, 28px);
}
&__btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
height: clamp(42px, 4.5vw, 48px);
margin-top: clamp(18px, 2.2vw, 28px);
margin: 0;
padding: 0 clamp(18px, 2vw, 24px);
border: none;
border-radius: 16px;
@@ -1095,6 +1103,7 @@ body.dlanding-menu-open {
font-family: inherit;
font-size: clamp(13px, 1.1vw, 14px);
font-weight: 700;
text-decoration: none;
cursor: pointer;
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
transition:
@@ -1104,6 +1113,7 @@ body.dlanding-menu-open {
&:hover:not(:disabled) {
transform: translateY(-2px);
box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
color: #1a2b47;
}
&:disabled {
@@ -3470,9 +3480,13 @@ body.dlanding-menu-open {
max-width: 36em;
}
&__btn {
&__actions {
justify-content: center;
margin-top: 16px;
margin-inline: auto;
}
&__btn {
margin: 0;
height: 42px;
}
@@ -4154,11 +4168,15 @@ body.dlanding-menu-open {
font-size: 13px;
}
&__actions {
justify-content: center;
margin-top: 16px;
}
&__btn {
width: auto;
max-width: 100%;
margin-top: 16px;
margin-inline: auto;
margin: 0;
padding-inline: 20px;
border-radius: 9999px;
}
+3938 -2303
View File
File diff suppressed because it is too large Load Diff