Compare commits
2 Commits
9054c8d2fd
...
b5256d6597
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b5256d6597 | ||
|
|
18c528302d |
10
package-lock.json
generated
10
package-lock.json
generated
@@ -11,6 +11,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@emotion/react": "^11.14.0",
|
"@emotion/react": "^11.14.0",
|
||||||
"@emotion/styled": "^11.14.0",
|
"@emotion/styled": "^11.14.0",
|
||||||
|
"@fontsource-variable/outfit": "^5.2.8",
|
||||||
"@mui/icons-material": "^7.1.1",
|
"@mui/icons-material": "^7.1.1",
|
||||||
"@mui/material": "^7.1.1",
|
"@mui/material": "^7.1.1",
|
||||||
"@stripe/react-stripe-js": "^3.7.0",
|
"@stripe/react-stripe-js": "^3.7.0",
|
||||||
@@ -2222,6 +2223,15 @@
|
|||||||
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@fontsource-variable/outfit": {
|
||||||
|
"version": "5.2.8",
|
||||||
|
"resolved": "https://registry.npmjs.org/@fontsource-variable/outfit/-/outfit-5.2.8.tgz",
|
||||||
|
"integrity": "sha512-4oUDCZx/Tcz6HZP423w/niqEH31Gks5IsqHV2ZZz1qKHaVIZdj2f0/S1IK2n8jl6Xo0o3N+3RjNHlV9R73ozQA==",
|
||||||
|
"license": "OFL-1.1",
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/sponsors/ayuhito"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/@humanfs/core": {
|
"node_modules/@humanfs/core": {
|
||||||
"version": "0.19.1",
|
"version": "0.19.1",
|
||||||
"resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz",
|
"resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz",
|
||||||
|
|||||||
@@ -30,6 +30,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@emotion/react": "^11.14.0",
|
"@emotion/react": "^11.14.0",
|
||||||
"@emotion/styled": "^11.14.0",
|
"@emotion/styled": "^11.14.0",
|
||||||
|
"@fontsource-variable/outfit": "^5.2.8",
|
||||||
"@mui/icons-material": "^7.1.1",
|
"@mui/icons-material": "^7.1.1",
|
||||||
"@mui/material": "^7.1.1",
|
"@mui/material": "^7.1.1",
|
||||||
"@stripe/react-stripe-js": "^3.7.0",
|
"@stripe/react-stripe-js": "^3.7.0",
|
||||||
|
|||||||
@@ -551,7 +551,7 @@ class PrerenderProduct extends React.Component {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
style: {
|
style: {
|
||||||
fontFamily: '"Roboto","Helvetica","Arial",sans-serif',
|
fontFamily: '"Outfit Variable","Roboto","Helvetica","Arial",sans-serif',
|
||||||
fontSize: '1rem',
|
fontSize: '1rem',
|
||||||
lineHeight: '1.7',
|
lineHeight: '1.7',
|
||||||
color: '#333'
|
color: '#333'
|
||||||
|
|||||||
@@ -385,7 +385,7 @@ class AddToCartButton extends Component {
|
|||||||
startIcon={<ShoppingCartIcon />}
|
startIcon={<ShoppingCartIcon />}
|
||||||
sx={{
|
sx={{
|
||||||
borderRadius: 2,
|
borderRadius: 2,
|
||||||
fontWeight: "bold",
|
whiteSpace: "nowrap",
|
||||||
backgroundColor: "#9ccc65", // yellowish green
|
backgroundColor: "#9ccc65", // yellowish green
|
||||||
color: "#000000",
|
color: "#000000",
|
||||||
"&:hover": {
|
"&:hover": {
|
||||||
@@ -539,7 +539,6 @@ class AddToCartButton extends Component {
|
|||||||
startIcon={<ShoppingCartIcon />}
|
startIcon={<ShoppingCartIcon />}
|
||||||
sx={{
|
sx={{
|
||||||
borderRadius: 2,
|
borderRadius: 2,
|
||||||
fontWeight: "bold",
|
|
||||||
whiteSpace: "nowrap",
|
whiteSpace: "nowrap",
|
||||||
"&:hover": {
|
"&:hover": {
|
||||||
backgroundColor: "primary.dark",
|
backgroundColor: "primary.dark",
|
||||||
|
|||||||
@@ -228,7 +228,7 @@ class ChatAssistant extends Component {
|
|||||||
}, () => {
|
}, () => {
|
||||||
// Emit message to socket server after state is updated
|
// Emit message to socket server after state is updated
|
||||||
if (userMessage.trim()) {
|
if (userMessage.trim()) {
|
||||||
window.socketManager.emit('aiassyMessage', userMessage);
|
window.socketManager.emit('aiassyMessage', { message: userMessage, lang: this.props.i18n?.language });
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ class Stripe extends Component {
|
|||||||
colorWarning: '#FF9800', // Orange for warnings
|
colorWarning: '#FF9800', // Orange for warnings
|
||||||
|
|
||||||
// Typography matching your Roboto setup
|
// Typography matching your Roboto setup
|
||||||
fontFamily: "'Roboto', 'Helvetica', 'Arial', sans-serif",
|
fontFamily: "'Outfit Variable', 'Roboto', 'Helvetica', 'Arial', sans-serif",
|
||||||
fontSizeBase: '16px', // Base font size for mobile compatibility
|
fontSizeBase: '16px', // Base font size for mobile compatibility
|
||||||
fontWeightNormal: '400', // Normal Roboto weight
|
fontWeightNormal: '400', // Normal Roboto weight
|
||||||
fontWeightMedium: '500', // Medium Roboto weight
|
fontWeightMedium: '500', // Medium Roboto weight
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ const ThemeCustomizerDialog = ({ open, onClose, theme, onThemeChange }) => {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
typography: {
|
typography: {
|
||||||
fontFamily: "'Roboto', 'Helvetica', 'Arial', sans-serif",
|
fontFamily: "'Outfit Variable', 'Roboto', 'Helvetica', 'Arial', sans-serif",
|
||||||
h4: {
|
h4: {
|
||||||
fontWeight: 600,
|
fontWeight: 600,
|
||||||
color: '#33691E',
|
color: '#33691E',
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
font-family: Roboto, Helvetica, Arial, sans-serif;
|
font-family: 'Outfit Variable', Roboto, Helvetica, Arial, sans-serif;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
overflow-y: scroll; /* Always show vertical scrollbar */
|
overflow-y: scroll; /* Always show vertical scrollbar */
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
import React from "react";
|
import React from "react";
|
||||||
import ReactDOM from "react-dom/client";
|
import ReactDOM from "react-dom/client";
|
||||||
|
import "@fontsource-variable/outfit";
|
||||||
import "./index.css";
|
import "./index.css";
|
||||||
import App from "./App.js";
|
import App from "./App.js";
|
||||||
import { BrowserRouter } from "react-router-dom";
|
import { BrowserRouter } from "react-router-dom";
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ const theme = createTheme({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
typography: {
|
typography: {
|
||||||
fontFamily: "'Roboto', 'Helvetica', 'Arial', sans-serif",
|
fontFamily: "'Outfit Variable', 'Roboto', 'Helvetica', 'Arial', sans-serif",
|
||||||
h4: {
|
h4: {
|
||||||
fontWeight: 600,
|
fontWeight: 600,
|
||||||
color: '#33691E',
|
color: '#33691E',
|
||||||
|
|||||||
Reference in New Issue
Block a user