feat: remove tailwind
This commit is contained in:
parent
447e3b417d
commit
9b2d0883e5
56 changed files with 1541 additions and 3862 deletions
|
@ -1,12 +1,12 @@
|
|||
{% if albumReleases.size > 0 %}
|
||||
<h2 class="[&>svg]:h-5 [&>svg]:w-5 [&>svg]:md:h-7 [&>svg]:md:w-7 [&>svg]:-mt-1 [&>svg]:md:-mt-1.5 [&>svg]:inline icon--bold m-0 text-xl font-black leading-tight tracking-normal dark:text-white md:text-2xl mt-8 mb-4">
|
||||
<h2 class="now__section--header">
|
||||
{% tablericon "calendar-time" "Anticipated albums" %}
|
||||
Anticipated albums
|
||||
</h2>
|
||||
<ul class="list-inside list-disc pl-5 md:pl-10">
|
||||
<ul>
|
||||
{% for album in albumReleases %}
|
||||
<li class="mt-1.5 mb-2">
|
||||
<span class="font-bold">{{ album.date | readableDate }}: </span>
|
||||
<li>
|
||||
<strong>{{ album.date | readableDate }}: </strong>
|
||||
<a href="https://{{album.url}}" title="{{album.title | escape}}">
|
||||
{{album.title}}
|
||||
</a>
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
{% if links.size > 0 %}
|
||||
<h2 class="[&>svg]:h-5 [&>svg]:w-5 [&>svg]:md:h-7 [&>svg]:md:w-7 [&>svg]:-mt-1 [&>svg]:md:-mt-1.5 [&>svg]:inline icon--bold m-0 text-xl font-black leading-tight tracking-normal dark:text-white md:text-2xl mt-8 mb-4">
|
||||
<h2 class="now__section--header">
|
||||
{% tablericon "link" "Links" %}
|
||||
Links
|
||||
</h2>
|
||||
<ul class="list-inside list-disc pl-5 md:pl-10">
|
||||
<ul>
|
||||
{% for link in links limit: 5 %}
|
||||
<li class="mt-1.5 mb-2">
|
||||
<li>
|
||||
<a href="{{link.url}}" title="{{link.title | escape}}">
|
||||
{{ link.title }}
|
||||
</a>
|
||||
|
|
|
@ -1,36 +1,36 @@
|
|||
{% if data.size > 0 %}
|
||||
{% assign media = data | normalizeMedia %}
|
||||
<h2 class="[&>svg]:h-5 [&>svg]:w-5 [&>svg]:md:h-7 [&>svg]:md:w-7 [&>svg]:-mt-1 [&>svg]:md:-mt-1.5 [&>svg]:inline icon--bold m-0 text-xl font-black leading-tight tracking-normal dark:text-white md:text-2xl mt-8 mb-4">
|
||||
<h2 class="now__section--header">
|
||||
{% tablericon icon title %}
|
||||
{{ title }}
|
||||
</h2>
|
||||
<div class="grid gap-2 {% if shape == 'square' %}grid-cols-2 md:grid-cols-4{% else %}grid-cols-3 md:grid-cols-6{% endif %} not-prose">
|
||||
<div class="media__grid {% if shape == 'square' %}square{% else %}vertical{% endif %}">
|
||||
{% for item in media limit: count %}
|
||||
{% assign alt = item.alt | strip %}
|
||||
<a href="{{ item.url | stripUtm }}" title="{{ alt | escape }}">
|
||||
<div class="relative block h-full rounded-lg overflow-hidden"{% if shape != 'square' %} style="max-width:226px"{% endif %}>
|
||||
<div class="absolute left-0 top-0 h-full w-full rounded-lg border border-blue-600 hover:border-blue-800 dark:border-blue-400 dark:hover:border-blue-200 ease-in-out duration-300{% if item.subtext %} bg-cover-gradient{% endif %}"></div>
|
||||
<div class="absolute px-1.5 bottom-2 drop-shadow-md w-full">
|
||||
<div class="item__wrapper"{% if shape != 'square' %} style="max-width:226px"{% endif %}>
|
||||
<div class="item__cover{% if item.subtext %} gradient{% endif %}"></div>
|
||||
<div class="item__meta-text">
|
||||
{% if item.title %}
|
||||
<div class="text-xs font-bold text-white line-clamp-2">{{ item.title }}</div>
|
||||
<div class="header">{{ item.title }}</div>
|
||||
{% endif %}
|
||||
{% if item.percentage %}
|
||||
{% render "partials/now/progress-bar.liquid", percentage:item.percentage %}
|
||||
{% endif %}
|
||||
{% if item.subtext %}
|
||||
<div class="text-xs text-white line-clamp-2">
|
||||
<div class="subheader">
|
||||
{{ item.subtext }}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{%- capture loadingStrategy %}
|
||||
{% if loading %}
|
||||
{%- capture loadingStrategy -%}
|
||||
{%- if loading -%}
|
||||
{{ loading }}
|
||||
{% else %}
|
||||
{%- else -%}
|
||||
'lazy'
|
||||
{% endif %}
|
||||
{% endcapture -%}
|
||||
{% image item.image, alt, 'rounded-lg w-full h-full [&>*]:w-full [&>*]:h-full', loadingStrategy %}
|
||||
{%- endif -%}
|
||||
{%- endcapture -%}
|
||||
{% image item.image, alt, 'item__image', loadingStrategy %}
|
||||
</div>
|
||||
</a>
|
||||
{% endfor %}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<p id="now-playing" class="client-side mb-0 flex flex-row items-start md:items-center">
|
||||
<p id="now-playing" class="now-playing client-side">
|
||||
<span id="now-playing-loading" class="icon--spin">
|
||||
{% tablericon 'loader-2' 'Loading...' %}
|
||||
</span>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{% if percentage %}
|
||||
<div class="overflow-hidden h-4 my-1 w-full flex rounded-lg bg-gray-200/60">
|
||||
<div style="width:{{ percentage }}" class="shadow-none flex flex-col whitespace-nowrap justify-center bg-blue-600 dark:bg-blue-400"></div>
|
||||
<div class="progress-bar__wrapper">
|
||||
<div style="width:{{ percentage }}" class="progress-bar shadow-none flex flex-col whitespace-nowrap justify-center bg-blue-600 dark:bg-blue-400"></div>
|
||||
</div>
|
||||
{% endif %}
|
|
@ -1,8 +1,6 @@
|
|||
<div class="border-b border-gray-200 dark:border-gray-700 mb-8 pb-8">
|
||||
<h2 class="m-0 mb-4 inline">
|
||||
<a class="text-gray-700 dark:text-white text-xl font-black leading-tight tracking-normal md:text-2xl no-underline not-prose" href="/now">
|
||||
Now
|
||||
</a>
|
||||
<div class="now__topper">
|
||||
<h2>
|
||||
<a href="/now">Now</a>
|
||||
</h2>
|
||||
<div class="dark:text-white text-gray-800">
|
||||
<p>I'm a software developer in Camarillo, California. I enjoy hanging out with my beautiful family and 4 rescue dogs, technology, automation,
|
||||
|
|
Reference in a new issue