used reusable button component
This commit is contained in:
+4
-20
@@ -87,26 +87,10 @@
|
||||
"
|
||||
/-->
|
||||
</div>
|
||||
|
||||
{{/* TODO: make a css button class for this */}}
|
||||
<button class="
|
||||
border-thin
|
||||
bg-card
|
||||
rounded-sm
|
||||
p-[0.5em]
|
||||
font-semibold
|
||||
cursor-pointer
|
||||
hover:underline
|
||||
hover:bg-accent
|
||||
disabled:bg-accent-secondary
|
||||
disabled:cursor-not-allowed
|
||||
disabled:no-underline
|
||||
{{/*mt-[1em] mb-[1em]*/}}
|
||||
">
|
||||
Create
|
||||
</button>
|
||||
|
||||
|
||||
{{ component "button"
|
||||
"Text" "Create"
|
||||
"Class" ""
|
||||
}}
|
||||
</form>
|
||||
</details>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user