$ show JustGoodUI/dante-astro-theme
Dante is a static site generator theme for Astro.js, designed for single-author blogs and portfolios. It provides a complete, production-ready setup with dark/light mode, responsive design, SEO metadata, RSS feed, sitemap, pagination, and a subscription form. The theme is built with Tailwind CSS v4 and uses Astro's content collections for Markdown-based blog posts, pages, and projects. Configuration is centralized in a single TypeScript file. The architecture follows Astro's SSG model with view transitions for a SPA-like experience. The codebase is well-structured, with reusable components and utility functions. It is a hybrid of a theme and a starter template, not a library or service.
The LLM identified 3 files worth highlighting for reuse:
A self-contained slugify function that converts arbitrary strings to URL-friendly slugs. It handles Unicode normalization, removes diacritics, and replaces invalid characters with hyphens. This function is generic, has no dependencies, and can be extracted into any JavaScript/TypeScript project for URL generation.
A versatile button component that renders either an anchor tag or a button element based on the presence of an `href` prop. It uses Astro's type system to enforce correct usage and applies consistent styling with Tailwind CSS. The component is self-contained, reusable in any Astro project, and demonstrates clean conditional rendering.
Similar to Button.astro, this component renders an icon-only button or link. It provides a circular, icon-friendly layout with hover effects. It is self-contained and can be reused in any Astro project for actions like pagination or social sharing.