feat: show + movie collected status
This commit is contained in:
parent
c5edb32972
commit
4770654b4e
6 changed files with 12 additions and 3 deletions
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "coryd.dev",
|
||||
"version": "24.9.1",
|
||||
"version": "24.10.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "coryd.dev",
|
||||
"version": "24.9.1",
|
||||
"version": "24.10.0",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@cdransf/api-text": "^1.5.0",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "coryd.dev",
|
||||
"version": "24.9.1",
|
||||
"version": "24.10.0",
|
||||
"description": "The source for my personal site. Built using 11ty (and other tools).",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
|
|
@ -52,6 +52,7 @@ p {
|
|||
margin: var(--margin-vertical-base-horizontal-zero);
|
||||
|
||||
&.books,
|
||||
&.collected,
|
||||
&.concerts,
|
||||
&.country,
|
||||
&.favorite,
|
||||
|
@ -61,6 +62,7 @@ p {
|
|||
&.posts,
|
||||
&.tattoo {
|
||||
&.books { --section-color: var(--books); }
|
||||
&.collected { --section-color: var(--collected); }
|
||||
&.concerts { --section-color: var(--concerts); }
|
||||
&.country { --section-color: var(--country); }
|
||||
&.favorite { --section-color: var(--favorite); }
|
||||
|
|
|
@ -54,6 +54,7 @@
|
|||
|
||||
--about: #ff6347;
|
||||
--books: #32cd32;
|
||||
--collected: #b5651d;
|
||||
--concerts: #e75480;
|
||||
--country: #20b2aa;
|
||||
--error: #d92525;
|
||||
|
|
|
@ -45,6 +45,9 @@ schema: movie
|
|||
{%- if movie.tattoo -%}
|
||||
<p class="sub-meta tattoo">{% tablericon "needle" "Tattoo" %} I have a tattoo inspired by this movie!</p>
|
||||
{%- endif -%}
|
||||
{%- if movie.collected -%}
|
||||
<p class="sub-meta collected">{% tablericon "circle-check" "Collection" %} This movie is in my collection!</p>
|
||||
{%- endif -%}
|
||||
{%- if movie.lastWatched -%}<p class="sub-meta">Last watched on {{ movie.lastWatched | date: "%B %e, %Y" }}.</p>{%- endif -%}
|
||||
</div>
|
||||
{% if movie.review %}
|
||||
|
|
|
@ -38,6 +38,9 @@ schema: show
|
|||
{%- if show.tattoo -%}
|
||||
<p class="sub-meta tattoo">{% tablericon "needle" "Tattoo" %} I have a tattoo inspired by this show!</p>
|
||||
{%- endif -%}
|
||||
{%- if show.collected -%}
|
||||
<p class="sub-meta collected">{% tablericon "circle-check" "Collection" %} This show is in my collection!</p>
|
||||
{%- endif -%}
|
||||
{%- if lastWatched -%}
|
||||
{%- capture lastWatchedText -%}
|
||||
{%- if show.episodes -%}
|
||||
|
|
Reference in a new issue