Skip to content
On this page

Last updated:

Home Page

Tips

The global layout: home component must be used in the md file of the home page plus some other metadata. This is an example of how it works:

md
---
layout: home

hero:
  name: VitePress Carbon
  text: Streamlined Theme
  tagline: Crafting with carbon's sleekness.
  image:
    src: ./bg.svg
    alt: VitePress Carbon
  actions:
    - theme: brand
      text: Introduction
      link: /guide/introduction
    - theme: alt
      text: View on GitHub
      link: https://github.com/brenoepics/vitepress-carbon
  icon: 
    src: ./logo.svg
    alt: VitePress Carbon

features:
  - icon: 🛠️
    title: Responsive Design
    details: Ensure a consistent experience across devices.
    linkText: Explore
    link: https://github.com/brenoepics/vitepress-carbon
  - icon: 🧩
    title: Seamless Integration
    details: Integrate seamlessly with your VitePress projects.
    link: https://github.com/brenoepics/vitepress-carbon
  - icon: 🎨
    title: Customizable Theming
    details: Tailor the theme to suit your project's needs.

---