Paulius | 24500 Mentor
Paulius | 24500 Mentor
TTCTheo's Typesafe Cult
Created by Paulius | 24500 Mentor on 8/9/2023 in #questions
How to convert shadcn/ui components to Client component?
how could I do that?
23 replies
TTCTheo's Typesafe Cult
Created by Paulius | 24500 Mentor on 8/9/2023 in #questions
How to convert shadcn/ui components to Client component?
can I convert it to client side?
23 replies
TTCTheo's Typesafe Cult
Created by Paulius | 24500 Mentor on 8/9/2023 in #questions
How to convert shadcn/ui components to Client component?
so what?
23 replies
TTCTheo's Typesafe Cult
Created by Paulius | 24500 Mentor on 8/9/2023 in #questions
How to convert shadcn/ui components to Client component?
Could I convert it to client component?
23 replies
TTCTheo's Typesafe Cult
Created by Paulius | 24500 Mentor on 8/9/2023 in #questions
How to convert shadcn/ui components to Client component?
how could i fix it? 😄
23 replies
TTCTheo's Typesafe Cult
Created by Paulius | 24500 Mentor on 8/9/2023 in #questions
How to convert shadcn/ui components to Client component?
Yeah, sorry, you will have to elaborate more thinkies
23 replies
TTCTheo's Typesafe Cult
Created by Paulius | 24500 Mentor on 8/9/2023 in #questions
How to convert shadcn/ui components to Client component?
import {
Table,
TableBody,
TableCaption,
TableCell,
TableHead,
TableHeader,
TableRow,
} from "@/components/ui/table"
import { Button } from "@/components/ui/button";

export default function MainTable() {
const checkmark = "\u2705";
const xmark = "\u274C";

const success = "text-green-500";


return (
<div className="min-w-[350px] mt-4 px-2">
<Table className="">
<TableHeader>
<TableRow>
<TableHead className="w-[150px]">Name</TableHead>
<TableHead className="text-right">Availability</TableHead>
</TableRow>
</TableHeader>
<TableBody >
<TableRow className="hover:bg-white">
<TableCell className={`font-medium ${success}`}>name.io</TableCell>
<TableCell className="text-right text-green-500">
<Button className="w-[75px] bg-green-500 hover:bg-white hover:text-green-500 border">Click</Button>
</TableCell>
</TableRow>
<TableRow>
<TableCell className={`font-medium ${success}`}>name 1</TableCell>
<TableCell className="text-right text-green-500">{checkmark}</TableCell>
</TableRow>
<TableRow>
<TableCell className={`font-medium ${success}`}>name 2</TableCell>
<TableCell className="text-right text-green-500">{checkmark}</TableCell>
</TableRow>
</TableBody>
</Table>
</div>
)
}
import {
Table,
TableBody,
TableCaption,
TableCell,
TableHead,
TableHeader,
TableRow,
} from "@/components/ui/table"
import { Button } from "@/components/ui/button";

export default function MainTable() {
const checkmark = "\u2705";
const xmark = "\u274C";

const success = "text-green-500";


return (
<div className="min-w-[350px] mt-4 px-2">
<Table className="">
<TableHeader>
<TableRow>
<TableHead className="w-[150px]">Name</TableHead>
<TableHead className="text-right">Availability</TableHead>
</TableRow>
</TableHeader>
<TableBody >
<TableRow className="hover:bg-white">
<TableCell className={`font-medium ${success}`}>name.io</TableCell>
<TableCell className="text-right text-green-500">
<Button className="w-[75px] bg-green-500 hover:bg-white hover:text-green-500 border">Click</Button>
</TableCell>
</TableRow>
<TableRow>
<TableCell className={`font-medium ${success}`}>name 1</TableCell>
<TableCell className="text-right text-green-500">{checkmark}</TableCell>
</TableRow>
<TableRow>
<TableCell className={`font-medium ${success}`}>name 2</TableCell>
<TableCell className="text-right text-green-500">{checkmark}</TableCell>
</TableRow>
</TableBody>
</Table>
</div>
)
}
23 replies
TTCTheo's Typesafe Cult
Created by Paulius | 24500 Mentor on 8/8/2023 in #questions
how to know if i'm using React Server Components?
6 replies
TTCTheo's Typesafe Cult
Created by Paulius | 24500 Mentor on 8/8/2023 in #questions
how to know if i'm using React Server Components?
6 replies
TTCTheo's Typesafe Cult
Created by Paulius | 24500 Mentor on 7/21/2023 in #questions
Deployed default nextjs app on vercel - doesn't have perfect "Real Experience Score", why?
Appreciate the help tho
41 replies
TTCTheo's Typesafe Cult
Created by Paulius | 24500 Mentor on 7/21/2023 in #questions
Deployed default nextjs app on vercel - doesn't have perfect "Real Experience Score", why?
Don't have any specific questions atm. Just heard that I shouldn't use google analytics
41 replies
TTCTheo's Typesafe Cult
Created by Paulius | 24500 Mentor on 7/21/2023 in #questions
Deployed default nextjs app on vercel - doesn't have perfect "Real Experience Score", why?
btw do you have any tool recommendations to for traffic analytics?
41 replies
TTCTheo's Typesafe Cult
Created by Paulius | 24500 Mentor on 7/21/2023 in #questions
Deployed default nextjs app on vercel - doesn't have perfect "Real Experience Score", why?
fair point
41 replies
TTCTheo's Typesafe Cult
Created by Paulius | 24500 Mentor on 7/21/2023 in #questions
Deployed default nextjs app on vercel - doesn't have perfect "Real Experience Score", why?
why tho?
41 replies
TTCTheo's Typesafe Cult
Created by Paulius | 24500 Mentor on 7/21/2023 in #questions
Deployed default nextjs app on vercel - doesn't have perfect "Real Experience Score", why?
but ugh, I guess nevermind. As they say - just ship it
41 replies
TTCTheo's Typesafe Cult
Created by Paulius | 24500 Mentor on 7/21/2023 in #questions
Deployed default nextjs app on vercel - doesn't have perfect "Real Experience Score", why?
41 replies
TTCTheo's Typesafe Cult
Created by Paulius | 24500 Mentor on 7/21/2023 in #questions
Deployed default nextjs app on vercel - doesn't have perfect "Real Experience Score", why?
tho it's score improved
41 replies
TTCTheo's Typesafe Cult
Created by Paulius | 24500 Mentor on 7/21/2023 in #questions
Deployed default nextjs app on vercel - doesn't have perfect "Real Experience Score", why?
41 replies
TTCTheo's Typesafe Cult
Created by Paulius | 24500 Mentor on 7/21/2023 in #questions
Deployed default nextjs app on vercel - doesn't have perfect "Real Experience Score", why?
Yes, haven't changed a thing
41 replies
TTCTheo's Typesafe Cult
Created by Paulius | 24500 Mentor on 7/21/2023 in #questions
Deployed default nextjs app on vercel - doesn't have perfect "Real Experience Score", why?
Oh. Yeah it's /app
41 replies