style: added images into header
This commit is contained in:
@@ -10,6 +10,7 @@ export type RawShow = {
|
||||
startDate?: string;
|
||||
endDate?: string | null;
|
||||
running: boolean;
|
||||
logoUrl?: string;
|
||||
};
|
||||
|
||||
export type Show = {
|
||||
@@ -23,6 +24,7 @@ export type Show = {
|
||||
concept: string;
|
||||
startDate?: string;
|
||||
endDate?: string | null;
|
||||
logoUri: string;
|
||||
running: boolean;
|
||||
};
|
||||
|
||||
@@ -49,6 +51,7 @@ export async function getShows(): Promise<Show[]> {
|
||||
streamingService: s.streamingServices,
|
||||
concept: s.concept,
|
||||
running: s.running,
|
||||
logoUri: s.logoUrl ?? "",
|
||||
}));
|
||||
} catch (error) {
|
||||
console.error("Fetch error:", error);
|
||||
|
||||
Reference in New Issue
Block a user