From b7af87ef191adcd36581f564bd3a79dc72517876 Mon Sep 17 00:00:00 2001 From: LuckySharma014 <117056913+LuckySharma014@users.noreply.github.com> Date: Tue, 18 Jun 2024 12:51:05 +0530 Subject: [PATCH] chore: corrected examples --- .../rafty-nextjs-pages-router/pages/index.js | 51 ++++++++-------- examples/rafty-nextjs/app/page.js | 58 +++++++++++-------- 2 files changed, 61 insertions(+), 48 deletions(-) diff --git a/examples/rafty-nextjs-pages-router/pages/index.js b/examples/rafty-nextjs-pages-router/pages/index.js index 23fd7e81..3fc4caa5 100644 --- a/examples/rafty-nextjs-pages-router/pages/index.js +++ b/examples/rafty-nextjs-pages-router/pages/index.js @@ -1,6 +1,5 @@ import { MoonIcon, SunIcon } from "@heroicons/react/24/outline"; -import { Card, CardContent, CardHeader } from "@rafty/ui"; -import { Button } from "@rafty/ui"; +import { Card, CardContent, CardHeader,Button } from "@rafty/ui"; import Image from "next/image"; import { useState } from "react"; import Logo from "../public/rhinobase.png"; @@ -28,7 +27,7 @@ export default function Home() { target="_blank" rel="noopener noreferrer" > - By{" "} + By" " - - Docs{" "} -

+ +

+ Docs" " + > -

+

- - Find in-depth information about @rafty/ui features and API. + +

+ Find in-depth information about @rafty/ui features and API.

@@ -87,11 +88,12 @@ export default function Home() { rel="noopener noreferrer" > - - Themes{" "} -

+ +

+ Themes + > -

+

Check out components across different themes. @@ -106,14 +108,16 @@ export default function Home() { className="md:mb-20 lg:mb-0" > - - Templates{" "} -

+ +

+ Templates + > -

+

- - A collection of example, boilerplates, and scaffolds. + +

+ A collection of example, boilerplates, and scaffolds.

@@ -125,11 +129,12 @@ export default function Home() { className="mb-40 md:mb-20 lg:mb-0" > - - Components{" "} -

+ +

+ Components + > -

+

Prebuilt components to help you build your projects faster. diff --git a/examples/rafty-nextjs/app/page.js b/examples/rafty-nextjs/app/page.js index e1ac40c6..988f7889 100644 --- a/examples/rafty-nextjs/app/page.js +++ b/examples/rafty-nextjs/app/page.js @@ -28,7 +28,7 @@ export default function Home() { target="_blank" rel="noopener noreferrer" > - By{" "} + By" " - - Docs{" "} -

+ +

+ Docs" " + > -

+

- - Find in-depth information about @rafty/ui features and API. + +

+ Find in-depth information about @rafty/ui features and API.

@@ -87,14 +89,16 @@ export default function Home() { rel="noopener noreferrer" > - - Themes{" "} -

+ +

+ Themes" " + > -

+

- - Check out components across different themes. + +

+ Check out components across different themes.

@@ -106,14 +110,16 @@ export default function Home() { className="md:mb-20 lg:mb-0" > - - Templates{" "} -

+ +

+ Templates" " + > -

+

- - A collection of example, boilerplates, and scaffolds. + +

+ A collection of example, boilerplates, and scaffolds.

@@ -125,14 +131,16 @@ export default function Home() { className="mb-40 md:mb-20 lg:mb-0" > - - Components{" "} -

+ +

+ Components" " + > -

+

- - Prebuilt components to help you build your projects faster. + +

+ Prebuilt components to help you build your projects faster.