Styles and About Page Fixes
This commit is contained in:
@@ -39,8 +39,7 @@ export const lines: TerminalLine[] = [
|
||||
{ type: 'command', content: 'cat ~/about.md' },
|
||||
{ type: 'blank', content: '' },
|
||||
|
||||
{ type: 'image', content: '', image: user.avatar, imageAlt: user.name, imageWidth: 180, inline: true },
|
||||
|
||||
{ type: 'image', content: '', image: user.avatar, imageAlt: user.name, imageWidth: 200, inline: true },
|
||||
{
|
||||
type: 'group',
|
||||
content: '',
|
||||
@@ -48,6 +47,7 @@ export const lines: TerminalLine[] = [
|
||||
groupAlign: 'start',
|
||||
inline: true,
|
||||
children: [
|
||||
{ type: 'blank', content: '' },
|
||||
{ type: 'header', content: `(&bold)${user.name}(&)` },
|
||||
{ type: 'info', content: `(&accent)${user.title}(&)` },
|
||||
{ type: 'output', content: `(&white)Location:(&) (&primary)${user.location}(&)` },
|
||||
@@ -57,18 +57,25 @@ export const lines: TerminalLine[] = [
|
||||
{ type: 'blank', content: '' },
|
||||
{ type: 'divider', content: 'Music Recommendations' },
|
||||
|
||||
{ type: 'output', content: '(&accent)Artist:(&) ', inline: true },
|
||||
...artist.flatMap((a, i): TerminalLine[] => {
|
||||
const item: TerminalLine = { type: 'link', content: `(&white)${a.name}(&)`, href: a.url, inline: true };
|
||||
return i < artist.length - 1 ? [item, { type: 'output', content: ' (&muted)•(&) ', inline: true }] : [item];
|
||||
}),
|
||||
{ type: 'blank', content: '' },
|
||||
{
|
||||
type: 'group',
|
||||
content: '',
|
||||
groupDirection: 'row',
|
||||
children: [
|
||||
{ type: 'output', content: '(&accent)Artist:(&) ', inline: true },
|
||||
...artist.flatMap((a, i): TerminalLine[] => {
|
||||
const item: TerminalLine = { type: 'link', content: `(&white)${a.name}(&)`, href: a.url, inline: true };
|
||||
return i < artist.length - 1 ? [item, { type: 'output', content: ' (&muted)•(&) ', inline: true }] : [item];
|
||||
}),
|
||||
]
|
||||
},
|
||||
|
||||
{ type: 'output', content: '(&accent)Songs:(&) ', inline: true },
|
||||
...songs.flatMap((s, i): TerminalLine[] => {
|
||||
const item: TerminalLine = { type: 'link', content: `(&white)${s.name}(&)`, href: s.url, inline: true };
|
||||
return i < songs.length - 1 ? [item, { type: 'output', content: ' (&muted)•(&) ', inline: true }] : [item];
|
||||
}),
|
||||
// { type: 'blank', content: '' },
|
||||
// { type: 'output', content: '(&accent)Songs:(&) ', inline: true },
|
||||
// ...songs.flatMap((s, i): TerminalLine[] => {
|
||||
// const item: TerminalLine = { type: 'link', content: `(&white)${s.name}(&)`, href: s.url, inline: true };
|
||||
// return i < songs.length - 1 ? [item, { type: 'output', content: ' (&muted)•(&) ', inline: true }] : [item];
|
||||
// }),
|
||||
{ type: 'blank', content: '' },
|
||||
{
|
||||
type: 'card',
|
||||
|
||||
Reference in New Issue
Block a user