From a53dfde62ae5fec7edd5332f5fc9f16d2359593a Mon Sep 17 00:00:00 2001 From: Rajdeep Singh Date: Wed, 17 Jan 2024 22:41:06 +0530 Subject: [PATCH 01/20] adding nx prefix --- packages/section-blog-theme/components/Article/Article.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/section-blog-theme/components/Article/Article.tsx b/packages/section-blog-theme/components/Article/Article.tsx index e3028af..d76605c 100644 --- a/packages/section-blog-theme/components/Article/Article.tsx +++ b/packages/section-blog-theme/components/Article/Article.tsx @@ -10,7 +10,7 @@ export function Article({ className, children }: ArticleProps) { return (
From bbd9767455bd9874757c7a6e3ed0211427380c6c Mon Sep 17 00:00:00 2001 From: Rajdeep Singh Date: Wed, 17 Jan 2024 22:41:27 +0530 Subject: [PATCH 02/20] adding nx prefix --- packages/section-blog-theme/components.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/section-blog-theme/components.json b/packages/section-blog-theme/components.json index d1ecf5f..b5e4315 100644 --- a/packages/section-blog-theme/components.json +++ b/packages/section-blog-theme/components.json @@ -7,10 +7,11 @@ "config": "tailwind.config.js", "css": "./styles/globals.css", "baseColor": "slate", - "cssVariables": true + "cssVariables": true, + "prefix": "nx-" }, "aliases": { "components": "@/components/", "utils": "@/utility/utils" } -} +} \ No newline at end of file From 9b7225806d536febdb3302c218f2d66624e0575c Mon Sep 17 00:00:00 2001 From: Rajdeep Singh Date: Wed, 17 Jan 2024 22:41:44 +0530 Subject: [PATCH 03/20] adding nx prefix --- packages/section-blog-theme/components/Banner/Banner.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/section-blog-theme/components/Banner/Banner.tsx b/packages/section-blog-theme/components/Banner/Banner.tsx index 2d0f7c1..48e9c0d 100644 --- a/packages/section-blog-theme/components/Banner/Banner.tsx +++ b/packages/section-blog-theme/components/Banner/Banner.tsx @@ -8,22 +8,22 @@ export function Banner({ hideBanner: () => void; }) { return ( -
+
{/* Message */}
{/* Exit Button */} -
+
From 780ed06977efbf9b3e5a8ac8afa1bab0e8e80576 Mon Sep 17 00:00:00 2001 From: Rajdeep Singh Date: Wed, 17 Jan 2024 22:41:55 +0530 Subject: [PATCH 04/20] adding nx prefix --- .../components/Card/Card.tsx | 32 ++++++------------- 1 file changed, 10 insertions(+), 22 deletions(-) diff --git a/packages/section-blog-theme/components/Card/Card.tsx b/packages/section-blog-theme/components/Card/Card.tsx index 88966c4..bd74c43 100644 --- a/packages/section-blog-theme/components/Card/Card.tsx +++ b/packages/section-blog-theme/components/Card/Card.tsx @@ -3,43 +3,31 @@ import type { authorType } from "@/src/types"; import { Button } from "@/components/ui/button"; import { CardContent, Card, CardFooter } from "@/components/ui/card"; -export function ArticleCard({ - title, - description, - date, - URL, - author, -}: { - title: string; - description: string; - date: string; - URL: string; - author?: string | authorType; -}) { +export function ArticleCard({ title, description, date, URL, author }: { title: string; description: string; date: string; URL: string; author?: string | authorType; }) { return ( - - -

+ + +

{title}

{typeof author === "string" ? ( -
- - - From e0b33169a21fcc5bcf4203a2c1f1f4d38bb33838 Mon Sep 17 00:00:00 2001 From: Rajdeep Singh Date: Wed, 17 Jan 2024 22:42:26 +0530 Subject: [PATCH 05/20] adding nx prefix --- .../components/Command/Command.tsx | 39 +++++-------------- 1 file changed, 10 insertions(+), 29 deletions(-) diff --git a/packages/section-blog-theme/components/Command/Command.tsx b/packages/section-blog-theme/components/Command/Command.tsx index f6a6293..88f626e 100644 --- a/packages/section-blog-theme/components/Command/Command.tsx +++ b/packages/section-blog-theme/components/Command/Command.tsx @@ -1,20 +1,7 @@ import * as React from "react"; import { CommandIcon, TextIcon } from "lucide-react"; -import { - CommandDialog, - CommandEmpty, - CommandInput, - CommandItem, - CommandList, - CommandSeparator, - CommandGroup, -} from "@/components/ui/command"; -import { - Tooltip, - TooltipContent, - TooltipProvider, - TooltipTrigger, -} from "@/components/ui/tooltip"; +import { CommandDialog, CommandEmpty, CommandInput, CommandItem, CommandList, CommandSeparator } from "@/components/ui/command"; +import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "@/components/ui/tooltip"; import { Button } from "@/components/ui/button"; import { useRouter } from "next/router"; import { useFetch } from "usehooks-ts"; @@ -55,13 +42,8 @@ export function SearchCommandDialog() { - @@ -72,9 +54,9 @@ export function SearchCommandDialog() { - + - + No results found. {data && Object.entries(data).map(([key, value]) => { @@ -85,14 +67,13 @@ export function SearchCommandDialog() { if (value.data) { return ( -
- - - +
+ + {value.title}
From 5906acee1149c60a8735af3f30f47769d95139ab Mon Sep 17 00:00:00 2001 From: Rajdeep Singh Date: Wed, 17 Jan 2024 22:42:45 +0530 Subject: [PATCH 06/20] adding nx prefix --- packages/section-blog-theme/components/Footer/Footer.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/section-blog-theme/components/Footer/Footer.tsx b/packages/section-blog-theme/components/Footer/Footer.tsx index d13d4c3..6417e0e 100644 --- a/packages/section-blog-theme/components/Footer/Footer.tsx +++ b/packages/section-blog-theme/components/Footer/Footer.tsx @@ -18,17 +18,17 @@ export function Footer({ socialLinks: SocialLinks[]; }) { return ( -