Skip to content

Commit

Permalink
[plasmic] Sync project pricing
Browse files Browse the repository at this point in the history
This is an automated commit generated by Hojat Khajavi
using Plasmic (https://plasmic.app/).

Project name: pricing
Project URL: https://studio.plasmic.app/projects/seYsnBL1P3AiXaFGNEMUUM
  • Loading branch information
plasmicops committed Jul 9, 2024
1 parent ec261d8 commit db3929b
Show file tree
Hide file tree
Showing 3 changed files with 87 additions and 63 deletions.
7 changes: 4 additions & 3 deletions components/plasmic/pricing/PlasmicHomepage.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -7216,8 +7216,9 @@
}
@media (min-width: 0px) and (max-width: 768px) {
.btnFixedCalculator {
padding-right: 0px;
padding-left: 0px;
padding-right: 3px;
padding-left: 3px;
box-shadow: 1px 1px 0px 0px #3f4079d9;
}
}
.svg__wEuf2 {
Expand All @@ -7230,7 +7231,7 @@
}
@media (min-width: 0px) and (max-width: 768px) {
.svg__wEuf2 {
height: 30px;
height: 20px;
flex-shrink: 0;
}
}
Expand Down
139 changes: 81 additions & 58 deletions components/plasmic/pricing/PlasmicHomepage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,12 @@ function PlasmicHomepage__RenderFunc(props: {
type: "private",
variableType: "boolean",
initFunc: ({ $props, $state, $queries, $ctx }) => true
},
{
path: "btnFixedCalculatorStatus",
type: "private",
variableType: "boolean",
initFunc: ({ $props, $state, $queries, $ctx }) => false
}
],
[$props, $ctx, $refs]
Expand Down Expand Up @@ -7850,73 +7856,90 @@ function PlasmicHomepage__RenderFunc(props: {
</section>
<div className={classNames(projectcss.all, sty.freeBox__xLvZl)}>
<div className={classNames(projectcss.all, sty.freeBox__iY0Jl)}>
{(() => {
try {
return true;
} catch (e) {
<div
data-plasmic-name={"btnFixedCalculator"}
data-plasmic-override={overrides.btnFixedCalculator}
className={classNames(projectcss.all, sty.btnFixedCalculator)}
id={"btn_fixedCalculator"}
onClick={async event => {
const $steps = {};

$steps["runCode"] = true
? (() => {
const actionArgs = {
customFunction: async () => {
return document
.querySelector(".grid_calculator")
.scrollIntoView({ behavior: "smooth" });
}
};
return (({ customFunction }) => {
return customFunction();
})?.apply(null, [actionArgs]);
})()
: undefined;
if (
$steps["runCode"] != null &&
typeof $steps["runCode"] === "object" &&
typeof $steps["runCode"].then === "function"
) {
$steps["runCode"] = await $steps["runCode"];
}

$steps["updateBtnFixedCalculatorStatus"] = true
? (() => {
const actionArgs = {
variable: {
objRoot: $state,
variablePath: ["btnFixedCalculatorStatus"]
},
operation: 0,
value: false
};
return (({
variable,
value,
startIndex,
deleteCount
}) => {
if (!variable) {
return;
}
const { objRoot, variablePath } = variable;

$stateSet(objRoot, variablePath, value);
return value;
})?.apply(null, [actionArgs]);
})()
: undefined;
if (
e instanceof TypeError ||
e?.plasmicType === "PlasmicUndefinedDataError"
$steps["updateBtnFixedCalculatorStatus"] != null &&
typeof $steps["updateBtnFixedCalculatorStatus"] ===
"object" &&
typeof $steps["updateBtnFixedCalculatorStatus"].then ===
"function"
) {
return true;
$steps["updateBtnFixedCalculatorStatus"] = await $steps[
"updateBtnFixedCalculatorStatus"
];
}
throw e;
}
})() ? (
}}
>
<Icon6Icon
className={classNames(projectcss.all, sty.svg__wEuf2)}
role={"img"}
/>

<div
data-plasmic-name={"btnFixedCalculator"}
data-plasmic-override={overrides.btnFixedCalculator}
className={classNames(
projectcss.all,
sty.btnFixedCalculator
projectcss.__wab_text,
sty.text__xeo1P
)}
id={"btn_fixedCalculator"}
onClick={async event => {
const $steps = {};

$steps["runCode"] = true
? (() => {
const actionArgs = {
customFunction: async () => {
return (() => {
return document
.querySelector(".grid_calculator")
.scrollIntoView({ behavior: "smooth" });
})();
}
};
return (({ customFunction }) => {
return customFunction();
})?.apply(null, [actionArgs]);
})()
: undefined;
if (
$steps["runCode"] != null &&
typeof $steps["runCode"] === "object" &&
typeof $steps["runCode"].then === "function"
) {
$steps["runCode"] = await $steps["runCode"];
}
}}
>
<Icon6Icon
className={classNames(projectcss.all, sty.svg__wEuf2)}
role={"img"}
/>

<div
className={classNames(
projectcss.all,
projectcss.__wab_text,
sty.text__xeo1P
)}
>
{
"\u0645\u0627\u0634\u06cc\u0646 \u062d\u0633\u0627\u0628"
}
</div>
{"\u0645\u0627\u0634\u06cc\u0646 \u062d\u0633\u0627\u0628"}
</div>
) : null}
</div>
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions plasmic.lock
Original file line number Diff line number Diff line change
Expand Up @@ -334,12 +334,12 @@
{
"type": "renderModule",
"assetId": "g64VYoCfAKTS",
"checksum": "ac92d7bca5d646c1025e81475f38bdbc"
"checksum": "a218e60cc7c05b0b9bf66871d8d57f05"
},
{
"type": "cssRules",
"assetId": "g64VYoCfAKTS",
"checksum": "ac92d7bca5d646c1025e81475f38bdbc"
"checksum": "a218e60cc7c05b0b9bf66871d8d57f05"
},
{
"type": "renderModule",
Expand Down

0 comments on commit db3929b

Please sign in to comment.