Skip to content

Commit 489f2ce

Browse files
committed
Update docs
1 parent ad0ea31 commit 489f2ce

File tree

9 files changed

+53
-14
lines changed

9 files changed

+53
-14
lines changed

.vitepress/theme/components/HomeLayout.vue

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ import "swiper/css";
66
import "swiper/css/navigation";
77
import "swiper/css/pagination";
88
9+
import GUIforClash from "/components/GUIforClash.vue";
10+
import GUIforSingBox from "/components/GUIforSingBox.vue";
11+
912
const modules = [Navigation, Pagination];
1013
</script>
1114

@@ -20,10 +23,10 @@ const modules = [Navigation, Pagination];
2023
navigation
2124
>
2225
<SwiperSlide class="swiper-slide">
23-
<iframe src="/apps/gfc/"></iframe>
26+
<GUIforClash />
2427
</SwiperSlide>
2528
<SwiperSlide class="swiper-slide">
26-
<iframe src="/apps/gfs/"></iframe>
29+
<GUIforSingBox />
2730
</SwiperSlide>
2831
</Swiper>
2932
</div>
@@ -41,14 +44,6 @@ const modules = [Navigation, Pagination];
4144
align-items: center;
4245
padding: 40px;
4346
}
44-
iframe {
45-
width: 800px;
46-
height: 540px;
47-
border: none;
48-
border-radius: 12px;
49-
overflow: hidden;
50-
box-shadow: 0 0 16px rgba(0, 0, 0, 0.4);
51-
}
5247
}
5348
5449
@media screen and (max-width: 768px) {

components/GUIforClash.vue

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<template>
2+
<iframe src="/apps/gfc/"></iframe>
3+
</template>
4+
5+
<style scoped>
6+
iframe {
7+
width: 800px;
8+
height: 540px;
9+
border: none;
10+
border-radius: 12px;
11+
overflow: hidden;
12+
box-shadow: 0 0 16px rgba(0, 0, 0, 0.4);
13+
}
14+
</style>

components/GUIforSingBox.vue

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<template>
2+
<iframe src="/apps/gfs/"></iframe>
3+
</template>
4+
5+
<style scoped>
6+
iframe {
7+
width: 800px;
8+
height: 540px;
9+
border: none;
10+
border-radius: 12px;
11+
overflow: hidden;
12+
box-shadow: 0 0 16px rgba(0, 0, 0, 0.4);
13+
}
14+
</style>

en/guide/gfc/index.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
<script setup>
2+
import GUIforClash from "/components/GUIforClash.vue";
3+
</script>
4+
15
# GUI.for.Clash
26

37
A GUI client application for Clash / (mihomo / meta), project page, [GUI.for.Clash](https://github.com/GUI-for-Cores/GUI.for.Clash)
48

5-
![](/zh/resources/gfc/preview.png)
9+
<GUIforClash />

en/guide/gfs/index.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
<script setup>
2+
import GUIforSingBox from "/components/GUIforSingBox.vue";
3+
</script>
4+
15
# GUI.for.SingBox
26

37
A GUI client application for sing-box, project page, [GUI.for.SingBox](https://github.com/GUI-for-Cores/GUI.for.SingBox)
48

5-
![](/zh/resources/gfs/preview.png)
9+
<GUIforSingBox />

zh/guide/gfc/index.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
<script setup>
2+
import GUIforClash from "/components/GUIforClash.vue";
3+
</script>
4+
15
# GUI.for.Clash
26

37
一个 Clash / (mihomo / meta) 的 GUI 客户端,项目地址,[GUI.for.Clash](https://github.com/GUI-for-Cores/GUI.for.Clash)
48

5-
![](/zh/resources/gfc/preview.png)
9+
<GUIforClash />

zh/guide/gfs/index.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
<script setup>
2+
import GUIforSingBox from "/components/GUIforSingBox.vue";
3+
</script>
4+
15
# GUI.for.SingBox
26

37
一个 SingBox 的 GUI 客户端,项目地址,[GUI.for.SingBox](https://github.com/GUI-for-Cores/GUI.for.SingBox)
48

5-
![](/zh/resources/gfs/preview.png)
9+
<GUIforSingBox />

zh/resources/gfc/preview.png

-90.1 KB
Binary file not shown.

zh/resources/gfs/preview.png

-79.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)