Scalar Astro Template is a premium template built by https://www.shadcnblocks.com
# Install dependencies
npm install
# Run the development server
npm run devOpen http://localhost:4321 with your browser to see the result.
- Astro 4.x
- Tailwind CSS
- shadcn/ui (Ported to Astro)
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;
}
}You can deploy this template to your preferred hosting platform that supports Astro applications. Some recommended options include:
