Skip to content

Commit 4b7be9a

Browse files
authored
Replace sparkle with app logo that's easier to replace (#2299)
1 parent aed96cb commit 4b7be9a

File tree

5 files changed

+4
-17
lines changed

5 files changed

+4
-17
lines changed

app/frontend/src/assets/applogo.svg

Lines changed: 1 addition & 0 deletions
Loading

app/frontend/src/assets/github.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

app/frontend/src/assets/search.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

app/frontend/src/pages/chat/Chat.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import { useRef, useState, useEffect, useContext } from "react";
22
import { useTranslation } from "react-i18next";
33
import { Helmet } from "react-helmet-async";
44
import { Panel, DefaultButton } from "@fluentui/react";
5-
import { SparkleFilled } from "@fluentui/react-icons";
65
import readNDJSONStream from "ndjson-readablestream";
76

7+
import appLogo from "../../assets/applogo.svg";
88
import styles from "./Chat.module.css";
99

1010
import {
@@ -370,7 +370,8 @@ const Chat = () => {
370370
<div className={styles.chatContainer}>
371371
{!lastQuestionRef.current ? (
372372
<div className={styles.chatEmptyState}>
373-
<SparkleFilled fontSize={"120px"} primaryFill={"rgba(115, 118, 225, 1)"} aria-hidden="true" aria-label="Chat logo" />
373+
<img src={appLogo} alt="App logo" width="120" height="120" />
374+
374375
<h1 className={styles.chatEmptyStateTitle}>{t("chatEmptyStateTitle")}</h1>
375376
<h2 className={styles.chatEmptyStateSubtitle}>{t("chatEmptyStateSubtitle")}</h2>
376377
{showLanguagePicker && <LanguagePicker onLanguageChange={newLang => i18n.changeLanguage(newLang)} />}

app/frontend/src/pages/layout/Layout.module.css

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,6 @@
8282
display: none;
8383
}
8484

85-
.microsoftLogo,
86-
.githubLogo {
87-
display: none;
88-
}
89-
9085
.menuToggle {
9186
display: block;
9287
background: none;
@@ -143,14 +138,6 @@
143138
vertical-align: middle;
144139
}
145140

146-
.githubLogo,
147-
.microsoftLogo {
148-
height: 1.25rem;
149-
font-weight: 600;
150-
display: inline-block;
151-
vertical-align: middle;
152-
}
153-
154141
.menuToggle {
155142
display: none;
156143
}

0 commit comments

Comments
 (0)