Note
This premium template was meticulously crafted using Antigravity powered by Gemini 3 Flash for maximum speed, SEO efficiency, and modern design standards.
A high-converting, professional, and SEO-optimized landing page template built with Astro and Tailwind CSS. Designed specifically for snack products with a focus on vibrant aesthetics and clear call-to-actions.
This template is designed to convert visitors into customers with these standout features:
- 🚀 Ultra-Fast Performance: Built with Astro 5.x for near-instant loading times and 100/100 Lighthouse scores.
- 📱 Fully Responsive: Mobile-first design that looks stunning on iPhones, Androids, and Desktops.
- 🌶️ Premium Visuals: Includes high-quality AI-generated product photography for a professional look.
- 💬 WhatsApp Integration: Strategic "Call to Action" buttons that link directly to your WhatsApp for instant sales.
- 🔍 SEO Optimized: Pre-configured dynamic meta tags, semantic HTML5, and schema-ready structure.
- 🎨 Modern Aesthetics: Features glassmorphism, smooth animations, and a premium color palette (Rose & Emerald).
- ⚡ Native Lazy Loading: Optimized image delivery system to keep the site light and fast.
Ensure you have Node.js installed (LTS version recommended).
Clone or download the project, then run:
npm installStart the local development server:
npm run devOpen http://localhost:4321 to view the site in your browser.
All product variants are managed in src/pages/index.astro. Locate the variants array in the frontmatter:
const variants = [
{
name: "Nama Produk",
description: "Deskripsi singkat.",
price: "Rp 00.000",
image: "/images/your-image.png",
tag: "Best Seller"
},
// Add more here...
];- Place your image files in the
public/images/directory. - Reference them in your code using the path starting from root, e.g.,
/images/my-new-basreng.png.
Tip
Use .webp format for better performance and smaller file sizes.
Change the whatsappNumber variable in src/pages/index.astro:
const whatsappNumber = "6281234567890"; // Use international format without '+'To update the page title or meta description for SEO, edit the <Layout> component in src/pages/index.astro:
<Layout
title="Judul SEO Anda"
description="Deskripsi menarik untuk Google search results."
>- Lazy Loading: Images are automatically lazy-loaded (except for the Hero section) to ensure fast initial page speed.
- Astro Islands: Zero-JavaScript by default, ensuring lightning-fast interaction.
- Google Fonts Optimization: Pre-connected and loaded efficiently.
├── public/ # Static assets
│ └── images/ # Product and hero images
├── src/
│ ├── layouts/ # Base templates (SEO, Meta tags)
│ ├── pages/ # Routing (index.astro is the main page)
│ └── styles/ # Global CSS & Tailwind configuration
├── astro.config.mjs # Astro configuration
└── tailwind.config.mjs # Tailwind CSS configuration
Build the project for production:
npm run buildThe output will be in the dist/ folder, ready to be hosted on Netlify, Vercel, or any static hosting provider.
Created by Antigravity AI (Gemini 3 Flash). Feel free to use and modify for your business!