Skip to content

Commit

Permalink
remove iqlogo3 component
Browse files Browse the repository at this point in the history
  • Loading branch information
Yomzy2223 committed Jan 9, 2025
1 parent bb8b358 commit 74f9c4c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 95 deletions.
7 changes: 5 additions & 2 deletions src/app/[locale]/dashboard/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
import React from 'react'
import type { NextPage } from 'next'
import { Flex, Heading, Stack, Text } from '@chakra-ui/react'
import { IQLogo3 } from '@/components/iq-logo-3'
import Link from '@/components/elements/LinkElements/Link'
import TokenData from '@/components/dashboard/TokenData'
import { DashboardGraphData } from '@/components/dashboard/GraphDetails'
import { fetchMarketData } from '@/utils/fetch-market-data'
import { useTranslations } from 'next-intl'
import { IQLogo } from '@/components/iq-logo'

const Home: NextPage = () => {
const { marketData } = fetchMarketData()
Expand Down Expand Up @@ -54,7 +54,10 @@ const Home: NextPage = () => {
</Text>
</Stack>

<IQLogo3
<IQLogo
width="155px"
height="130px"
viewBox="0 0 155 130"
mx={{ base: 'auto', lg: 'none' }}
h={{ base: '72px', lg: '8.125em' }}
w={{ base: '72px', lg: '154px' }}
Expand Down
89 changes: 0 additions & 89 deletions src/components/iq-logo-3.tsx

This file was deleted.

4 changes: 2 additions & 2 deletions src/components/lock/ReceivedInfo.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react'
import { Flex, Text } from '@chakra-ui/react'
import { IQLogo3 } from '@/components/iq-logo-3'
import { formatValue } from '@/utils/LockOverviewUtils'
import { IQLogo } from '../iq-logo'

const ReceivedInfo = ({ receivedAmount }: { receivedAmount: number }) => {
return (
Expand All @@ -16,7 +16,7 @@ const ReceivedInfo = ({ receivedAmount }: { receivedAmount: number }) => {
</Flex>
</Flex>
<Flex ml="auto" align="end" gap="1">
<IQLogo3 w="6" h="5" />
<IQLogo w="6" h="5" />
<Text fontWeight="medium">HiIQ</Text>
</Flex>
</Flex>
Expand Down
4 changes: 2 additions & 2 deletions src/components/lock/StakeIQ.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { IQLogo3 } from '@/components/iq-logo-3'
import {
calculateReturn,
getValueFromBigInt,
Expand All @@ -19,6 +18,7 @@ import { useLockEnd } from '@/hooks/useLockEnd'
import LockFormCommon from './LockFormCommon'
import LockSlider from '../elements/Slider/LockSlider'
import { usePostHog } from 'posthog-js/react'
import { IQLogo } from '../iq-logo'

const StakeIQ = ({ exchangeRate }: { exchangeRate: number }) => {
const [iqToBeLocked, setIqToBeLocked] = useState<bigint>()
Expand Down Expand Up @@ -276,7 +276,7 @@ const StakeIQ = ({ exchangeRate }: { exchangeRate: number }) => {
textAlign="right"
gap="1"
>
<IQLogo3 w="6" h="5" />
<IQLogo w="6" h="5" />
<Text fontWeight="medium">IQ</Text>
</Flex>
</Flex>
Expand Down

0 comments on commit 74f9c4c

Please sign in to comment.