|
1 | 1 | <ion-content *transloco="let t">
|
2 |
| - <ion-slides #slides pager> |
| 2 | + <div class="top-section"> |
| 3 | + <ion-img src="/assets/images/icons/capture-rebrand-wordmark.svg"> </ion-img> |
| 4 | + <button *ngIf="!isLastSlide" (click)="skipSlides()" mat-stroked-button> |
| 5 | + {{ t('onboarding.skip') }} |
| 6 | + </button> |
| 7 | + </div> |
| 8 | + <ion-slides |
| 9 | + #slides |
| 10 | + [pager]="isLastSlide === false" |
| 11 | + (ionSlideDidChange)="ionSlideDidChange($event)" |
| 12 | + > |
3 | 13 | <ion-slide>
|
4 |
| - <ng-container> |
5 |
| - <svg |
6 |
| - version="1.1" |
7 |
| - id="圖層_1" |
8 |
| - xmlns="http://www.w3.org/2000/svg" |
9 |
| - xmlns:xlink="http://www.w3.org/1999/xlink" |
10 |
| - x="0px" |
11 |
| - y="0px" |
12 |
| - viewBox="0 0 360 639" |
13 |
| - enable-background="new 0 0 360 639" |
14 |
| - xml:space="preserve" |
15 |
| - > |
16 |
| - <image |
17 |
| - overflow="visible" |
18 |
| - width="360" |
19 |
| - height="639" |
20 |
| - xlink:href="/assets/images/tutorial-1.png" |
21 |
| - ></image> |
22 |
| - <text transform="matrix(1 0 0 1 88.6169 279.2624)"> |
23 |
| - <tspan x="0" y="0" fill="#FFFFFF" font-size="24px"> |
24 |
| - {{ t('tutorial.switchBetween0') }} |
25 |
| - </tspan> |
26 |
| - <tspan x="-12.6" y="28.8" fill="#FFFFFF" font-size="24px"> |
27 |
| - {{ t('tutorial.switchBetween1') }} |
28 |
| - </tspan> |
29 |
| - <tspan x="4.8" y="57.6" fill="#FFFFFF" font-size="24px"> |
30 |
| - {{ t('tutorial.switchBetween2') }} |
31 |
| - </tspan> |
32 |
| - </text> |
33 |
| - <text |
34 |
| - transform="matrix(1 0 0 1 100 519.6104)" |
35 |
| - fill="#FFFFFF" |
36 |
| - font-size="24px" |
37 |
| - > |
38 |
| - {{ t('tutorial.viewYourCollections') }} |
39 |
| - </text> |
40 |
| - </svg> |
41 |
| - </ng-container> |
42 |
| - <button (click)="slides.slideNext()" mat-stroked-button> |
43 |
| - {{ t('next') }} |
44 |
| - </button> |
| 14 | + <img src="/assets/images/onboarding/image-1.jpeg" class="slide-image" /> |
| 15 | + <div class="slide-text"> |
| 16 | + <div class="title">{{ t('onboarding.slide1.title') }}</div> |
| 17 | + <div class="spacer"></div> |
| 18 | + <div class="subtitle">{{ t('onboarding.slide1.subtitle') }}</div> |
| 19 | + </div> |
| 20 | + <div class="mat-button-height-placeholder"></div> |
45 | 21 | </ion-slide>
|
46 | 22 | <ion-slide>
|
47 |
| - <ng-container> |
48 |
| - <svg |
49 |
| - version="1.1" |
50 |
| - id="圖層_1" |
51 |
| - xmlns="http://www.w3.org/2000/svg" |
52 |
| - xmlns:xlink="http://www.w3.org/1999/xlink" |
53 |
| - x="0px" |
54 |
| - y="0px" |
55 |
| - viewBox="0 0 360 639" |
56 |
| - enable-background="new 0 0 360 639" |
57 |
| - xml:space="preserve" |
58 |
| - > |
59 |
| - <image |
60 |
| - overflow="visible" |
61 |
| - width="359" |
62 |
| - height="639" |
63 |
| - xlink:href="/assets/images/tutorial-2.png" |
64 |
| - ></image> |
65 |
| - <text |
66 |
| - transform="matrix(1 0 0 1 90 460.2997)" |
67 |
| - fill="#FFFFFF" |
68 |
| - font-size="24px" |
69 |
| - > |
70 |
| - {{ t('tutorial.createCaptures') }} |
71 |
| - </text> |
72 |
| - <text |
73 |
| - transform="matrix(1 0 0 1 20 397.8444)" |
74 |
| - fill="#FFFFFF" |
75 |
| - font-size="24px" |
76 |
| - > |
77 |
| - {{ t('tutorial.viewCreatedCaptures') }} |
78 |
| - </text> |
79 |
| - </svg> |
80 |
| - </ng-container> |
81 |
| - <button (click)="slides.slideNext()" mat-stroked-button> |
82 |
| - {{ t('next') }} |
83 |
| - </button> |
| 23 | + <img src="/assets/images/onboarding/image-2.jpeg" class="slide-image" /> |
| 24 | + <div class="slide-text"> |
| 25 | + <div class="title">{{ t('onboarding.slide2.title') }}</div> |
| 26 | + <div class="spacer"></div> |
| 27 | + <div class="subtitle">{{ t('onboarding.slide2.subtitle') }}</div> |
| 28 | + </div> |
| 29 | + <div class="mat-button-height-placeholder"></div> |
84 | 30 | </ion-slide>
|
85 | 31 | <ion-slide>
|
86 |
| - <ng-container> |
87 |
| - <svg |
88 |
| - version="1.1" |
89 |
| - id="圖層_1" |
90 |
| - xmlns="http://www.w3.org/2000/svg" |
91 |
| - xmlns:xlink="http://www.w3.org/1999/xlink" |
92 |
| - x="0px" |
93 |
| - y="0px" |
94 |
| - viewBox="0 0 360 639" |
95 |
| - enable-background="new 0 0 360 639" |
96 |
| - xml:space="preserve" |
97 |
| - > |
98 |
| - <image |
99 |
| - overflow="visible" |
100 |
| - width="360" |
101 |
| - height="639" |
102 |
| - xlink:href="/assets/images/tutorial-3.png" |
103 |
| - ></image> |
104 |
| - <text |
105 |
| - transform="matrix(1 0 0 1 158.3539 116.3548)" |
106 |
| - fill="#FFFFFF" |
107 |
| - font-size="24px" |
108 |
| - > |
109 |
| - {{ t('tutorial.viewMore') }} |
110 |
| - </text> |
111 |
| - <text |
112 |
| - transform="matrix(1 0 0 1 40 480)" |
113 |
| - fill="#FFFFFF" |
114 |
| - font-size="24px" |
115 |
| - > |
116 |
| - {{ t('tutorial.openCertificate') }} |
117 |
| - </text> |
118 |
| - </svg> |
119 |
| - </ng-container> |
120 |
| - <button (click)="slides.slideNext()" mat-stroked-button> |
121 |
| - {{ t('next') }} |
122 |
| - </button> |
| 32 | + <img src="/assets/images/onboarding/image-3.jpeg" class="slide-image" /> |
| 33 | + <div class="slide-text"> |
| 34 | + <div class="title">{{ t('onboarding.slide3.title') }}</div> |
| 35 | + <div class="spacer"></div> |
| 36 | + <div class="subtitle">{{ t('onboarding.slide3.subtitle') }}</div> |
| 37 | + </div> |
| 38 | + <div class="mat-button-height-placeholder"></div> |
123 | 39 | </ion-slide>
|
124 | 40 | <ion-slide>
|
125 |
| - <ng-container> |
126 |
| - <svg |
127 |
| - version="1.1" |
128 |
| - id="圖層_1" |
129 |
| - xmlns="http://www.w3.org/2000/svg" |
130 |
| - xmlns:xlink="http://www.w3.org/1999/xlink" |
131 |
| - x="0px" |
132 |
| - y="0px" |
133 |
| - viewBox="0 0 360 639" |
134 |
| - enable-background="new 0 0 360 639" |
135 |
| - xml:space="preserve" |
136 |
| - > |
137 |
| - <image |
138 |
| - overflow="visible" |
139 |
| - width="360" |
140 |
| - height="639" |
141 |
| - xlink:href="/assets/images/tutorial-4.png" |
142 |
| - ></image> |
143 |
| - <text |
144 |
| - transform="matrix(1 0 0 1 127.9265 65)" |
145 |
| - fill="#000" |
146 |
| - font-size="24px" |
147 |
| - > |
148 |
| - {{ t('tutorial.histories') }} |
149 |
| - </text> |
150 |
| - <g> |
151 |
| - <text |
152 |
| - transform="matrix(1 0 0 1 159.2167 200)" |
153 |
| - fill="#FFFFFF" |
154 |
| - font-size="24px" |
155 |
| - > |
156 |
| - {{ t('tutorial.messageInbox') }} |
157 |
| - </text> |
158 |
| - </g> |
159 |
| - </svg> |
160 |
| - </ng-container> |
161 |
| - <button routerLink="/home" mat-stroked-button> |
162 |
| - {{ t('start') }} |
| 41 | + <img src="/assets/images/onboarding/image-4.jpeg" class="slide-image" /> |
| 42 | + <div class="slide-text"> |
| 43 | + <div class="title">{{ t('onboarding.slide4.title') }}</div> |
| 44 | + <div class="spacer"></div> |
| 45 | + <div class="subtitle">{{ t('onboarding.slide4.subtitle') }}</div> |
| 46 | + </div> |
| 47 | + <button |
| 48 | + routerLink="/home" |
| 49 | + color="primary" |
| 50 | + mat-raised-button |
| 51 | + class="explore-catpure" |
| 52 | + > |
| 53 | + {{ t('onboarding.exploreCapture') | uppercase }} |
163 | 54 | </button>
|
164 | 55 | </ion-slide>
|
165 | 56 | </ion-slides>
|
| 57 | + |
| 58 | + <div class="bottom-section"></div> |
166 | 59 | </ion-content>
|
0 commit comments