Independent sigpro vs sigpro-ui
All checks were successful
Deploy Docs to Synology / deploy (push) Successful in 3s
All checks were successful
Deploy Docs to Synology / deploy (push) Successful in 3s
This commit is contained in:
14
docs/demo.md
14
docs/demo.md
@@ -632,9 +632,9 @@ mount(
|
||||
```js
|
||||
mount(
|
||||
div({ class: "flex gap-4 text-xl" }, [
|
||||
Icon("icon-[lucide--home]"),
|
||||
Icon("icon-[lucide--settings]"),
|
||||
Icon("❤️"), // emoji fallback
|
||||
Icon({},"icon-[lucide--home]"),
|
||||
Icon({},"icon-[lucide--settings]"),
|
||||
"❤️", // emoji fallback
|
||||
]),
|
||||
"#demo-icon",
|
||||
);
|
||||
@@ -649,7 +649,7 @@ mount(
|
||||
```js
|
||||
mount(
|
||||
Indicator({ value: "3" }, [
|
||||
Button({ class: "btn-circle" }, Icon("icon-[lucide--bell]")),
|
||||
Button({ class: "btn-circle" }, Icon({},"icon-[lucide--bell]")),
|
||||
]),
|
||||
"#demo-indicator",
|
||||
);
|
||||
@@ -671,14 +671,14 @@ mount(
|
||||
label: "Username",
|
||||
float: true,
|
||||
value: username,
|
||||
left: Icon("icon-[lucide--user]"),
|
||||
left: Icon({},"icon-[lucide--user]"),
|
||||
}),
|
||||
Input({
|
||||
type: "password",
|
||||
label: "Password",
|
||||
float: true,
|
||||
value: password,
|
||||
left: Icon("icon-[lucide--lock]"),
|
||||
left: Icon({},"icon-[lucide--lock]"),
|
||||
}),
|
||||
]),
|
||||
"#demo-input",
|
||||
@@ -813,7 +813,7 @@ mount(
|
||||
div({ class: "flex-1" }, a({ class: "btn btn-ghost text-xl" }, "SigPro")),
|
||||
div(
|
||||
{ class: "flex-none" },
|
||||
Button({ class: "btn-square btn-ghost" }, Icon("icon-[lucide--menu]")),
|
||||
Button({ class: "btn-square btn-ghost" }, Icon({},"icon-[lucide--menu]")),
|
||||
),
|
||||
]),
|
||||
"#demo-navbar",
|
||||
|
||||
Reference in New Issue
Block a user