<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Dewa Mahendra</title>
    <description>The latest articles on DEV Community by Dewa Mahendra (@mahendraputra21).</description>
    <link>https://dev.to/mahendraputra21</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1721285%2F91178125-3439-4f4b-8acf-5f9be7c364bd.jpg</url>
      <title>DEV Community: Dewa Mahendra</title>
      <link>https://dev.to/mahendraputra21</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mahendraputra21"/>
    <language>en</language>
    <item>
      <title>I Built a Premium Wellness Website Template (React 19 + TypeScript) — Here's What's Inside</title>
      <dc:creator>Dewa Mahendra</dc:creator>
      <pubDate>Thu, 22 Oct 2026 07:56:20 +0000</pubDate>
      <link>https://dev.to/mahendraputra21/i-built-a-premium-wellness-website-template-react-19-typescript-heres-whats-inside-50l8</link>
      <guid>https://dev.to/mahendraputra21/i-built-a-premium-wellness-website-template-react-19-typescript-heres-whats-inside-50l8</guid>
      <description>&lt;p&gt;Hey DEV! 👋&lt;/p&gt;

&lt;p&gt;I've been working on &lt;strong&gt;Zen Flow Yoga&lt;/strong&gt; — a premium editorial wellness website template built with modern tooling. Thought I'd share the architecture decisions and what makes it different from typical "landing page" templates.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Stack:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;React 19 + TypeScript 5 (strict mode)&lt;/li&gt;
&lt;li&gt;Vite 6 for dev/build&lt;/li&gt;
&lt;li&gt;Tailwind CSS 3 (build-time, not CDN)&lt;/li&gt;
&lt;li&gt;React Router 7 (HashRouter for static hosting)&lt;/li&gt;
&lt;li&gt;Framer Motion for subtle, performant animations&lt;/li&gt;
&lt;li&gt;Lucide React for icons&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;What's Included:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Editorial Homepage&lt;/strong&gt; — Split hero with local image, bento-style practice cards, journal highlights in lead/stack layout, breathing tool teaser, 4-pose asana matrix&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Journal System&lt;/strong&gt; — Article listing with search/filter, individual article pages, related articles rail&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pose Library&lt;/strong&gt; — 6 poses with search, category tabs, detail pages (benefits, contraindications, steps, tags)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Breathwork Tool&lt;/strong&gt; — 4 pranayama protocols (Box, 4-7-8, Coherent, Nadi Shodhana) with visual orb + audio metronome, useReducer state machine&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;About Page&lt;/strong&gt; + Medical Disclaimer component&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Architecture Decisions I'm Proud Of:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;🔧 &lt;strong&gt;Centralized Brand Config&lt;/strong&gt; (&lt;code&gt;config/siteConfig.ts&lt;/code&gt;)&lt;br&gt;
Single source of truth for site name, tagline, nav items, social links, SEO defaults. Navbar, Footer, SEO component, and all pages consume it. Changing the brand = editing one file.&lt;/p&gt;

&lt;p&gt;📦 &lt;strong&gt;Content Extraction&lt;/strong&gt; (&lt;code&gt;config/content/&lt;/code&gt;)&lt;br&gt;
Articles, yoga poses, and mood tags live in typed TS modules — not hardcoded in components. Includes a dependency-free validator (&lt;code&gt;scripts/validate-content.ts&lt;/code&gt;) that catches duplicate IDs, missing fields, invalid tags, and flags external image URLs.&lt;/p&gt;

&lt;p&gt;⚡ &lt;strong&gt;Route-Level Code Splitting&lt;/strong&gt;&lt;br&gt;
Every page is lazy-loaded with &lt;code&gt;React.lazy&lt;/code&gt; + &lt;code&gt;Suspense&lt;/code&gt;. Initial bundle: ~390 kB (125 kB gzipped). CSS: ~44 kB (8 kB gzipped).&lt;/p&gt;

&lt;p&gt;🛡️ &lt;strong&gt;No External Image Dependencies&lt;/strong&gt;&lt;br&gt;
Hero uses a local asset (&lt;code&gt;/public/images/hero-yoga.jpg&lt;/code&gt;). Article/pose images are still Unsplash URLs (flagged by validator) — buyer replaces with their own.&lt;/p&gt;

&lt;p&gt;🧘 &lt;strong&gt;Health Claim Responsibility&lt;/strong&gt;&lt;br&gt;
Sample content reviewed: unsupported medical/physiological claims replaced with neutral descriptions (e.g., "lowers cortisol" → "supports transition toward rest"). Breathwork tool includes disclaimer: educational pacing aid, not medical treatment.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Customization Path:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm ci
npm run dev          &lt;span class="c"&gt;# localhost:5173&lt;/span&gt;
&lt;span class="c"&gt;# Edit config/siteConfig.ts for branding&lt;/span&gt;
&lt;span class="c"&gt;# Edit config/content/articles.ts, yogaPoses.ts for content&lt;/span&gt;
npm run build        &lt;span class="c"&gt;# dist/ ready for static deploy&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Live Demo:&lt;/strong&gt; &lt;a href="https://zen-flow-yoga-visual-refresh.vercel.app/" rel="noopener noreferrer"&gt;https://zen-flow-yoga-visual-refresh.vercel.app/&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Purchase:&lt;/strong&gt; &lt;a href="https://synergize3.gumroad.com/l/lhhucs" rel="noopener noreferrer"&gt;https://synergize3.gumroad.com/l/lhhucs&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Would love feedback from folks building in the wellness/editorial space. What would you add or change?&lt;/p&gt;

</description>
      <category>react</category>
      <category>typescript</category>
      <category>webdev</category>
      <category>template</category>
    </item>
  </channel>
</rss>
