-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9dddbcb
commit 8cc5754
Showing
16 changed files
with
235 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,102 @@ | ||
import { defineConfig } from 'vitepress' | ||
|
||
const projectSidebar = { text: "Project", items: [ | ||
{ | ||
text: 'Goal', | ||
link: '/project/goal' | ||
}, | ||
{ | ||
text: 'Audience', | ||
link: '/project/audience' | ||
}, | ||
{ | ||
title: "Lexicon", | ||
link: "/project/lexicon" | ||
}, | ||
{ | ||
text: "Team", | ||
link: "/team" | ||
} | ||
]}; | ||
|
||
const loamaSidebar = { | ||
text: 'Loama', | ||
items: [ | ||
{ | ||
text: 'Design', | ||
link: '/loama/design.md' | ||
}, | ||
{ | ||
text: 'Development', | ||
link: '/loama/development' | ||
}, | ||
{ | ||
text: 'Feedback & Future suggestions', | ||
link: '/loama/feedback' | ||
} | ||
] | ||
}; | ||
|
||
const mockAppSidebar = { | ||
|
||
} | ||
|
||
// https://vitepress.dev/reference/site-config | ||
export default defineConfig({ | ||
title: "Loama", | ||
description: "The documentation & handover website of the LOAMA project", | ||
themeConfig: { | ||
// https://vitepress.dev/reference/default-theme-config | ||
logo: '/loama-logo.svg', | ||
socialLinks: [ | ||
{ icon: 'github', link: 'https://github.com/osoc24' }, | ||
{ icon: 'linkedin', link: 'https://www.linkedin.com/company/open-summer-of-code/posts/?feedView=all' }, | ||
], | ||
search: { | ||
provider: 'local' | ||
}, | ||
nav: [ | ||
{ text: 'Home', link: '/' }, | ||
{ text: 'Examples', link: '/markdown-examples' } | ||
], | ||
|
||
sidebar: [ | ||
{ | ||
text: 'Examples', | ||
items: [ | ||
{ text: 'Markdown Examples', link: '/markdown-examples' }, | ||
{ text: 'Runtime API Examples', link: '/api-examples' } | ||
] | ||
} | ||
{ text: 'Project', items: [ | ||
{ text: 'Why?', link: "/project/goal"}, | ||
{ text: 'For who?', link: "/project/audience"}, | ||
]}, | ||
{ text: 'Loama', items: [ | ||
{ text: 'Design', link: '/loama/design.md' }, | ||
{ text: 'Development', link: '/loama/development' }, | ||
{ text: "Feedback", link: "/loama/feedback" } | ||
]}, | ||
{ text: "Mock Apps", items: [ | ||
{ text: "MockBook", link: "/toco/mockbook/index"}, | ||
{ text: "Docterapp", link: "/toco/doctorapp/index"} | ||
]} | ||
], | ||
|
||
socialLinks: [ | ||
{ icon: 'github', link: 'https://github.com/vuejs/vitepress' } | ||
] | ||
sidebar: { | ||
'/project': [ | ||
projectSidebar, | ||
{ | ||
...loamaSidebar, | ||
collapsed: true | ||
} | ||
|
||
], | ||
'/loama': [ | ||
{ | ||
...projectSidebar, | ||
collapsed: true | ||
}, | ||
loamaSidebar | ||
], | ||
'/toco': [ | ||
{ | ||
...projectSidebar, | ||
collapsed: true | ||
}, | ||
{ | ||
...loamaSidebar, | ||
collapsed: true | ||
} | ||
] | ||
}, | ||
} | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
layout: page | ||
--- | ||
<script setup lang="ts"> | ||
import { | ||
VPTeamPage, | ||
VPTeamPageTitle, | ||
VPTeamMembers | ||
} from 'vitepress/theme' | ||
|
||
const members = [ | ||
{ | ||
avatar: 'https://www.github.com/yyx990803.png', | ||
name: 'Evan You', | ||
title: 'Creator', | ||
links: [ | ||
{ icon: 'github', link: 'https://github.com/yyx990803' }, | ||
{ icon: 'twitter', link: 'https://twitter.com/youyuxi' } | ||
] | ||
}, | ||
] | ||
</script> | ||
|
||
<VPTeamPage> | ||
<VPTeamPageTitle> | ||
<template #title> | ||
Our Team | ||
</template> | ||
<template #lead> | ||
The development of VitePress is guided by an international | ||
team, some of whom have chosen to be featured below. | ||
</template> | ||
</VPTeamPageTitle> | ||
<VPTeamMembers | ||
:members="members" | ||
/> | ||
</VPTeamPage> |
Empty file.
Empty file.