5/29-add apk link
This commit is contained in:
Generated
-8
@@ -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
|
|
||||||
Generated
-10
@@ -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
@@ -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
@@ -1,6 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="VcsDirectoryMappings">
|
|
||||||
<mapping directory="" vcs="Git" />
|
|
||||||
</component>
|
|
||||||
</project>
|
|
||||||
Generated
+1447
-497
File diff suppressed because it is too large
Load Diff
@@ -387,15 +387,27 @@
|
|||||||
<p class="dlanding-appcta__text">
|
<p class="dlanding-appcta__text">
|
||||||
با اپلیکیشن بورس مس، در هر لحظه به قیمت لحظهای مس دسترسی داشته باشید و معاملات خود را بدون ریسک انجام دهید.
|
با اپلیکیشن بورس مس، در هر لحظه به قیمت لحظهای مس دسترسی داشته باشید و معاملات خود را بدون ریسک انجام دهید.
|
||||||
</p>
|
</p>
|
||||||
<button
|
<div class="dlanding-appcta__actions">
|
||||||
type="button"
|
<a
|
||||||
class="dlanding-appcta__btn"
|
v-if="apkDownloadLink"
|
||||||
:disabled="!canInstallWebApp"
|
class="dlanding-appcta__btn"
|
||||||
@click="installWebApp"
|
:href="apkDownloadLink"
|
||||||
>
|
target="_blank"
|
||||||
<img :src="downloadIcon" alt="" class="dlanding-appcta__btn-icon" width="18" height="18" />
|
rel="noopener noreferrer"
|
||||||
<span>نصب وب اپلیکیشن</span>
|
>
|
||||||
</button>
|
<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>
|
||||||
|
|
||||||
<div class="dlanding-appcta__visual" aria-hidden="true">
|
<div class="dlanding-appcta__visual" aria-hidden="true">
|
||||||
@@ -934,6 +946,7 @@ import {
|
|||||||
isPwaManifestReady,
|
isPwaManifestReady,
|
||||||
promptDeferredPwaInstall,
|
promptDeferredPwaInstall,
|
||||||
} from '@/modules/pwa/manifest'
|
} from '@/modules/pwa/manifest'
|
||||||
|
import { useSettingsStore } from '@/store/settingsStore'
|
||||||
import { useAboutUsPageContext } from '../composables/useAboutUsPage'
|
import { useAboutUsPageContext } from '../composables/useAboutUsPage'
|
||||||
|
|
||||||
const DesktopPwaGuideModal = import.meta.client
|
const DesktopPwaGuideModal = import.meta.client
|
||||||
@@ -969,6 +982,14 @@ const LIVE_CHART_RANGE_OPTIONS: Array<{
|
|||||||
]
|
]
|
||||||
|
|
||||||
const { config } = useAboutUsPageContext()
|
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 activeProduct = ref<'wire' | 'cathode'>('wire')
|
||||||
const liveChartRange = ref<LiveChartRange>('DAILY')
|
const liveChartRange = ref<LiveChartRange>('DAILY')
|
||||||
|
|||||||
@@ -1080,13 +1080,21 @@ body.dlanding-menu-open {
|
|||||||
line-height: 1.9;
|
line-height: 1.9;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&__actions {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
align-items: center;
|
||||||
|
gap: 10px;
|
||||||
|
margin-top: clamp(18px, 2.2vw, 28px);
|
||||||
|
}
|
||||||
|
|
||||||
&__btn {
|
&__btn {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
height: clamp(42px, 4.5vw, 48px);
|
height: clamp(42px, 4.5vw, 48px);
|
||||||
margin-top: clamp(18px, 2.2vw, 28px);
|
margin: 0;
|
||||||
padding: 0 clamp(18px, 2vw, 24px);
|
padding: 0 clamp(18px, 2vw, 24px);
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
@@ -1095,6 +1103,7 @@ body.dlanding-menu-open {
|
|||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
font-size: clamp(13px, 1.1vw, 14px);
|
font-size: clamp(13px, 1.1vw, 14px);
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
text-decoration: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
|
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
|
||||||
transition:
|
transition:
|
||||||
@@ -1104,6 +1113,7 @@ body.dlanding-menu-open {
|
|||||||
&:hover:not(:disabled) {
|
&:hover:not(:disabled) {
|
||||||
transform: translateY(-2px);
|
transform: translateY(-2px);
|
||||||
box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
|
box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
|
||||||
|
color: #1a2b47;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:disabled {
|
&:disabled {
|
||||||
@@ -3470,9 +3480,13 @@ body.dlanding-menu-open {
|
|||||||
max-width: 36em;
|
max-width: 36em;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__btn {
|
&__actions {
|
||||||
|
justify-content: center;
|
||||||
margin-top: 16px;
|
margin-top: 16px;
|
||||||
margin-inline: auto;
|
}
|
||||||
|
|
||||||
|
&__btn {
|
||||||
|
margin: 0;
|
||||||
height: 42px;
|
height: 42px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -4154,11 +4168,15 @@ body.dlanding-menu-open {
|
|||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&__actions {
|
||||||
|
justify-content: center;
|
||||||
|
margin-top: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
&__btn {
|
&__btn {
|
||||||
width: auto;
|
width: auto;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
margin-top: 16px;
|
margin: 0;
|
||||||
margin-inline: auto;
|
|
||||||
padding-inline: 20px;
|
padding-inline: 20px;
|
||||||
border-radius: 9999px;
|
border-radius: 9999px;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user