chore(web): Implement new ArtistPage and add new TracksList component #243
This commit is contained in:
21 files changed
+704
-284
No files matched your search
@@ -1,7 +1,7 @@
|
||||
|
||||
.item {
|
||||
.item-episode.item {
|
||||
gap: 1em;
|
||||
&-hero {
|
||||
.item-hero {
|
||||
height: 50vh;
|
||||
gap: 2em;
|
||||
position: relative;
|
||||
@@ -21,6 +21,8 @@
|
||||
flex-grow: 1;
|
||||
flex-shrink: 0;
|
||||
position: relative;
|
||||
width: 26% !important;
|
||||
max-width: 26% !important;
|
||||
}
|
||||
&-blurhash {
|
||||
position: absolute !important;
|
||||
@@ -39,8 +41,8 @@
|
||||
&-detail {
|
||||
width: 100%;
|
||||
align-items: flex-start;
|
||||
gap: 1em;
|
||||
justify-content: end;
|
||||
gap: 0.5em;
|
||||
}
|
||||
&-buttons {
|
||||
&-container {
|
||||
@@ -66,21 +68,21 @@
|
||||
z-index: -1;
|
||||
mask-image: linear-gradient(to top, transparent, black);
|
||||
-webkit-mask-image: linear-gradient(
|
||||
to top,
|
||||
transparent,
|
||||
black
|
||||
to top,
|
||||
transparent,
|
||||
black
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-detail {
|
||||
|
||||
.item-detail {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 5px 35%;
|
||||
justify-items: center;
|
||||
align-items: start;
|
||||
gap: 1em;
|
||||
|
||||
|
||||
&-cast {
|
||||
&-container {
|
||||
display: flex;
|
||||
@@ -136,15 +138,3 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.item-episode {
|
||||
.item-hero {
|
||||
&-image-container {
|
||||
width: 26% !important;
|
||||
max-width: 26% !important;
|
||||
}
|
||||
&-detail {
|
||||
gap: 0.5em;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -37,6 +37,7 @@ import LikeButton from "../../components/buttons/likeButton";
|
||||
import MarkPlayedButton from "../../components/buttons/markPlayedButton";
|
||||
import PlayButton from "../../components/buttons/playButton";
|
||||
import { ErrorNotice } from "../../components/notices/errorNotice/errorNotice";
|
||||
import ShowMoreText from "../../components/showMoreText";
|
||||
import TextLink from "../../components/textLink";
|
||||
import { getTypeIcon } from "../../components/utils/iconsCollection";
|
||||
import { endsAt, getRuntime } from "../../utils/date/time";
|
||||
@@ -571,9 +572,10 @@ const EpisodeTitlePage = () => {
|
||||
<Typography variant="h5" fontStyle="italic" mb={1}>
|
||||
{item.data.Taglines[0] ?? ""}
|
||||
</Typography>
|
||||
<Typography variant="subtitle1">
|
||||
{item.data.Overview ?? ""}
|
||||
</Typography>
|
||||
<ShowMoreText
|
||||
content={item.data.Overview ?? ""}
|
||||
collapsedLines={4}
|
||||
/>
|
||||
{writers.length > 0 && (
|
||||
<div className="hero-grid">
|
||||
<Typography
|
||||
|
||||
Reference in new issue
Block a user