Skip to content

MatixLab/matix-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Mar 15, 2025
2ca470f Β· Mar 15, 2025
Mar 15, 2025
Mar 9, 2025
Jan 12, 2025
Feb 20, 2025
Mar 15, 2025
Nov 23, 2024
Dec 7, 2024
Dec 7, 2024
Dec 13, 2024
Dec 7, 2024
Mar 15, 2025
Mar 15, 2025
Nov 23, 2024
Oct 31, 2024
Mar 9, 2025
Mar 9, 2025
Jan 25, 2025
Dec 7, 2024
Mar 15, 2025
Mar 15, 2025
Mar 15, 2025
Mar 9, 2025

Repository files navigation

Matix-blog Theme

A simple blog built with Astro(v5),Tailwind(v4), Shadcn.

Live Demo

Features

  • πŸš€ Fast and optimized - Built for speed and performance.
  • 🦾 TypeScript, of course.
  • 🎨 TailwindCss v4: A utility-first CSS framework.
  • πŸ“– Simple: Just md / mdx files.
  • ☁️ Deploy on Netlify, zero-config.
  • πŸš€ SEO-friendly: Support for SEO.
  • πŸ“± Responsive: Support for mobile devices.
  • πŸ“¦ Based on Astro version latest.
  • πŸ˜ƒ Better UI: Support Shadcn UI Components.

Project Structure

β”œβ”€β”€ config/
β”œβ”€β”€ db/
β”œβ”€β”€ public/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ config/
β”‚   β”œβ”€β”€ components/
β”‚   β”œβ”€β”€ content/
β”‚   β”œβ”€β”€ layouts/
β”‚   β”œβ”€β”€ styles/
β”‚   └── pages/
β”œβ”€β”€ astro.config.mjs
β”œβ”€β”€ README.md
β”œβ”€β”€ package.json
β”œβ”€β”€ tailwind.config.ts
└── tsconfig.json
  1. src/content/: This directory contains "collections" of related Markdown and MDX documents. Use getCollection() to retrieve posts from src/content/post/, and type-check your frontmatter using an optional schema. See Content Layer to learn more.
// src/config/site.ts

export const siteConfig: SiteConfig = {
  author: 'your name',
  title: 'your title',
  description: 'your description',
  url: 'your site url',
  repoUrl: 'your github repo url',
  ogImage: 'og image url',
  links: {
    twitter: 'https://twitter.com/yourusername',
    github: 'https://github.com/yourusername',
    blueSky: 'https://bsky.app/profile/yourusername',
    notion: 'your notion site url',
    email: 'your email',
  },
  // pagination
  pagination: {
    pageSize: 10,
  },
  home: {
    displayNumber: 5,
  },
}

2.src/config: This directory is used to configure the basic information of the website and the menu information.

3.src/components/: All the components will be placed in this directory, including the Shadcn UI Components.

4.src/styles: All the styles will be placed in this directory and will be modularized according to different functionalities.

Try it now

GitHub Template

Create a repo from this template on GitHub.

Usage

Development

Just run and visit http://localhost:4321

pnpm run dev

Build

To build the App, run

pnpm run build

And you will see the generated file in dist that ready to be served.

Deploy on Netlify

Go to Netlify and select your clone, OK along the way, and your App will be live in a minute.

Credit

πŸ“œ License

Licensed under the MIT License, Copyright Β© 2025