blob: 45c1a36344784aabe88aeaea84f2bc4c5c508239 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
|
<script lang="ts" context="module">
import type { StaticMessagePage } from '~/jet/models';
</script>
<script lang="ts">
import { getI18n } from '~/stores/i18n';
export let page: StaticMessagePage;
const i18n = getI18n();
</script>
<div class="static-message-page-container">
<div class="static-message-text-wrapper">
{#if page.titleLocKey}
<h1>{$i18n.t(page.titleLocKey)}</h1>
{/if}
<section>
{#if page.contentType === 'win-back' || page.contentType === 'contingent-price'}
<p>
{$i18n.t('ASE.Web.AppStore.WinBack.Subhead')}
</p>
<p>
<b>
{$i18n.t('ASE.Web.AppStore.WinBack.DirectionalTitle')}
</b>
</p>
<ul>
<li>
{$i18n.t('ASE.Web.AppStore.WinBack.Update.iOS')}
</li>
<li>
{$i18n.t('ASE.Web.AppStore.WinBack.Update.macOS')}
</li>
</ul>
<p>
{$i18n.t('ASE.Web.AppStore.WinBack.Body')}
</p>
{:else if page.contentType === 'carrier'}
<p class="carrier__instructions">
{$i18n.t('ASE.Web.AppStore.Carrier.Update.iOS')}
</p>
<p>
{$i18n.t('ASE.Web.AppStore.Carrier.Body')}
</p>
{:else if page.contentType === 'invoice'}
<p class="invoice__instructions">
{$i18n.t('ASE.Web.AppStore.Invoice.Body')}
</p>
{/if}
</section>
</div>
</div>
<style lang="scss">
@use 'ac-sasskit/modules/viewportcontent/core' as *;
@use 'amp/stylekit/core/viewports' as *;
.static-message-page-container {
display: flex;
flex-grow: 1;
width: 100%;
max-width: viewport-content-for(xlarge);
margin: 0 auto;
align-items: center;
}
@media (--range-sidebar-visible-up) {
.static-message-page-container {
height: 100%;
}
}
.static-message-text-wrapper {
display: inline-flex;
flex-direction: column;
align-items: flex-start;
width: auto;
margin: 0 auto;
}
.static-message-page-container h1 {
padding: 13px var(--bodyGutter) 0;
font: var(--header-emphasized);
color: var(--systemPrimary, #000);
position: relative;
z-index: 1;
margin-bottom: 16px;
}
.static-message-page-container section {
margin: 0 var(--bodyGutter);
font: var(--title-3);
}
.static-message-page-container li {
list-style-type: disc;
}
.static-message-page-container p,
.static-message-page-container ul {
margin-bottom: 16px;
text-wrap: pretty;
}
.static-message-page-container ul {
padding-inline-start: 1em;
}
</style>
|