diff --git a/frontend/components/welcome/FeaturedCard.js b/frontend/components/welcome/FeaturedCard.js index 3c957c4f59..3204a00fcc 100644 --- a/frontend/components/welcome/FeaturedCard.js +++ b/frontend/components/welcome/FeaturedCard.js @@ -46,7 +46,8 @@ export const FeaturedCard = ({ entry, source_manifest, direct_html_links, disabl disable_ui: `true`, name: title == null ? null : `sample ${title}`, pluto_server_url: `.`, - slider_server_url: u(source_manifest?.slider_server_url), + // Little monkey patch because we don't want to use the slider server when for the CDN source, only for the featured.plutojl.org source. But both sources have the same pluto_export.json so this is easiest. + slider_server_url: source_url?.includes("cdn.jsdelivr.net/gh/JuliaPluto/featured") ? null : u(source_manifest?.slider_server_url), }) const author = author_info(entry.frontmatter) diff --git a/frontend/featured_sources.js b/frontend/featured_sources.js index e0dd1b0822..acdb80aa8b 100644 --- a/frontend/featured_sources.js +++ b/frontend/featured_sources.js @@ -2,8 +2,14 @@ export default { // check out https://github.com/JuliaPluto/pluto-developer-instructions/blob/main/How%20to%20update%20the%20featured%20notebooks.md to learn more sources: [ { - url: "https://cdn.jsdelivr.net/gh/JuliaPluto/featured@v3/pluto_export.json", - integrity: "sha256-y2E/niS8Em5a4wfSupsmDi0JaTrKSI0WF9DBkfEiQYQ=", + url: "https://featured.plutojl.org/pluto_export.json", + valid_until: "2024-10", + id: "featured pluto", + }, + { + id: "featured pluto", + url: "https://cdn.jsdelivr.net/gh/JuliaPluto/featured@v4/pluto_export.json", + integrity: "sha256-YT5Msj4Iy4cJIuHQi09h3+AwxzreK46WS6EySbPPmJM=", }, ], }