-
- -
- Cut
- Weight
-
- {#each data.pork as { name, preweighed, min_weight, max_weight }}
- -
- {name}
- {#if preweighed}
- {min_weight} lb
- {:else}
- {min_weight} ~ {max_weight} lbs
- {/if}
-
- {/each}
-
-

+
All priced at {data.PRICE_PER_LB}$/#
+
+ {#each data.pork as { name, cured, tubed, lb_package, flavors, avg_weight }}
+
+
{name}
+ {#if lb_package}
+
1 lb
+ {:else}
+
{avg_weight.min}~ {avg_weight.max} lbs
+ {/if}
+ {#if cured}
+
Cured!
+ {/if}
+ {#if tubed}
+
Tubed!
+ {/if}
+ {#if flavors != undefined}
+
+ {#each flavors as flavor}
+ -
+ {flavor}
+
+ {/each}
+
+ {/if}
+
+ {/each}
+
+
+
+
@@ -84,53 +94,65 @@
color: var(--primary-8);
}
- img {
- display: none;
+ // img {
+ // display: none;
+ // }
+ }
+ #pork {
+ display: flex;
+ flex-direction: column;
+ font-size: 1rem;
+ gap: 1rem;
+ width: 100%;
+ div {
+ background: var(--primary-9);
+ border-radius: var(--br);
+ padding: 1rem;
+ display: flex;
+ flex-direction: column;
+ }
+ h3 {
+ text-transform: capitalize;
}
- #tui {
- display: flex;
- width: 90%;
- font-size: 1rem;
- gap: 1rem;
-
- ol {
- width: 100%;
+ ul {
+ width: 100%;
+ display: inherit;
+ flex-direction: column;
+ list-style: none;
+ li {
display: inherit;
- flex-direction: column;
- list-style: none;
- li {
- display: inherit;
- gap: 1rem;
- padding-left: 1rem;
- span {
- flex-basis: 50%;
- text-align: center;
- text-shadow: 3px 3px 3px var(--primary-7);
- &:first-child {
- text-align: left;
- }
- }
- &:nth-child(2n) {
- background: var(--primary-8);
- }
- &:not(:first-child):hover {
- background: var(--primary-10);
- }
+ gap: 1rem;
+ padding-left: 1rem;
+ &:nth-child(even) {
+ background: var(--primary-8);
+ }
+ &:not(:first-child):hover {
+ background: var(--primary-10);
}
}
}
}
@media screen and (min-width: 640px) {
- img {
- display: unset !important;
- width: 50%;
- height: fit-content;
- border-radius: 0.375rem;
- text-align: center;
- align-self: center;
+ #pork {
+ flex-direction: row;
+ flex-wrap: wrap;
+ align-items: center;
+ justify-content: space-around;
+ div {
+ flex-basis: 20rem;
+ // align-items: center;
+ justify-content: center;
+ }
}
+ // img {
+ // display: unset !important;
+ // width: 50%;
+ // height: fit-content;
+ // border-radius: 0.375rem;
+ // text-align: center;
+ // align-self: center;
+ // }
}
-