🔨 remove unused image

* remove unused user image
* use property instead of the tag type
This commit is contained in:
Greg Newman
2023-06-20 14:33:31 -04:00
parent 2d7a566420
commit ca840d1cbe
2 changed files with 16 additions and 46 deletions

View File

@@ -748,7 +748,7 @@ input[type=file] {
color: rgb(49 74 87 / var(--tw-text-opacity));
}
.dark #signup_form input[type=email],.dark
.dark #signup_form input[type=email],.dark
#signup_form input[type=password] {
--tw-bg-opacity: 1;
background-color: rgb(23 42 52 / var(--tw-bg-opacity));
@@ -1207,6 +1207,10 @@ input[type=file] {
margin-right: 0.75rem;
}
.mr-1 {
margin-right: 0.25rem;
}
.mt-12 {
margin-top: 3rem;
}
@@ -1283,22 +1287,6 @@ input[type=file] {
margin-left: 1rem;
}
.-mt-2 {
margin-top: -0.5rem;
}
.-mt-4 {
margin-top: -1rem;
}
.-mb-2 {
margin-bottom: -0.5rem;
}
.-mb-4 {
margin-bottom: -1rem;
}
.block {
display: block;
}
@@ -1840,14 +1828,6 @@ input[type=file] {
border-width: 0px;
}
.border-2 {
border-width: 2px;
}
.border-4 {
border-width: 4px;
}
.border-b {
border-bottom-width: 1px;
}
@@ -2153,11 +2133,6 @@ input[type=file] {
padding-bottom: 3.5rem;
}
.px-1 {
padding-left: 0.25rem;
padding-right: 0.25rem;
}
.pl-11 {
padding-left: 2.75rem;
}
@@ -2465,10 +2440,6 @@ input[type=file] {
color: rgb(229 231 235 / var(--tw-text-opacity));
}
.underline {
text-decoration-line: underline;
}
.placeholder-gray-500::-moz-placeholder {
--tw-placeholder-opacity: 1;
color: rgb(107 114 128 / var(--tw-placeholder-opacity));
@@ -2927,14 +2898,18 @@ input[type=file] {
margin-top: 2rem;
}
.md\:mt-16 {
margin-top: 4rem;
.md\:mb-10 {
margin-bottom: 2.5rem;
}
.md\:mb-0 {
margin-bottom: 0px;
}
.md\:mt-16 {
margin-top: 4rem;
}
.md\:mb-8 {
margin-bottom: 2rem;
}

View File

@@ -140,15 +140,15 @@
<a href="{{ entry.get_absolute_url }}">{{ entry.publish_at|date:"M jS, Y" }}</a>
</div>
<div class="flex justify-center items-center p-2 mt-5 bg-white rounded-full h-[25px] w-[25px]">
{% if entry.tag == "link" %}
{% if entry.is_link %}
<i class="text-gray-400 fas fa-link"></i>
{% elif entry.tag == "news" %}
{% elif entry.is_news %}
<i class="text-gray-400 fas fa-bullhorn"></i>
{% elif entry.tag == "blogpost" %}
{% elif entry.is_blogpost %}
<i class="text-gray-400 fas fa-newspaper"></i>
{% elif entry.tag == "poll" %}
{% elif entry.is_poll %}
<i class="text-gray-400 fas fa-poll"></i>
{% elif entry.tag == "video" %}
{% elif entry.is_video %}
<i class="text-gray-400 fas fa-video"></i>
{% else %}
<i class="text-gray-400 fas fa-calendar-alt"></i>
@@ -163,11 +163,6 @@
</span>
{% endif %}
</div>
{% if user.image %}
<div class="mt-4 text-xs text-center w-[150px]">
<img src="{{ user.image.url }}" alt="user" class="inline rounded-sm cursor-pointer w-[30px]" />
</div>
{% endif %}
<div class="block p-6 mb-10 ml-6 w-3/4 bg-white rounded-lg">
<div class="flex justify-between">
<a class="text-lg font-semibold transition duration-150 ease-in-out hover:text-info-600 focus:text-info-600 active:text-info-700" {% if entry.tag == "link" %}target="_blank"{% endif %} href="{% if entry.tag == "link" %}{{ entry.external_url }}{% else %}{{ entry.get_absolute_url }}{% endif %}">