Skip to content

Commit a80c17f

Browse files
authored
Merge pull request #15 from Lyricify/dev
Lyricify-Site v1.0
2 parents ff696a3 + ef0c697 commit a80c17f

40 files changed

+1172
-574
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ fabric.properties
112112

113113
# Android studio 3.1+ serialized cache file
114114
.idea/caches/build_file_checksums.ser
115+
116+
# <-- Project-specific
117+
# fucking JetBrains
115118
/.idea/Lyricify-Site.iml
116119
/.idea/modules.xml
117120
/.idea/vcs.xml

README.md

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

astro.config.ts

Lines changed: 30 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import starlight from '@astrojs/starlight';
2-
import lunaria from '@lunariajs/starlight';
2+
// import lunaria from '@lunariajs/starlight';
33
import {defineConfig} from 'astro/config';
44

55
// https://astro.build/config
@@ -17,47 +17,63 @@ export default defineConfig({
1717
},
1818
sidebar: [
1919
{
20-
label: '快速上手',
20+
label: 'Get started',
2121
autogenerate: {directory: 'get-started'},
2222
translations: {
23-
'en': 'Get started',
23+
'zh-CN': '快速上手',
2424
},
2525
},
2626
{
27-
label: '常见问题',
27+
label: 'FAQ',
2828
autogenerate: {directory: 'faq'},
2929
translations: {
30-
'en': 'FAQ',
30+
'zh-CN': '常见问题',
3131
},
3232
},
3333
{
34-
label: 'Lyricify mobile',
34+
label: 'Lyricify Mobile',
3535
items: [
3636
// To be updated
3737
],
3838
},
39+
{
40+
label: 'i18n Guide',
41+
translations: {
42+
'zh-CN': '本站 i18n 指导',
43+
},
44+
link: '/i18n-instruction',
45+
badge: {
46+
text: 'NEW',
47+
variant: 'default'
48+
},
49+
}
3950
],
4051
customCss: [
4152
'./src/styles/custom.css',
4253
'./src/fonts/fontface.css',
4354
],
4455
components: {
45-
56+
Footer: './src/components/rewrite/Footer.astro',
4657
},
4758
defaultLocale: 'root',
4859
locales: {
4960
root: {
61+
label: 'English',
62+
lang: 'en',
63+
},
64+
'zh-cn': {
5065
label: '简体中文',
5166
lang: 'zh-CN',
5267
},
53-
en: {
54-
label: 'English',
55-
},
5668
},
57-
plugins: [lunaria({
58-
sync: true,
59-
route: "/i18n",
60-
})],
69+
plugins: [
70+
/*lunaria({
71+
sync: true,
72+
route: "/i18n",
73+
},
74+
),*/
75+
],
76+
// credits: true,
6177
}),
6278
],
6379
});

0 commit comments

Comments
 (0)