Skip to content

Commit

Permalink
Sync of the Patch
Browse files Browse the repository at this point in the history
- I extended a bit too far out in this patch, going to sync this and then make another patch afterwards for the tag system.
  • Loading branch information
h0lybyte committed Aug 4, 2023
1 parent b23a1de commit 25f846e
Show file tree
Hide file tree
Showing 8 changed files with 74 additions and 18 deletions.
16 changes: 16 additions & 0 deletions .astro/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1333,6 +1333,20 @@ declare module 'astro:content' {
collection: "journal";
data: InferEntrySchema<"journal">
} & { render(): Render[".md"] };
"08-03.md": {
id: "08-03.md";
slug: "08-03";
body: string;
collection: "journal";
data: InferEntrySchema<"journal">
} & { render(): Render[".md"] };
"08-04.md": {
id: "08-04.md";
slug: "08-04";
body: string;
collection: "journal";
data: InferEntrySchema<"journal">
} & { render(): Render[".md"] };
"asset.mdx": {
id: "asset.mdx";
slug: "asset";
Expand Down Expand Up @@ -2069,6 +2083,8 @@ declare module 'astro:content' {
};
"compose": {
};
"tags": {
};
"vip": {
};

Expand Down
32 changes: 16 additions & 16 deletions src/content/.obsidian/workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"state": {
"type": "markdown",
"state": {
"file": "journal/08-03.md",
"file": "journal/08-04.md",
"mode": "source",
"source": false
}
Expand Down Expand Up @@ -93,7 +93,7 @@
"state": {
"type": "backlink",
"state": {
"file": "journal/08-03.md",
"file": "journal/08-04.md",
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
Expand All @@ -110,7 +110,7 @@
"state": {
"type": "outgoing-link",
"state": {
"file": "journal/08-03.md",
"file": "journal/08-04.md",
"linksCollapsed": false,
"unlinkedCollapsed": true
}
Expand All @@ -133,7 +133,7 @@
"state": {
"type": "outline",
"state": {
"file": "journal/08-03.md"
"file": "journal/08-04.md"
}
}
}
Expand All @@ -157,30 +157,32 @@
},
"active": "1e65db65e2721f35",
"lastOpenFiles": [
"tags/automation",
"tags/auth",
"tags",
"t/automation",
"t/auth/automation",
"t/auth",
"t",
"application/android.mdx",
"application/android/android.mdx",
"application/android",
"journal/08-03.md",
"journal/08-04.md",
"journal/07-31.md",
"journal/08-02.md",
"journal/07-29.md",
"journal/07-28.md",
"journal/07-30.md",
"journal/08-01.md",
"account/profile.mdx",
"account/register.mdx",
"account/logout.mdx",
"account/login.mdx",
"account",
"account/index.mdx",
"account/account.mdx",
"journal/05-10.md",
"journal/07-23.md",
"journal/07-27.md",
"project/herbmail.mdx",
"project/kbve.mdx",
"journal/07-22.md",
"journal/07-21.md",
"journal/07-06.md",
"journal/07-20.md",
"journal/asset.mdx",
"journal/07-18.md",
"journal/07-19.md",
"journal/07-17.md",
Expand All @@ -190,8 +192,6 @@
"journal/07-13.md",
"journal/07-12.md",
"journal/07-10.md",
"journal/07-11.md",
"journal/07-09.md",
"journal/07-08.md"
"journal/07-11.md"
]
}
2 changes: 1 addition & 1 deletion src/content/application/android.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ frontpage: false
publishDate: 2022-10-25 00:00:00
img: https://images.unsplash.com/photo-1607252650355-f7fd0460ccdb?fit=crop&w=1400&h=700&q=75
description: Android is an open source operating system based off of Linux that runs within the ARM architecture; the primary use-case is within the mobile/tablet eco-system but it has been expanding into server, desktop and embedables.

slug: "android"
tags:
- technology
- android
Expand Down
4 changes: 4 additions & 0 deletions src/content/application/javascript.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,10 @@ So we were looking for a cool animation library that would be smooth as butter

## React

### React Three Fiber

R3F aka React Three Fiber is a library that makes it easier to use Three.js with React and React Native.

### React Unity

- The main library is located at [React Unity WebGL](https://github.com/jeffreylanters/react-unity-webgl)
Expand Down
11 changes: 10 additions & 1 deletion src/content/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@
import { z, defineCollection } from 'astro:content';


//? {tags} - Tag collection
//! [WIP]
const tags = defineCollection({
schema: z.object({
title: z.string(),
version: z.number(),
}),
})

//? {release} - Official release documentation for the website
//! [MIGRATION] - This is slated to be migrated out of the collection but kept inside until v2
const releases = defineCollection({
Expand Down Expand Up @@ -161,7 +170,7 @@ const blog = defineCollection({
});


//? {blog}
//? {account}
const account = defineCollection({
schema: z.object({
title: z.string(),
Expand Down
27 changes: 27 additions & 0 deletions src/content/journal/08-04.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
layout: ../../layouts/theme/mdx.astro
title: "August : 04"
category: Daily
date: 2023-08-04
client: Self
img: https://images.unsplash.com/photo-1689192727536-a0e1299a73bd?fit=crop&q=85&w=1400&h=700
description: Daily Log for August, 04 of each year.
tags:
- daily
---

## Notes

- 3:07pm - Going to look over the `account` mdx files and see if there are any additional templates, widgets and/or tooling needed before adding the r3f.
- 4:15pm - I was going through the `application` content folder to prepare for the tag folder and I am thinking that I might switch it up and try a complex structure. The first step would be to being the folder for the tags, which I will place under the `tags` and then under the `pages`, I will make a folder that is `t` which will be a slug-based id system? That could be one option, damn I just realized that I am tackling two different issues insides of the same patch. This would be a foul play in the management of the patch style of development, because I am jumping from one issue to another without having it referenced.

## Quote

> One of the most beautiful qualities of true friendship is to understand and to be understood.
> — <cite>Seneca the Younger</cite>
---

## Tasks

- [ ]
File renamed without changes.
Empty file added src/pages/t/[...slug].astro
Empty file.

0 comments on commit 25f846e

Please sign in to comment.