Skip to content

mstfydmr/brantial.website

Repository files navigation

Scalar Astro Template

Scalar Astro Template is a premium template built by https://www.shadcnblocks.com

Screenshot

Scalar Astro Template screenshot

Getting Started

# Install dependencies
npm install

# Run the development server
npm run dev

Open http://localhost:4321 with your browser to see the result.

Tech Stack

  • Astro 4.x
  • Tailwind CSS
  • shadcn/ui (Ported to Astro)

Key Components

Blog Posts (src/components/sections/blog-posts.tsx)

The blog posts component is a responsive grid layout that displays blog posts in an elegant card format. Each blog post card includes:

  • Featured image
  • Title and description
  • Author information with avatar
  • Reading time badge
  • Clean separators and hover effects

The component accepts a posts array prop where each post should have the following structure:

{
  id: string;
  data: {
    title: string;
    description: string;
    image: string;
    authorName: string;
    authorImage: string;
  }
}

Deploy

You can deploy this template to your preferred hosting platform that supports Astro applications. Some recommended options include:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published