Skip to content

Commit 79725e2

Browse files
committed
add ts support
Signed-off-by: 82Flex <82flex@gmail.com>
1 parent 79a3b23 commit 79725e2

7 files changed

Lines changed: 200 additions & 83 deletions

File tree

29.6 KB
Loading

docs/tutorial/intro.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This documentation will guide you through the process of getting started with XX
1515
## Requirements
1616

1717
- XXTouch Elite is designed to work on iPhone/iPad with iOS 14 and later.
18-
- You need to [jailbreak your device](https://ios.cfw.guide/types-of-jailbreak/) to use XXTouch Elite. Following jailbreak methods are supported and tested:
18+
- XXTouch Elite supports two installation options: [Jailbreak](https://ios.cfw.guide/types-of-jailbreak/) or [TrollStore](https://ios.cfw.guide/installing-trollstore) (where supported). The following jailbreak methods are supported and tested:
1919
- [unc0ver](https://unc0ver.dev/)
2020
- [Taurine](https://taurine.app/)
2121
- [Palera1n](https://palera.in/) (Rootless)
@@ -29,6 +29,8 @@ This documentation will guide you through the process of getting started with XX
2929
2. Install “XXTouch Elite” from Sileo package manager.
3030
3. You may need to restart your device after installation.
3131

32+
If you use TrollStore, on supported devices share the `.tipa` installer to your device via AirDrop or other methods, then choose "TrollStore" to install.
33+
3234
![Requirements.003](./img/Requirements.003.png)
3335

3436
## Updating your XXTouch Elite version
29.6 KB
Loading

i18n/zh-Hans/docusaurus-plugin-content-docs/current/tutorial/intro.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ XXTouch Elite 使用 [Lua](https://www.lua.org/) (v5.3) 作为脚本语言,
1515
## 前置条件
1616

1717
- XXTouch Elite 设计用于运行 iOS 14 及以上版本的 iPhone 或 iPad。
18-
- 你需要 [越狱设备](https://ios.cfw.guide/types-of-jailbreak/) 才能使用 XXTouch Elite。以下越狱方法已支持并测试:
18+
- XXTouch Elite 支持两种安装方式:[越狱](https://ios.cfw.guide/types-of-jailbreak/) [TrollStore](https://ios.cfw.guide/installing-trollstore)(在受支持的设备/系统上)。以下越狱方法已支持并测试:
1919
- [unc0ver](https://unc0ver.dev/)
2020
- [Taurine](https://taurine.app/)
2121
- [Palera1n](https://palera.in/)(Rootless)
@@ -26,9 +26,11 @@ XXTouch Elite 使用 [Lua](https://www.lua.org/) (v5.3) 作为脚本语言,
2626
## 安装
2727

2828
1. 从 Havoc 源购买 “[XXTouch Elite](https://havoc.app/package/xxtouchelite)”。
29-
2. 从 Sileo 包管理器安装“XXTouch Elite”。
29+
2. 从 Sileo 包管理器安装 “XXTouch Elite”。
3030
3. 安装后可能需要重启设备。
3131

32+
如果你使用 TrollStore,请在受支持的设备上使用隔空投送 AirDrop 或其他方式分享 `.tipa` 安装包到设备上,选择 “TrollStore” 进行安装。
33+
3234
![Requirements.003](./img/Requirements.003.png)
3335

3436
## 更新 XXTouch Elite 版本

src/pages/index.module.css

Lines changed: 63 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
font-size: 3rem;
5656
margin-bottom: 1rem;
5757
background: linear-gradient(90deg, #ffffff 0%, #e0e7ff 100%);
58+
background-clip: text;
5859
-webkit-background-clip: text;
5960
-webkit-text-fill-color: transparent;
6061
animation: fadeInUp 0.8s ease-out;
@@ -64,6 +65,7 @@
6465
position: relative;
6566
display: inline-block;
6667
background: linear-gradient(90deg, #63c2ff 0%, #e0e7ff 100%);
68+
background-clip: text;
6769
-webkit-background-clip: text;
6870
-webkit-text-fill-color: transparent;
6971
font-style: italic;
@@ -167,7 +169,8 @@
167169
letter-spacing: 0.3px !important;
168170
}
169171

170-
.buttonIcon, .downloadIcon {
172+
.buttonIcon,
173+
.downloadIcon {
171174
transition: transform 0.3s ease;
172175
font-size: 1.1rem;
173176
}
@@ -237,6 +240,7 @@
237240
font-size: 2.2rem;
238241
margin-bottom: 0.5rem;
239242
background: linear-gradient(90deg, #4b6cb7 0%, #182848 100%);
243+
background-clip: text;
240244
-webkit-background-clip: text;
241245
-webkit-text-fill-color: transparent;
242246
}
@@ -261,6 +265,7 @@
261265
.feature {
262266
display: flex;
263267
margin-bottom: 2rem;
268+
width: 100%;
264269
}
265270

266271
.featureCard {
@@ -273,6 +278,7 @@
273278
display: flex;
274279
flex-direction: column;
275280
align-items: flex-start;
281+
width: 100%;
276282
}
277283

278284
.featureCard:hover {
@@ -309,12 +315,29 @@
309315
}
310316

311317
.compatList {
312-
display: flex;
313-
flex-wrap: wrap;
314-
justify-content: center;
318+
display: grid;
319+
grid-template-columns: repeat(2, 160px);
315320
gap: 2rem;
316321
margin: 2rem auto;
317322
max-width: 1000px;
323+
justify-content: center;
324+
/* center the grid within container */
325+
justify-items: center;
326+
/* center items in each cell */
327+
}
328+
329+
/* Medium screens: 3 columns => rows become 3+2 for 5 items */
330+
@media (min-width: 640px) {
331+
.compatList {
332+
grid-template-columns: repeat(3, 160px);
333+
}
334+
}
335+
336+
/* Large screens: 5 columns => 5 items on one row */
337+
@media (min-width: 960px) {
338+
.compatList {
339+
grid-template-columns: repeat(5, 160px);
340+
}
318341
}
319342

320343
.compatList span {
@@ -392,7 +415,7 @@
392415
right: 0;
393416
bottom: 0;
394417
background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 20%),
395-
radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 20%);
418+
radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 20%);
396419
opacity: 0.6;
397420
}
398421

@@ -532,13 +555,19 @@ html[data-theme='dark'] .buttonPrimary {
532555

533556
html[data-theme='dark'] .sectionTitle {
534557
background: linear-gradient(90deg, #63b3ed 0%, #4299e1 100%);
558+
background-clip: text;
535559
-webkit-background-clip: text;
536560
-webkit-text-fill-color: transparent;
537561
}
538562

539563
@keyframes fadeIn {
540-
from { opacity: 0; }
541-
to { opacity: 1; }
564+
from {
565+
opacity: 0;
566+
}
567+
568+
to {
569+
opacity: 1;
570+
}
542571
}
543572

544573
@keyframes slideIn {
@@ -549,31 +578,47 @@ html[data-theme='dark'] .sectionTitle {
549578
}
550579

551580
@keyframes slideInUnderline {
552-
0% { transform: scaleX(0); }
553-
100% { transform: scaleX(1); }
581+
0% {
582+
transform: scaleX(0);
583+
}
584+
585+
100% {
586+
transform: scaleX(1);
587+
}
554588
}
555589

556590
@keyframes fadeInUp {
557591
from {
558592
transform: translateY(20px);
559593
opacity: 0;
560594
}
595+
561596
to {
562597
transform: translateY(0);
563598
opacity: 1;
564599
}
565600
}
566601

567602
@keyframes phoneFloat {
568-
0%, 100% { transform: rotate(-5deg) translateY(0); }
569-
50% { transform: rotate(-5deg) translateY(-10px); }
603+
604+
0%,
605+
100% {
606+
transform: rotate(-5deg) translateY(0);
607+
}
608+
609+
50% {
610+
transform: rotate(-5deg) translateY(-10px);
611+
}
570612
}
571613

572614
@keyframes pulse {
573-
0%, 100% {
615+
616+
0%,
617+
100% {
574618
transform: scale(1);
575619
opacity: 0.3;
576620
}
621+
577622
50% {
578623
transform: scale(1.1);
579624
opacity: 0.5;
@@ -616,7 +661,9 @@ html[data-theme='dark'] .sectionTitle {
616661
font-size: 2rem;
617662
}
618663

619-
.features, .compatibility, .cta {
664+
.features,
665+
.compatibility,
666+
.cta {
620667
padding: 4rem 1rem;
621668
}
622669

@@ -666,6 +713,7 @@ html[data-theme='dark'] .sectionTitle {
666713

667714
.jailbreakItem {
668715
width: calc(50% - 1.5rem);
716+
min-width: 160px;
669717
}
670718

671719
.sectionTitle {
@@ -713,7 +761,7 @@ html[data-theme='dark'] .sectionTitle {
713761

714762
.jailbreakItem {
715763
width: calc(50% - 1rem);
716-
min-width: 100px;
764+
min-width: 160px;
717765
padding: 1.2rem;
718766
}
719767

@@ -748,4 +796,4 @@ html[data-theme='dark'] .sectionTitle {
748796
.jailbreakItem span {
749797
font-size: 0.9rem;
750798
}
751-
}
799+
}

0 commit comments

Comments
 (0)