delete button kharid mes and edit start url
This commit is contained in:
@@ -242,8 +242,9 @@ function resolveInstallIcons(manifest: PwaManifest) {
|
||||
|
||||
|
||||
function prepareManifestForInstall(manifest: PwaManifest) {
|
||||
const scopeUrl = toSameOriginManifestUrl(manifest.scope ?? manifest.start_url, '/')
|
||||
const startUrl = toSameOriginManifestUrl(manifest.start_url, '/')
|
||||
// اپ نصبشده باید روی صفحه Login باز شود — نه / و نه /landing
|
||||
const startUrl = new URL('/', window.location.origin).href
|
||||
const scopeUrl = new URL('/', window.location.origin).href
|
||||
const icons = resolveInstallIcons(manifest)
|
||||
const name = manifest.short_name || manifest.name
|
||||
|
||||
|
||||
@@ -781,14 +781,6 @@
|
||||
در کمتر از سه دقیقه ثبتنام کنید و اولین خرید آنلاین مس خود را تجربه کنید.
|
||||
</p>
|
||||
<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
|
||||
type="button"
|
||||
class="dlanding-finalcta__secondary"
|
||||
|
||||
@@ -2131,7 +2131,6 @@ body.dlanding-menu-open {
|
||||
margin-top: clamp(24px, 3vw, 32px);
|
||||
}
|
||||
|
||||
&__primary,
|
||||
&__secondary {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
@@ -2139,7 +2138,10 @@ body.dlanding-menu-open {
|
||||
gap: 8px;
|
||||
height: clamp(44px, 4.8vw, 50px);
|
||||
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-size: clamp(13px, 1.1vw, 14px);
|
||||
font-weight: 700;
|
||||
@@ -2151,30 +2153,6 @@ body.dlanding-menu-open {
|
||||
|
||||
&:hover {
|
||||
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);
|
||||
}
|
||||
}
|
||||
@@ -4257,7 +4235,6 @@ body.dlanding-menu-open {
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
&__primary,
|
||||
&__secondary {
|
||||
width: 100%;
|
||||
height: 48px;
|
||||
|
||||
Reference in New Issue
Block a user