diff --git a/public/splash.html b/public/splash.html
index 0376674..9d79733 100644
--- a/public/splash.html
+++ b/public/splash.html
@@ -26,7 +26,7 @@
width: 100vw;
margin: 0;
padding: 0;
- background: black;
+ background: transparent;
}
.background {
@@ -35,11 +35,12 @@
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
- width: calc(100vw + 5em);
- height: calc(100vh + 5em);
+ width: 100vw;
+ height: 100vh;
background-image: url("./assetsStatic/splashBg.png");
background-size: cover;
background-position: center;
+ border-radius: 7px;
}
main {
@@ -70,6 +71,7 @@
height: 8px;
overflow: hidden;
backdrop-filter: blur(5px);
+ border-radius: 0 0 7px 7px;
}
.indicator {
diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json
index 8953429..bbcff75 100644
--- a/src-tauri/tauri.conf.json
+++ b/src-tauri/tauri.conf.json
@@ -82,7 +82,9 @@
"resizable": false,
"url": "splash.html",
"label": "splashscreen",
- "title": "JellyPlayer"
+ "title": "JellyPlayer",
+ "visible": true,
+ "transparent": true
},
{
diff --git a/src/components/layouts/item/hero.jsx b/src/components/layouts/item/hero.jsx
index d9b4dba..acb6186 100644
--- a/src/components/layouts/item/hero.jsx
+++ b/src/components/layouts/item/hero.jsx
@@ -25,6 +25,7 @@ import PlayButton from "../../buttons/playButton";
import "./hero.module.scss";
import { Blurhash } from "react-blurhash";
import { MediaTypeIconCollection } from "../../utils/iconsCollection";
+import TextLink from "../../textLink";
/**
* @typedef {Object} Props
@@ -511,7 +512,12 @@ const Hero = ({
marginTop: "0.2em",
}}
>
-
+
{item.Taglines[0]}
@@ -536,14 +542,29 @@ const Hero = ({
>
Written by
-
- {writers
- .map(
- (writer, index) =>
- writer.Name,
- )
- .join(", ")}
-
+
+ {writers.map((writer, index) => (
+ <>
+
+
+ ,{" "}
+
+ >
+ ))}
+
)}
{directors.length > 0 && (
@@ -562,11 +583,24 @@ const Hero = ({
>
Directed by
-
- {directors
- .map((director) => director.Name)
- .join(", ")}
-
+
+ {directors.map((director) => (
+ <>
+
+
+ ,{" "}
+
+ >
+ ))}
+
)}
{artists.length > 0 && (
diff --git a/src/components/layouts/item/hero.module.scss b/src/components/layouts/item/hero.module.scss
index e2bd611..284049b 100644
--- a/src/components/layouts/item/hero.module.scss
+++ b/src/components/layouts/item/hero.module.scss
@@ -63,4 +63,8 @@ $maskPercentage: 40%;
transition: opacity $transition-time-fast;
filter: drop-shadow(0px 4px 10px rgb(0 0 0 / 0.5));
}
+ &-text-container {
+ display: flex;
+ flex-wrap: wrap;
+ }
}
diff --git a/src/components/textLink/index.jsx b/src/components/textLink/index.jsx
new file mode 100644
index 0000000..ce5df19
--- /dev/null
+++ b/src/components/textLink/index.jsx
@@ -0,0 +1,22 @@
+/** @format */
+
+import Typography from "@mui/material/Typography";
+import { useNavigate } from "react-router-dom";
+
+import "./textLink.module.scss";
+
+const TextLink = ({ text, location, variant }) => {
+ const navigate = useNavigate();
+
+ return (
+ navigate(location)}
+ >
+ {text}
+
+ );
+};
+
+export default TextLink;
diff --git a/src/components/textLink/textLink.module.scss b/src/components/textLink/textLink.module.scss
new file mode 100644
index 0000000..6ed7fac
--- /dev/null
+++ b/src/components/textLink/textLink.module.scss
@@ -0,0 +1,11 @@
+/** @format */
+
+.link {
+ text-decoration: underline;
+ text-decoration-color: rgb(255 255 255 / 0.5);
+ white-space: pre-line;
+ &:hover {
+ cursor: pointer;
+ text-decoration-color: rgb(255 255 255 / 1);
+ }
+}
diff --git a/src/routes/album/index.jsx b/src/routes/album/index.jsx
index ba62c9b..c57e3f5 100644
--- a/src/routes/album/index.jsx
+++ b/src/routes/album/index.jsx
@@ -204,6 +204,9 @@ const MusicAlbumTitlePage = () => {
justifySelf: "start",
}}
fontWeight={400}
+ onClick={() => {
+ console.log("Hvnrjn");
+ }}
>
Name