Website Testing With Sanity CMS and Svelte Integration
📅 4/19/2025 ⏳ 7 minutes read ✍️ Yusron Izza
🗂️ Category : Tutorial
"This is my very first blog post created to test how the components and structure work inside Sanity CMS. I'm currently setting up my personal website and wanted to ensure everything runs smoothly—from writing content, rendering it properly, to publishing workflows."
This is my very first blog post created to test how the components and structure work inside Sanity CMS. I'm currently setting up my personal website using Sanity as the headless CMS and SvelteKit for the frontend. This post serves as a basic test to ensure that everything is functioning correctly—from content creation and updates to rendering on the website.
One of the main goals here is to validate how different types of content appear on the frontend. That includes:
- Headings
- Paragraphs
- Inline styles like bold
- Italic, and
code
, as well as more dynamic elements like embedded images, links, and lists.
This will help me understand how well Portable Text is being parsed and displayed within the Svelte components. Another aspect I'm testing how metadata—like the title, excerpt, author, date, and slug—gets handled across the site. This includes:
- Checking SEO handling
- Open graph previews, and
- How the post appears in blog previews or search components.
- I also want to verify that routes and slugs are dynamically generated and handled correctly.
Code styling example (code source example):
I’m also paying attention to responsive layout and performance, ensuring that everything looks good across devices. It’s important that the design remains clean and readable whether someone is visiting from a desktop, tablet, or smartphone. If you’re reading this post and it looks great, that means the Svelte + Sanity setup is working as expected!
Soon, I’ll start writing real posts about things that matter to me—like RISC-V, embedded systems, and my personal tech projects. But for now, this post is all about checking the foundation. Thanks for being part of this small, but exciting test!