Skip to content

Commit 8557fbd

Browse files
authored
Merge pull request #8 from emNavi/dev
Dev
2 parents 79a8982 + 52a5d44 commit 8557fbd

27 files changed

+696
-793
lines changed

docs/.vuepress/client.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,28 @@ import { defineClientConfig } from 'vuepress/client'
22
import RepoCard from 'vuepress-theme-plume/features/RepoCard.vue'
33
import CustomComponent from './theme/components/Custom.vue'
44
import Intro from './theme/components/intro.vue'
5-
import Feature1 from './theme/components/feature1.vue'
6-
import Feature2 from './theme/components/feature2.vue'
7-
import Feature3 from './theme/components/feature3.vue'
5+
86
import LrShow from './theme/components/lrshow.vue'
97
import BigTitle from './theme/components/bigtitle.vue'
108
import Spec from './theme/components/spec.vue'
119
import UsageSteps from './theme/components/usage_steps.vue'
1210
import BlankRow from './theme/components/blank_row.vue'
11+
import FeatureType1 from './theme/components/feature_type_1.vue'
12+
import FeatureType2 from './theme/components/feature_type_2.vue'
13+
1314
import './theme/styles/custom.css'
1415

1516
export default defineClientConfig({
1617
enhance({ app }) {
1718
app.component('RepoCard', RepoCard)
1819
app.component('CustomComponent', CustomComponent)
1920
app.component('Intro', Intro)
20-
app.component('Feature1', Feature1)
21-
app.component('Feature2', Feature2)
22-
app.component('Feature3', Feature3)
2321
app.component('LrShow', LrShow)
2422
app.component('BigTitle', BigTitle)
2523
app.component('Spec',Spec)
2624
app.component('UsageSteps',UsageSteps)
2725
app.component('BlankRow',BlankRow)
26+
app.component('FeatureType1', FeatureType1)
27+
app.component('FeatureType2', FeatureType2)
2828
},
2929
})

docs/.vuepress/navbar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const zhNavbar = defineNavbarConfig([
1010
{ text: 'X280 飞行平台', link: '/notes/X280/README.md' },
1111
]
1212
},
13-
// {text: '视觉定位导航套件', link: '/notes/GhostLoc/README.md'}
13+
{text: '视觉定位导航套件', link: '/notes/GhostLoc/README.md'}
1414
// {text: '关于', link: '/about.md'}
1515
])
1616

docs/.vuepress/theme/components/bigtitle.vue

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { ref, defineProps } from 'vue'
44
const props = defineProps({
55
videoUrl: {
66
type: String,
7-
default: 'http://file.emnavi.tech/GhostLocVideo/GNSS_VPS_demo3.mp4' // 替换为你的视频链接
7+
default: 'https://file.emnavi.tech/MEDIA_ASSETS/GhostLoc/ghostloc_intro_video.m4v' // 替换为你的视频链接
88
},
99
planetUrl: {
1010
type: String,
@@ -20,7 +20,7 @@ const props = defineProps({
2020
},
2121
buttonText: {
2222
type: String,
23-
default: '开始'
23+
default: 'EXPLORE'
2424
}
2525
})
2626
const videoUrl = props.videoUrl
@@ -36,10 +36,10 @@ const buttonText = ref(props.buttonText)
3636
<span v-for="line in title.split('\n')" :key="line">{{ line }}</span>
3737
</h1>
3838
<p class="bigtitle-subtitle">{{ subtitle }}</p >
39-
<button class="bigtitle-btn">
39+
<a href="#next-section" class="bigtitle-btn">
4040
{{ buttonText }}
4141
<span class="arrow">→</span>
42-
</button>
42+
</a>
4343
</div>
4444
<video
4545
class="bigtitle-video"
@@ -92,9 +92,12 @@ const buttonText = ref(props.buttonText)
9292
border-radius: 6px;
9393
cursor: pointer;
9494
transition: background 0.2s, color 0.2s;
95-
display: flex;
95+
display: inline-flex;
9696
align-items: center;
9797
gap: 8px;
98+
white-space: nowrap;
99+
overflow: hidden;
100+
text-overflow: ellipsis;
98101
}
99102
.bigtitle-btn:hover {
100103
background: #fff;
@@ -106,9 +109,9 @@ const buttonText = ref(props.buttonText)
106109
.bigtitle-video {
107110
position: absolute;
108111
right: 0;
109-
top: 50%;
112+
top: 44%;
110113
transform: translateY(-50%);
111-
width: 60vw;
114+
width: 65vw;
112115
height: 100vh;
113116
object-fit: cover;
114117
z-index: 1;

docs/.vuepress/theme/components/feature1.vue

Lines changed: 0 additions & 78 deletions
This file was deleted.

docs/.vuepress/theme/components/feature2.vue

Lines changed: 0 additions & 78 deletions
This file was deleted.

docs/.vuepress/theme/components/feature3.vue

Lines changed: 0 additions & 77 deletions
This file was deleted.

0 commit comments

Comments
 (0)