Skip to content

Commit af87290

Browse files
committed
Add unpretty-bytes to projects
1 parent 4486744 commit af87290

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

app/lib/components/components.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,12 @@ export function CompromiseRedactDescription() {
5555
<span> <Link href="https://www.npmjs.com/package/compromise">compromise</Link></span>.
5656
</>
5757
)
58+
}
59+
60+
export function UnprettyBytesDescription() {
61+
return (
62+
<>
63+
A small package to convert a human-readable string to bytes: <br/> <code>'1 GiB'</code><code>1073741824</code>.
64+
</>
65+
)
5866
}

app/lib/get-projects.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import {
44
GlowCloudMore,
55
LemonDescription,
66
PrimeThemeDescription,
7+
UnprettyBytesDescription,
78
} from './components/components';
89

910
type ProjectProps = {
@@ -29,6 +30,13 @@ const projects: ProjectProps[] = [
2930
codeHref: 'https://github.com/rivea0/obsidian-prime',
3031
language: ['CSS'],
3132
},
33+
{
34+
title: 'unpretty-bytes',
35+
description: UnprettyBytesDescription(),
36+
demoHref: '',
37+
codeHref: 'https://github.com/rivea0/unpretty-bytes',
38+
language: ['TypeScript', 'Node.js'],
39+
},
3240
{
3341
title: 'Glow Cloud: The Weather',
3442
description:

0 commit comments

Comments
 (0)