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