update шильдик показывается по логике булевого значения
This commit is contained in:
parent
98980f5c09
commit
2eac28fd61
@ -274,7 +274,7 @@ export const ContactForm = ({ currentQuestion, onShowResult }: Props) => {
|
|||||||
 ознакомлен
|
 ознакомлен
|
||||||
</Typography>
|
</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
{!show_badge &&
|
{show_badge &&
|
||||||
<Box
|
<Box
|
||||||
component={Link}
|
component={Link}
|
||||||
target={"_blank"}
|
target={"_blank"}
|
||||||
|
@ -56,7 +56,7 @@ export const Question = ({
|
|||||||
}}>
|
}}>
|
||||||
<QuestionByType key={currentQuestion.id} question={currentQuestion} stepNumber={currentQuestionStepNumber} />
|
<QuestionByType key={currentQuestion.id} question={currentQuestion} stepNumber={currentQuestionStepNumber} />
|
||||||
|
|
||||||
{!show_badge ? (quizThemes[settings.cfg.theme].isLight ? (
|
{show_badge ? (quizThemes[settings.cfg.theme].isLight ? (
|
||||||
<Link target={"_blank"} href={"https://quiz.pena.digital"}>
|
<Link target={"_blank"} href={"https://quiz.pena.digital"}>
|
||||||
<NameplateLogoFQ style={{ fontSize: "34px", width: "200px", height: "auto" }} />
|
<NameplateLogoFQ style={{ fontSize: "34px", width: "200px", height: "auto" }} />
|
||||||
</Link>
|
</Link>
|
||||||
|
@ -124,7 +124,7 @@ export const ResultForm = ({ resultQuestion }: ResultFormProps) => {
|
|||||||
px: "20px",
|
px: "20px",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{!show_badge &&
|
{show_badge &&
|
||||||
<Box
|
<Box
|
||||||
component={Link}
|
component={Link}
|
||||||
target={"_blank"}
|
target={"_blank"}
|
||||||
|
@ -240,7 +240,7 @@ export const StartPageViewPublication = () => {
|
|||||||
</Typography>
|
</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
{!show_badge &&
|
{show_badge &&
|
||||||
<Box
|
<Box
|
||||||
component={Link}
|
component={Link}
|
||||||
target={"_blank"}
|
target={"_blank"}
|
||||||
|
@ -7,7 +7,7 @@ import QuizAnswerer from "../lib/components/QuizAnswerer";
|
|||||||
import { ApologyPage } from "../lib/components/ViewPublicationPage/ApologyPage";
|
import { ApologyPage } from "../lib/components/ViewPublicationPage/ApologyPage";
|
||||||
|
|
||||||
// const defaultQuizId = "45ef7f9c-784d-4e58-badb-f6b337f08ba0"; // branching
|
// const defaultQuizId = "45ef7f9c-784d-4e58-badb-f6b337f08ba0"; // branching
|
||||||
const defaultQuizId = "26f2e98b-06ac-4e6c-b82e-0793e2768310"; //looooong header
|
const defaultQuizId = "cde381db-8ccb-402c-b55f-2c814be9bf25"; //looooong header
|
||||||
// const defaultQuizId = "ad7f5a87-b833-4f5b-854e-453706ed655c"; // linear
|
// const defaultQuizId = "ad7f5a87-b833-4f5b-854e-453706ed655c"; // linear
|
||||||
|
|
||||||
export default function App() {
|
export default function App() {
|
||||||
@ -25,7 +25,9 @@ export default function App() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Box sx={{
|
<Box sx={{
|
||||||
height: "100dvh",
|
// height: "100dvh",
|
||||||
|
height: "600px",
|
||||||
|
width: "600px",
|
||||||
}}>
|
}}>
|
||||||
<QuizAnswerer
|
<QuizAnswerer
|
||||||
quizSettings={data}
|
quizSettings={data}
|
||||||
|
Loading…
Reference in New Issue
Block a user