Skip to content

Commit

Permalink
remove css module file for logo
Browse files Browse the repository at this point in the history
  • Loading branch information
mamos-mysten committed Jan 25, 2023
1 parent 445552c commit 6b497cf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 37 deletions.
26 changes: 0 additions & 26 deletions apps/wallet/src/ui/app/components/logo/Logo.module.scss

This file was deleted.

9 changes: 2 additions & 7 deletions apps/wallet/src/ui/app/components/logo/index.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
// Copyright (c) Mysten Labs, Inc.
// SPDX-License-Identifier: Apache-2.0

import classnames from 'classnames/bind';
import cl from 'classnames';

import { API_ENV } from '../../ApiProvider';
import { Text } from '../../shared/text';
import Icon, { SuiIcons } from '_components/icon';

import st from './Logo.module.scss';

const cl = classnames.bind(st);

const networkNames: Record<API_ENV, string> = {
[API_ENV.local]: 'Local',
[API_ENV.testNet]: 'Testnet',
Expand All @@ -19,12 +15,11 @@ const networkNames: Record<API_ENV, string> = {
};

type LogoProps = {
size?: 'normal' | 'big' | 'bigger' | 'huge';
networkName?: API_ENV;
className?: string;
};

const Logo = ({ size = 'normal', networkName, className }: LogoProps) => {
const Logo = ({ networkName, className }: LogoProps) => {
return (
<div
className={cl(
Expand Down
5 changes: 1 addition & 4 deletions apps/wallet/src/ui/app/pages/welcome/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@ const WelcomePage = () => {
<div className="pt-6 rounded-20 bg-alice-blue shadow-wallet-content flex flex-col flex-nowrap items-center justify-center w-popup-width h-popup-height">
<BottomMenuLayout>
<Content className="flex flex-col flex-nowrap items-center p-7.5 pb-0">
<Logo
size="normal"
className="text-hero mt-7.5"
/>
<Logo className="text-hero mt-7.5" />
<div className="mx-auto text-center mt-12">
<Heading
variant="heading2"
Expand Down

0 comments on commit 6b497cf

Please sign in to comment.