diff --git a/public/manifest.json b/public/manifest.json new file mode 100644 index 00000000..efa19e6b --- /dev/null +++ b/public/manifest.json @@ -0,0 +1,12 @@ +{ + "theme_color": "#e34ba9", + "background_color": "#F3F3F3", + "display": "standalone", + "scope": "/", + "start_url": "/localhost:3000", + "name": "CuiCui", + "short_name": "Cuicui", + "description": "The best react copy paste component library, customisable, robust and easy to use.", + "lang": "en", + "orientation": "landscape-primary" +} diff --git a/src/app/(components)/application-ui/kbd/page.tsx b/src/app/(components)/application-ui/kbd/page.tsx new file mode 100644 index 00000000..2e6a39d4 --- /dev/null +++ b/src/app/(components)/application-ui/kbd/page.tsx @@ -0,0 +1,10 @@ +import React from "react"; +import ComingSoonCard from "#/src/components/coming-soon"; + +export default function Page() { + return ( +
+ +
+ ); +} diff --git a/src/app/(components)/application-ui/settings/page.tsx b/src/app/(components)/application-ui/settings/page.tsx index 037c2f8a..7202388a 100644 --- a/src/app/(components)/application-ui/settings/page.tsx +++ b/src/app/(components)/application-ui/settings/page.tsx @@ -2,8 +2,6 @@ import FullComponent from "#/src/components/full-component"; import { getFileContentAsString } from "#/src/utils/get-file-content-as-string"; import DynamicSettingsVariant1 from "./dynamic-settings/variant1"; -const BASE_COMPONENT_PATH = - "./src/app/(components)/marketing-components/features/"; export default async function Page() { return ( { + return ( +
+ {dataSteps.map((step, index) => ( + + {step.code} + + ))} +
+ ); +}; + +const StaticStep = ({ + step, + title, + children, +}: { + step: number; + title: string; + children?: ReactNode; +}) => { + return ( +
+
+

+ {step} +

+
+
+
+
+ {title} +
+ {children} +
+
+ ); +}; + +const CodeContainer = ({ children }: { children: ReactNode }) => { + return ( +
+ + {children} + +
+ ); +}; diff --git a/src/app/(components)/application-ui/static-steppers/page.tsx b/src/app/(components)/application-ui/static-steppers/page.tsx new file mode 100644 index 00000000..14a899e7 --- /dev/null +++ b/src/app/(components)/application-ui/static-steppers/page.tsx @@ -0,0 +1,27 @@ +import FullComponent from "#/src/components/full-component"; +import { getFileContentAsString } from "#/src/utils/get-file-content-as-string"; +import { StepWithStickyColorVariant1 } from "./code/variant1"; + +export default async function Page() { + return ( + , + code: await getFileContentAsString({ + componentSlug: "static-steppers", + variantName: "code/variant1", + }), + }, + ]} + librariesBadges={["framer-motion", "lucide-react", "sonner"]} + componentBadges={["updated"]} + title="Simple static stepper" + description="A simple static stepper component to display a list of steps." + inspiration="Hooks Scriptkavi manual installation" + inspirationLink="https://hooks.scriptkavi.com/docs/hooks/battery" + /> + ); +} diff --git a/src/app/(components)/common-ui/avatars/page.tsx b/src/app/(components)/common-ui/avatars/page.tsx new file mode 100644 index 00000000..ab67ac1a --- /dev/null +++ b/src/app/(components)/common-ui/avatars/page.tsx @@ -0,0 +1,6 @@ +import React from "react"; +import ComingSoonCard from "#/src/components/coming-soon"; + +export default function Page() { + return ; +} diff --git a/src/app/(components)/common-ui/badges/page.tsx b/src/app/(components)/common-ui/badges/page.tsx index 919db378..0bb743fd 100644 --- a/src/app/(components)/common-ui/badges/page.tsx +++ b/src/app/(components)/common-ui/badges/page.tsx @@ -6,8 +6,6 @@ import ClerkBadgeVariant1 from "./clerk-badge/variant1"; import { BadgeSimpleVariantAmber } from "./modern-simple-badges/variant1"; import { BadgeSimpleVariantRed } from "./modern-simple-badges/variant2"; -const BASE_COMPONENT_PATH = - "./src/app/(components)/marketing-components/features/"; export default async function Page() { return ( <> diff --git a/src/app/(components)/common-ui/buttons/before-effect-button/variant1.tsx b/src/app/(components)/common-ui/buttons/before-effect-button/variant1.tsx index 0e0612a8..dcb36816 100644 --- a/src/app/(components)/common-ui/buttons/before-effect-button/variant1.tsx +++ b/src/app/(components)/common-ui/buttons/before-effect-button/variant1.tsx @@ -5,8 +5,7 @@ export default function BeforeEffectButtonVariant1() { return ( diff --git a/src/app/(components)/common-ui/buttons/before-effect-button/variant2.tsx b/src/app/(components)/common-ui/buttons/before-effect-button/variant2.tsx index 708cb166..8b4d1ea9 100644 --- a/src/app/(components)/common-ui/buttons/before-effect-button/variant2.tsx +++ b/src/app/(components)/common-ui/buttons/before-effect-button/variant2.tsx @@ -5,7 +5,7 @@ export default function BeforeEffectButtonVariant2() { return (