Skip to content

Commit 62cae25

Browse files
committed
Update urls to point to v3 subdomain
1 parent 2f727dc commit 62cae25

File tree

14 files changed

+23
-23
lines changed

14 files changed

+23
-23
lines changed

src/components/Header.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { ThemeSelect, ThemeToggle } from './ThemeToggle'
1111
function Featured() {
1212
return (
1313
<a
14-
href="https://tailwindcss.com/blog/2024-05-24-catalyst-application-layouts"
14+
href="https://v3.tailwindcss.com//blog/2024-05-24-catalyst-application-layouts"
1515
className="ml-3 text-xs leading-5 font-medium text-sky-600 dark:text-sky-400 bg-sky-400/10 rounded-full py-1 px-3 hidden xl:flex items-center hover:bg-sky-400/20"
1616
>
1717
<strong className="font-semibold">Introducing Catalyst</strong>

src/pages/_app.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ export default function App({ Component, pageProps, router }) {
7777
'Tailwind CSS is a utility-first CSS framework for rapidly building modern websites without ever leaving your HTML.'
7878
let image = meta.ogImage ?? meta.image
7979
image = image
80-
? `https://tailwindcss.com${image.default?.src ?? image.src ?? image}`
81-
: `https://tailwindcss.com/api/og?path=${router.pathname}`
80+
? `https://v3.tailwindcss.com/${image.default?.src ?? image.src ?? image}`
81+
: `https://v3.tailwindcss.com//api/og?path=${router.pathname}`
8282

8383
if (router.pathname.includes('/examples/')) {
8484
return <Component {...pageProps} />
@@ -104,7 +104,7 @@ export default function App({ Component, pageProps, router }) {
104104
<meta
105105
key="og:url"
106106
property="og:url"
107-
content={`https://tailwindcss.com${router.pathname}`}
107+
content={`https://v3.tailwindcss.com/${router.pathname}`}
108108
/>
109109
<meta key="og:type" property="og:type" content="article" />
110110
<meta key="og:image" property="og:image" content={image} />

src/pages/api/og.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export default async function handler(req, res) {
106106
let path = req.query.path.replace(/\/+$/, '')
107107
if (path === '') path = '/'
108108

109-
let url = `https://tailwindcss.com${path}`
109+
let url = `https://v3.tailwindcss.com/${path}`
110110
let { data, statusCode } = await get(url)
111111
let body = data.toString()
112112

src/pages/blog/2024-05-30-prettier-plugin-collapse-whitespace/index.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Now our Prettier plugin will handle this for you automatically, so you don't nee
3434

3535
## Removing duplicate classes
3636

37-
Our [VS Code extension](https://tailwindcss.com/docs/editor-setup#intelli-sense-for-vs-code) has warned you about duplicate class names for a long time, but now our Prettier plugin can remove those duplicate classes for you automatically.
37+
Our [VS Code extension](https://v3.tailwindcss.com//docs/editor-setup#intelli-sense-for-vs-code) has warned you about duplicate class names for a long time, but now our Prettier plugin can remove those duplicate classes for you automatically.
3838

3939
<DuplicationDemo />
4040

@@ -46,4 +46,4 @@ To start playing with these improvements in your own projects, just install the
4646
$ npm i prettier-plugin-tailwindcss@latest
4747
```
4848

49-
If you run into any issues, let us know on [GitHub](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/)!
49+
If you run into any issues, let us know on [GitHub](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/)!

src/pages/blog/building-the-tailwind-blog/index.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ There's an interesting library by Hashicorp designed to make it possible to trea
258258

259259
## Wrapping up
260260

261-
Overall, building this little site with Next.js was a fun learning experience. I'm always surprised at how complicated seemingly simple things end up being with a lot of these tools, but I'm very bullish on the future of Next.js and looking forward to building the next iteration of [tailwindcss.com](https://tailwindcss.com) with it in the months to come.
261+
Overall, building this little site with Next.js was a fun learning experience. I'm always surprised at how complicated seemingly simple things end up being with a lot of these tools, but I'm very bullish on the future of Next.js and looking forward to building the next iteration of [tailwindcss.com](https://v3.tailwindcss.com/) with it in the months to come.
262262

263263
If you're interested in checking out the codebase for this blog or even submitting a pull request to simplify any of the things I mentioned above, [check out the repository on GitHub](https://github.com/tailwindcss/blog).
264264

src/pages/blog/hiring-a-design-engineer-and-staff-engineer/index.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ Here are some real examples of projects you would have worked on in the last few
4545

4646
- **Design and build the [Tailwind Connect](https://connect.tailwindcss.com/) microsite** — including coming up with a unique Markdown-driven badge design experience.
4747
- **Craft the [first components](https://catalyst.tailwindui.com/docs/dialog) for Catalyst** — our first fully-componentized React UI kit.
48-
- **Build a tool for capturing videos for our [Showcase](https://tailwindcss.com/showcase) site** — to automate creating preview videos that feel like a real person scrolling through a site.
49-
- **Build [interactive demos](https://tailwindcss.com/docs/height#dynamic-viewport-height) to explain dynamic viewport units** — to include in the documentation along with the release of Tailwind CSS v3.4.
48+
- **Build a tool for capturing videos for our [Showcase](https://v3.tailwindcss.com//showcase) site** — to automate creating preview videos that feel like a real person scrolling through a site.
49+
- **Build [interactive demos](https://v3.tailwindcss.com//docs/height#dynamic-viewport-height) to explain dynamic viewport units** — to include in the documentation along with the release of Tailwind CSS v3.4.
5050

5151
After you start, you'd work on upcoming projects like:
5252

src/pages/blog/tailwindcss-1-7/index.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ Whenever there are deprecations or breaking changes available, Tailwind will war
217217
```
218218
risk - There are upcoming breaking changes: removeDeprecatedGapUtilities
219219
risk - We highly recommend opting-in to these changes now to simplify upgrading Tailwind in the future.
220-
risk - https://tailwindcss.com/docs/upcoming-changes
220+
risk - https://v3.tailwindcss.com//docs/upcoming-changes
221221
```
222222

223223
You can opt-in to a breaking change by setting that flag to `true` in your `tailwind.config.js` file:

src/pages/blog/tailwindcss-v2/index.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Even though Tailwind CSS v2.0 is a new major version, **we've worked really hard
5151

5252
If you'd like to start a brand new project with v2.0, [head over to our updated installation documentation](/docs/installation) to get started fast.
5353

54-
Also how about that [brand new website](https://tailwindcss.com) eh? Hot damn.
54+
Also how about that [brand new website](https://v3.tailwindcss.com/) eh? Hot damn.
5555

5656
---
5757

@@ -449,4 +449,4 @@ The good news is that if you need to support IE11, you can always use Tailwind C
449449

450450
So there you have it folks, that's Tailwind CSS v2.0 in a _(pretty big)_ nutshell!
451451

452-
What are you waiting for? [Go build something awesome](https://tailwindcss.com).
452+
What are you waiting for? [Go build something awesome](https://v3.tailwindcss.com/).

src/pages/blog/tailwindcss-v3-4/index.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ To learn more about all this forced colors stuff, I recommend reading ["Forced c
421421

422422
---
423423

424-
If you've been paying close attention, you might be wondering about [Oxide](https://youtu.be/CLkxRnRQtDE?t=2146), the engine improvements we previewed at [Tailwind Connect](https://tailwindcss.com/blog/2023-07-18-tailwind-connect-2023-recap) this summer.
424+
If you've been paying close attention, you might be wondering about [Oxide](https://youtu.be/CLkxRnRQtDE?t=2146), the engine improvements we previewed at [Tailwind Connect](https://v3.tailwindcss.com//blog/2023-07-18-tailwind-connect-2023-recap) this summer.
425425

426426
We'd originally slated those improvements for v3.4, but we have a few things still to iron out and so many of these other improvements had been piling up that we felt it made sense to get it all out the door instead of holding it back. The Oxide stuff is still coming, and will be the headlining improvement for the next Tailwind CSS release in the new year.
427427

src/pages/blog/tailwindcss-v3/index.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Tailwind CSS v3.0 has got to be our most exciting release ever, including improv
4545
- [Play CDN](#play-cdn) — the new Just-in-Time engine squeezed into a CDN script that runs right in the browser.
4646
- **Tons of other utilities** — including support for touch-action, will-change, flex-basis, text-indent, scroll-behavior, and more.
4747

48-
Plus a beautiful, brand-spanking new [documentation website](https://tailwindcss.com), loaded with improved content and examples on every page.
48+
Plus a beautiful, brand-spanking new [documentation website](https://v3.tailwindcss.com/), loaded with improved content and examples on every page.
4949

5050
To start playing with Tailwind CSS v3.0 today, grab the latest release from npm:
5151

src/pages/blog/tailwindcss-v4-beta/index.mdx

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ export const meta = {
1212

1313
{/*excerpt*/}
1414

15-
About eight months ago we [open-sourced our progress](https://tailwindcss.com/blog/tailwindcss-v4-alpha) on Tailwind CSS v4.0. Hundreds of hours of fixing bugs, soul-crushing backward compatibility work, and troubleshooting Windows CI failures later, I'm excited to finally tag the first public beta release.
15+
About eight months ago we [open-sourced our progress](https://v3.tailwindcss.com//blog/tailwindcss-v4-alpha) on Tailwind CSS v4.0. Hundreds of hours of fixing bugs, soul-crushing backward compatibility work, and troubleshooting Windows CI failures later, I'm excited to finally tag the first public beta release.
1616

1717
{/*/excerpt*/}
1818

1919
![Tailwind CSS v4.0-beta](./card.jpg)
2020

21-
About eight months ago we [open-sourced our progress](https://tailwindcss.com/blog/tailwindcss-v4-alpha) on Tailwind CSS v4.0. Hundreds of hours of fixing bugs, soul-crushing backward compatibility work, and troubleshooting Windows CI failures later, I'm excited to finally tag the first public beta release.
21+
About eight months ago we [open-sourced our progress](https://v3.tailwindcss.com//blog/tailwindcss-v4-alpha) on Tailwind CSS v4.0. Hundreds of hours of fixing bugs, soul-crushing backward compatibility work, and troubleshooting Windows CI failures later, I'm excited to finally tag the first public beta release.
2222

2323
As I talked about when we published the first alpha, Tailwind CSS v4.0 is an all-new engine built for performance, and designed for the modern web.
2424

@@ -31,4 +31,4 @@ There's so much more to say, but everything you need to get started is in the ne
3131

3232
[Get started with Tailwind CSS v4.0 Beta 1 &rarr;](/docs/v4-beta)
3333

34-
Start building and help us bullet-proof this thing for the stable release early in the new year.
34+
Start building and help us bullet-proof this thing for the stable release early in the new year.

src/pages/careers/design-engineer/index.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ Here are some real examples of projects you would have worked on in the last few
3232
- **Design and build the [Tailwind Connect](https://connect.tailwindcss.com/) microsite** — including coming up with a unique Markdown-driven [badge design](https://res.cloudinary.com/tailwind-labs/image/upload/w_1536/connect/tailwind-connect-2_qrjpj0.jpg) experience.
3333
- **Craft the [first components](https://catalyst.tailwindui.com/docs/dialog) for Catalyst** — our first fully-componentized React UI kit.
3434
- **Build out our recent [Studio template](https://studio.tailwindui.com/)** — a new agency website template we designed, built with Next.js and Framer Motion.
35-
- **Build a tool for capturing videos for our [Showcase](https://tailwindcss.com/showcase) site** — to automate creating preview videos that feel like a real person scrolling through a site.
35+
- **Build a tool for capturing videos for our [Showcase](https://v3.tailwindcss.com//showcase) site** — to automate creating preview videos that feel like a real person scrolling through a site.
3636
- **Redesign and build the [Headless UI documentation site](https://twitter.com/steveschoger/status/1745816291351425068)** — rethinking the overall branding and making the site feel more modern and consistent.
37-
- **Build [interactive demos](https://tailwindcss.com/docs/height#dynamic-viewport-height) to explain dynamic viewport units** — to include in the documentation along with the release of Tailwind CSS v3.4.
37+
- **Build [interactive demos](https://v3.tailwindcss.com//docs/height#dynamic-viewport-height) to explain dynamic viewport units** — to include in the documentation along with the release of Tailwind CSS v3.4.
3838
- **Create [custom installation graphics](https://twitter.com/steveschoger/status/1697352379694240029) for the Catalyst documentation** — that feel like a screenshot but with more control over highlighting what's important for the reader.
3939

4040
After you start, you'd work on upcoming projects like:

src/pages/careers/staff-software-engineer/index.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ We're a small multidisciplinary team and you'd have a wide variety of responsibi
2828
Here are some real examples of projects you would have worked on in the last few months:
2929

3030
- **Create a [Rust library](https://github.com/tailwindlabs/tailwindcss/blob/0ee3508179966a767b7802a7262bb9d4ce2221da/oxide/crates/core/src/lib.rs) for extracting utility class names** — a tool that can scan an entire directory of template files as fast as possible and extract potential class names in parallel.
31-
- **Add support for [composing variants](https://tailwindcss.com/blog/tailwindcss-v4-alpha#composable-variants) in Tailwind CSS** — make it possible to author classes like `group-has-peer-focus:underline` without an explicit `group-has-peer-focus` variant.
31+
- **Add support for [composing variants](https://v3.tailwindcss.com//blog/tailwindcss-v4-alpha#composable-variants) in Tailwind CSS** — make it possible to author classes like `group-has-peer-focus:underline` without an explicit `group-has-peer-focus` variant.
3232
- **Write a [fast CSS parser](https://github.com/tailwindlabs/tailwindcss/blob/0ee3508179966a767b7802a7262bb9d4ce2221da/packages/tailwindcss/src/css-parser.ts) in TypeScript** — to parse only the exact amount of detail needed by Tailwind's internals, looking for domain-specific shortcuts to make it significantly faster than existing libraries for our needs.
3333
- **Fix an issue with [scroll-locking](https://github.com/tailwindlabs/headlessui/pull/2891) in Headless UI** — to make sure scrollable elements in dialogs can still be scrolled on iOS.
3434
- **Set up [GitHub Actions workflows](https://github.com/tailwindlabs/tailwindcss/blob/0ee3508179966a767b7802a7262bb9d4ce2221da/.github/workflows/release-oxide.yml) for compiling our Rust libraries** — configure our release pipeline to properly build and distribute our native packages for each supported platform.
@@ -41,7 +41,7 @@ Here are some real examples of projects you would have worked on in the last few
4141
After you start, you'd work on upcoming projects like:
4242

4343
- **Develop a Tailwind CSS bundler plugin for Next.js** — to generate your CSS using the module graph instead of scanning the file system, working with our contacts at Vercel to get it right.
44-
- **Create a JavaScript library for running Tailwind CSS v4.0 in the browser** — an updated version of our [Play CDN](https://tailwindcss.com/docs/installation/play-cdn) library that uses our new engine under the hood, with a focus on making it as small as possible.
44+
- **Create a JavaScript library for running Tailwind CSS v4.0 in the browser** — an updated version of our [Play CDN](https://v3.tailwindcss.com//docs/installation/play-cdn) library that uses our new engine under the hood, with a focus on making it as small as possible.
4545
- **Design a set of IDE integration APIs for Tailwind CSS** — first-class, stable, documented APIs that editor teams like JetBrains can rely on to add things like completions, lint warnings, class sorting, and more to their tools.
4646
- **Design, build, and document a Tooltip component for Headless UI** — making sure it's fully accessible, with a flexible but delightful API.
4747
- **Build a backwards compatibility layer for Tailwind CSS v4.0** — re-introduce support for JavaScript configuration files, explore codemod tooling, and make sure existing community plugins are as compatible as possible with the new engine.

src/scripts/build-rss.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { mdxComponents } from '@/utils/mdxComponents'
77
import { MemoryRouterProvider } from 'next-router-mock/MemoryRouterProvider'
88

99
export default async function buildRss() {
10-
const baseUrl = 'https://tailwindcss.com'
10+
const baseUrl = 'https://v3.tailwindcss.com/'
1111
const blogUrl = `${baseUrl}/blog`
1212

1313
const feed = new Feed({

0 commit comments

Comments
 (0)