Skip to content

Conversation

@395ShikharSingh
Copy link
Contributor

Closes #11617

Feature Requested

Add new "Book Talks" carousel to homepage using archive.org API.

Screenshot

Screenshot 2025-12-24 at 22 07 12

Changes

  • Added get_book_talks() - fetches book talks from archive.org API
  • Added get_cached_book_talks() - caches results for 1 day
  • Custom carousel template with "Watch" button
Copy link
Member

@mekarpeles mekarpeles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for working on this!

Since these images are more horizontal (wide) than vertical (tall), we likely want to show fewer (e.g. just 3).

We also will want to show the title and the date (as otherwise it's unclear what the video is).

Furthermore, we'll want to move the css out of inline styles and into the correct files in `static/css

Comment on lines +7 to +19
<style>
.carousel-section--book-talks .book_carousel__book {
height: 200px;
background: #000;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
border-radius: 4px;
border: 1px solid #ddd;
width: 100%;
margin: 0 auto;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inline styles should be moved to static/css files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants