Theme Rendering Fixes and Keybinds Update
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import type { TerminalLine } from "$lib/components/tui/types";
|
||||
import { user } from "$lib/config";
|
||||
import { navigation } from "$lib/config";
|
||||
import { themeOptions } from "$lib/stores/theme";
|
||||
|
||||
export const lines: TerminalLine[] = [
|
||||
// neofetch style intro
|
||||
@@ -14,7 +15,8 @@ export const lines: TerminalLine[] = [
|
||||
{ type: 'blank', content: '' },
|
||||
{ type: 'header', content: `Welcome to ${user.displayname}'s Portfolio` },
|
||||
{ type: 'blank', content: '' },
|
||||
{ type: 'output', content: `(&muted)${user.bio}(&)` },
|
||||
// { type: 'image', content: '', image: user.avatar, imageAlt: user.name, imageWidth: 120, inline: false },
|
||||
{ type: 'output', content: `(&muted)${user.bio}(&)`, inline: true },
|
||||
{ type: 'blank', content: '' },
|
||||
|
||||
{ type: 'divider', content: 'NAVIGATION' },
|
||||
@@ -32,10 +34,16 @@ export const lines: TerminalLine[] = [
|
||||
{ type: 'blank', content: '' },
|
||||
{ type: 'divider', content: 'Website Keybinds' },
|
||||
{ type: 'blank', content: '' },
|
||||
{ type: 'output', content: '(&orange)Toggle Light/Dark Mode(&) (&text, bold)(T)(&)' , inline: true },
|
||||
{ type: 'output', content: '(&orange)Toggle Light/Dark Mode(&) (&text, bold)(Alt/Option+T)(&)' , inline: true },
|
||||
{ type: 'output', content: '(&muted)•(&)' , inline: true },
|
||||
{ type: 'output', content: '(&orange)Select Theme(&) (&text, bold)Use Alt/Option+T + [#](&)' , inline: true },
|
||||
{ type: 'output', content: '(&muted)•(&)' , inline: true },
|
||||
{ type: 'output', content: '(&orange)Skip typing animation(&) (&text, bold)(Y)(&)' , inline: true },
|
||||
{ type: 'output', content: '(&muted)•(&)' , inline: true },
|
||||
{ type: 'output', content: '(&orange)Open/Close Navbar(&) (&text, bold)(N)(&)' , inline: true },
|
||||
{ type: 'output', content: '(&orange)Navigate to page(&) (&text, bold)(Ctrl/Cmd+ [#])(&)' , inline: true },
|
||||
{ type: 'blank', content: '' },
|
||||
// list navigation with numeric shortcuts
|
||||
{ type: 'output', content: '(&text, bold)Pages -(&)', inline: true },
|
||||
...navigation.map((nav, i) => ({ type: 'output' as const, content: `(&blue)${nav.name}(&) (&text, bold)[${i+1}](&)`, inline: true })),
|
||||
{ type: 'blank', content: '' },
|
||||
];
|
||||
Reference in New Issue
Block a user