set up new workflow and migrate to .forgejo dir (#5)
Some checks failed
Deploy / deploy (push) Failing after 39s

Co-authored-by: Benjamin Palko <benjaminpalko@hotmail.com>
Reviewed-on: #5
This commit is contained in:
Benjamin Palko 2026-08-11 20:55:29 -04:00
parent c37955c51b
commit f526f5c0aa
99 changed files with 1866 additions and 1470 deletions

View file

@ -1,18 +1,23 @@
### accordion
Accordion is used for showing and hiding content but only one item can stay open at a time
[accordion docs](https://daisyui.com/components/accordion/)
#### Class names
- component: `collapse`
- part: `collapse-title`, `collapse-content`
- modifier: `collapse-arrow`, `collapse-plus`, `collapse-open`, `collapse-close`
#### Syntax
```html
<div class="collapse {MODIFIER}">{CONTENT}</div>
<div class="{MODIFIER} collapse">{CONTENT}</div>
```
where content is:
```html
<input type="radio" name="{name}" checked="{checked}" />
<div class="collapse-title">{title}</div>
@ -20,6 +25,7 @@ where content is:
```
#### Rules
- {MODIFIER} is optional and can have one of the modifier class names
- Accordion uses radio inputs. All radio inputs with the same name work together and only one of them can be open at a time
- If you have more than one set of accordion items on a page, use different names for the radio inputs on each set