very basic support that works
All checks were successful
PR Check / lint-and-format (pull_request) Successful in 12m4s
All checks were successful
PR Check / lint-and-format (pull_request) Successful in 12m4s
This commit is contained in:
parent
cddfb78721
commit
97db918a61
2 changed files with 24 additions and 0 deletions
|
@ -126,3 +126,17 @@ ul ul {
|
|||
p[data-lang] {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Filters */
|
||||
div.filters:has(input[type="checkbox"]:checked) ~ ul li {
|
||||
display: none;
|
||||
}
|
||||
|
||||
div.filters:has(input[type="checkbox"][value="ts"]:checked)
|
||||
~ ul
|
||||
li:has(p[data-lang="ts"]),
|
||||
div.filters:has(input[type="checkbox"][value="py"]:checked)
|
||||
~ ul
|
||||
li:has(p[data-lang="py"]) {
|
||||
display: flex;
|
||||
}
|
||||
|
|
|
@ -17,6 +17,16 @@
|
|||
<p>{{location_apps}} {{err_msg}}</p>
|
||||
{{/location_apps}} {{^location_apps}}
|
||||
|
||||
<div class="filters">
|
||||
<label><input type="checkbox" value="ts" />TypeScript</label>
|
||||
<label><input type="checkbox" value="rust" />Rust</label>
|
||||
<label><input type="checkbox" value="py" />Python</label>
|
||||
<label><input type="checkbox" value="ocaml" />OCaml</label>
|
||||
<label><input type="checkbox" value="go" />Go</label>
|
||||
<label><input type="checkbox" value="gdscript" />GDScript</label>
|
||||
<label><input type="checkbox" value="tex" />LaTeX</label>
|
||||
</div>
|
||||
|
||||
<h2>Projets</h2>
|
||||
<ul>
|
||||
{{#apps}} {{>portfolio/card.html}} {{/apps}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue