NeonMint Template Documentation

π― Overview
NeonMint is a minimalist and modern template designed for developers and digital creatives. Its dark-toned aesthetic with mint green accents offers a clean, elegant, and functional visual experience, ideal for portfolios, dashboards, or tech landing pages.
π Project Structure
βββ πNeonMint
βββ πpublic
βββ android-chrome-192x192.png
βββ android-chrome-512x512.png
βββ apple-touch-icon.png
βββ favicon-16x16.png
βββ favicon-32x32.png
βββ favicon.ico
βββ πimages
βββ πposts # Post images
βββ πprojects # Project images
βββ site.webmanifest # PWA configuration file
βββ πsrc
βββ πcomponents # Reusable UI components
β βββ πblog # Blog components
β βββ πlayout # Layout components
β βββ πportfolio # Portfolio components
β βββ πui # UI components
βββ πicons # Icons (.svg)
βββ πlayouts # Site layouts
β βββ Layout.astro # Main application layout
β βββ MarkdownAbout.astro # About-me page layout
β βββ MarkdownPostLayout.astro # Posts page layout
β βββ ProjectLayout.astro # Projects page layout
βββ πpages # Site pages
β βββ about-me.md # About-me page
β β βββ πblog # All posts page
β β βββ index.astro # Blog home page
β β βββ πposts # Blog posts
βββ β βββ βββ index.astro #All posts page
β β βββ πtags # Blog tags
β β βββ πtechs # Blog technologies
β βββ index.astro # Home page
β βββ πportfolio
β β βββ πprojects # Portfolio projects
β βββ robots.txt.ts # robots.txt configuration
β βββ rss.xml.js # RSS configuration
βββ πscripts
β βββ menu.js # Menu script
βββ πstyles
β βββ global.css # Global styles
βββ πutils
βββ languages.ts # Technology tools configuration
βββ .gitignore
βββ astro.config.mjs
βββ package-lock.json
βββ package.json
βββ README.md
βββ tsconfig.json
π οΈ Technology Stack
- Framework: Astro v5.4.2
- UI Library: Preact v10.26.2
- Styling: TailwindCSS v4.0.8
- Icons: astro-icon v1.1.5
- Syntax Highlighting: PrismJS v1.30.0
- Animations: tailwindcss-animated v2.0.0
- Analytics: @vercel/speed-insights v1.2.0
β¨ Key Features
-
π Performance Optimized
- Static site generation
- Partial hydration with Preact
- Optimized images and assets
-
π» Modern Development Experience
- TypeScript support
- Hot module replacement
- ESLint integration
-
π SEO & Analytics
- Built-in sitemap generation
- RSS feed support
- Vercel Speed Insights
-
π¨ Styling & UI
- TailwindCSS for utility-first styling
- Animated components
- Responsive design
- Dark mode support
π Getting Started
-
π¦ Installation
npm install
-
β‘ Development
npm run dev
-
ποΈ Build
npm run build
-
π Preview
npm run preview
βοΈ Configuration
The project is configured through several key files:
astro.config.mjs
: Main Astro configurationtailwind.config.js
: TailwindCSS configurationtsconfig.json
: TypeScript configuration
π¨ Customization
π Adding New Pages
Create new .astro
files in the src/pages
directory. The file name will determine the route.
π§ Adding New Languages or Technologies
To incorporate a new programming language or technological tool into the siteβs capsules, follow these steps:
-
πΌοΈ Add the SVG icon: Place the SVG file of the language or tool in the
src/icons
folder.> **π‘ Recommendation**: For SVG icons, I recommend using [SVGL](https://svgl.app/), an excellent library of high-quality vectors that offers optimized icons for most popular languages and technologies.
-
π Register the language: Open the
utils/languages.ts
file and add a new entry to the languages object following this format:html: { name: "HTML 5", iconName: "html", },
Where:
html
: Is the unique identifier for the languagename
: Is the name that will be displayed visibly in the interfaceiconName
: Is the name of the SVG file without the extension (must match exactly with the file name insrc/icons
)
Once these steps are completed, the new language or technology will be available for use in the siteβs capsules. You can select it when creating or editing projects or posts, and the corresponding icon will be displayed correctly in the interface.
If you encounter any issues during this process, try restarting the development server. In some cases, changes to configuration files or static resources require a restart to be detected correctly.
To verify that the new language has been added correctly, check the list of available technologies in the user interface after restarting the server.
π¨ Styling
- Use TailwindCSS classes for styling
- Add custom styles in
src/styles/global.css
π§© Components
- Create reusable components in
src/components
- Import icons using
astro-icon
π Deployment
The site is configured for deployment on Vercel, but can be deployed to any static hosting service.
π€ Contributing
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
π License
This project is licensed under the MIT License - see the LICENSE file for details.