Skip to content

Commit 1685fa4

Browse files
committed
misc
1 parent aa85054 commit 1685fa4

File tree

4 files changed

+19
-9
lines changed

4 files changed

+19
-9
lines changed

.vitepress/config.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default defineConfig({
6363
],
6464

6565
footer: {
66-
message: 'Released under the MIT License.',
66+
message: 'Released under the GPL-3.0 License.',
6767
copyright: 'Copyright © 2024 <a href="https://simular.co/" target="_blank">Simular Inc.</a>'
6868
}
6969
}

.vitepress/theme/CustomLayout.vue

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const { theme } = useData();
1212
<template>
1313
<Layout>
1414
<template #home-hero-actions-after>
15-
<div style="margin-top: 1rem; display: flex; gap: .5rem;">
15+
<div class="l-downloads" style="margin-top: 1rem; display: flex; gap: .5rem;">
1616
<a v-for="platform of theme.downloads"
1717
target="_blank"
1818
:href="platform.url" :key="platform.title">
@@ -35,5 +35,10 @@ const { theme } = useData();
3535
</template>
3636

3737
<style scoped>
38-
38+
@media (max-width: 991px) {
39+
.l-downloads {
40+
flex-wrap: wrap;
41+
justify-content: center;
42+
}
43+
}
3944
</style>

.vitepress/theme/style.css

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,16 @@
160160
}
161161

162162
& .VPImage {
163-
max-width: 700px;
164-
max-height: 450px;
163+
max-width: 90%;
164+
width: 400px;
165+
max-height: none;
166+
}
167+
168+
@media (min-width: 991px) {
169+
& .VPImage {
170+
max-width: 100%;
171+
width: 700px;
172+
max-height: 450px;
173+
}
165174
}
166175
}

index.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,3 @@ features:
3838
details: The most important is that you can export all your 2FA tokens to JSON format if you finally decided move to another app. Authman is open, just export tokens for any purpose you want.
3939

4040
---
41-
42-
## Hello World
43-
44-
DFGFDH

0 commit comments

Comments
 (0)