From 5aec7c56ea4a008a1d4c839030384f2354e6390b Mon Sep 17 00:00:00 2001 From: "shopify[bot]" <79544226+shopify[bot]@users.noreply.github.com> Date: Sun, 4 Sep 2022 17:41:02 +0000 Subject: [PATCH] Update from Shopify for theme dawn/use-image-tag Committed from shop: SWOOSH CA --- assets/video-player.js.LICENSE.txt | 20 + snippets/single-ajaxify-album.liquid | 393 +++++++++++++++ snippets/single-footer-player.liquid | 207 ++++++++ snippets/single-progress-bar.liquid | 74 +++ snippets/single-track.liquid | 161 +++++++ templates/page.single.nft-countdown.liquid | 102 ++++ templates/product.single.album.liquid | 528 +++++++++++++++++++++ 7 files changed, 1485 insertions(+) create mode 100644 assets/video-player.js.LICENSE.txt create mode 100644 snippets/single-ajaxify-album.liquid create mode 100644 snippets/single-footer-player.liquid create mode 100644 snippets/single-progress-bar.liquid create mode 100644 snippets/single-track.liquid create mode 100644 templates/page.single.nft-countdown.liquid create mode 100644 templates/product.single.album.liquid diff --git a/assets/video-player.js.LICENSE.txt b/assets/video-player.js.LICENSE.txt new file mode 100644 index 00000000000..882e3092893 --- /dev/null +++ b/assets/video-player.js.LICENSE.txt @@ -0,0 +1,20 @@ +/*! + * + * Copyright (C) 2020, Bitmovin, Inc., All Rights Reserved + * + * This source code and its use and distribution, is subject to the terms + * and conditions of the applicable license agreement. + * + * bitmovin-analytics version v2.18.0 + * + */ + +/*! + * @overview es6-promise - a tiny implementation of Promises/A+. + * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald) + * @license Licensed under MIT license + * See https://raw.githubusercontent.com/jakearchibald/es6-promise/master/LICENSE + * @version 2.3.0 + */ + +/*! codem-isoboxer v0.2.1 https://github.com/madebyhiro/codem-isoboxer/blob/master/LICENSE.txt */ diff --git a/snippets/single-ajaxify-album.liquid b/snippets/single-ajaxify-album.liquid new file mode 100644 index 00000000000..7188a0f4a36 --- /dev/null +++ b/snippets/single-ajaxify-album.liquid @@ -0,0 +1,393 @@ +{% comment %} + +{% endcomment %} + diff --git a/snippets/single-footer-player.liquid b/snippets/single-footer-player.liquid new file mode 100644 index 00000000000..90b11d6c159 --- /dev/null +++ b/snippets/single-footer-player.liquid @@ -0,0 +1,207 @@ + + +
\ No newline at end of file diff --git a/snippets/single-progress-bar.liquid b/snippets/single-progress-bar.liquid new file mode 100644 index 00000000000..d69d85abb35 --- /dev/null +++ b/snippets/single-progress-bar.liquid @@ -0,0 +1,74 @@ + + +{% for variant in product.variants %} + {% if variant.metafields.single_nft['is_nft'] == 'true' %} + {% assign available = variant.inventory_quantity %} + {% assign total_inventory = variant.metafields.single_nft['product_supply'] %} + {% endif %} +{% endfor %} +{% assign claimed_count = total_inventory | minus: available %} +{% assign denom = total_inventory | times: 1.0 %} +{% assign bar_width = claimed_count | divided_by: denom | times: 100 | round: 2 %} + +{% if total_inventory > 0 %} + +{{ family }}
+Available in:
+Total supply:
+Release Date: {{ releaseDateFormatted | time_tag: '%B %d, %Y' }}
+Downloads include choice of MP3, WAV, or FLAC
+{{ product.description }}
+{{ product.metafields.album.artist_name }}
+ {% if product.variants.size == 1 %} +Release Date: {{ releaseDateFormatted | time_tag: '%B %d, %Y' }}
+Downloads include choice of MP3, WAV, or FLAC
+{{ product.description }}
+Downloads include choice of MP3, WAV, or FLAC
+{{ product.description }}
+