- );
-};
diff --git a/src/app/page.tsx b/src/app/page.tsx
index 0f17d9f..ffb9b22 100644
--- a/src/app/page.tsx
+++ b/src/app/page.tsx
@@ -6,8 +6,7 @@ import { cn } from "@/lib/utils";
import Link from "next/link";
import Balancer from "react-wrap-balancer";
-//provide the set of api to the component that allow to build the ui examples
-export default function Home() {
+export default async function Home() {
return (
diff --git a/src/components/banner.tsx b/src/components/banner.tsx
index f55b14d..6eceff9 100644
--- a/src/components/banner.tsx
+++ b/src/components/banner.tsx
@@ -1,11 +1,12 @@
import Link from "next/link";
import { buttonVariants } from "@/components/ui/button";
import { cn } from "@/lib/utils";
+import { siteConfig } from "@/config/site-config";
export const Banner = () => {
return (
-
- 🥳 New docs for shadcn extesnion are live.
+
+ 🥳 New docs for {siteConfig.name} are live.
{
buttonVariants({
variant: "link",
}),
- "px-1 text-sm py-0 h-fit"
+ "px-1 text-sm py-0 h-fit text-white"
)}
>
Check them out
diff --git a/src/components/layouts/toc.tsx b/src/components/layouts/toc.tsx
index 8356ea6..80beb71 100644
--- a/src/components/layouts/toc.tsx
+++ b/src/components/layouts/toc.tsx
@@ -31,7 +31,7 @@ export const DocMainTOC = ({ toc, slug }: TocProps) => {
Questions? Give us feedback
@@ -39,7 +39,7 @@ export const DocMainTOC = ({ toc, slug }: TocProps) => {
Edit this page
diff --git a/src/components/playground/playground-preview.tsx b/src/components/playground/playground-preview.tsx
index aa81363..4d9aa88 100644
--- a/src/components/playground/playground-preview.tsx
+++ b/src/components/playground/playground-preview.tsx
@@ -10,11 +10,7 @@ type LivePlaygroundPreviewProps = {
export const LivePlaygroundPreview = memo(
({ code, dependencies, example }: LivePlaygroundPreviewProps) => {
return (
-
+