delete button kharid mes and edit start url

This commit is contained in:
2026-08-09 13:52:56 +03:30
parent 5d660783da
commit e64d237182
3 changed files with 7 additions and 37 deletions
+3 -2
View File
@@ -242,8 +242,9 @@ function resolveInstallIcons(manifest: PwaManifest) {
function prepareManifestForInstall(manifest: PwaManifest) { function prepareManifestForInstall(manifest: PwaManifest) {
const scopeUrl = toSameOriginManifestUrl(manifest.scope ?? manifest.start_url, '/') // اپ نصب‌شده باید روی صفحه Login باز شود — نه / و نه /landing
const startUrl = toSameOriginManifestUrl(manifest.start_url, '/') const startUrl = new URL('/', window.location.origin).href
const scopeUrl = new URL('/', window.location.origin).href
const icons = resolveInstallIcons(manifest) const icons = resolveInstallIcons(manifest)
const name = manifest.short_name || manifest.name const name = manifest.short_name || manifest.name
@@ -781,14 +781,6 @@
در کمتر از سه دقیقه ثبت‌نام کنید و اولین خرید آنلاین مس خود را تجربه کنید. در کمتر از سه دقیقه ثبت‌نام کنید و اولین خرید آنلاین مس خود را تجربه کنید.
</p> </p>
<div class="dlanding-finalcta__actions"> <div class="dlanding-finalcta__actions">
<button
type="button"
class="dlanding-finalcta__primary"
@click="goToLoginApp"
>
خرید مس
<BasicIcon icon="vuesax-linear:arrow-left" size="16" color="#ffffff" />
</button>
<button <button
type="button" type="button"
class="dlanding-finalcta__secondary" class="dlanding-finalcta__secondary"
@@ -2131,7 +2131,6 @@ body.dlanding-menu-open {
margin-top: clamp(24px, 3vw, 32px); margin-top: clamp(24px, 3vw, 32px);
} }
&__primary,
&__secondary { &__secondary {
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
@@ -2139,7 +2138,10 @@ body.dlanding-menu-open {
gap: 8px; gap: 8px;
height: clamp(44px, 4.8vw, 50px); height: clamp(44px, 4.8vw, 50px);
padding: 0 clamp(20px, 2.4vw, 28px); padding: 0 clamp(20px, 2.4vw, 28px);
border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.28);
border-radius: 40px;
background: rgba(255, 255, 255, 0.04);
color: #ffffff;
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;
@@ -2151,30 +2153,6 @@ body.dlanding-menu-open {
&:hover { &:hover {
transform: translateY(-2px); transform: translateY(-2px);
}
}
&__primary {
width: 191px;
height: 54px;
border: none;
border-radius: 40px;
background: #c9895d;
color: #ffffff;
box-shadow: 0 10px 28px rgba(201, 137, 93, 0.35);
&:hover {
box-shadow: 0 14px 32px rgba(201, 137, 93, 0.42);
}
}
&__secondary {
border: 1px solid rgba(255, 255, 255, 0.28);
border-radius: 40px;
background: rgba(255, 255, 255, 0.04);
color: #ffffff;
&:hover {
background: rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.08);
} }
} }
@@ -4257,7 +4235,6 @@ body.dlanding-menu-open {
gap: 10px; gap: 10px;
} }
&__primary,
&__secondary { &__secondary {
width: 100%; width: 100%;
height: 48px; height: 48px;