Skip to content

Commit

Permalink
New album! Dance Party 💃🕺🫠
Browse files Browse the repository at this point in the history
  • Loading branch information
jerodsanto committed Feb 6, 2024
1 parent e3be94f commit 6894adc
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 7 deletions.
29 changes: 24 additions & 5 deletions lib/changelog/schema/album.ex
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ defmodule Changelog.Album do
defstruct [:name, :slug, :volume, :tagline, :description, :apple_id, :spotify_id, :bandcamp_url]

def all do
[theme_songs(), next_level()]
[theme_songs(), next_level(), dance_party()]
end

def get_by_slug(slug) do
Expand All @@ -15,10 +15,12 @@ defmodule Changelog.Album do
slug: "theme-songs",
volume: "00",
tagline: "There's no place like $HOME",
description: "This album kicks off with our classic podcast opening themes, carries through with some remixes & outros, then shifts gears to a brand new set of Sonic-inspired theme remixes!",
description:
"This album kicks off with our classic podcast opening themes, carries through with some remixes & outros, then shifts gears to a brand new set of Sonic-inspired theme remixes ♻️",
apple_id: "1712599257",
spotify_id: "6MbcbUgjzk6B56U2xocLpH",
bandcamp_url: "https://breakmastercylinder.bandcamp.com/album/changelog-beats-volumes-0-theme-songs"
bandcamp_url:
"https://breakmastercylinder.bandcamp.com/album/changelog-beats-volumes-0-theme-songs"
}
end

Expand All @@ -28,10 +30,27 @@ defmodule Changelog.Album do
slug: "next-level",
volume: "01",
tagline: "It's dangerous to go alone!",
description: "From Castlevania to Contra to Zelda & many more... This album is inspired by the nostalgic soundtracks from the games of our youth!",
description:
"From Castlevania to Contra to Zelda & many more... This album is inspired by the nostalgic soundtracks from the games of our youth 🕹️",
apple_id: "1712372577",
spotify_id: "5Kb5EvYAgQ40BkTEXbhZ4k",
bandcamp_url: "https://breakmastercylinder.bandcamp.com/album/changelog-beats-volumes-1-next-level"
bandcamp_url:
"https://breakmastercylinder.bandcamp.com/album/changelog-beats-volumes-1-next-level"
}
end

def dance_party do
%__MODULE__{
name: "Dance Party",
slug: "dance-party",
volume: "02",
tagline: "We can dance if we want to",
description:
"We double dog dare you to listen to this bundle of BMC bangers and try NOT to dance your pretty little face off 🫠",
apple_id: "1729386895",
spotify_id: "1pTOAGNr05QRkjaYoxtUY8",
bandcamp_url:
"https://breakmastercylinder.bandcamp.com/album/changelog-beats-volumes-2-dance-party"
}
end
end
3 changes: 2 additions & 1 deletion lib/changelog_web/meta/title.ex
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ defmodule ChangelogWeb.Meta.Title do
defp title(%{view_module: AlbumView, view_template: "index.html"}), do: "Changelog Beats"

# Album show
defp title(%{view_module: AlbumView, view_template: "show.html", album: album}), do: "#{album.name} by Changelog Beats"
defp title(%{view_module: AlbumView, view_template: "show.html", album: album}),
do: "#{album.name} by Breakmaster Cylinder on Changelog Beats"

# Source index
defp title(%{view_module: NewsSourceView, view_template: "index.html"}), do: "All news sources"
Expand Down
2 changes: 1 addition & 1 deletion lib/changelog_web/templates/album/index.html.eex
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<header class="show_list-header">
<h2>Changelog Beats by Breakmaster Cylinder</h2>
<p>If you’ve been head-nodding to the beats during our shows and wishing for a way to listen outside of the pods, then these albums will be an absolute delight. Stream or purchase, either works for us!</p>
<p>In collaboration with our beat freak in residence: the mysterious <a href="https://en.wikipedia.org/wiki/Breakmaster_Cylinder">Breakmaster Cylinder</a>!</p>
<p>In collaboration with our <%= link("beat freak in residence", to: ~p"/person/breakmastercylinder") %>: the mysterious <a href="https://en.wikipedia.org/wiki/Breakmaster_Cylinder">Breakmaster Cylinder</a>!</p>
</header>
<div class="show_list-shows">
<%= render_many(@albums, __MODULE__, "_summary.html", assigns) %>
Expand Down

0 comments on commit 6894adc

Please sign in to comment.