chore: update import from package/ui
This commit is contained in:
parent
93065a1a84
commit
b13047f440
3 changed files with 20 additions and 20 deletions
|
|
@ -7,7 +7,7 @@ import {
|
||||||
} from "@remix-run/react";
|
} from "@remix-run/react";
|
||||||
import { Analytics } from "@vercel/analytics/react";
|
import { Analytics } from "@vercel/analytics/react";
|
||||||
import "./styles.css";
|
import "./styles.css";
|
||||||
import "@repo/ui/src/styles/globals.css";
|
import "@repo/ui/globals.css";
|
||||||
|
|
||||||
export function Layout({ children }: { children: React.ReactNode }) {
|
export function Layout({ children }: { children: React.ReactNode }) {
|
||||||
return (
|
return (
|
||||||
|
|
|
||||||
|
|
@ -1,19 +1,19 @@
|
||||||
import { CounterButton } from "@repo/ui/counter-button";
|
import { CounterButton } from "@repo/ui/counter-button/index.mjs";
|
||||||
import { Link } from "@repo/ui/link";
|
import { Link } from "@repo/ui/link/index.mjs";
|
||||||
|
|
||||||
export default function Index() {
|
export default function Index() {
|
||||||
return (
|
return (
|
||||||
<div className="container">
|
<div className="container">
|
||||||
<h1 className="title">
|
<h1 className="title">
|
||||||
Blog <br />
|
Blog <br />
|
||||||
<span>Kitchen Sink</span>
|
<span>Kitchen Sink</span>
|
||||||
</h1>
|
</h1>
|
||||||
<CounterButton />
|
<CounterButton />
|
||||||
<p className="description">
|
<p className="description">
|
||||||
Built With <Link href="https://turborepo.com">Turborepo</Link>
|
Built With <Link href="https://turborepo.com">Turborepo</Link>
|
||||||
{" & "}
|
{" & "}
|
||||||
<Link href="https://remix.run/">Remix</Link>
|
<Link href="https://remix.run/">Remix</Link>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
import { Button } from "@repo/ui/components/button";
|
import { Button } from "@repo/ui/components/button.mjs";
|
||||||
import {
|
import {
|
||||||
Card,
|
Card,
|
||||||
CardContent,
|
CardContent,
|
||||||
CardHeader,
|
CardHeader,
|
||||||
CardTitle,
|
CardTitle,
|
||||||
} from "@repo/ui/components/card";
|
} from "@repo/ui/components/card.mjs";
|
||||||
import { Link } from "@repo/ui/link";
|
import { Link } from "@repo/ui/link/index.mjs";
|
||||||
|
|
||||||
export default function Index() {
|
export default function Index() {
|
||||||
return (
|
return (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue