Skip to content

Commit 49f394a

Browse files
committed
Update Configs
1 parent b16945c commit 49f394a

File tree

8 files changed

+205
-165
lines changed

8 files changed

+205
-165
lines changed

.github/workflows/lint.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ jobs:
3838
# run: |
3939
# npm run lint
4040

41-
- name: "Prettier"
41+
- name: "Prettier Check"
4242
if: ${{ !cancelled() }}
4343
run: |
44-
npm run prettier
44+
npm run prettier:check
4545
4646
- name: "Yamllint"
4747
if: ${{ !cancelled() }}

.vitepress/team.js

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
// noinspection JSUnusedGlobalSymbols
2+
export const members = [
3+
{
4+
name: 'Shane',
5+
title: 'Developer',
6+
desc: 'Ralf Broke It',
7+
avatar: 'https://raw.githubusercontent.com/smashedr/repo-images/refs/heads/master/avatar/shane/1.jpg',
8+
org: 'CSSNR',
9+
orgLink: 'https://github.com/cssnr',
10+
actionText: 'Support',
11+
sponsor: 'https://ko-fi.com/cssnr',
12+
links: [
13+
{ icon: 'github', link: 'https://github.com/smashedr' },
14+
{ icon: 'mozilla', link: 'https://addons.mozilla.org/firefox/user/18021912' },
15+
{ icon: 'googleplay', link: 'https://play.google.com/store/apps/dev?id=8933468453824534870' },
16+
{ icon: 'npm', link: 'https://www.npmjs.com/~smashed' },
17+
{ icon: 'discord', link: 'https://discord.gg/wXy6m2X8wY' },
18+
{ icon: 'linux', link: 'https://cssnr.github.io/' },
19+
],
20+
},
21+
{
22+
name: 'Ralf',
23+
title: 'Developer',
24+
desc: 'Upper Management',
25+
avatar: 'https://avatars.githubusercontent.com/u/16159770',
26+
org: 'Blastsoft',
27+
orgLink: 'https://github.com/blastsoftstudios',
28+
links: [
29+
{ icon: 'github', link: 'https://github.com/raluaces' },
30+
{ icon: 'x', link: 'https://x.com/raluaces' },
31+
{
32+
icon: {
33+
svg: '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" style="fill: none;" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-linkedin-icon lucide-linkedin"><path d="M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"/><rect width="4" height="12" x="2" y="9"/><circle cx="4" cy="4" r="2"/></svg>',
34+
},
35+
link: 'https://www.linkedin.com/in/raluaces',
36+
},
37+
{ icon: 'threads', link: 'https://www.threads.com/@raluaces' },
38+
{ icon: 'rocket', link: 'https://blastsoftstudios.com/' },
39+
],
40+
},
41+
{
42+
name: 'Michael',
43+
title: 'The Bird',
44+
desc: 'Have you Heard?',
45+
avatar: 'https://avatars.githubusercontent.com/u/10658977',
46+
org: 'The Word',
47+
orgLink: 'https://www.youtube.com/watch?v=uSlB4eznXoA',
48+
links: [
49+
{ icon: 'github', link: 'https://github.com/miluaces' },
50+
{ icon: 'x', link: 'https://x.com/miluaces' },
51+
{ icon: 'youtube', link: 'https://www.youtube.com/milua20' },
52+
{ icon: 'twitch', link: 'https://www.twitch.tv/miluaces' },
53+
{ icon: 'steam', link: 'https://steamcommunity.com/id/miluaces' },
54+
{ icon: 'rocket', link: 'https://blastsoftstudios.com/' },
55+
],
56+
},
57+
]

.vitepress/theme/custom.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
--vp-home-hero-image-background-image: linear-gradient(0deg, rgba(86, 90, 169, 0.6), rgba(86, 90, 169, 0.6));
66
--vp-home-hero-image-filter: blur(56px);
7+
8+
--vp-sidebar-width: 240px; /* Custom Sidebar Width */
79
}
810

911
body {

.vitepress/theme/index.js

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,34 @@
1-
import DefaultTheme from 'vitepress/theme'
1+
import DefaultTheme, { VPBadge } from 'vitepress/theme'
22
import './custom.css'
33

44
import BrowserIcons from './components/BrowserIcons.vue'
55
import VPCardLink from './components/VPCardLink.vue'
66

7-
import VPSwiper from '@cssnr/vitepress-swiper'
8-
import '@cssnr/vitepress-swiper/style.css'
7+
import CopyButton from '@cssnr/vitepress-plugin-copybutton'
8+
import '@cssnr/vitepress-plugin-copybutton/style.css'
99

1010
import Contributors from '@cssnr/vitepress-plugin-contributors'
1111
import '@cssnr/vitepress-plugin-contributors/style.css'
1212
import contributors from '../contributors.json'
1313

14+
import VPSwiper from '@cssnr/vitepress-swiper'
15+
import '@cssnr/vitepress-swiper/style.css'
16+
1417
// noinspection JSUnusedGlobalSymbols
1518
export default {
1619
...DefaultTheme,
1720

1821
enhanceApp({ app }) {
22+
app.component('Badge', VPBadge)
23+
1924
app.component('BrowserIcons', BrowserIcons)
2025
app.component('VPCardLink', VPCardLink)
21-
app.component('VPSwiper', VPSwiper)
26+
27+
app.component('CB', CopyButton)
28+
2229
app.component('Contributors', Contributors)
2330
app.config.globalProperties.$contributors = contributors
31+
32+
app.component('VPSwiper', VPSwiper)
2433
},
2534
}

docs/guides/get-started.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ If you set a `USERNAME` or `PASSWORD` environment variable, use those values.
5858

5959
Otherwise, the default credentials are.
6060

61-
| Default | Value |
62-
| ------------ | ------- |
63-
| **username** | `admin` |
64-
| **password** | `12345` |
61+
| Default | Value |
62+
| ------------ | -------------- |
63+
| **username** | `admin` <CB /> |
64+
| **password** | `12345` <CB /> |
6565

6666
Next you can review the [server setup](setup.md) and start [uploading](upload.md) or check out the [features](features.md).

docs/team.md

Lines changed: 4 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -8,69 +8,9 @@ title: Our Team
88

99
<script setup>
1010
// noinspection ES6UnusedImports
11-
import {
12-
VPTeamPage,
13-
VPTeamPageTitle,
14-
VPTeamMembers,
15-
} from 'vitepress/theme';
16-
17-
// noinspection JSUnusedGlobalSymbols
18-
const members = [
19-
{
20-
avatar: 'https://raw.githubusercontent.com/smashedr/repo-images/refs/heads/master/avatar/shane/1.jpg',
21-
name: 'Shane',
22-
title: 'Developer',
23-
org: 'CSSNR',
24-
orgLink: 'https://github.com/cssnr',
25-
desc: 'Ralf Broke It',
26-
sponsor: 'https://ko-fi.com/cssnr',
27-
actionText: 'Support',
28-
links: [
29-
{ icon: 'github', link: 'https://github.com/smashedr' },
30-
{ icon: 'mozilla', link: 'https://addons.mozilla.org/firefox/user/18021912' },
31-
{ icon: 'googleplay', link: 'https://play.google.com/store/apps/dev?id=8933468453824534870' },
32-
{ icon: 'npm', link: 'https://www.npmjs.com/~smashed' },
33-
{ icon: 'discord', link: 'https://discord.gg/wXy6m2X8wY' },
34-
{ icon: 'linux', link: 'https://cssnr.github.io/' },
35-
],
36-
},
37-
{
38-
avatar: 'https://avatars.githubusercontent.com/u/16159770',
39-
name: 'Ralf',
40-
title: 'Developer',
41-
org: 'Blastsoft',
42-
orgLink: 'https://github.com/blastsoftstudios',
43-
desc: 'Upper Management',
44-
links: [
45-
{ icon: 'github', link: 'https://github.com/raluaces' },
46-
{ icon: 'x', link: 'https://x.com/raluaces' },
47-
{
48-
icon: {
49-
svg: '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" style="fill: none;" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-linkedin-icon lucide-linkedin"><path d="M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"/><rect width="4" height="12" x="2" y="9"/><circle cx="4" cy="4" r="2"/></svg>',
50-
},
51-
link: 'https://www.linkedin.com/in/raluaces',
52-
},
53-
{ icon: 'threads', link: 'https://www.threads.com/@raluaces' },
54-
{ icon: 'rocket', link: 'https://blastsoftstudios.com/' },
55-
],
56-
},
57-
{
58-
avatar: 'https://avatars.githubusercontent.com/u/10658977',
59-
name: 'Michael',
60-
title: 'The Bird',
61-
org: 'The Word',
62-
orgLink: 'https://www.youtube.com/watch?v=uSlB4eznXoA',
63-
desc: 'Have you Heard?',
64-
links: [
65-
{ icon: 'github', link: 'https://github.com/miluaces' },
66-
{ icon: 'x', link: 'https://x.com/miluaces' },
67-
{ icon: 'youtube', link: 'https://www.youtube.com/milua20' },
68-
{ icon: 'twitch', link: 'https://www.twitch.tv/miluaces' },
69-
{ icon: 'steam', link: 'https://steamcommunity.com/id/miluaces' },
70-
{ icon: 'rocket', link: 'https://blastsoftstudios.com/' },
71-
],
72-
},
73-
]
11+
import { VPTeamPage, VPTeamPageTitle, VPTeamMembers } from 'vitepress/theme'
12+
// noinspection ES6UnusedImports
13+
import { members } from '../.vitepress/team.js'
7414
</script>
7515

7616
<!--suppress CssUnusedSymbol -->
@@ -89,7 +29,7 @@ const members = [
8929
Meet the AI behind the software…
9030
</template>
9131
</VPTeamPageTitle>
92-
<VPTeamMembers :members />
32+
<VPTeamMembers :members />
9333
</VPTeamPage>
9434

9535
<Contributors :contributors="$contributors" heading="Our Contributors" margin="0 0 96px" />

0 commit comments

Comments
 (0)