🔧 Fix asset file references for Portal presentation render

- Update DashboardOverviewScene to use einundzwanzig-square-inverted.svg
  instead of non-existent einundzwanzig-logo.png
- Fix MeetupShowcaseScene logo extensions: EinundzwanzigKempten.jpg and
  EinundzwanzigMemmingen.jpg (were incorrectly .png)
- Fix TopMeetupsScene logo extensions: EinundzwanzigKempten.jpg and
  EinundzwanzigTrier.jpg (were incorrectly .png)
- Update corresponding mobile scenes with same fixes
- Update test file expectations to match corrected extensions

These fixes enable successful full render of both PortalPresentation
(1920x1080) and PortalPresentationMobile (1080x1920) compositions.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
HolgerHatGarKeineNode
2026-01-24 14:45:54 +01:00
parent 584532af6b
commit e285a309fd
6 changed files with 11 additions and 11 deletions

View File

@@ -138,7 +138,7 @@ export const DashboardOverviewScene: React.FC = () => {
<div className="absolute inset-0 flex"> <div className="absolute inset-0 flex">
{/* Sidebar */} {/* Sidebar */}
<DashboardSidebar <DashboardSidebar
logoSrc={staticFile("einundzwanzig-logo.png")} logoSrc={staticFile("einundzwanzig-square-inverted.svg")}
navItems={NAV_ITEMS} navItems={NAV_ITEMS}
width={sidebarWidth} width={sidebarWidth}
height={1080} height={1080}

View File

@@ -118,7 +118,7 @@ describe("MeetupShowcaseScene", () => {
expect(meetupCard).toBeInTheDocument(); expect(meetupCard).toBeInTheDocument();
expect(meetupCard).toHaveAttribute("data-name", "EINUNDZWANZIG Kempten"); expect(meetupCard).toHaveAttribute("data-name", "EINUNDZWANZIG Kempten");
expect(meetupCard).toHaveAttribute("data-location", "Kempten im Allgäu"); expect(meetupCard).toHaveAttribute("data-location", "Kempten im Allgäu");
expect(meetupCard?.getAttribute("data-logo-src")).toContain("EinundzwanzigKempten.png"); expect(meetupCard?.getAttribute("data-logo-src")).toContain("EinundzwanzigKempten.jpg");
}); });
it("renders the MeetupCard with correct width for featured display", () => { it("renders the MeetupCard with correct width for featured display", () => {
@@ -167,7 +167,7 @@ describe("MeetupShowcaseScene", () => {
const { container } = render(<MeetupShowcaseScene />); const { container } = render(<MeetupShowcaseScene />);
const images = container.querySelectorAll('[data-testid="remotion-img"]'); const images = container.querySelectorAll('[data-testid="remotion-img"]');
const memmingenLogo = Array.from(images).find((img) => const memmingenLogo = Array.from(images).find((img) =>
img.getAttribute("src")?.includes("EinundzwanzigMemmingen.png") img.getAttribute("src")?.includes("EinundzwanzigMemmingen.jpg")
); );
const friedrichshafenLogo = Array.from(images).find((img) => const friedrichshafenLogo = Array.from(images).find((img) =>
img.getAttribute("src")?.includes("EinundzwanzigFriedrichshafen.png") img.getAttribute("src")?.includes("EinundzwanzigFriedrichshafen.png")

View File

@@ -25,7 +25,7 @@ const UPCOMING_MEETUPS = [
location: "Kempten im Allgäu", location: "Kempten im Allgäu",
date: "Di, 28. Jan 2025", date: "Di, 28. Jan 2025",
time: "19:00 Uhr", time: "19:00 Uhr",
logoPath: "logos/EinundzwanzigKempten.png", logoPath: "logos/EinundzwanzigKempten.jpg",
isFeatured: true, isFeatured: true,
}, },
{ {
@@ -33,7 +33,7 @@ const UPCOMING_MEETUPS = [
location: "Memmingen", location: "Memmingen",
date: "Mi, 29. Jan 2025", date: "Mi, 29. Jan 2025",
time: "19:30 Uhr", time: "19:30 Uhr",
logoPath: "logos/EinundzwanzigMemmingen.png", logoPath: "logos/EinundzwanzigMemmingen.jpg",
isFeatured: false, isFeatured: false,
}, },
{ {

View File

@@ -38,7 +38,7 @@ const TOP_MEETUPS_DATA = [
}, },
{ {
name: "EINUNDZWANZIG Kempten", name: "EINUNDZWANZIG Kempten",
logoFile: "EinundzwanzigKempten.png", logoFile: "EinundzwanzigKempten.jpg",
userCount: 20, userCount: 20,
location: "Kempten", location: "Kempten",
sparklineData: [3, 5, 7, 9, 11, 13, 15, 16, 17, 18, 19, 20], sparklineData: [3, 5, 7, 9, 11, 13, 15, 16, 17, 18, 19, 20],
@@ -54,7 +54,7 @@ const TOP_MEETUPS_DATA = [
}, },
{ {
name: "EINUNDZWANZIG Trier", name: "EINUNDZWANZIG Trier",
logoFile: "EinundzwanzigTrier.png", logoFile: "EinundzwanzigTrier.jpg",
userCount: 15, userCount: 15,
location: "Trier", location: "Trier",
sparklineData: [2, 3, 5, 6, 8, 9, 10, 11, 12, 13, 14, 15], sparklineData: [2, 3, 5, 6, 8, 9, 10, 11, 12, 13, 14, 15],

View File

@@ -24,7 +24,7 @@ const UPCOMING_MEETUPS = [
location: "Kempten im Allgäu", location: "Kempten im Allgäu",
date: "Di, 28. Jan 2025", date: "Di, 28. Jan 2025",
time: "19:00 Uhr", time: "19:00 Uhr",
logoPath: "logos/EinundzwanzigKempten.png", logoPath: "logos/EinundzwanzigKempten.jpg",
isFeatured: true, isFeatured: true,
}, },
{ {
@@ -32,7 +32,7 @@ const UPCOMING_MEETUPS = [
location: "Memmingen", location: "Memmingen",
date: "Mi, 29. Jan 2025", date: "Mi, 29. Jan 2025",
time: "19:30 Uhr", time: "19:30 Uhr",
logoPath: "logos/EinundzwanzigMemmingen.png", logoPath: "logos/EinundzwanzigMemmingen.jpg",
isFeatured: false, isFeatured: false,
}, },
{ {

View File

@@ -38,7 +38,7 @@ const TOP_MEETUPS_DATA = [
}, },
{ {
name: "EINUNDZWANZIG Kempten", name: "EINUNDZWANZIG Kempten",
logoFile: "EinundzwanzigKempten.png", logoFile: "EinundzwanzigKempten.jpg",
userCount: 20, userCount: 20,
location: "Kempten", location: "Kempten",
sparklineData: [3, 5, 7, 9, 11, 13, 15, 16, 17, 18, 19, 20], sparklineData: [3, 5, 7, 9, 11, 13, 15, 16, 17, 18, 19, 20],
@@ -54,7 +54,7 @@ const TOP_MEETUPS_DATA = [
}, },
{ {
name: "EINUNDZWANZIG Trier", name: "EINUNDZWANZIG Trier",
logoFile: "EinundzwanzigTrier.png", logoFile: "EinundzwanzigTrier.jpg",
userCount: 15, userCount: 15,
location: "Trier", location: "Trier",
sparklineData: [2, 3, 5, 6, 8, 9, 10, 11, 12, 13, 14, 15], sparklineData: [2, 3, 5, 6, 8, 9, 10, 11, 12, 13, 14, 15],