UndieGravity LogoUndiegravity

Blog

Practical guides for building websites: Next.js, React, HTML and CSS, deployment, templates, and working with AI.

Next.js

Next.js

Next.js 16: What Changed and How to Upgrade

Next.js 16 makes Turbopack the default, renames middleware to proxy, requires async request APIs, and changes caching. Here is what to update first.

, 2 min read

Next.js

Next.js proxy.ts: The New Name for Middleware

Next.js 16 renames middleware.ts to proxy.ts. Learn what the proxy is for, how to redirect and protect routes with it, and what not to do inside it.

, 1 min read

Next.js

How to Structure a Next.js App Router Project

A clean Next.js App Router folder structure: what goes in app, route groups and private folders, special files, and where to put components and helpers.

, 2 min read

React

HTML and CSS

HTML and CSS

CSS Grid vs Flexbox: When to Use Each

Flexbox lays out items in one direction; CSS Grid lays out rows and columns together. Real examples of navbars, card grids, and page layouts with each.

, 1 min read

Templates

Deployment

Deployment

Deploy a Next.js Site to Vercel in 10 Minutes

Step by step: push your Next.js project to GitHub, import it into Vercel, add environment variables, connect a custom domain, and know the Hobby plan limits.

, 2 min read

Deployment

Deploy HTML and Next.js Sites to Netlify

Deploy to Netlify by dragging a folder for HTML sites or connecting Git for Next.js and React. Build settings, forms without a backend, and free plan basics.

, 1 min read

Deployment

Host an HTML Website for Free on GitHub Pages

Publish an HTML template on GitHub Pages for free: create a repository, turn on Pages, add a custom domain with HTTPS, and know the size and usage limits.

, 1 min read

AI and Prompting