Skip to content

Commit

Permalink
Replace sparkle with app logo that's easier to replace (#2299)
Browse files Browse the repository at this point in the history
  • Loading branch information
pamelafox authored Jan 29, 2025
1 parent aed96cb commit 4b7be9a
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 17 deletions.
1 change: 1 addition & 0 deletions app/frontend/src/assets/applogo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion app/frontend/src/assets/github.svg

This file was deleted.

1 change: 0 additions & 1 deletion app/frontend/src/assets/search.svg

This file was deleted.

5 changes: 3 additions & 2 deletions app/frontend/src/pages/chat/Chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { useRef, useState, useEffect, useContext } from "react";
import { useTranslation } from "react-i18next";
import { Helmet } from "react-helmet-async";
import { Panel, DefaultButton } from "@fluentui/react";
import { SparkleFilled } from "@fluentui/react-icons";
import readNDJSONStream from "ndjson-readablestream";

import appLogo from "../../assets/applogo.svg";
import styles from "./Chat.module.css";

import {
Expand Down Expand Up @@ -370,7 +370,8 @@ const Chat = () => {
<div className={styles.chatContainer}>
{!lastQuestionRef.current ? (
<div className={styles.chatEmptyState}>
<SparkleFilled fontSize={"120px"} primaryFill={"rgba(115, 118, 225, 1)"} aria-hidden="true" aria-label="Chat logo" />
<img src={appLogo} alt="App logo" width="120" height="120" />

<h1 className={styles.chatEmptyStateTitle}>{t("chatEmptyStateTitle")}</h1>
<h2 className={styles.chatEmptyStateSubtitle}>{t("chatEmptyStateSubtitle")}</h2>
{showLanguagePicker && <LanguagePicker onLanguageChange={newLang => i18n.changeLanguage(newLang)} />}
Expand Down
13 changes: 0 additions & 13 deletions app/frontend/src/pages/layout/Layout.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,6 @@
display: none;
}

.microsoftLogo,
.githubLogo {
display: none;
}

.menuToggle {
display: block;
background: none;
Expand Down Expand Up @@ -143,14 +138,6 @@
vertical-align: middle;
}

.githubLogo,
.microsoftLogo {
height: 1.25rem;
font-weight: 600;
display: inline-block;
vertical-align: middle;
}

.menuToggle {
display: none;
}
Expand Down

0 comments on commit 4b7be9a

Please sign in to comment.