feat: add new album page

This commit is contained in:
Prayag Prajapati committed 2024-07-29 10:04:31 +05:30
1 parent df91d4a744
commit 47ded84c48
13 files changed
+413 -354

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
import { Typography } from "@mui/material";
import { Link, type LinkProps } from "@tanstack/react-router";
import React from "react";
import "./tagChip.scss";
const TagChip = ({
label,
linkProps,
}: { label: string; linkProps: LinkProps }) => {
return (
<Link className="tag" {...linkProps}>
<Typography variant="subtitle2" fontWeight={300}>
{label}
</Typography>
</Link>
);
};
export default TagChip;
+19
View File
@@ -0,0 +1,19 @@
.tag {
display: flex;
padding: 0.4em 0.8em;
color: white;
text-decoration: none;
gap: 0.2em;
border: 1px solid rgb(255 255 255 / 0.3);
border-radius: 4em;
.MuiTypography-root {
white-space: nowrap;
transition: $transition-time-fast;
}
&:hover {
border-color: rgb(255 255 255 / 0.8) !important;
.MuiTypography-root {
font-weight: 400;
}
}
}