renderSubscriptions()

in public/js/account.js [226:255]


  renderSubscriptions() {
    const premiumTierNode = this.renderTier(
      "Living on the Moon",
      "Access to all episodes from Living on the Moon.",
      3,
      "premium-tier-subscribers",
      "https://open.spotify.com/show/0EwATaqqn7Yb0LX6O9XiqI",
      "/assets/img/living-on-the-moon-artwork.jpg",
      "Podcast artwork of the show Living on the Moon"
    );
    const bonusTierNode = this.renderTier(
      "The Dark Side",
      "Includes all bonus content from The Dark Side.",
      2,
      "bonus-tier-subscribers",
      "https://open.spotify.com/show/0hFhphwy0gCuuFkOGF4BRu",
      "/assets/img/the-dark-side-artwork.jpg",
      "Podcast artwork of the show called The Dark Side"
    );

    const noSubscriptionsIndicator = this.renderNoSubscriptionsIndicator();
    const fullUnsubscribeButton = this.renderFullUnsubscribeButton();

    this.subscriptionsRoot.innerText = "";

    this.subscriptionsRoot.appendChild(noSubscriptionsIndicator);
    this.subscriptionsRoot.appendChild(premiumTierNode);
    this.subscriptionsRoot.appendChild(bonusTierNode);
    this.subscriptionsRoot.appendChild(fullUnsubscribeButton);
  }