The Laststance.io website built using Tailwind UI, Tailwind CSS and Next.js.
First, Node@22.x.x required and install the dependencies with pnpm:
pnpm installNext, create a .env.local file in the root of your project and set NEXT_PUBLIC_SITE_URL to your site's public URL.
NEXT_PUBLIC_SITE_URL=https://example.com
Next, run the development server:
pnpm devFinally, open http://localhost:3000 in your browser to view the website.
You can easily generate a new blog post template using the built-in script:
pnpm genThis interactive CLI tool will:
- Prompt you for a post title
- Prompt you for a description
- Generate a new MDX file with the correct frontmatter
- Create the appropriate directory in
src/app/articles/
The script automatically:
- Uses the current date (JST timezone)
- Creates a URL-friendly folder name based on the title
- Sets up the proper article layout and metadata
The visual system — color tokens, typography scale, spacing grid, motion patterns, and editorial voice — is documented in DESIGN.md. It surfaces decisions already baked into src/lib/design-tokens.ts and the component primitives in src/components/ui/primitives/.
This site template is a commercial product and is licensed under the Tailwind UI license.
To learn more about the technologies used in this site template, see the following resources:
- Tailwind CSS - the official Tailwind CSS documentation
- Next.js - the official Next.js documentation
- Headless UI - the official Headless UI documentation
- MDX - the MDX documentation