Skip to content

Commit

Permalink
add stub for homelab project
Browse files Browse the repository at this point in the history
  • Loading branch information
vorant94 committed Apr 21, 2024
1 parent cda0daf commit cac71e5
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 7 deletions.
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20.12.2
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
publishedAt: 2024-02-07
project: digital-garden
version: 1.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
publishedAt: 2024-04-20
project: digital-garden
version: 2.0.0
---

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
publishedAt: 2024-02-07
version: 1.0.0
---
Binary file added packages/blog/content/projects/homelab/demo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions packages/blog/content/projects/homelab/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: Homelab
slogan: Some stuff is better self-hosted
status: live
logo: ./logo.webp
logoDark: ./logo-dark.webp
sourceCodeUrl: https://github.com/vorant94/raspberry-pi
isFeatured: true
demo: ./demo.png
version: 1.0.0
---
Binary file not shown.
Binary file added packages/blog/content/projects/homelab/logo.webp
Binary file not shown.
4 changes: 1 addition & 3 deletions packages/blog/src/projects/models/changelog.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ import { contentSchema } from '../../content/index.js';
export const changelogSchema = contentSchema.extend({
matter: z.object({
publishedAt: z.coerce.date(),
version: z.string().transform(function (value) {
return `v${value}`;
}),
version: z.string().transform((value) => `v${value}`),
}),
});

Expand Down

0 comments on commit cac71e5

Please sign in to comment.