Skip to content

Commit

Permalink
correct assets paths
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-smolkov committed Mar 20, 2024
1 parent cd14ce8 commit 3784beb
Show file tree
Hide file tree
Showing 20 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion src/components/CurrencyLogo/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down
36 changes: 18 additions & 18 deletions src/theme/fonts.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}

0 comments on commit 3784beb

Please sign in to comment.