Skip to content

Commit

Permalink
add zupass logo
Browse files Browse the repository at this point in the history
  • Loading branch information
ichub committed Jul 25, 2024
1 parent 22bdb58 commit 8072b5d
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
12 changes: 10 additions & 2 deletions apps/passport-client/components/core/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,17 @@ export const PreWrap = styled.pre`
overflow: hidden;
`;

export function ZuLogo(): JSX.Element {
export function ZuLogo(
props: React.HTMLAttributes<HTMLImageElement>
): JSX.Element {
return (
<img draggable="false" src={icons.logo} width="160px" height="155px" />
<img
draggable="false"
src={icons.logo}
width="160px"
height="155px"
{...props}
/>
);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import {
isFrogCryptoFolder,
isProtocolWorldsFolder
} from "../../../src/util";
import { Placeholder, Spacer } from "../../core";
import { Placeholder, Spacer, ZuLogo } from "../../core";
import { RippleLoader } from "../../core/RippleLoader";
import { MaybeModal } from "../../modals/Modal";
import { AppContainer } from "../../shared/AppContainer";
Expand Down Expand Up @@ -179,6 +179,11 @@ export function HomeScreenImpl(): JSX.Element | null {
<>
<MaybeModal />
<AppContainer bg="gray">
<Spacer h={24} />
<div className="flex-col flex align-center items-center gap-2">
<ZuLogo width="64px" />{" "}
<div className="text-2xl font-bold">Zupass</div>
</div>
<Spacer h={24} />
{isRoot && !isOther && <AppHeader isEdgeCity={isEdgeCity} />}
<Placeholder minH={540}>
Expand Down Expand Up @@ -252,7 +257,7 @@ export function HomeScreenImpl(): JSX.Element | null {
window.location.href = "#/other";
}}
>
Your Other Data
Other Data
</div>
</>
)}
Expand Down
2 changes: 1 addition & 1 deletion apps/passport-client/components/shared/PCDCardList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export function PCDCardList({
)}

{sortedPCDs.length > 1 && (
<div className="flex flex-row gap-4 ">
<div className="flex flex-row gap-4 mb-[0.75rem]">
<div
className={cn(
"border-4 border-cyan-950 flex-grow",
Expand Down

0 comments on commit 8072b5d

Please sign in to comment.