fix: URLs

This commit is contained in:
Norman Köhring 2024-10-27 17:41:00 +01:00
parent 2b01206151
commit 257ace8824
5 changed files with 841 additions and 726 deletions

View file

@ -48,8 +48,8 @@ export default defineConfigWithTheme<ThemeConfig>({
'instagram - instagram.com/coffee_n_code', 'instagram - instagram.com/coffee_n_code',
'500px - 500px.com/koehr', '500px - 500px.com/koehr',
'# my server', '# my server',
'sourcecode - git.k0r.in/ (forgejo)', 'my homepage - koehr.ing',
'fediverse - m.k0r.in/@n (misskey)', 'sourcecode - git.koehr.ing (forgejo)',
].join('\n'), ].join('\n'),
uris: [{ uris: [{
label: 'email', uri: 'mailto:n@koehr.in' label: 'email', uri: 'mailto:n@koehr.in'
@ -64,9 +64,9 @@ export default defineConfigWithTheme<ThemeConfig>({
}, { }, {
label: '500px', uri: 'https://500px.com/koehr' label: '500px', uri: 'https://500px.com/koehr'
}, { }, {
label: 'sourcecode', uri: 'https://git.k0r.in/' label: 'homepage', uri: 'https://koehr.ing/'
}, { }, {
label: 'fediverse', uri: 'https://m.k0r.in/@n' label: 'sourcecode', uri: 'https://git.koehr.ing/'
}] }]
}], }],
} }

View file

@ -6,8 +6,8 @@ const SHELL = 'k0rSH'
const VERSION = '0.5' const VERSION = '0.5'
const AUTHOR = 'k0r' const AUTHOR = 'k0r'
const DESCRIPTION = 'the k0r SHell' const DESCRIPTION = 'the k0r SHell'
const URL = 'https://git.k0r.in/n/k0r.386' const URL = 'https://git.koehr.ing/n/k0r.386'
const ISSUES = 'https://git.k0r.in/n/k0r.386/issues' const ISSUES = 'https://git.koehr.ing/n/k0r.386/issues'
type VitePressPage = { type VitePressPage = {
frontmatter: Record<string, string> frontmatter: Record<string, string>
@ -62,6 +62,8 @@ export default function useTerminal(inputEl: HTMLTextAreaElement, commands: Simp
const INFO = `${SHELL} v${VERSION}: ${DESCRIPTION}, fiddled together by ${AUTHOR} -- ${URL}` const INFO = `${SHELL} v${VERSION}: ${DESCRIPTION}, fiddled together by ${AUTHOR} -- ${URL}`
const PAD = 16 const PAD = 16
const USAGE = [ const USAGE = [
`${'ls:'.padEnd(PAD)}List available pages. (alias: list)`,
`${'go:'.padEnd(PAD)}Go to a page. (alias: open)`,
...commands.map(cmd => { ...commands.map(cmd => {
const command = `${(cmd.command+':').padEnd(PAD)}` const command = `${(cmd.command+':').padEnd(PAD)}`
const help = `${cmd.help ?? 'no helptext provided'}` const help = `${cmd.help ?? 'no helptext provided'}`

View file

@ -1,6 +1,6 @@
# k0r.386 # k0r.386
![k0r.386 screenshot](https://git.k0r.in/n/k0r.386/raw/branch/main/screenshot.jpg) ![k0r.386 screenshot](https://git.koehr.ing/n/k0r.386/raw/branch/main/screenshot.jpg)
## [koehr.ing](https://koehr.ing/) ## [koehr.ing](https://koehr.ing/)
@ -12,7 +12,7 @@ The font used is [VT323 by Peter Hull](https://github.com/phoikoi/VT323/), which
The ascii art headers are generated with `figlet`, using the [Chunky](https://github.com/xero/figlet-fonts/blob/master/Chunky.flf) font. The ascii art headers are generated with `figlet`, using the [Chunky](https://github.com/xero/figlet-fonts/blob/master/Chunky.flf) font.
![k0r.386 screenshot with highlighted features](https://git.k0r.in/n/k0r.386/raw/branch/main/features.jpg) ![k0r.386 screenshot with highlighted features](https://git.koehr.ing/n/k0r.386/raw/branch/main/features.jpg)
k0r.386 offers some old-school goodness, paired with modern features where convenience matters. k0r.386 offers some old-school goodness, paired with modern features where convenience matters.

View file

@ -2,7 +2,6 @@
"name": "k0r.386", "name": "k0r.386",
"version": "0.5.0", "version": "0.5.0",
"description": "Vitepress based interactive, retro-terminal style homepage", "description": "Vitepress based interactive, retro-terminal style homepage",
"packageManager": "pnpm@8.11.0",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://git.k0r.in/n/k0r.386" "url": "git+https://git.k0r.in/n/k0r.386"

File diff suppressed because it is too large Load diff