aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/blog/posts
diff options
context:
space:
mode:
authorLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2026-01-14 06:34:44 +0100
committerLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2026-01-14 06:34:44 +0100
commitc446fe9590b0a4c5d1442651453b28685ad93239 (patch)
treec4f44fc3c246e4e5c990967e1bce7e3d369822c4 /src/routes/blog/posts
parent69db9b45dd8704102c612863c8ff73ee4bcdbf72 (diff)
downloadmem-estrogen-zone-c446fe9590b0a4c5d1442651453b28685ad93239.tar.gz
mem-estrogen-zone-c446fe9590b0a4c5d1442651453b28685ad93239.tar.bz2
mem-estrogen-zone-c446fe9590b0a4c5d1442651453b28685ad93239.tar.lz
mem-estrogen-zone-c446fe9590b0a4c5d1442651453b28685ad93239.zip

feat: a lot of shit

Diffstat (limited to 'src/routes/blog/posts')
-rw-r--r--src/routes/blog/posts/test-post.svx105
1 files changed, 104 insertions, 1 deletions
diff --git a/src/routes/blog/posts/test-post.svx b/src/routes/blog/posts/test-post.svx
index a3f8248..71d8c21 100644
--- a/src/routes/blog/posts/test-post.svx
+++ b/src/routes/blog/posts/test-post.svx
@@ -10,9 +10,45 @@ created: "2026-01-14T01:25:14Z"
updated: "2026-01-14T01:25:14Z"
---
+<script lang="ts">
+ import TableWrapper from '$/lib/blog/TableWrapper.svelte';
+</script>
+
# Test Post
-this is a test blog post
+this is a test blog post.
+
+## markdown
+
+[this is a link](https://en.wikipedia.org/wiki/Catgirl).
+
+*this is italic*, and _this is too_. __this is underscore bolded__, and **this is asterisk bolded**.
+
+`this is single backticked`.
+
+```js
+console.log('and this is a codeblock');
+```
+
+### unwrapped table
+
+| | awawa | test |
+|-------|-------|-------|
+| **a** | b | k |
+| **z** | c | |
+| **f** | d | f |
+
+### wrapped table
+
+<TableWrapper>
+
+| | awawa | test |
+|-------|-------|-------|
+| **a** | b | k |
+| **z** | c | |
+| **f** | d | f |
+
+</TableWrapper>
# section testing
@@ -79,3 +115,70 @@ Eaque cum dolores ut enim voluptatibus id velit velit. Iure eveniet alias dolori
Autem ut nam sapiente et a magni. Qui maiores in qui earum. Veniam veniam omnis id architecto. Et optio et et molestias.
Eaque cum dolores ut enim voluptatibus id velit velit. Iure eveniet alias doloribus. Ratione in in est aspernatur.
+
+## some code
+
+```ts
+/*
+ Copyright (C) 2024-2026 memdmp
+
+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by Affero, Inc., at version 1.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Affero General Public License for more details.
+
+ You should have received a copy of the Affero General Public License along with this program. If not, see <https://spdx.org/licenses/AGPL-1.0-only>.
+*/
+import { Animation, MultiObjectKeyframe } from '@memdmp/keyframegen';
+import {
+ biosStepInterval,
+ biosSteps,
+ getDelay,
+ login,
+ ttyLines,
+} from './shared.ts';
+import fs from 'node:fs';
+import esbuild from 'esbuild';
+console.log('hi');
+const anim = new Animation();
+let ttyCtr = 0;
+const stages = [
+ anim.selector('.anmroot #bios'),
+ anim.selector('.anmroot #grub'),
+ anim.selector('.anmroot #grub-term'),
+ anim.selector('.anmroot #openrc'),
+ ...ttyLines.flatMap((v) =>
+ v.kind === 'clear' ? [anim.selector('.anmroot #tty-' + ttyCtr++)] : [],
+ ),
+];
+const handleSteps: Step[] = [
+ // (n) => {
+ // toStage(0);
+ // anim.in(500, n);
+ // },
+ ...biosStepHandlers,
+ ...grubStepHandlers,
+ ...openrcStepHandlers(1),
+ ...ttyStepHandlers,
+ (n) => {
+ const s = anim.selector('.anmroot #app .hidden-after-anim');
+ s.style(visibleStyles);
+ anim._internal_timeline.now += 1;
+ s.style(hiddenStyles);
+ anim.in(1000, n);
+ },
+];
+fs.writeFileSync(
+ 'src/routes/anim.css',
+ `${comment}
+${esbuild.buildSync({
+ stdin: {
+ contents: `${exported}
+${tail}`,
+ loader: 'css',
+ },
+ write: false,
+ minify: false,
+ }).outputFiles![0].text
+ }`,
+);
+```