staging #7
216
lib/assets/icons/NameplateLogoDark.tsx
Normal file
216
lib/assets/icons/NameplateLogoDark.tsx
Normal file
File diff suppressed because one or more lines are too long
@ -26,6 +26,7 @@ import type { AnyTypedQuizQuestion } from "@model/questionTypes/shared";
|
|||||||
import { isProduction } from "@/utils/defineDomain";
|
import { isProduction } from "@/utils/defineDomain";
|
||||||
import { useQuizStore } from "@/stores/useQuizStore";
|
import { useQuizStore } from "@/stores/useQuizStore";
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
|
import { NameplateLogoDark } from "@/assets/icons/NameplateLogoDark";
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
currentQuestion: AnyTypedQuizQuestion;
|
currentQuestion: AnyTypedQuizQuestion;
|
||||||
@ -461,12 +462,7 @@ export const ContactForm = ({ currentQuestion, onShowResult }: Props) => {
|
|||||||
margitTop: "auto",
|
margitTop: "auto",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<NameplateLogo
|
{quizThemes[settings.cfg.theme].isLight ? <NameplateLogoDark /> : <NameplateLogo />}
|
||||||
style={{
|
|
||||||
fontSize: "20px",
|
|
||||||
color: quizThemes[settings.cfg.theme].isLight ? "#151515" : "#FFFFFF",
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
</Box>
|
</Box>
|
||||||
)}
|
)}
|
||||||
</Box>
|
</Box>
|
||||||
|
@ -20,6 +20,7 @@ import { sendFC, sendResult } from "@/api/quizRelase";
|
|||||||
import { isProduction } from "@/utils/defineDomain";
|
import { isProduction } from "@/utils/defineDomain";
|
||||||
import { useQuizStore } from "@/stores/useQuizStore";
|
import { useQuizStore } from "@/stores/useQuizStore";
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
|
import { NameplateLogoDark } from "@/assets/icons/NameplateLogoDark";
|
||||||
|
|
||||||
type ResultFormProps = {
|
type ResultFormProps = {
|
||||||
resultQuestion: QuizQuestionResult;
|
resultQuestion: QuizQuestionResult;
|
||||||
@ -308,12 +309,7 @@ export const ResultForm = ({ resultQuestion }: ResultFormProps) => {
|
|||||||
bottom: "90px",
|
bottom: "90px",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<NameplateLogo
|
{quizThemes[settings.cfg.theme].isLight ? <NameplateLogoDark /> : <NameplateLogo />}
|
||||||
style={{
|
|
||||||
fontSize: "23px",
|
|
||||||
color: quizThemes[settings.cfg.theme].isLight ? "#000000" : "#F5F7FF",
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
</Box>
|
</Box>
|
||||||
)}
|
)}
|
||||||
<Box
|
<Box
|
||||||
|
@ -9,6 +9,7 @@ import { useUADevice } from "@utils/hooks/useUADevice";
|
|||||||
import { quizThemes } from "@utils/themes/Publication/themePublication";
|
import { quizThemes } from "@utils/themes/Publication/themePublication";
|
||||||
|
|
||||||
import { NameplateLogo } from "@icons/NameplateLogo";
|
import { NameplateLogo } from "@icons/NameplateLogo";
|
||||||
|
import { NameplateLogoDark } from "@icons/NameplateLogoDark";
|
||||||
import { useQuizViewStore } from "@/stores/quizView";
|
import { useQuizViewStore } from "@/stores/quizView";
|
||||||
import { DESIGN_LIST } from "@/utils/designList";
|
import { DESIGN_LIST } from "@/utils/designList";
|
||||||
|
|
||||||
@ -153,17 +154,13 @@ export const StartPageViewPublication = () => {
|
|||||||
: undefined,
|
: undefined,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<NameplateLogo
|
{settings.cfg.startpageType === "expanded" ? (
|
||||||
style={{
|
<NameplateLogo />
|
||||||
fontSize: "23px",
|
) : quizThemes[settings.cfg.theme].isLight ? (
|
||||||
color:
|
<NameplateLogoDark />
|
||||||
settings.cfg.startpageType === "expanded"
|
) : (
|
||||||
? "#FFFFFF"
|
<NameplateLogo />
|
||||||
: quizThemes[settings.cfg.theme].isLight
|
)}
|
||||||
? "#151515"
|
|
||||||
: "#FFFFFF",
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
</Box>
|
</Box>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user