Skip to content

Commit a7cf150

Browse files
committed
nextui -> heroui
1 parent 9202f30 commit a7cf150

File tree

12 files changed

+1750
-1726
lines changed

12 files changed

+1750
-1726
lines changed

app/_components/footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Link } from "@nextui-org/react";
1+
import { Link } from "@heroui/react";
22

33
export function Footer() {
44
return (

app/_components/header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
NavbarBrand,
99
NavbarContent,
1010
NavbarItem,
11-
} from "@nextui-org/react";
11+
} from "@heroui/react";
1212
import NextLink from "next/link";
1313

1414
import { Logo } from "./logo";

app/_components/loading.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Spinner } from "@nextui-org/react";
1+
import { Spinner } from "@heroui/react";
22

33
export function Loading() {
44
return (

app/_components/search.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import { faMagnifyingGlass } from "@fortawesome/free-solid-svg-icons";
44
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
5-
import { Input } from "@nextui-org/react";
5+
import { Input } from "@heroui/react";
66
import { useRouter } from "next/navigation";
77
import { useState } from "react";
88

app/packages/[group]/[name]/_components/pack.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Chip, Code, Divider, Link } from "@nextui-org/react";
1+
import { Chip, Code, Divider, Link } from "@heroui/react";
22
import ReactMarkdown from "react-markdown";
33
import { format } from "timeago.js";
44
import type { GetPackageByNameAndVersionQuery } from "~/graphql";

app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { faArrowRight, faDownload } from "@fortawesome/free-solid-svg-icons";
22
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
3-
import { Button, Link } from "@nextui-org/react";
3+
import { Button, Link } from "@heroui/react";
44
import type { Metadata } from "next";
55
import Image from "next/image";
66

app/providers.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
"use client";
22

3-
import { NextUIProvider } from "@nextui-org/react";
3+
import { HeroUIProvider } from "@heroui/react";
44
import { ThemeProvider as NextThemesProvider } from "next-themes";
55

66
export function Providers({ children }: { children: React.ReactNode }) {
77
return (
8-
<NextUIProvider>
8+
<HeroUIProvider>
99
<NextThemesProvider attribute="class" defaultTheme="dark">
1010
{children}
1111
</NextThemesProvider>
12-
</NextUIProvider>
12+
</HeroUIProvider>
1313
);
1414
}

app/search/_components/pagination.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client";
22

3-
import { Pagination as NextUIPagination } from "@nextui-org/react";
3+
import { Pagination as NextUIPagination } from "@heroui/react";
44
import { useRouter } from "next/navigation";
55

66
type Props = {

app/search/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Card, CardBody, CardHeader } from "@nextui-org/react";
1+
import { Card, CardBody, CardHeader } from "@heroui/react";
22
import type { Metadata, ResolvingMetadata } from "next";
33
import NextLink from "next/link";
44
import { PER_PAGE } from "../_lib/constants";

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"@fortawesome/free-brands-svg-icons": "^6.7.2",
2222
"@fortawesome/free-solid-svg-icons": "^6.7.2",
2323
"@fortawesome/react-fontawesome": "^0.2.2",
24-
"@nextui-org/react": "^2.6.11",
24+
"@heroui/react": "2.8.1",
2525
"@vercel/analytics": "^1.5.0",
2626
"@vercel/speed-insights": "^1.2.0",
2727
"framer-motion": "^12.22.0",

0 commit comments

Comments
 (0)