Skip to content

Commit e0540c1

Browse files
committed
fix: update globe
1 parent 8a84c2e commit e0540c1

File tree

4 files changed

+19
-93
lines changed

4 files changed

+19
-93
lines changed

Diff for: config/docs.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,10 @@ export const docsConfig: DocsConfig = {
7373
],
7474
},
7575
{
76-
title: "CLI",
77-
href: "/docs/cli",
76+
title: "Tailwind v4",
77+
href: "/docs/tailwind-v4",
7878
items: [],
79+
label: "New",
7980
},
8081
],
8182
},

Diff for: content/docs/cli.mdx

-86
This file was deleted.

Diff for: content/docs/installation/index.mdx

+5-5
Original file line numberDiff line numberDiff line change
@@ -16,28 +16,28 @@ description: How to install dependencies and structure your app.
1616
Run the `init` command to create a new Next.js project or to setup an existing one:
1717

1818
```bash
19-
npx shadcn@latest init
19+
npx shadcn@canary init
2020
```
2121

2222
### Add components
2323

2424
You can now start adding components to your project.
2525

2626
```bash
27-
npx shadcn@latest add "https://v3.magicui.design/r/android.json"
27+
npx shadcn@canary add "https://magicui.design/r/globe.json"
2828
```
2929

3030
### Import component
3131

32-
The command above will add the `Android` component to your project. You can then import it like this:
32+
The command above will add the `Globe` component to your project. You can then import it like this:
3333

3434
```tsx {1,6} showLineNumbers
35-
import { Android } from "@/components/ui/android";
35+
import { Globe } from "@/components/ui/globe";
3636

3737
export default function Home() {
3838
return (
3939
<div>
40-
<Android />
40+
<Globe />
4141
</div>
4242
);
4343
}

Diff for: content/docs/tailwind-v4.mdx

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
title: Tailwind v4
3+
description: We've released a new version of Magic UI that uses Tailwind CSS v4.
4+
date: 2024-04-08
5+
---
6+
7+
Magic UI now supports Tailwind v4 and React 19. You can start using it today.
8+
9+
If you're using v3, you can head over to [v3.magicui.design](https://v3.magicui.design) to use tailwind v3.
10+
11+
If you're using v4, you can head over to [magicui.design](https://magicui.design) to use tailwind v4.

0 commit comments

Comments
 (0)