Complete Discography #64
This commit is contained in:
4 files changed
+44
-6
No files matched your search
@@ -14,6 +14,10 @@ import LinearProgress from "@mui/material/LinearProgress";
|
||||
import Chip from "@mui/material/Chip";
|
||||
import ButtonGroup from "@mui/material/ButtonGroup";
|
||||
import IconButton from "@mui/material/IconButton";
|
||||
import MuiLink from "@mui/material/Link";
|
||||
|
||||
import { Link } from "react-router-dom";
|
||||
|
||||
import { Blurhash } from "react-blurhash";
|
||||
import { green, pink } from "@mui/material/colors";
|
||||
|
||||
@@ -347,9 +351,10 @@ export const Card = ({
|
||||
>
|
||||
{itemName}
|
||||
</Typography>
|
||||
|
||||
<Typography
|
||||
gutterBottom
|
||||
variant="subtitle2"
|
||||
variant="subtitle1"
|
||||
component="div"
|
||||
textAlign="left"
|
||||
width="fit-content"
|
||||
|
||||
@@ -27,7 +27,7 @@ import { MdiAlbum } from "../../icons/mdiAlbum";
|
||||
|
||||
import "./albumArtist.scss";
|
||||
|
||||
export const ArtistAlbum = ({ user, album }) => {
|
||||
export const ArtistAlbum = ({ user, album, boxProps }) => {
|
||||
const albumTracks = useQuery({
|
||||
queryKey: ["artist", "album", album.Id],
|
||||
queryFn: async () => {
|
||||
@@ -58,7 +58,7 @@ export const ArtistAlbum = ({ user, album }) => {
|
||||
const [imgLoaded, setImgLoaded] = useState(false);
|
||||
|
||||
return (
|
||||
<Box>
|
||||
<Box sx={{ mb: 6 }} {...boxProps}>
|
||||
<Stack direction="row" gap={3} mb={3}>
|
||||
{!!album.ImageTags?.Primary && (
|
||||
<Box
|
||||
@@ -108,7 +108,10 @@ export const ArtistAlbum = ({ user, album }) => {
|
||||
</Box>
|
||||
)}
|
||||
<Stack>
|
||||
<Typography variant="h5" sx={{ opacity: `0.7` }}>
|
||||
<Typography
|
||||
variant="h5"
|
||||
sx={{ opacity: `0.7`, mb: 1 }}
|
||||
>
|
||||
{album.ProductionYear}
|
||||
</Typography>
|
||||
<MuiLink
|
||||
|
||||
Reference in new issue
Block a user