Skip to content

Commit

Permalink
new logo + favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
audreyhuguenin authored and slecorne committed Dec 6, 2022
1 parent 31ff44d commit bdfb939
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 10 deletions.
Binary file modified public/favicon.ico
Binary file not shown.
19 changes: 19 additions & 0 deletions src/assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 12 additions & 8 deletions src/components/layout/ByteSimHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ import { setName } from "../../features/project/projectSlice";
import ButtonWithIconCustom from "./ButtonWithIconCustom";
import SaveProjectButton from "../project/SaveProjectButton";
import { useNavigate } from "react-router-dom";
import { ReactComponent as Logo } from "../../assets/logo.svg";
import UploadButton from "../project/UploadButton";
import { css } from "@emotion/css";

export default function BytesimeHeader() {
const projectName = useAppSelector((state) => state.project.name);
Expand All @@ -21,13 +23,16 @@ export default function BytesimeHeader() {
borderBottom="1px solid lightgray"
id="header"
>
<Flex p={2} gap={2} align="center">
<Heading size={"md"}>
■ ByteSim{" "}
<Badge colorScheme="yellow" variant="outline">
Version alpha
</Badge>
</Heading>
<Flex p={2} gap={4} align="center">
<Flex align={"flex-end"} gap={2}>
<Logo className={css({ height: "40px", width: "auto" })} />
<div>
<Badge colorScheme="orange" variant="outline" fontSize={"2xs"}>
Beta
</Badge>
<Heading size={"md"}>ByteSim</Heading>
</div>
</Flex>
<Heading size={"md"} fontWeight={"light"}>
<Input
variant={"flushed"}
Expand All @@ -40,7 +45,6 @@ export default function BytesimeHeader() {
/>
</Heading>
<SaveProjectButton />

<UploadButton />
</Flex>
<ButtonWithIconCustom
Expand Down
1 change: 1 addition & 0 deletions src/components/project/SaveProjectButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export default function SaveProjectButton() {
<Button
onClick={onOpen}
size={'sm'}
variant='outline'
>
Save project
</Button>
Expand Down
3 changes: 1 addition & 2 deletions src/components/project/UploadButton.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {
Button,
Input,
Modal,
ModalBody,
ModalContent,
Expand Down Expand Up @@ -30,7 +29,7 @@ export default function UploadButton() {

return (
<>
<Button onClick={onOpen} size={"sm"}>
<Button onClick={onOpen} size={"sm"} variant='outline'>
Import an Artwork
</Button>
<Modal isOpen={isOpen} onClose={onClose}>
Expand Down

0 comments on commit bdfb939

Please sign in to comment.