Skip to content

Commit

Permalink
feat: Update AppBar sponsor link and remove text shadows from various…
Browse files Browse the repository at this point in the history
… components
  • Loading branch information
Ipmake committed Jan 23, 2025
1 parent 288261a commit 4355f85
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 32 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/AppBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,13 @@ function Appbar() {
<MenuItem
onClick={() => {
setAnchorEl(null);
window.open("https://github.com/sponsors/Ipmake", "_blank");
window.open("https://g.ipmake.dev/perplexed", "_blank");
}}
>
<ListItemIcon>
<Favorite fontSize="small" />
</ListItemIcon>
<ListItemText>Support</ListItemText>
<ListItemText>Sponsor</ListItemText>
</MenuItem>

{!config.DISABLE_PERPLEXED_SYNC && (
Expand Down
1 change: 0 additions & 1 deletion frontend/src/components/HeroDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ function HeroDisplay({ item }: { item: Plex.Metadata }) {
fontSize: "24px",
fontWeight: "900",
letterSpacing: "0.1em",
textShadow: "3px 3px 1px #232529",
ml: 1,
color: "#e6a104",
textTransform: "uppercase",
Expand Down
12 changes: 1 addition & 11 deletions frontend/src/components/MetaScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,6 @@ function MetaScreen() {
fontSize: "30px",
fontWeight: "900",
letterSpacing: "0.1em",
textShadow: "3px 3px 1px #232529",
ml: 1,
color: "#e6a104",
textTransform: "uppercase",
Expand Down Expand Up @@ -462,7 +461,6 @@ function MetaScreen() {
fontSize: "medium",
fontWeight: "light",
color: "#FFFFFF",
textShadow: "0px 0px 10px #000000",
border: "1px dotted #AAAAAA",
borderRadius: "5px",
px: 1,
Expand All @@ -479,7 +477,6 @@ function MetaScreen() {
fontWeight: "light",
color: "#FFFFFF",
ml: data?.contentRating ? 1 : 0,
textShadow: "0px 0px 10px #000000",
}}
>
{data?.year}
Expand All @@ -491,7 +488,7 @@ function MetaScreen() {
fontSize: "medium",
fontWeight: "light",
color: "#FFFFFF",
textShadow: "0px 0px 10px #000000",

ml: 1,
}}
>
Expand All @@ -505,7 +502,6 @@ function MetaScreen() {
fontSize: "medium",
fontWeight: "light",
color: "#FFFFFF",
textShadow: "0px 0px 10px #000000",
ml: 1,
}}
>
Expand All @@ -520,7 +516,6 @@ function MetaScreen() {
fontSize: "medium",
fontWeight: "light",
color: "#FFFFFF",
textShadow: "0px 0px 10px #000000",
ml: 1,
}}
>
Expand Down Expand Up @@ -945,7 +940,6 @@ function MetaPage2(data: Plex.Metadata | undefined) {
fontSize: "1.5rem",
fontWeight: "bold",
color: "#FFFFFF",
textShadow: "0px 0px 10px #000000",
}}
>
{hub.title}
Expand Down Expand Up @@ -993,7 +987,6 @@ function MetaPage3(data: Plex.Metadata | undefined) {
fontSize: "1.5rem",
fontWeight: "bold",
color: "#FFFFFF",
textShadow: "0px 0px 10px #000000",
}}
>
Cast
Expand Down Expand Up @@ -1134,7 +1127,6 @@ function EpisodeItem({
fontSize: "1.25rem",
fontWeight: "bold",
color: "#FFFFFF",
textShadow: "0px 0px 10px #000000",
textAlign: "center",
}}
>
Expand Down Expand Up @@ -1224,7 +1216,6 @@ function EpisodeItem({
fontSize: "1.5rem",
fontWeight: "bold",
color: "#FFFFFF",
textShadow: "0px 0px 10px #000000",
// make it so the text doesnt resize the parent nor overflow max 3 rows
overflow: "hidden",
textOverflow: "ellipsis",
Expand Down Expand Up @@ -1256,7 +1247,6 @@ function EpisodeItem({
fontWeight: "light",
color: "#FFFFFF",
opacity: 0.7,
textShadow: "0px 0px 10px #000000",
mt: -0.5,
// make it so the text doesnt resize the parent nor overflow max 3 rows
overflow: "hidden",
Expand Down
10 changes: 1 addition & 9 deletions frontend/src/components/MovieItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,6 @@ function MovieItem({
fontSize: "14px",
fontWeight: "700",
letterSpacing: "0.15em",
textShadow: "2px 2px 0px #232529",
color: "#e6a104",
textTransform: "uppercase",
mt: "2px",
Expand All @@ -220,7 +219,6 @@ function MovieItem({
fontSize: "1.5rem",
fontWeight: "bold",
color: "#FFFFFF",
textShadow: "0px 0px 10px #000000",
"@media (max-width: 2000px)": {
fontSize: "1.2rem",
},
Expand All @@ -229,7 +227,7 @@ function MovieItem({
whiteSpace: "nowrap",
maxLines: 1,
maxInlineSize: "100%",
mt: ["episode"].includes(item.type) ? "4px" : "0px",
mt: ["episode"].includes(item.type) ? "2px" : "0px",
}}
>
{item.title}
Expand Down Expand Up @@ -283,7 +281,6 @@ function MovieItem({
fontSize: "medium",
fontWeight: "light",
color: "#FFFFFF",
textShadow: "0px 0px 10px #000000",
ml: 1,
}}
>
Expand All @@ -296,7 +293,6 @@ function MovieItem({
fontSize: "medium",
fontWeight: "light",
color: "#FFFFFF",
textShadow: "0px 0px 10px #000000",
ml: 1,
border: "1px dotted #AAAAAA",
borderRadius: "5px",
Expand All @@ -313,7 +309,6 @@ function MovieItem({
fontSize: "medium",
fontWeight: "light",
color: "#FFFFFF",
textShadow: "0px 0px 10px #000000",
ml: 1,
}}
>
Expand All @@ -326,7 +321,6 @@ function MovieItem({
fontSize: "14px",
fontWeight: "light",
color: "#FFFFFF",
textShadow: "0px 0px 10px #000000",
}}
>
{durationToText(item.duration)}
Expand All @@ -338,7 +332,6 @@ function MovieItem({
fontSize: "14px",
fontWeight: "light",
color: "#FFFFFF",
textShadow: "0px 0px 10px #000000",
}}
>
{item.childCount > 1
Expand All @@ -353,7 +346,6 @@ function MovieItem({
fontSize: "14px",
fontWeight: "light",
color: "#FFFFFF",
textShadow: "0px 0px 10px #000000",
}}
>
{item.year}
Expand Down
1 change: 0 additions & 1 deletion frontend/src/pages/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ export default function Home() {
fontSize: "1.5rem",
fontWeight: "bold",
color: "white",
textShadow: "3px 3px 1px #232529",
mt: 1,
}}
>
Expand Down
8 changes: 0 additions & 8 deletions frontend/src/pages/Watch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,6 @@ function Watch() {
fontSize: "medium",
fontWeight: "light",
color: "#FFFFFF",
textShadow: "0px 0px 10px #000000",
}}
>
{metadata.year}
Expand All @@ -667,7 +666,6 @@ function Watch() {
fontSize: "medium",
fontWeight: "light",
color: "#FFFFFF",
textShadow: "0px 0px 10px #000000",
ml: 1,
}}
>
Expand All @@ -680,7 +678,6 @@ function Watch() {
fontSize: "medium",
fontWeight: "light",
color: "#FFFFFF",
textShadow: "0px 0px 10px #000000",
ml: 1,
border: "1px dotted #AAAAAA",
borderRadius: "5px",
Expand All @@ -698,7 +695,6 @@ function Watch() {
fontSize: "medium",
fontWeight: "light",
color: "#FFFFFF",
textShadow: "0px 0px 10px #000000",
ml: 1,
}}
>
Expand Down Expand Up @@ -746,7 +742,6 @@ function Watch() {
fontSize: "medium",
fontWeight: "light",
color: "#FFFFFF",
textShadow: "0px 0px 10px #000000",
}}
>
{metadata.year}
Expand All @@ -758,7 +753,6 @@ function Watch() {
fontSize: "medium",
fontWeight: "light",
color: "#FFFFFF",
textShadow: "0px 0px 10px #000000",
ml: 1,
}}
>
Expand All @@ -771,7 +765,6 @@ function Watch() {
fontSize: "medium",
fontWeight: "light",
color: "#FFFFFF",
textShadow: "0px 0px 10px #000000",
ml: 1,
border: "1px dotted #AAAAAA",
borderRadius: "5px",
Expand All @@ -789,7 +782,6 @@ function Watch() {
fontSize: "medium",
fontWeight: "light",
color: "#FFFFFF",
textShadow: "0px 0px 10px #000000",
ml: 1,
}}
>
Expand Down

0 comments on commit 4355f85

Please sign in to comment.