🎨 Format using Biome
This commit is contained in:
@ -53,11 +53,7 @@ LinkedIn: linkedin.com/in/johndoe`,
|
|||||||
if (input === "clear") {
|
if (input === "clear") {
|
||||||
history = []
|
history = []
|
||||||
} else {
|
} else {
|
||||||
history = [
|
history = [...history, `${currentDir} $ ${input}`, executeCommand(input)]
|
||||||
...history,
|
|
||||||
`${currentDir} $ ${input}`,
|
|
||||||
executeCommand(input),
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
input = ""
|
input = ""
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@ import { defineCollection, z } from "astro:content"
|
|||||||
import { glob } from "astro/loaders"
|
import { glob } from "astro/loaders"
|
||||||
|
|
||||||
const projectCollection = defineCollection({
|
const projectCollection = defineCollection({
|
||||||
loader: glob({ pattern: "**\/*.mdx", base: "./src/content/projects" }),
|
loader: glob({ pattern: "**/*.mdx", base: "./src/content/projects" }),
|
||||||
schema: ({ image }) =>
|
schema: ({ image }) =>
|
||||||
z.object({
|
z.object({
|
||||||
lang: z.union([z.literal("en"), z.literal("nb")]),
|
lang: z.union([z.literal("en"), z.literal("nb")]),
|
||||||
@ -19,7 +19,7 @@ const projectCollection = defineCollection({
|
|||||||
})
|
})
|
||||||
|
|
||||||
const usesCollection = defineCollection({
|
const usesCollection = defineCollection({
|
||||||
loader: glob({ pattern: "**\/*.yaml", base: "./src/content/uses" }),
|
loader: glob({ pattern: "**/*.yaml", base: "./src/content/uses" }),
|
||||||
schema: z.object({
|
schema: z.object({
|
||||||
title: z.string(),
|
title: z.string(),
|
||||||
accessories: z.optional(z.array(z.string())),
|
accessories: z.optional(z.array(z.string())),
|
||||||
|
Reference in New Issue
Block a user