Skip to content

Commit cc42fb4

Browse files
committed
wip
1 parent c2c1568 commit cc42fb4

File tree

10 files changed

+14
-21
lines changed

10 files changed

+14
-21
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,4 +135,7 @@ Access: [http://localhost:3000/thomasdavis/interview](http://localhost:3000/thom
135135

136136
Brand colors: [Color Hexa](https://www.colorhexa.com/fff18f)
137137

138-
Feel free to join our community on [Discord](https://discord.gg/GTZtn8pTXC) for discussions, support, and collaboration.
138+
Feel free to join our community on [Discord](https://discord.gg/GTZtn8pTXC) for discussions, support, and collaboration.
139+
140+
### Turbo Gotchas
141+
- If you don't import components from `@repo/ui`, it will not work in the build step

apps/registry/app/components/CreateResume.js

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

33
import { useState } from 'react';
44
import { useResume } from '../providers/ResumeProvider';
5-
import { Button } from '@repo/ui/components/ui/button';
6-
import { Card, CardContent } from '@repo/ui/components/ui/card';
7-
import { Badge } from '@repo/ui/components/ui/badge';
5+
import { Button, Card, CardContent, Badge } from '@repo/ui';
86
import { FileJson, ArrowRight, Github } from 'lucide-react';
97
import Link from 'next/link';
108

apps/registry/app/components/Editor.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ import { useResume } from '../providers/ResumeProvider';
44
import ResumeEditor from './ResumeEditor';
55
import CreateResume from './CreateResume';
66
import { FileJson } from 'lucide-react';
7-
import { Badge } from '@repo/ui/components/ui/badge';
8-
import { Card, CardContent } from '@repo/ui/components/ui/card';
7+
import { Badge, Card, CardContent } from '@repo/ui';
98

109
const sampleResume = {
1110
basics: {

apps/registry/app/components/Menu.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@ import {
1717
LayoutDashboard,
1818
Edit,
1919
} from 'lucide-react';
20-
import { Button } from '@repo/ui/components/ui/button';
2120
import { useRouter, usePathname } from 'next/navigation';
22-
import { Card, CardContent } from '@repo/ui/components/ui/card';
21+
import { Button, Card, CardContent } from '@repo/ui';
2322

2423
export default function Menu() {
2524
const [user, setUser] = useState(null);

apps/registry/app/components/ResumeEditor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import Editor, { useMonaco } from '@monaco-editor/react';
44
import { useRef, useEffect, useState } from 'react';
55
import { render } from '../../../../packages/jsonresume-theme-professional';
6-
import { Button } from '@repo/ui/components/ui/button';
6+
import { Button } from '@repo/ui';
77
import Link from 'next/link';
88
import schema from './schema';
99
import { ExternalLink, Save } from 'lucide-react';

apps/registry/app/explore/ClientResumes.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ import {
1010
ExternalLink,
1111
LayoutDashboard,
1212
} from 'lucide-react';
13-
import { Card, CardContent, CardFooter } from '@repo/ui/components/ui/card';
14-
import { Button } from '@repo/ui/components/ui/button';
15-
import { Input } from '@repo/ui/components/ui/input';
13+
import { Card, CardContent, CardFooter, Button, Input } from '@repo/ui';
1614

1715
export default function ClientResumes({
1816
initialResumes,

apps/registry/app/login/page.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22

33
import { useState } from 'react';
44
import { supabase } from '../lib/supabase';
5-
import { Button } from '@repo/ui/components/ui/button';
6-
import { Card, CardContent } from '@repo/ui/components/ui/card';
5+
import { Badge, Button, Card, CardContent } from '@repo/ui';
76
import { Github, FileJson, ArrowRight } from 'lucide-react';
8-
import { Badge } from '@repo/ui/components/ui/badge';
7+
98
import Link from 'next/link';
109

1110
export default function LoginPage() {

apps/registry/app/privacy/page.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 { Card, CardContent } from '@repo/ui/components/ui/card';
3+
import { Card, CardContent } from '@repo/ui';
44
import Link from 'next/link';
55

66
export default function PrivacyPage() {

apps/registry/app/signup/page.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@ import { useState } from 'react';
44
import { useRouter } from 'next/navigation';
55
import Link from 'next/link';
66
import { supabase } from '../lib/supabase';
7-
import { Button } from '@repo/ui/components/ui/button';
8-
import { Input } from '@repo/ui/components/ui/input';
9-
import { Card } from '@repo/ui/components/ui/card';
10-
import { Separator } from '@repo/ui/components/ui/separator';
7+
import { Button, Input, Card, Separator } from '@repo/ui';
118
import { Github } from 'lucide-react';
129
import { faker } from '@faker-js/faker';
1310

apps/registry/app/terms/page.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 { Card, CardContent } from '@repo/ui/components/ui/card';
3+
import { Card, CardContent } from '@repo/ui';
44
import Link from 'next/link';
55

66
export default function TermsPage() {

0 commit comments

Comments
 (0)