Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion lg/appinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,9 @@
"title": "Solid Demo App",
"main": "index.html",
"icon": "icon.png",
"largeIcon": "largeIcon.png"
"largeIcon": "largeIcon.png",
"disableBackHistoryAPI": true,
"accessibility": {
"supportsAudioGuidance": true
}
}
92 changes: 0 additions & 92 deletions patches/@solidjs__router.patch

This file was deleted.

224 changes: 0 additions & 224 deletions patches/@vitejs__plugin-legacy.patch

This file was deleted.

3 changes: 2 additions & 1 deletion src/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import API_KEY_V4 from "./key";
const API_BASE = "https://api.themoviedb.org/3";
let tmdbConfig;
let baseImageUrl;
const basePosterSize = "w185";
const urlParams = new URLSearchParams(window.location.search);
const basePosterSize = urlParams.get("posterSize") || "w185";

const defaultFetchParams = {
headers: {
Expand Down
6 changes: 3 additions & 3 deletions src/components/ContentBlock.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { View, Text } from "@lightningtv/solid";
import { Marquee } from "@lightningtv/solid/primitives";
import { For, Show } from "solid-js";
import theme from "theme";

Expand All @@ -19,9 +20,8 @@ const HeadlineStyles = {
fontWeight: 700,
maxLines: 1,
width: blockWidth,
contain: "width"
};
const Headline = (props) => <Text {...props} style={HeadlineStyles}></Text>;
const Headline = (props) => <Marquee {...props} textProps={HeadlineStyles}></Marquee>;

const DescriptionStyles = {
...theme.typography.body1,
Expand Down Expand Up @@ -99,7 +99,7 @@ const Metadata = (props) => (

const ContentBlock = (props) => (
<View id="contentBlock" style={ContentBlockStyle} {...props}>
<Headline>{props.content.title}</Headline>
<Headline marquee={props.marquee}>{props.content.title}</Headline>
<Description>{props.content.description}</Description>
<Show when={props.content.voteCount}>
<Metadata
Expand Down
Loading