diff --git a/src/_includes/partials/now/playing.liquid b/src/_includes/partials/now/playing.liquid new file mode 100644 index 00000000..ba1baf0a --- /dev/null +++ b/src/_includes/partials/now/playing.liquid @@ -0,0 +1,9 @@ +

+ + {% tablericon 'loader-2' 'Loading...' %} + + + + + +

\ No newline at end of file diff --git a/src/_includes/partials/now-topper.liquid b/src/_includes/partials/now/topper.liquid similarity index 75% rename from src/_includes/partials/now-topper.liquid rename to src/_includes/partials/now/topper.liquid index 376f97af..1b7a2a7e 100644 --- a/src/_includes/partials/now-topper.liquid +++ b/src/_includes/partials/now/topper.liquid @@ -15,12 +15,6 @@ {{ status.emoji }} {{ status.content }}

-

- Loading... - - - - -

+ {% include "partials/now/playing.liquid" %} \ No newline at end of file diff --git a/src/index.html b/src/index.html index 23707673..c7dcbd67 100644 --- a/src/index.html +++ b/src/index.html @@ -22,7 +22,7 @@ meta: src: https://coryd.dev/assets/img/avatar.webp --- -{% if pagination.pageNumber == 0 %}{% include "partials/now-topper.liquid" %}{% endif %} {% for post in pagination.items %} {% if post.data.published %} +{% if pagination.pageNumber == 0 %}{% include "partials/now/topper.liquid" %}{% endif %} {% for post in pagination.items %} {% if post.data.published %}
svg { + @apply animate-spin; } @media (prefers-color-scheme: dark) { @@ -214,8 +213,4 @@ code[class*=language-], pre[class*=language-] { color: theme(colors.gray.900); background: theme(colors.purple.400); } - - .text--blur { - text-shadow: 0 0 5px rgba(255,255,255,0.5); - } } \ No newline at end of file