This repository has been archived by the owner on Oct 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Showing
5 changed files
with
260 additions
and
72 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
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,36 @@ | ||
<!-- .vitepress/components/Details.vue --> | ||
<template> | ||
<details> | ||
<summary><slot name="summary"></slot></summary> | ||
<slot></slot> | ||
</details> | ||
</template> | ||
|
||
<style scoped> | ||
details { | ||
background-color: #f9f9f9; | ||
border: 1px solid #ddd; | ||
border-radius: 4px; | ||
padding: 10px; | ||
margin-bottom: 1em; | ||
} | ||
|
||
details[open] > summary { | ||
border-bottom-left-radius: 0; | ||
border-bottom-right-radius: 0; | ||
} | ||
|
||
summary { | ||
cursor: pointer; | ||
font-weight: bold; | ||
padding: 5px 10px; | ||
margin: -10px -10px 10px -10px; | ||
background-color: #f4f4f4; | ||
border: 1px solid #ddd; | ||
border-radius: 4px; | ||
} | ||
|
||
details[open] > summary { | ||
border-bottom: none; | ||
} | ||
</style> |
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,71 @@ | ||
// _data/navigation.ts | ||
export const nav = [ | ||
{ text: 'Главная', link: '/' }, | ||
{ text: 'База Знаний', link: '/main' }, | ||
{ text: 'SUNRISE WIKIPEDIA', link: 'https://wiki.sunrise14.top/' } | ||
]; | ||
|
||
export const sidebar = [ | ||
{ | ||
text: 'Space Station 14', | ||
items: [ | ||
{ text: 'Начать Игру', link: '/quick-starts' }, | ||
{ | ||
text: 'Ресурсы', | ||
collapsed: true, | ||
items: [] | ||
}, | ||
{ | ||
text: 'Основы', | ||
collapsed: true, | ||
items: [] | ||
}, | ||
{ | ||
text: 'Предметы', | ||
collapsed: true, | ||
items: [] | ||
}, | ||
{ | ||
text: 'Ведомственные СРП', | ||
collapsed: true, | ||
items: [{ text: 'СРП командования', link: '/department/command' },] | ||
}, | ||
{ | ||
text: 'Сервис', | ||
collapsed: true, | ||
items: [] | ||
}, | ||
{ | ||
text: 'Медицина', | ||
collapsed: true, | ||
items: [] | ||
}, | ||
{ | ||
text: 'Снабжение', | ||
collapsed: true, | ||
items: [] | ||
}, | ||
{ | ||
text: 'Инженерия', | ||
collapsed: true, | ||
items: [] | ||
}, | ||
{ | ||
text: 'Наука', | ||
collapsed: true, | ||
items: [] | ||
}, | ||
{ | ||
text: 'Безопасность', | ||
collapsed: true, | ||
items: [{ text: 'Корпоративный Закон', link: '/security/corp-laws' },] | ||
}, | ||
{ | ||
text: 'Игровые механики', | ||
collapsed: true, | ||
items: [] | ||
} | ||
] | ||
} | ||
]; | ||
|
Oops, something went wrong.