add prod build script

This commit is contained in:
fmtabbara
2024-12-04 15:48:31 +00:00
parent 07e946a195
commit 16b9bcb91d
3 changed files with 2 additions and 23 deletions
+1
View File
@@ -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>
);
};