Skip to content

Commit

Permalink
Merge pull request #15 from Lyricify/dev
Browse files Browse the repository at this point in the history
Lyricify-Site v1.0
  • Loading branch information
tsavpyn authored Jun 27, 2024
2 parents ff696a3 + ef0c697 commit a80c17f
Show file tree
Hide file tree
Showing 40 changed files with 1,172 additions and 574 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ fabric.properties

# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser

# <-- Project-specific
# fucking JetBrains
/.idea/Lyricify-Site.iml
/.idea/modules.xml
/.idea/vcs.xml
54 changes: 0 additions & 54 deletions README.md

This file was deleted.

44 changes: 30 additions & 14 deletions astro.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import starlight from '@astrojs/starlight';
import lunaria from '@lunariajs/starlight';
// import lunaria from '@lunariajs/starlight';
import {defineConfig} from 'astro/config';

// https://astro.build/config
Expand All @@ -17,47 +17,63 @@ export default defineConfig({
},
sidebar: [
{
label: '快速上手',
label: 'Get started',
autogenerate: {directory: 'get-started'},
translations: {
'en': 'Get started',
'zh-CN': '快速上手',
},
},
{
label: '常见问题',
label: 'FAQ',
autogenerate: {directory: 'faq'},
translations: {
'en': 'FAQ',
'zh-CN': '常见问题',
},
},
{
label: 'Lyricify mobile',
label: 'Lyricify Mobile',
items: [
// To be updated
],
},
{
label: 'i18n Guide',
translations: {
'zh-CN': '本站 i18n 指导',
},
link: '/i18n-instruction',
badge: {
text: 'NEW',
variant: 'default'
},
}
],
customCss: [
'./src/styles/custom.css',
'./src/fonts/fontface.css',
],
components: {

Footer: './src/components/rewrite/Footer.astro',
},
defaultLocale: 'root',
locales: {
root: {
label: 'English',
lang: 'en',
},
'zh-cn': {
label: '简体中文',
lang: 'zh-CN',
},
en: {
label: 'English',
},
},
plugins: [lunaria({
sync: true,
route: "/i18n",
})],
plugins: [
/*lunaria({
sync: true,
route: "/i18n",
},
),*/
],
// credits: true,
}),
],
});
Loading

0 comments on commit a80c17f

Please sign in to comment.