Skip to content

Commit f6d3a57

Browse files
committed
chore: πŸ€– delete ui package
1 parent 2dd22e9 commit f6d3a57

File tree

9 files changed

+18
-146
lines changed

9 files changed

+18
-146
lines changed

β€Žapps/web/src/app/layout.tsx

+9-10
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
1-
import "./globals.css";
2-
import "@repo/ui/styles.css";
3-
import type { Metadata } from "next";
4-
import { Inter } from "next/font/google";
1+
import type { Metadata } from 'next'
2+
import { Inter } from 'next/font/google'
3+
import './globals.css'
54

6-
const inter = Inter({ subsets: ["latin"] });
5+
const inter = Inter({ subsets: ['latin'] })
76

87
export const metadata: Metadata = {
9-
title: "Create Turborepo",
10-
description: "Generated by create turbo",
11-
};
8+
title: 'Create Turborepo',
9+
description: 'Generated by create turbo',
10+
}
1211

1312
export default function RootLayout({
1413
children,
1514
}: {
16-
children: React.ReactNode;
15+
children: React.ReactNode
1716
}): JSX.Element {
1817
return (
1918
<html lang="en">
2019
<body className={inter.className}>{children}</body>
2120
</html>
22-
);
21+
)
2322
}

β€Žapps/web/src/app/page.tsx

+9-42
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,23 @@
1-
import Image from "next/image";
2-
import { Card } from "@repo/ui/card";
1+
import Image from 'next/image'
32

43
function Gradient({
54
conic,
65
className,
76
small,
87
}: {
9-
small?: boolean;
10-
conic?: boolean;
11-
className?: string;
8+
small?: boolean
9+
conic?: boolean
10+
className?: string
1211
}): JSX.Element {
1312
return (
1413
<span
1514
className={`absolute mix-blend-normal will-change-[filter] rounded-[100%] ${
16-
small ? "blur-[32px]" : "blur-[75px]"
17-
} ${conic ? "bg-glow-conic" : ""} ${className}`}
15+
small ? 'blur-[32px]' : 'blur-[75px]'
16+
} ${conic ? 'bg-glow-conic' : ''} ${className}`}
1817
/>
19-
);
18+
)
2019
}
2120

22-
const LINKS = [
23-
{
24-
title: "Docs",
25-
href: "https://turbo.build/repo/docs",
26-
description: "Find in-depth information about Turborepo features and API.",
27-
},
28-
{
29-
title: "Learn",
30-
href: "https://turbo.build/repo/docs/handbook",
31-
description: "Learn more about monorepos with our handbook.",
32-
},
33-
{
34-
title: "Templates",
35-
href: "https://turbo.build/repo/docs/getting-started/from-example",
36-
description: "Choose from over 15 examples and deploy with a single click.",
37-
},
38-
{
39-
title: "Deploy",
40-
href: "https://vercel.com/new",
41-
description:
42-
"Instantly deploy your Turborepo to a shareable URL with Vercel.",
43-
},
44-
];
45-
4621
export default function Page(): JSX.Element {
4722
return (
4823
<main className="flex flex-col items-center justify-between min-h-screen p-24">
@@ -58,7 +33,7 @@ export default function Page(): JSX.Element {
5833
rel="noopener noreferrer"
5934
target="_blank"
6035
>
61-
By{" "}
36+
By{' '}
6237
<Image
6338
alt="Vercel Logo"
6439
className="invert"
@@ -125,14 +100,6 @@ export default function Page(): JSX.Element {
125100
</div>
126101
</div>
127102
</div>
128-
129-
<div className="grid mb-32 text-center lg:max-w-5xl lg:w-full lg:mb-0 lg:grid-cols-4 lg:text-left">
130-
{LINKS.map(({ title, href, description }) => (
131-
<Card href={href} key={title} title={title}>
132-
{description}
133-
</Card>
134-
))}
135-
</div>
136103
</main>
137-
);
104+
)
138105
}

β€Žpackages/ui/.eslintrc.js

-3
This file was deleted.

β€Žpackages/ui/package.json

-34
This file was deleted.

β€Žpackages/ui/postcss.config.js

-9
This file was deleted.

β€Žpackages/ui/src/card.tsx

-30
This file was deleted.

β€Žpackages/ui/src/styles.css

-3
This file was deleted.

β€Žpackages/ui/tailwind.config.ts

-10
This file was deleted.

β€Žpackages/ui/tsconfig.json

-5
This file was deleted.

0 commit comments

Comments
Β (0)