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/iconsfolder.> **๐ก 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.tsfile 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.