diff --git a/src/content/posts/test-write2/.write-source.json b/src/content/posts/test-write2/.write-source.json new file mode 100644 index 0000000..1771404 --- /dev/null +++ b/src/content/posts/test-write2/.write-source.json @@ -0,0 +1,472 @@ +{ + "kind": "mlsys-write-source", + "version": 1, + "meta": { + "title": "Test First Blog Post", + "summary": "Testing blog post from website!", + "authors": [ + "dinesh" + ], + "writerName": "", + "topicId": "architecture", + "topicName": "Architecture", + "tags": [ + "kernels" + ], + "slug": "test-write2", + "coverFileName": "web-app-manifest-512x512.png", + "proposedTopic": "" + }, + "blocks": [ + { + "id": "47e47b1c-5ec8-4474-ad4a-b2b42378273b", + "type": "paragraph", + "props": { + "backgroundColor": "default", + "textColor": "default", + "textAlignment": "left" + }, + "content": [ + { + "type": "text", + "text": "Test Blog", + "styles": {} + } + ], + "children": [] + }, + { + "id": "b2cf4395-1cad-408e-b589-ed6fc5b59da5", + "type": "heading", + "props": { + "backgroundColor": "default", + "textColor": "default", + "textAlignment": "left", + "level": 1, + "isToggleable": false + }, + "content": [ + { + "type": "text", + "text": "Test Blog", + "styles": {} + } + ], + "children": [] + }, + { + "id": "6f4927e3-4a42-43b9-91f0-200631b33f7a", + "type": "table", + "props": { + "textColor": "default" + }, + "content": { + "type": "tableContent", + "columnWidths": [ + null, + null, + null + ], + "rows": [ + { + "cells": [ + { + "type": "tableCell", + "content": [ + { + "type": "text", + "text": "Yes", + "styles": {} + } + ], + "props": { + "colspan": 1, + "rowspan": 1, + "backgroundColor": "default", + "textColor": "default", + "textAlignment": "left" + } + }, + { + "type": "tableCell", + "content": [ + { + "type": "text", + "text": "No", + "styles": {} + } + ], + "props": { + "colspan": 1, + "rowspan": 1, + "backgroundColor": "default", + "textColor": "default", + "textAlignment": "left" + } + }, + { + "type": "tableCell", + "content": [ + { + "type": "text", + "text": "WHAT?", + "styles": {} + } + ], + "props": { + "colspan": 1, + "rowspan": 1, + "backgroundColor": "default", + "textColor": "default", + "textAlignment": "left" + } + } + ] + }, + { + "cells": [ + { + "type": "tableCell", + "content": [ + { + "type": "text", + "text": "1", + "styles": {} + } + ], + "props": { + "colspan": 1, + "rowspan": 1, + "backgroundColor": "default", + "textColor": "default", + "textAlignment": "left" + } + }, + { + "type": "tableCell", + "content": [ + { + "type": "text", + "text": "0", + "styles": {} + } + ], + "props": { + "colspan": 1, + "rowspan": 1, + "backgroundColor": "default", + "textColor": "default", + "textAlignment": "left" + } + }, + { + "type": "tableCell", + "content": [ + { + "type": "text", + "text": "1", + "styles": {} + } + ], + "props": { + "colspan": 1, + "rowspan": 1, + "backgroundColor": "default", + "textColor": "default", + "textAlignment": "left" + } + } + ] + }, + { + "cells": [ + { + "type": "tableCell", + "content": [ + { + "type": "text", + "text": "0", + "styles": {} + } + ], + "props": { + "colspan": 1, + "rowspan": 1, + "backgroundColor": "default", + "textColor": "default", + "textAlignment": "left" + } + }, + { + "type": "tableCell", + "content": [ + { + "type": "text", + "text": "0", + "styles": {} + } + ], + "props": { + "colspan": 1, + "rowspan": 1, + "backgroundColor": "default", + "textColor": "default", + "textAlignment": "left" + } + }, + { + "type": "tableCell", + "content": [ + { + "type": "text", + "text": "0", + "styles": {} + } + ], + "props": { + "colspan": 1, + "rowspan": 1, + "backgroundColor": "default", + "textColor": "default", + "textAlignment": "left" + } + } + ] + } + ] + }, + "children": [] + }, + { + "id": "6e2393dd-983e-4132-ac12-abc376f03b7c", + "type": "checkListItem", + "props": { + "backgroundColor": "default", + "textColor": "default", + "textAlignment": "left", + "checked": false + }, + "content": [ + { + "type": "text", + "text": "Check 1", + "styles": {} + } + ], + "children": [] + }, + { + "id": "3aadcd0c-1ff1-4904-8036-db5d9fd74f3b", + "type": "checkListItem", + "props": { + "backgroundColor": "default", + "textColor": "default", + "textAlignment": "left", + "checked": false + }, + "content": [ + { + "type": "text", + "text": "Check 2", + "styles": {} + } + ], + "children": [] + }, + { + "id": "2f58c47b-30f6-4e60-8341-30b60c99d281", + "type": "quote", + "props": { + "backgroundColor": "default", + "textColor": "default" + }, + "content": [ + { + "type": "text", + "text": "Testing Blog Writing", + "styles": {} + } + ], + "children": [] + }, + { + "id": "43ea8d98-93c7-4ed9-9a2a-68f1ae469d3f", + "type": "numberedListItem", + "props": { + "backgroundColor": "default", + "textColor": "default", + "textAlignment": "left" + }, + "content": [ + { + "type": "text", + "text": "1", + "styles": {} + } + ], + "children": [] + }, + { + "id": "78404723-c59d-4e50-a51e-95c3ed22279f", + "type": "numberedListItem", + "props": { + "backgroundColor": "default", + "textColor": "default", + "textAlignment": "left" + }, + "content": [ + { + "type": "text", + "text": "two", + "styles": {} + } + ], + "children": [] + }, + { + "id": "d03e8077-01c4-48e3-94fb-2584bd9cc091", + "type": "numberedListItem", + "props": { + "backgroundColor": "default", + "textColor": "default", + "textAlignment": "left" + }, + "content": [ + { + "type": "text", + "text": "three", + "styles": {} + } + ], + "children": [] + }, + { + "id": "cb0ba5b1-2af3-4013-ae40-86c22c07f4d1", + "type": "note", + "props": {}, + "content": [ + { + "type": "text", + "text": "NOTE", + "styles": {} + } + ], + "children": [] + }, + { + "id": "589af1a2-1e63-44b5-ab1b-871a9704f0b0", + "type": "separator", + "props": {}, + "children": [] + }, + { + "id": "9b3117db-1218-45d7-ba5d-3598f6775a78", + "type": "svg", + "props": { + "code": "", + "caption": "The artificial neuron mirrors the biological one, part for part: dendrites → inputs, synapse strengths → weights, the cell body's summation → Σ + bias, and 'firing' → the activation function f.\"" + }, + "children": [] + }, + { + "id": "53d4f9a1-7c79-4d66-9d5b-420510f74b07", + "type": "paragraph", + "props": { + "backgroundColor": "default", + "textColor": "default", + "textAlignment": "left" + }, + "content": [], + "children": [] + }, + { + "id": "3da5dfc4-6547-4197-98e9-cc0e881996df", + "type": "codeBlock", + "props": { + "language": "python" + }, + "content": [ + { + "type": "text", + "text": "# Greet the user\nprint(\"Welcome to Python!\")\n\n# Get input from the user\nname = input(\"What is your name? \")\nage = int(input(\"How old are you? \"))\n\n# Conditional logic based on input\nif age >= 18:\n print(f\"Hello {name}, you are an adult.\")\nelse:\n years_left = 18 - age\n print(f\"Hello {name}, you will be an adult in {years_left} years.\")\n", + "styles": {} + } + ], + "children": [] + }, + { + "id": "01b991b1-cb23-47e5-b05a-244fc66ec9a9", + "type": "paragraph", + "props": { + "backgroundColor": "default", + "textColor": "default", + "textAlignment": "left" + }, + "content": [], + "children": [] + }, + { + "id": "0e3591cb-219b-4769-b77c-3f9334056934", + "type": "figure", + "props": { + "fileName": "untitled-design.png", + "src": "", + "alt": "Logo", + "caption": "Brand Logo", + "width": 360 + }, + "children": [] + }, + { + "id": "b726dc65-162a-4fbe-9539-413723fb9acb", + "type": "paragraph", + "props": { + "backgroundColor": "default", + "textColor": "default", + "textAlignment": "left" + }, + "content": [ + { + "type": "text", + "text": "Blog Ends", + "styles": {} + } + ], + "children": [] + }, + { + "id": "1e640f26-81c3-47c0-9b5e-67d2da85deb0", + "type": "paragraph", + "props": { + "backgroundColor": "default", + "textColor": "default", + "textAlignment": "left" + }, + "content": [ + { + "type": "text", + "text": "Cool testing!", + "styles": {} + } + ], + "children": [] + }, + { + "id": "172e59ce-5e20-41a9-ac5c-df9a06d767a8", + "type": "paragraph", + "props": { + "backgroundColor": "default", + "textColor": "default", + "textAlignment": "left" + }, + "content": [], + "children": [] + } + ], + "tableVariants": { + "6f4927e3-4a42-43b9-91f0-200631b33f7a": { + "border": "rule", + "zebra": true + } + } +} diff --git a/src/content/posts/test-write2/index.mdx b/src/content/posts/test-write2/index.mdx new file mode 100644 index 0000000..9a39056 --- /dev/null +++ b/src/content/posts/test-write2/index.mdx @@ -0,0 +1,107 @@ +--- +title: 'Test First Blog Post' +summary: 'Testing blog post from website!' +authors: ['dinesh'] +date: '2026-07-14' +updated: '2026-07-14' +readMin: 1 +topic: 'Architecture' +topicId: 'architecture' +tags: ['kernels'] +cover: './web-app-manifest-512x512.png' +--- + +import { Image } from 'astro:assets'; +import untitledDesign from './untitled-design.png'; + +Test Blog + +## Test Blog + +