Skip to content

pripramot/mint-butterfly

Repository files navigation

mint-butterfly

Jiraphinya Create with Tailnext, is a free and open-source template to make your website using NextJS + Tailwind CSS. Ready to start a new project and designed taking into account best practices.

Features

  • βœ… Jiraphinya.Integration with Tailnext&Tailwind CSS supporting Dark mode.
  • βœ… Production-ready scores in Lighthouse and PageSpeed Insights reports.
  • βœ… Image optimization and Font optimization.
  • βœ… Fast and SEO friendly blog.
  • βœ… Generation of project sitemap and robots.txt based on your routes.

I haven't edited some components.


Nice to meet you.:


Table of Contents

Demo

πŸ“Œ https://tailnext.vercel.app/


Getting started

  • Clone: git clone https://github.com/pripramot/mint-butterfly.git
  • Enter in the directory: cd mint-butterfly
  • Install dependencies: npm install
  • Start the development server: npm run dev
  • View project in local environment: localhost:3000

Project structure

Inside Jiraphinya template, you'll see the following folders and files:

/
β”œβ”€β”€ .storybook/
β”œβ”€β”€ app/
β”‚   β”œβ”€β”€ (blog)
β”‚   β”‚   β”œβ”€β”€ [slug]
|   |   |   └── page.js
|   |   └── blog
|   |       └── page.js
β”‚   β”œβ”€β”€ head.js
β”‚   β”œβ”€β”€ layout.js
β”‚   └── page.js
β”œβ”€β”€ public/
β”‚   └── favicon.svg
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ assets/
β”‚   β”‚   β”œβ”€β”€ images/
|   |   └── styles/
|   |       └── base.css
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ atoms/
|   |   └── widgets/
|   |       β”œβ”€β”€ Header.astro
|   |       β”œβ”€β”€ Footer.astro
|   |       └── ...
β”‚   │── content/
β”‚   |   └── blog/
β”‚   |       β”œβ”€β”€ demo-post-1.md
β”‚   |       └── ...
β”‚   β”œβ”€β”€ stories/
β”‚   β”œβ”€β”€ utils/
β”‚   └── config.mjs
β”œβ”€β”€ package.json
└── ...

Edit Tailnext on CodeSandbox

Seasoned next.js expert? Delete this file. Update config.mjs and contents. Have fun!


Commands

All commands are run from the root of the project, from a terminal:

Command Action
npm install Install dependencies
npm run dev Starts local dev server at localhost:3000
npm run build Build your production site to ./dist/
npm run preview Preview your build locally, before deploying
npm run storybook Open storybook to view stories by widgets
npm run format Format codes with Prettier
npm run lint:eslint Run Eslint

Configuration

Coming soon ..


Deploy

Deploy to production (manual)

You can create an optimized production build with:

npm run build

Now, your website is ready to be deployed. All generated files are located at dist folder, which you can deploy the folder to any hosting service you prefer.

Deploy to Netlify

Clone this repository on own GitHub account and deploy to Netlify:

Netlify Deploy button

Deploy to Vercel

Clone this repository on own GitHub account and deploy to Vercel:

Deploy with Vercel


Roadmap

Coming soon ..


Project and deploy

Cr.Phongwut.w content Project and deploy it.

ΰΉ€ΰΈ›ΰΈ΄ΰΈ”ΰΈ”ΰΈΉΰΈ£ΰΈ²ΰΈ’ΰΈ₯ΰΈ°ΰΉ€ΰΈ­ΰΈ΅ΰΈ’ΰΈ”ΰΈ”ΰΉ‰ΰΈ²ΰΈ™ΰΉƒΰΈ™. πŸ¦‹
Import a different Git Repository β†’
Browse Templates β†’
Create Git Repository
To ensure you can easily update your project after deploying it, a Git repository must be created. Every push to that Git repository will be deployed automatically.
pripramot/mint-butterfly

Deploy
Deployment started 2m ago...
Building
2m 22s
Running build in Washington, D.C., USA (East) – iad1
Cloning github.com/pripramot/mint-butterfly (Branch: main, Commit: 71089b0)
Previous build cache not available
Cloning completed: 595.259ms
Running "vercel build"
Vercel CLI 33.5.1
Warning: Detected "engines": { "node": ">=18.17.0" } in your `package.json` that will automatically upgrade when a new major Node.js Version is released. Learn More: http://vercel.link/node-version
Installing dependencies...
yarn install v1.22.17
info No lockfile found.
[1/5] Validating package.json...
[2/5] Resolving packages...
warning @storybook/nextjs > @storybook/builder-webpack5 > fork-ts-checker-webpack-plugin > [email protected]: this will be v4
warning @storybook/nextjs > @storybook/builder-webpack5 > webpack-dev-middleware > [email protected]: this will be v4
[3/5] Fetching packages...
warning [email protected]: The engine "libvips" appears to be invalid.
warning @img/[email protected]: The engine "pnpm" appears to be invalid.
warning @img/[email protected]: The engine "macos" appears to be invalid.
warning @img/[email protected]: The engine "pnpm" appears to be invalid.
warning @img/[email protected]: The engine "macos" appears to be invalid.
warning @img/[email protected]: The engine "pnpm" appears to be invalid.
warning @img/[email protected]: The engine "glibc" appears to be invalid.
warning @img/[email protected]: The engine "pnpm" appears to be invalid.
warning @img/[email protected]: The engine "glibc" appears to be invalid.
warning @img/[email protected]: The engine "pnpm" appears to be invalid.
warning @img/[email protected]: The engine "glibc" appears to be invalid.
warning @img/[email protected]: The engine "pnpm" appears to be invalid.
warning @img/[email protected]: The engine "musl" appears to be invalid.
warning @img/[email protected]: The engine "pnpm" appears to be invalid.
warning @img/[email protected]: The engine "glibc" appears to be invalid.
warning @img/[email protected]: The engine "pnpm" appears to be invalid.
warning @img/[email protected]: The engine "musl" appears to be invalid.
warning @img/[email protected]: The engine "pnpm" appears to be invalid.
warning @img/[email protected]: The engine "glibc" appears to be invalid.
warning @img/[email protected]: The engine "pnpm" appears to be invalid.
warning @img/[email protected]: The engine "glibc" appears to be invalid.
warning @img/[email protected]: The engine "pnpm" appears to be invalid.
warning @img/[email protected]: The engine "glibc" appears to be invalid.
warning @img/[email protected]: The engine "pnpm" appears to be invalid.
warning @img/[email protected]: The engine "pnpm" appears to be invalid.
warning @img/[email protected]: The engine "musl" appears to be invalid.
warning @img/[email protected]: The engine "pnpm" appears to be invalid.
warning @img/[email protected]: The engine "musl" appears to be invalid.
warning @img/[email protected]: The engine "pnpm" appears to be invalid.
warning @img/[email protected]: The engine "pnpm" appears to be invalid.
warning @img/[email protected]: The engine "pnpm" appears to be invalid.
warning @img/[email protected]: The engine "glibc" appears to be invalid.
warning @img/[email protected]: The engine "pnpm" appears to be invalid.
warning @img/[email protected]: The engine "glibc" appears to be invalid.
warning @img/[email protected]: The engine "pnpm" appears to be invalid.
warning @img/[email protected]: The engine "glibc" appears to be invalid.
[4/5] Linking dependencies...
warning "@storybook/nextjs > postcss-loader@7.3.4" has unmet peer dependency "webpack@^5.0.0".
warning "@storybook/nextjs > style-loader@3.3.4" has unmet peer dependency "webpack@^5.0.0".
warning "@storybook/nextjs > sass-loader@12.6.0" has unmet peer dependency "webpack@^5.0.0".
warning "@storybook/nextjs > node-polyfill-webpack-plugin@2.0.1" has unmet peer dependency "webpack@>=5".
[5/5] Building fresh packages...
success Saved lockfile.
Done in 83.65s.
Detected Next.js version: 14.1.0
Running "yarn run build"
yarn run v1.22.17
$ next build
Attention: Next.js now collects completely anonymous telemetry regarding usage.
This information is used to shape Next.js' roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://nextjs.org/telemetry
   β–² Next.js 14.1.0
   Creating an optimized production build ...
 βœ“ Compiled successfully
   Linting and checking validity of types ...
   Collecting page data ...
   Generating static pages (0/16) ...

   Generating static pages (4/16)

   Generating static pages (8/16)

   Generating static pages (12/16)

 βœ“ Generating static pages (16/16)
   Finalizing page optimization ...
   Collecting build traces ...
Route (app)                              Size     First Load JS
β”Œ β—‹ /                                    4.41 kB         107 kB
β”œ β—‹ /_not-found                          885 B          85.1 kB
β”œ ● /[slug]                              292 B          89.4 kB
β”œ   β”œ /demo-post-1
β”œ   β”œ /demo-post-2
β”œ   β”œ /demo-post-3
β”œ   β”” /demo-post-4
β”œ β—‹ /about                               4.36 kB         107 kB
β”œ β—‹ /blog                                187 B          96.1 kB
β”œ β—‹ /contact                             1.13 kB         104 kB
β”œ β—‹ /faqs                                3.24 kB         106 kB
β”œ β—‹ /pricing                             1.86 kB        97.8 kB
β”œ β—‹ /privacy                             140 B          84.3 kB
β”œ β—‹ /services                            953 B          96.9 kB
β”” β—‹ /terms                               140 B          84.3 kB
+ First Load JS shared by all            84.2 kB
  β”œ chunks/69-99377b6db6a9769e.js        28.9 kB
  β”œ chunks/fd9d1056-8274383bafd9d60d.js  53.4 kB
  β”” other shared chunks (total)          1.89 kB
β—‹  (Static)  prerendered as static content
●  (SSG)     prerendered as static HTML (uses getStaticProps)
$ next-sitemap
✨ [next-sitemap] Loading next-sitemap config: file:///vercel/path0/next-sitemap.config.js
βœ… [next-sitemap] Generation completed
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    (index)    β”‚ Values β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ indexSitemaps β”‚   1    β”‚
β”‚   sitemaps    β”‚   1    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”˜
## This Personal Account Avatar for Pripramot Wechabut has reached the 200 project Hobby limit.
Learn more about Project Limits

## ΰΉ€ΰΈ›ΰΈ΄ΰΈ”ΰΉ€ΰΉ€ΰΈ₯ΰΉ‰ΰΈ§ΰΈ›ΰΈ΄ΰΈ”ΰΈ”ΰΉ‰ΰΈ§ΰΈ’. ΰΉ€ΰΈ”ΰΉ‰ΰΈ­!