mirror of
https://github.com/jnsahaj/tweakcn.git
synced 2026-08-29 07:14:31 +08:00
add comment to v0 showcase page
This commit is contained in:
@@ -251,7 +251,12 @@ export default function RootLayout({
|
||||
}
|
||||
|
||||
export function generateV0PageTsx(themeName: string): string {
|
||||
return `function ColorSwatch({ name, bgClass }: { name: string; bgClass: string }) {
|
||||
return `/**
|
||||
* This is a demo page to showcase the theme's color palette.
|
||||
* Feel free to replace this with your actual app's logic.
|
||||
*/
|
||||
|
||||
function ColorSwatch({ name, bgClass }: { name: string; bgClass: string }) {
|
||||
return (
|
||||
<div className="group relative">
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user