chore: use space instead of tab for formatting
This commit is contained in:
parent
1c281f220d
commit
8f90133e1e
1
.vscode/extensions.json
vendored
1
.vscode/extensions.json
vendored
@ -1,5 +1,4 @@
|
|||||||
{
|
{
|
||||||
"recommendations": ["astro-build.astro-vscode"],
|
"recommendations": ["astro-build.astro-vscode"],
|
||||||
""
|
|
||||||
"unwantedRecommendations": []
|
"unwantedRecommendations": []
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,9 +1,9 @@
|
|||||||
// @ts-check
|
// @ts-check
|
||||||
import { defineConfig } from 'astro/config';
|
import { defineConfig } from "astro/config";
|
||||||
|
|
||||||
import svelte from '@astrojs/svelte';
|
import svelte from "@astrojs/svelte";
|
||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
integrations: [svelte()]
|
integrations: [svelte()],
|
||||||
});
|
});
|
||||||
@ -11,7 +11,7 @@
|
|||||||
},
|
},
|
||||||
"formatter": {
|
"formatter": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"indentStyle": "tab"
|
"indentStyle": "space"
|
||||||
},
|
},
|
||||||
"organizeImports": {
|
"organizeImports": {
|
||||||
"enabled": true
|
"enabled": true
|
||||||
|
|||||||
@ -1,8 +1,10 @@
|
|||||||
---
|
---
|
||||||
export const title = "Finite State Machines with XState for Game Development using Three.js"
|
export const title =
|
||||||
export const authors = ["Henrique Ramos"]
|
"Finite State Machines with XState for Game Development using Three.js";
|
||||||
export const publishedAt = "2024-12-13"
|
export const authors = ["Henrique Ramos"];
|
||||||
export const description = "Using XState Finite State Machines to coordinate character actions in a Three.js game"
|
export const publishedAt = "2024-12-13";
|
||||||
|
export const description =
|
||||||
|
"Using XState Finite State Machines to coordinate character actions in a Three.js game";
|
||||||
---
|
---
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
|
|||||||
@ -1,12 +1,17 @@
|
|||||||
@import "./variables";
|
@import "./variables";
|
||||||
@import url("https://fonts.googleapis.com/css2?family=Anaheim:wght@400..800&family=Overpass+Mono:wght@300..700&display=swap");
|
@import url("https://fonts.googleapis.com/css2?family=Anaheim:wght@400..800&family=Overpass+Mono:wght@300..700&display=swap");
|
||||||
|
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background: var(--background);
|
background: var(--background);
|
||||||
}
|
}
|
||||||
|
|
||||||
section.has-dark-background, h1, h2, h3, h4, h5, h6 {
|
section.has-dark-background,
|
||||||
|
h1,
|
||||||
|
h2,
|
||||||
|
h3,
|
||||||
|
h4,
|
||||||
|
h5,
|
||||||
|
h6 {
|
||||||
color: var(--main-color);
|
color: var(--main-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -211,11 +216,11 @@ section.has-dark-background, h1, h2, h3, h4, h5, h6 {
|
|||||||
border-bottom: 1px solid;
|
border-bottom: 1px solid;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal table :is(th[align='center'], td[align='center']) {
|
.reveal table :is(th[align="center"], td[align="center"]) {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.reveal table :is(th[align='right'], td[align='right']) {
|
.reveal table :is(th[align="right"], td[align="right"]) {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,12 @@ import type { AstroInstance } from "astro";
|
|||||||
import getAstroPages from "./getAstroPages";
|
import getAstroPages from "./getAstroPages";
|
||||||
import { type } from "arktype";
|
import { type } from "arktype";
|
||||||
|
|
||||||
const schema = type({ title: "string", description: "string", authors: "string[]", publishedAt: "string" });
|
const schema = type({
|
||||||
|
title: "string",
|
||||||
|
description: "string",
|
||||||
|
authors: "string[]",
|
||||||
|
publishedAt: "string",
|
||||||
|
});
|
||||||
|
|
||||||
type Slide = AstroInstance & typeof schema.infer & { [key: string]: unknown };
|
type Slide = AstroInstance & typeof schema.infer & { [key: string]: unknown };
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { vitePreprocess } from '@astrojs/svelte';
|
import { vitePreprocess } from "@astrojs/svelte";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
preprocess: vitePreprocess(),
|
preprocess: vitePreprocess(),
|
||||||
}
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user