Complete EpisodeTitlePage #160

This commit is contained in:
Prayag Prajapati committed 2023-09-20 16:30:13 +05:30
1 parent 59e8ceb99c
commit e552178b72
17 files changed
+493 -138

No files matched your search

+2 -2
View File
@@ -5,7 +5,7 @@ import { useNavigate } from "react-router-dom";
import "./textLink.module.scss";
const TextLink = ({ text, location, variant, otherProps }) => {
const TextLink = ({ children, location, variant, otherProps }) => {
const navigate = useNavigate();
return (
@@ -15,7 +15,7 @@ const TextLink = ({ text, location, variant, otherProps }) => {
onClick={() => navigate(location)}
{...otherProps}
>
{text}
{children}
</Typography>
);
};
@@ -4,6 +4,7 @@
text-decoration: underline;
text-decoration-color: rgb(255 255 255 / 0.5);
white-space: pre-line;
width: fit-content;
&:hover {
cursor: pointer;
text-decoration-color: rgb(255 255 255 / 1);