thechangelog / changelog.com Goto Github PK
View Code? Open in Web Editor NEWChangelog is news and podcast for developers. This is our open source platform.
Home Page: https://changelog.com/posts/changelog-is-open-source
License: Other
Changelog is news and podcast for developers. This is our open source platform.
Home Page: https://changelog.com/posts/changelog-is-open-source
License: Other
Dat Todo List
Here's what I see:
podcast-menu
(I like to call this "play bar")1.4
but I'm not sure what the equates in REM if that's what you're usingWhen you hover the links in the takeover menu, it seems like the text is centered in the a tag vs the a tag being center so that when you hover the text, you see the hover styles as expected.
Let me know if this needs more clarity. Basically, hover text -- see hover styles. Hover near the text, don't see hover styles.
Just like it works currently behind the podcast page's "Play" button. Intended look:
This is still currently hard coded to the abstract-circle.svg
. I tried applying the same technique as before, but with bad results:
The image size scales up as the show notes content scales up. I think we need to move to a :before
implementation...
This is a holdover until we have a page designed that actually has a form on it. Please add some basic form styles so that form elements line up with the general site aesthetic (typography, size, white space, etc).
You can use web/templates/auth/new.html.eex
as a testing ground (this gets rendered at /in
)
Our featured quotes on the home page should include the abstract art for their respective show
Here you see it in the mock, behind a Changelog quote:
(I believe it's centered behind the show title)
We're already doing this on "the latest" section of the podcast/show
template. Here's the interesting bit of template code:
<article class="flex-column latest-episode latest-episode--<%= @podcast.slug %> section">
And the corresponding sass (_latest-episode.sass):
.latest-episode
&--podcast
& > button
&:before
background-image: url(/images/podcasts/podcast-abstract-art.svg)
I'm not sure if it's that easy on the featured mosaic, but hopefully it is 😁
Let's take the styles that we get from Jake's work on the post/content page and add them to the show notes.
Question: How would that look in the show notes on something like Overcast?
Saving an podcast episode should return the user back to the podcast episode to continue editing as needed.
I have been editing and noticed that on save I'm returned to the admin podcast index vs back to the episode edit page. I'd prefer the edit page (for now).
The episode summaries are Markdown-generated and may have multiple <p>
s. For this reason, the current markup (with the guest images wrapped inside the <p>
) will not work:
<p class="episode-summary_content_description">Big show this week — we caught up with Matz, the creator of Ruby, to discuss the origins of the Ruby programming language, its history and future, Ruby 3.0, Concurrency and Parallelism, Streem, Erlang, Elixir, and more.<img src="http://placehold.it/75" alt="Guest Speaker: Matz"><img src="http://placehold.it/75" alt="Guest Speaker: Matz"></p>
Instead, we'll want to have the <img
tags come after the <p>
tags, with the same look and feel. Perhaps this will work (notice the episode-summary_content_description
has been moved off the <p>
as well):
<div class="episode-summary_content_description">
<p>In this show we talk with Juan Benet, one of the developers behind IPFS -- the InterPlanetary File System, a new peer-to-peer hypermedia distribution protocol, addressed by content and identities. We talked about what it is, how it works, how it can be used, and how it just might save the future of the web.</p>
<p>another paragraph of summary</p>
<img src="https://secure.gravatar.com/avatar/36c2a96d583dd66ba2e6d500edd161af.jpg?s=75&d=mm" alt="Guest Speaker: Juan Benet">
<img src="https://secure.gravatar.com/avatar/36c2a96d583dd66ba2e6d500edd161af.jpg?s=75&d=mm" alt="Guest Speaker: Juan Benet">
</div>
We have bios/links for our guests, so I'd like to list them in the show details alongside Sponsors and Notes.
This is a rough-in, but currently I'm doing it like this:
(this episode was imported from old CMS, hence Toptal/Linode sponsorships repeated in Notes and newsletter CTAs)
A few things here:
<div class="episode-footer-section_content">
<h3>Sponsors</h3>
<dl class="sponsors-list">
<dt class="sponsors-list-name"><a href="http://objectlateral.com">Object Lateral, Inc.</a></dt>
<dd class="sponsors-list_description">Thoughtful, Custom Software</dd>
<dt class="sponsors-list-name"><a href="http://toptal.com">Toptal</a></dt>
<dd class="sponsors-list_description">The top 3% of Developers.</dd>
</dl>
</div>
I'm also curious why you used a dl
here instead of a ul
. Semantics?
Add any item that you think needs hover states (and or visited states) here.
@TuckerCowie seems to me that your makeToggles
function is always setting a single targetElement
even though there are multiple toggleElements
being looped (querySelectorAll
vs querySelector
). That being said, I couldn't easily figure out a fix that wouldn't break other use cases (where many toggle elements would trigger a single target element), so assigning to you to fix. 😁
Here's the Elixir code necessary to emit the anchor (with the correct link) around the image tag:
<%= link to: podcast_path(@conn, :show, @podcast.slug) do %>
<img src="<%= static_url(@conn, "/images/podcasts/#{@podcast.slug}-cover-art.svg") %>" alt=" <%= @podcast.name %> Podcast"/>
<% end %>
If you need to add classes to the <a>
itself, start it like this:
<%= link to: podcast_path(@conn, :show, @podcast.slug), class: "my-class" do %>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.