add prod build script
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
"scripts": {
|
||||
"dev": "next dev --turbopack",
|
||||
"build": "next build",
|
||||
"build:prod": "yarn --cwd .. build && next build",
|
||||
"start": "next start",
|
||||
"lint": "next lint"
|
||||
},
|
||||
|
||||
@@ -82,7 +82,7 @@ export const Button = ({
|
||||
: `1px solid ${t.palette.primary.contrastText}`
|
||||
: "1px solid transparent",
|
||||
"&:hover": {
|
||||
backgroundColor: (t) => hoverBgColor(t),
|
||||
backgroundColor: hoverBgColor,
|
||||
},
|
||||
"&:disabled": {
|
||||
color: "text.disabled",
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
import { Link } from "@/components/muiLink";
|
||||
import type { Languages } from "@/i18n";
|
||||
import UserIcon from "@/public/icons/user.svg";
|
||||
|
||||
export const AccountButton = ({ locale }: { locale: Languages }) => {
|
||||
return (
|
||||
<Link
|
||||
href={`/${locale}/account/login`}
|
||||
sx={{
|
||||
display: "flex",
|
||||
justifyContent: "center",
|
||||
alignItems: "center",
|
||||
aspectRatio: "1",
|
||||
height: "30px",
|
||||
width: "30px",
|
||||
flexShrink: 0,
|
||||
}}
|
||||
>
|
||||
<UserIcon />
|
||||
</Link>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user