-
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 🐛 fix display when no Iframe * ✨ Improve simple cursor variants * ✨ improve responsive of skeleton children * 💄 update component height * ✨ Add component wrapper h-full children * 🏷️ add prefer-desktop badge * 🔍 Add manifest, metadatas & sitemap * ✨ Improve home page with card preview * 🔥 replace changelog by featurebase changelogs * 🚧 Add coming soon categories * 🎨 Improve existing components * 🎨 Improve website & code structure & minor errors * 📝 Add micro interactions section to About page
- Loading branch information
1 parent
14489ac
commit f9ac533
Showing
39 changed files
with
862 additions
and
356 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import React from "react"; | ||
import ComingSoonCard from "#/src/components/coming-soon"; | ||
|
||
export default function Page() { | ||
return ( | ||
<div> | ||
<ComingSoonCard /> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
76 changes: 76 additions & 0 deletions
76
src/app/(components)/application-ui/static-steppers/code/variant1.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
"use client"; | ||
import { motion, useScroll } from "framer-motion"; | ||
import { type ReactNode, useRef } from "react"; | ||
import { cn } from "#/src/utils/cn"; | ||
|
||
const dataSteps = [ | ||
{ | ||
title: "Step 1", | ||
code: "npx create-react-app my-app", | ||
}, | ||
{ | ||
title: "Step 2", | ||
code: "cd my-app", | ||
}, | ||
{ | ||
title: "Step 3", | ||
code: "npm start", | ||
}, | ||
{ | ||
title: "Step 4", | ||
code: "npm run build", | ||
}, | ||
]; | ||
|
||
export const StepWithStickyColorVariant1 = () => { | ||
return ( | ||
<div className="w-full max-w-2xl p-4"> | ||
{dataSteps.map((step, index) => ( | ||
<StaticStep key={step.title} step={index + 1} title={step.title}> | ||
<CodeContainer>{step.code}</CodeContainer> | ||
</StaticStep> | ||
))} | ||
</div> | ||
); | ||
}; | ||
|
||
const StaticStep = ({ | ||
step, | ||
title, | ||
children, | ||
}: { | ||
step: number; | ||
title: string; | ||
children?: ReactNode; | ||
}) => { | ||
return ( | ||
<div className="flex gap-6 "> | ||
<div className="flex-col flex items-center"> | ||
<p className="flex items-center justify-center size-8 rounded-full bg-neutral-100 dark:bg-neutral-800 dark:hover:bg-neutral-800/80 text-sm font-medium select-none flex-none text-neutral-700 dark:text-neutral-50 border-neutral-400/20 border dark:border-neutral-400/10"> | ||
{step} | ||
</p> | ||
<div className="w-px h-full relative rounded-full bg-neutral-200 dark:bg-neutral-700 my-2" /> | ||
</div> | ||
<div className="mb-4 w-full"> | ||
<h6 className="text-lg ml-1 font-medium tracking-tight mb-4 text-neutral-700 dark:text-neutral-50"> | ||
{title} | ||
</h6> | ||
{children} | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
const CodeContainer = ({ children }: { children: ReactNode }) => { | ||
return ( | ||
<div className="w-full h-fit bg-neutral-100 dark:bg-neutral-800 dark:hover:bg-neutral-800/80 transition-colors duration-300 rounded-lg px-5 py-3 border border-neutral-400/20 dark:border-neutral-400/10"> | ||
<code | ||
className={cn( | ||
"text-neutral-500 dark:text-neutral-300 text-sm whitespace-pre-wrap", | ||
)} | ||
> | ||
{children} | ||
</code> | ||
</div> | ||
); | ||
}; |
27 changes: 27 additions & 0 deletions
27
src/app/(components)/application-ui/static-steppers/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ( | ||
<FullComponent | ||
size="sm" | ||
componentList={[ | ||
{ | ||
variantName: "variant1", | ||
component: <StepWithStickyColorVariant1 />, | ||
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" | ||
/> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import React from "react"; | ||
import ComingSoonCard from "#/src/components/coming-soon"; | ||
|
||
export default function Page() { | ||
return <ComingSoonCard />; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import React from "react"; | ||
import ComingSoonCard from "#/src/components/coming-soon"; | ||
|
||
export default function Page() { | ||
return ( | ||
<div> | ||
<ComingSoonCard /> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import React from "react"; | ||
import ComingSoonCard from "#/src/components/coming-soon"; | ||
|
||
export default function Page() { | ||
return ( | ||
<div> | ||
<ComingSoonCard /> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.