Skip to content

Commit

Permalink
Moving fonts & icons to assets
Browse files Browse the repository at this point in the history
  • Loading branch information
ioay committed Jan 23, 2024
1 parent 77c911f commit 3f0f58d
Show file tree
Hide file tree
Showing 28 changed files with 15 additions and 15 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions dapp/src/components/GlobalStyles/index.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import React from "react"
import { Global } from "@emotion/react"

import SegmentRegular from "#/fonts/Segment-Regular.otf"
import SegmentMedium from "#/fonts/Segment-Medium.otf"
import SegmentSemiBold from "#/fonts/Segment-SemiBold.otf"
import SegmentBold from "#/fonts/Segment-Bold.otf"
import SegmentBlack from "#/fonts/Segment-Black.otf"
import SegmentRegular from "#/assets/fonts/Segment-Regular.otf"
import SegmentMedium from "#/assets/fonts/Segment-Medium.otf"
import SegmentSemiBold from "#/assets/fonts/Segment-SemiBold.otf"
import SegmentBold from "#/assets/fonts/Segment-Bold.otf"
import SegmentBlack from "#/assets/fonts/Segment-Black.otf"

export default function GlobalStyles() {
return (
Expand Down
2 changes: 1 addition & 1 deletion dapp/src/components/Header/ConnectWallet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
} from "#/hooks"
import { CurrencyBalance } from "#/components/shared/CurrencyBalance"
import { TextMd } from "#/components/shared/Typography"
import { Bitcoin, Ethereum } from "#/static/icons"
import { Bitcoin, Ethereum } from "#/assets/icons"
import { truncateAddress, asyncWrapper } from "#/utils"

export type ConnectButtonsProps = {
Expand Down
2 changes: 1 addition & 1 deletion dapp/src/components/Header/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react"
import { Flex, HStack, Icon } from "@chakra-ui/react"
import { AcreLogo } from "#/static/icons"
import { AcreLogo } from "#/assets/icons"
import ConnectWallet from "./ConnectWallet"

export default function Header() {
Expand Down
2 changes: 1 addition & 1 deletion dapp/src/components/Modals/Support/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
useRequestEthereumAccount,
useWalletContext,
} from "#/hooks"
import { ConnectBTCAccount, ConnectETHAccount } from "#/static/icons"
import { ConnectBTCAccount, ConnectETHAccount } from "#/assets/icons"
import MissingAccount from "./MissingAccount"

export default function SupportWrapper({
Expand Down
2 changes: 1 addition & 1 deletion dapp/src/components/Overview/PositionDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
} from "@chakra-ui/react"
import { CurrencyBalanceWithConversion } from "#/components/shared/CurrencyBalanceWithConversion"
import { TextMd } from "#/components/shared/Typography"
import { Info } from "#/static/icons"
import { Info } from "#/assets/icons"
import StakingModal from "../Modals/Staking"

export default function PositionDetails(props: CardProps) {
Expand Down
2 changes: 1 addition & 1 deletion dapp/src/components/Overview/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from "react"
import { Button, Flex, Grid, HStack, Icon, Switch } from "@chakra-ui/react"
import { useDocsDrawer } from "#/hooks"
import { TextSm } from "#/components/shared/Typography"
import { ArrowUpRight } from "#/static/icons"
import { ArrowUpRight } from "#/assets/icons"
import { USD } from "#/constants"
import PositionDetails from "./PositionDetails"
import Statistics from "./Statistics"
Expand Down
2 changes: 1 addition & 1 deletion dapp/src/components/Sidebar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
} from "@chakra-ui/react"
import RightSidebar from "#/assets/images/right-sidebar-bg.png"
import { useSidebar, useDocsDrawer } from "#/hooks"
import { ShieldPlusIcon } from "#/static/icons"
import { ShieldPlusIcon } from "#/assets/icons"
import { TextMd, TextSm } from "../shared/Typography"
import ButtonLink from "../shared/ButtonLink"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react"
import { UseTransactionHistoryTableResult } from "#/types"
import { ArrowLeft, ArrowRight } from "#/static/icons"
import { ArrowLeft, ArrowRight } from "#/assets/icons"

export const PAGINATION_BUTTONS = [
{
Expand Down
2 changes: 1 addition & 1 deletion dapp/src/components/shared/Alert/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
Icon,
useMultiStyleConfig,
} from "@chakra-ui/react"
import { AlertInfo, ArrowUpRight } from "#/static/icons"
import { AlertInfo, ArrowUpRight } from "#/assets/icons"

const ICONS = {
info: AlertInfo,
Expand Down
2 changes: 1 addition & 1 deletion dapp/src/components/shared/ButtonLink/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react"
import { Button, ButtonProps, Icon } from "@chakra-ui/react"
import { ArrowUpRight } from "#/static/icons"
import { ArrowUpRight } from "#/assets/icons"

type ButtonLinkProps = ButtonProps & {
icon?: typeof Icon
Expand Down
2 changes: 1 addition & 1 deletion dapp/src/components/shared/TokenBalanceInput/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
getCurrencyByType,
userAmountToBigInt,
} from "#/utils"
import { AlertInfo } from "#/static/icons"
import { AlertInfo } from "#/assets/icons"
import { CurrencyType } from "#/types"
import NumberFormatInput, {
NumberFormatInputValues,
Expand Down

0 comments on commit 3f0f58d

Please sign in to comment.