mikah13 / astro-profile

A complete re-design of my personal website. Built with Astro. Deployed on Vercel

Home Page:https://mikehoang.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


Hi, I'm Mike Hoang and this is my personal website built with Astro

πŸ“Œ Table Of Contents

πŸ¦™ Tina CMS

By default, this template comes pre-configured with Tina CMS.

Now you can create your posts directly from the CMS without the need to do it manually.

If you decide to use Tina, it's not necessary to add any properties to the Markdown files, Tina does it automatically.

The documentation for Tina CMS can be found here

Tina is completely optional, and you can remove it, and it will still function in the same way.

πŸ’ͺ Features:

openblog Lighthouse Score

  • βœ… Minimal styling
  • βœ… Mobile responsive
  • βœ… 100/100 Lighthouse performance
  • βœ… SEO-friendly with canonical URLs and OpenGraph data
  • βœ… Sitemap support
  • βœ… RSS Feed support
  • βœ… Markdown & MDX support
  • βœ… Syntax highlighting
  • βœ… Image optimization
  • βœ… Table of contents
  • βœ… Dark mode
  • βœ… Reading Time
  • βœ… Pagefind static search library integration
  • βœ… Related posts
  • βœ… Share posts (Linkedin, twitter)
  • βœ… Draft mode
  • βœ… Copy code block
  • βœ… CMS in the repository (Tina CMS)
  • βœ… Pagination
  • βœ… ViewTransition (new)

βš™οΈ Stack

πŸ‘¨πŸ»β€πŸ’» Running Locally

Recommended extensions for VSCode:

  1. Clone or fork the repository:
git@github.com:danielcgilibert/blog-template.git
  1. Install dependencies:
pnpm install
  1. Run the development server:
pnpm dev

πŸ“ Configure

  • Edit the configuration file src/data/site.config.ts for the basic blog metadata.
  • Update the astro.config.mjs file at the root of the project with your own domain.
  • Modify the files in the /public folder:
    • favicon
    • robots.txt -> update the Sitemap url to your own domain
    • open-graph -> the open-graph is the image that will be displayed when sharing the blog link. For posts, the preview image is the post cover.
  • Edit the social networks in the Header component - src/components/Header.astro, change the URL to your social network.

🧞 Commands

All commands are run from the root of the project, from a terminal:

Command Action
pnpm install Installs dependencies
pnpm run dev Starts local dev server at localhost:3000
pnpm run build Build your production site to ./dist/
pnpm run preview Preview your build locally, before deploying
pnpm run format:check Check code format with Prettier
pnpm run format Format codes with Prettier
pnpm run sync Generates TypeScript types for all Astro modules. Learn more.
pnpm run lint Lint with ESLint

About

A complete re-design of my personal website. Built with Astro. Deployed on Vercel

https://mikehoang.dev

License:GNU General Public License v3.0


Languages

Language:Astro 38.9%Language:TypeScript 32.8%Language:MDX 26.5%Language:JavaScript 1.2%Language:CSS 0.5%Language:Shell 0.1%