This is the starter app for the Pro Tailwind workshops.
There will be 4 half-day workshops (3-4 hours of content, not counting the breaks). Here are the topics for these:
1. Tailwind CSS advanced gymnastics: A series of CSS challenges where we rebuild (or complete/fix) certain interesting parts of the Booking UI App, such as the corner ribbon, caret cutoff with shadow, scroll list with fading mask, animated stripes background, etc. A workshop on advanced CSS techniques and how to approach them with Tailwind CSS.
2. Traditional theming with Tailwind CSS: In this workshop, we create multiple custom color themes, and implement them in the Booking UI App. We'll leverage CSS custom properties (CSS variables) and the Tailwind Plugin API to implement our theming strategy.
3. Extracting reusable UI components with Tailwind CSS: Throughout this workshop, we'll identify opportunities to create reusable components from elements of the existing Booking UI App. We'll look at to handle multiple style variants in a "Just-in-Time engine friendly" way, and create a little documentation website to showcase their different states and variants.
4. Scaling up Tailwind CSS with a monorepo architecture: In this workshop, we'll see how to consume the same Tailwind CSS powered UI components across multiple projects, without the need to publish packages on a registry. We'll move our Booking UI app (and a couple of other projects) to a monorepo setup, which will also host the UI packages that will be shared across all projects.
This is a Next.js project bootstrapped with create-next-app
.
First, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.js
. The page auto-updates as you edit the file.
API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.js
.
The pages/api
directory is mapped to /api/*
. Files in this directory are treated as API routes instead of React pages.
To learn more about Next.js, take a look at the following resources:
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.