diff --git a/public/fonts/montserrat/montserrat-black-italic.woff2 b/src/assets/fonts/montserrat/montserrat-black-italic.woff2 similarity index 100% rename from public/fonts/montserrat/montserrat-black-italic.woff2 rename to src/assets/fonts/montserrat/montserrat-black-italic.woff2 diff --git a/public/fonts/montserrat/montserrat-black.woff2 b/src/assets/fonts/montserrat/montserrat-black.woff2 similarity index 100% rename from public/fonts/montserrat/montserrat-black.woff2 rename to src/assets/fonts/montserrat/montserrat-black.woff2 diff --git a/public/fonts/montserrat/montserrat-bold-italic.woff2 b/src/assets/fonts/montserrat/montserrat-bold-italic.woff2 similarity index 100% rename from public/fonts/montserrat/montserrat-bold-italic.woff2 rename to src/assets/fonts/montserrat/montserrat-bold-italic.woff2 diff --git a/public/fonts/montserrat/montserrat-bold.woff2 b/src/assets/fonts/montserrat/montserrat-bold.woff2 similarity index 100% rename from public/fonts/montserrat/montserrat-bold.woff2 rename to src/assets/fonts/montserrat/montserrat-bold.woff2 diff --git a/public/fonts/montserrat/montserrat-extra-bold-italic.woff2 b/src/assets/fonts/montserrat/montserrat-extra-bold-italic.woff2 similarity index 100% rename from public/fonts/montserrat/montserrat-extra-bold-italic.woff2 rename to src/assets/fonts/montserrat/montserrat-extra-bold-italic.woff2 diff --git a/public/fonts/montserrat/montserrat-extra-bold.woff2 b/src/assets/fonts/montserrat/montserrat-extra-bold.woff2 similarity index 100% rename from public/fonts/montserrat/montserrat-extra-bold.woff2 rename to src/assets/fonts/montserrat/montserrat-extra-bold.woff2 diff --git a/public/fonts/montserrat/montserrat-extra-light-italic.woff2 b/src/assets/fonts/montserrat/montserrat-extra-light-italic.woff2 similarity index 100% rename from public/fonts/montserrat/montserrat-extra-light-italic.woff2 rename to src/assets/fonts/montserrat/montserrat-extra-light-italic.woff2 diff --git a/public/fonts/montserrat/montserrat-extra-light.woff2 b/src/assets/fonts/montserrat/montserrat-extra-light.woff2 similarity index 100% rename from public/fonts/montserrat/montserrat-extra-light.woff2 rename to src/assets/fonts/montserrat/montserrat-extra-light.woff2 diff --git a/public/fonts/montserrat/montserrat-italic.woff2 b/src/assets/fonts/montserrat/montserrat-italic.woff2 similarity index 100% rename from public/fonts/montserrat/montserrat-italic.woff2 rename to src/assets/fonts/montserrat/montserrat-italic.woff2 diff --git a/public/fonts/montserrat/montserrat-light-italic.woff2 b/src/assets/fonts/montserrat/montserrat-light-italic.woff2 similarity index 100% rename from public/fonts/montserrat/montserrat-light-italic.woff2 rename to src/assets/fonts/montserrat/montserrat-light-italic.woff2 diff --git a/public/fonts/montserrat/montserrat-light.woff2 b/src/assets/fonts/montserrat/montserrat-light.woff2 similarity index 100% rename from public/fonts/montserrat/montserrat-light.woff2 rename to src/assets/fonts/montserrat/montserrat-light.woff2 diff --git a/public/fonts/montserrat/montserrat-medium-italic.woff2 b/src/assets/fonts/montserrat/montserrat-medium-italic.woff2 similarity index 100% rename from public/fonts/montserrat/montserrat-medium-italic.woff2 rename to src/assets/fonts/montserrat/montserrat-medium-italic.woff2 diff --git a/public/fonts/montserrat/montserrat-medium.woff2 b/src/assets/fonts/montserrat/montserrat-medium.woff2 similarity index 100% rename from public/fonts/montserrat/montserrat-medium.woff2 rename to src/assets/fonts/montserrat/montserrat-medium.woff2 diff --git a/public/fonts/montserrat/montserrat-regular.woff2 b/src/assets/fonts/montserrat/montserrat-regular.woff2 similarity index 100% rename from public/fonts/montserrat/montserrat-regular.woff2 rename to src/assets/fonts/montserrat/montserrat-regular.woff2 diff --git a/public/fonts/montserrat/montserrat-semi-bold-italic.woff2 b/src/assets/fonts/montserrat/montserrat-semi-bold-italic.woff2 similarity index 100% rename from public/fonts/montserrat/montserrat-semi-bold-italic.woff2 rename to src/assets/fonts/montserrat/montserrat-semi-bold-italic.woff2 diff --git a/public/fonts/montserrat/montserrat-semi-bold.woff2 b/src/assets/fonts/montserrat/montserrat-semi-bold.woff2 similarity index 100% rename from public/fonts/montserrat/montserrat-semi-bold.woff2 rename to src/assets/fonts/montserrat/montserrat-semi-bold.woff2 diff --git a/public/fonts/montserrat/montserrat-thin-italic.woff2 b/src/assets/fonts/montserrat/montserrat-thin-italic.woff2 similarity index 100% rename from public/fonts/montserrat/montserrat-thin-italic.woff2 rename to src/assets/fonts/montserrat/montserrat-thin-italic.woff2 diff --git a/public/fonts/montserrat/montserrat-thin.woff2 b/src/assets/fonts/montserrat/montserrat-thin.woff2 similarity index 100% rename from public/fonts/montserrat/montserrat-thin.woff2 rename to src/assets/fonts/montserrat/montserrat-thin.woff2 diff --git a/src/components/CurrencyLogo/index.tsx b/src/components/CurrencyLogo/index.tsx index 0086b82..3b776cb 100644 --- a/src/components/CurrencyLogo/index.tsx +++ b/src/components/CurrencyLogo/index.tsx @@ -5,7 +5,7 @@ import { Currency, ETHER, Token } from '../../sdk' import EthereumLogo from '../../assets/images/ethereum-logo.png' import Logo from '../Logo' -const getTokenLogoURL = (address: string) => `/images/suggested-tokens/${address}.svg` +const getTokenLogoURL = (address: string) => `images/suggested-tokens/${address}.svg` const StyledEthereumLogo = styled.img<{ size: string }>` width: ${({ size }) => size}; diff --git a/src/theme/fonts.module.css b/src/theme/fonts.module.css index cc76a92..eab7001 100644 --- a/src/theme/fonts.module.css +++ b/src/theme/fonts.module.css @@ -2,124 +2,124 @@ font-family: Montserrat; font-style: normal; font-weight: 100; - src: url('/fonts/montserrat/montserrat-thin.woff2') format('woff2'); + src: url('../assets/fonts/montserrat/montserrat-thin.woff2') format('woff2'); } @font-face { font-family: Montserrat; font-style: italic; font-weight: 100; - src: url('/fonts/montserrat/montserrat-thin-italic.woff2') format('woff2'); + src: url('../assets/fonts/montserrat/montserrat-thin-italic.woff2') format('woff2'); } @font-face { font-family: Montserrat; font-style: normal; font-weight: 200; - src: url('/fonts/montserrat/montserrat-extra-light.woff2') format('woff2'); + src: url('../assets/fonts/montserrat/montserrat-extra-light.woff2') format('woff2'); } @font-face { font-family: Montserrat; font-style: italic; font-weight: 200; - src: url('/fonts/montserrat/montserrat-extra-light-italic.woff2') format('woff2'); + src: url('../assets/fonts/montserrat/montserrat-extra-light-italic.woff2') format('woff2'); } @font-face { font-family: Montserrat; font-style: normal; font-weight: 300; - src: url('/fonts/montserrat/montserrat-light.woff2') format('woff2'); + src: url('../assets/fonts/montserrat/montserrat-light.woff2') format('woff2'); } @font-face { font-family: Montserrat; font-style: italic; font-weight: 300; - src: url('/fonts/montserrat/montserrat-light-italic.woff2') format('woff2'); + src: url('../assets/fonts/montserrat/montserrat-light-italic.woff2') format('woff2'); } @font-face { font-family: Montserrat; font-style: normal; font-weight: 400; - src: url('/fonts/montserrat/montserrat-regular.woff2') format('woff2'); + src: url('../assets/fonts/montserrat/montserrat-regular.woff2') format('woff2'); } @font-face { font-family: Montserrat; font-style: italic; font-weight: 400; - src: url('/fonts/montserrat/montserrat-italic.woff2') format('woff2'); + src: url('../assets/fonts/montserrat/montserrat-italic.woff2') format('woff2'); } @font-face { font-family: Montserrat; font-style: normal; font-weight: 500; - src: url('/fonts/montserrat/montserrat-medium.woff2') format('woff2'); + src: url('../assets/fonts/montserrat/montserrat-medium.woff2') format('woff2'); } @font-face { font-family: Montserrat; font-style: italic; font-weight: 500; - src: url('/fonts/montserrat/montserrat-medium-italic.woff2') format('woff2'); + src: url('../assets/fonts/montserrat/montserrat-medium-italic.woff2') format('woff2'); } @font-face { font-family: Montserrat; font-style: normal; font-weight: 600; - src: url('/fonts/montserrat/montserrat-semi-bold.woff2') format('woff2'); + src: url('../assets/fonts/montserrat/montserrat-semi-bold.woff2') format('woff2'); } @font-face { font-family: Montserrat; font-style: italic; font-weight: 600; - src: url('/fonts/montserrat/montserrat-semi-bold-italic.woff2') format('woff2'); + src: url('../assets/fonts/montserrat/montserrat-semi-bold-italic.woff2') format('woff2'); } @font-face { font-family: Montserrat; font-style: normal; font-weight: 700; - src: url('/fonts/montserrat/montserrat-bold.woff2') format('woff2'); + src: url('../assets/fonts/montserrat/montserrat-bold.woff2') format('woff2'); } @font-face { font-family: Montserrat; font-style: italic; font-weight: 700; - src: url('/fonts/montserrat/montserrat-bold-italic.woff2') format('woff2'); + src: url('../assets/fonts/montserrat/montserrat-bold-italic.woff2') format('woff2'); } @font-face { font-family: Montserrat; font-style: normal; font-weight: 800; - src: url('/fonts/montserrat/montserrat-extra-bold.woff2') format('woff2'); + src: url('../assets/fonts/montserrat/montserrat-extra-bold.woff2') format('woff2'); } @font-face { font-family: Montserrat; font-style: italic; font-weight: 800; - src: url('/fonts/montserrat/montserrat-extra-bold-italic.woff2') format('woff2'); + src: url('../assets/fonts/montserrat/montserrat-extra-bold-italic.woff2') format('woff2'); } @font-face { font-family: Montserrat; font-style: normal; font-weight: 900; - src: url('/fonts/montserrat/montserrat-black.woff2') format('woff2'); + src: url('../assets/fonts/montserrat/montserrat-black.woff2') format('woff2'); } @font-face { font-family: Montserrat; font-style: italic; font-weight: 900; - src: url('/fonts/montserrat/montserrat-black-italic.woff2') format('woff2'); + src: url('../assets/fonts/montserrat/montserrat-black-italic.woff2') format('woff2'); }