reformula buscas
Deploy / Deploy (push) Successful in 1m42s
Details
Deploy / Deploy (push) Successful in 1m42s
Details
This commit is contained in:
parent
c688a1734f
commit
d6a30a8f1f
|
|
@ -269,8 +269,54 @@ permalink: /projetos/
|
|||
{% elsif track.instrument_name %}{% assign p_insts_array = p_insts_array | push: track.instrument_name %}{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% assign has_patterns_display = false %}
|
||||
{% capture patterns_html_content %}
|
||||
{% assign p_patterns_str = project_patterns_flat | join: ',' %}
|
||||
{% assign p_instruments_str = p_insts_array | uniq | join: ',' %}
|
||||
{% assign p_plugins = page.tags.plugin | join: ',' %}
|
||||
{% assign p_bassline = page.tags.bassline | join: ',' %}
|
||||
{% assign p_automation = page.tags.automation | join: ',' %}
|
||||
{% assign p_samples = page.tags.sample | join: ',' %}
|
||||
{% assign p_name = page.title | default: page.name | downcase %}
|
||||
|
||||
<div class="column is-12-mobile is-6-tablet is-4-desktop is-4-widescreen project-item" data-name="{{ p_name }}" data-title="{{ page.title | escape }}" data-bpm="{{ p_bpm }}" data-plugins="{{ p_plugins }}" data-bassline="{{ p_bassline }}" data-automation="{{ p_automation }}" data-instruments="{{ p_instruments_str }}" data-samples="{{ p_samples }}" data-patterns="{{ p_patterns_str }}">
|
||||
|
||||
<div class="card project-card" data-title="{{ page.title | escape }}" style="height: 100%; background-color: #f0f8ff; border: 1px solid #cfe8fc; border-radius: 12px; display: flex; flex-direction: column; position: relative;">
|
||||
|
||||
<a href="{{ page.url | relative_url }}" style="text-decoration: none; flex: 1; display: flex; flex-direction: column;">
|
||||
<div class="card-content has-text-centered p-4" style="flex: 1; display: flex; flex-direction: column;">
|
||||
|
||||
<div style="width: 50px; height: 50px; background-color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 0.5rem auto; box-shadow: 0 2px 5px rgba(0,0,0,0.05);">
|
||||
<span class="icon" style="color: #3273dc;"><i class="fa-solid fa-music fa-lg"></i></span>
|
||||
</div>
|
||||
|
||||
<p class="title is-6 mb-2" style="color: #205081; word-break: break-word; font-weight: 700; line-height: 1.2;">
|
||||
{{ page.title | default: page.name | replace: '.html', '' }}
|
||||
</p>
|
||||
|
||||
<div class="bpm-container mb-3" style="min-height: 25px;">
|
||||
{% if p_bpm > 0 %}
|
||||
<span class="tag is-dark is-rounded is-light" style="font-size: 0.7rem; font-weight: bold; border: 1px solid #ccc;">🎵 {{ p_bpm }} BPM</span>
|
||||
{% else %}
|
||||
<span class="tag is-white is-rounded border-tag" style="font-size: 0.65rem; color: #999;">⚠️ BPM N/A</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div style="flex: 1;"></div>
|
||||
|
||||
<div class="mt-auto pt-2" style="width: 100%; border-top: 1px dashed #eef6fc;">
|
||||
{% assign unique_insts_page = p_insts_array | uniq | sort %}
|
||||
{% if unique_insts_page.size > 0 %}
|
||||
<details class="category-reveal mb-1" style="width: 100%;">
|
||||
<summary class="tag is-white summary-btn"><div class="tag-label"><span>🎸</span> <span class="tag-text">INSTRUMENTS</span></div><span class="icon is-small chevron"><i class="fa-solid fa-chevron-down"></i></span></summary>
|
||||
<div class="tags is-centered mt-1 mb-2 px-1" style="gap: 3px;">
|
||||
{% for tag in unique_insts_page %}{% if tag != "" %}
|
||||
<a href="{{ '/instruments/?instrument=' | append: tag | relative_url }}" class="tag is-light is-info clickable-tag" data-tag-value="{{ tag }}">{{ tag | truncate: 18 }}</a>
|
||||
{% endif %}{% endfor %}
|
||||
</div>
|
||||
</details>
|
||||
{% endif %}
|
||||
|
||||
{% assign has_patterns_display = false %}
|
||||
{% capture patterns_html_content %}
|
||||
<div class="px-1 py-1">
|
||||
{% for track in page.tracks %}
|
||||
{% if track.instruments %}
|
||||
|
|
@ -323,10 +369,10 @@ permalink: /projetos/
|
|||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endcapture %}
|
||||
{% endcapture %}
|
||||
|
||||
{% if has_patterns_display %}
|
||||
<details class="category-reveal mb-1" style="width: 100%;">
|
||||
{% if has_patterns_display %}
|
||||
<details class="category-reveal mb-1" style="width: 100%;">
|
||||
<summary class="tag is-white summary-btn">
|
||||
<div class="tag-label"><span>🥁</span> <span class="tag-text">RITMO</span></div>
|
||||
<span class="icon is-small chevron"><i class="fa-solid fa-chevron-down"></i></span>
|
||||
|
|
@ -334,55 +380,8 @@ permalink: /projetos/
|
|||
<div class="mt-1 mb-2 has-text-left" style="background: #fdfdfd; border-radius: 4px; border: 1px solid #f0f0f0;">
|
||||
{{ patterns_html_content }}
|
||||
</div>
|
||||
</details>
|
||||
{% endif %}
|
||||
|
||||
{% assign p_patterns_str = project_patterns_flat | join: ',' %}
|
||||
{% assign p_instruments_str = p_insts_array | uniq | join: ',' %}
|
||||
{% assign p_plugins = page.tags.plugin | join: ',' %}
|
||||
{% assign p_bassline = page.tags.bassline | join: ',' %}
|
||||
{% assign p_automation = page.tags.automation | join: ',' %}
|
||||
{% assign p_samples = page.tags.sample | join: ',' %}
|
||||
{% assign p_name = page.title | default: page.name | downcase %}
|
||||
|
||||
<div class="column is-12-mobile is-6-tablet is-4-desktop is-4-widescreen project-item" data-name="{{ p_name }}" data-title="{{ page.title | escape }}" data-bpm="{{ p_bpm }}" data-plugins="{{ p_plugins }}" data-bassline="{{ p_bassline }}" data-automation="{{ p_automation }}" data-instruments="{{ p_instruments_str }}" data-samples="{{ p_samples }}" data-patterns="{{ p_patterns_str }}">
|
||||
|
||||
<div class="card project-card" data-title="{{ page.title | escape }}" style="height: 100%; background-color: #f0f8ff; border: 1px solid #cfe8fc; border-radius: 12px; display: flex; flex-direction: column; position: relative;">
|
||||
|
||||
<a href="{{ page.url | relative_url }}" style="text-decoration: none; flex: 1; display: flex; flex-direction: column;">
|
||||
<div class="card-content has-text-centered p-4" style="flex: 1; display: flex; flex-direction: column;">
|
||||
|
||||
<div style="width: 50px; height: 50px; background-color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 0.5rem auto; box-shadow: 0 2px 5px rgba(0,0,0,0.05);">
|
||||
<span class="icon" style="color: #3273dc;"><i class="fa-solid fa-music fa-lg"></i></span>
|
||||
</div>
|
||||
|
||||
<p class="title is-6 mb-2" style="color: #205081; word-break: break-word; font-weight: 700; line-height: 1.2;">
|
||||
{{ page.title | default: page.name | replace: '.html', '' }}
|
||||
</p>
|
||||
|
||||
<div class="bpm-container mb-3" style="min-height: 25px;">
|
||||
{% if p_bpm > 0 %}
|
||||
<span class="tag is-dark is-rounded is-light" style="font-size: 0.7rem; font-weight: bold; border: 1px solid #ccc;">🎵 {{ p_bpm }} BPM</span>
|
||||
{% else %}
|
||||
<span class="tag is-white is-rounded border-tag" style="font-size: 0.65rem; color: #999;">⚠️ BPM N/A</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div style="flex: 1;"></div>
|
||||
|
||||
<div class="mt-auto pt-2" style="width: 100%; border-top: 1px dashed #eef6fc;">
|
||||
{% assign unique_insts_page = p_insts_array | uniq | sort %}
|
||||
{% if unique_insts_page.size > 0 %}
|
||||
<details class="category-reveal mb-1" style="width: 100%;">
|
||||
<summary class="tag is-white summary-btn"><div class="tag-label"><span>🎸</span> <span class="tag-text">INSTRUMENTS</span></div><span class="icon is-small chevron"><i class="fa-solid fa-chevron-down"></i></span></summary>
|
||||
<div class="tags is-centered mt-1 mb-2 px-1" style="gap: 3px;">
|
||||
{% for tag in unique_insts_page %}{% if tag != "" %}
|
||||
<a href="{{ '/instruments/?instrument=' | append: tag | relative_url }}" class="tag is-light is-info clickable-tag" data-tag-value="{{ tag }}">{{ tag | truncate: 18 }}</a>
|
||||
{% endif %}{% endfor %}
|
||||
</div>
|
||||
</details>
|
||||
{% endif %}
|
||||
|
||||
{% if page.tags.plugin.size > 0 %}
|
||||
<details class="category-reveal mb-1" style="width: 100%;">
|
||||
<summary class="tag is-white summary-btn"><div class="tag-label"><span>🔌</span> <span class="tag-text">PLUGINS</span></div><span class="icon is-small chevron"><i class="fa-solid fa-chevron-down"></i></span></summary>
|
||||
|
|
|
|||
Loading…
Reference in New Issue