Skip to content

Commit

Permalink
fix: moved font and script
Browse files Browse the repository at this point in the history
  • Loading branch information
thiendang committed Mar 12, 2024
1 parent 8d0e48b commit c3f69ae
Show file tree
Hide file tree
Showing 52 changed files with 35 additions and 38 deletions.
4 changes: 0 additions & 4 deletions shell/public/config.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
@import"https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap";svg {
touch-action: none
}

image,text,.jvm-zoomin,.jvm-zoomout {
-webkit-user-select: none;
-moz-user-select: none;
Expand Down
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.
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.
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.
8 changes: 4 additions & 4 deletions shell/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
<link rel="icon" href="https://react-demo.tailadmin.com/favicon.ico" />
<link
rel="stylesheet"
href="%PUBLIC_URL%/style.css"
href="%PUBLIC_URL%/satoshi.css"
/>
<link
rel="stylesheet"
href="%PUBLIC_URL%/config.css"
/>
<link
rel="stylesheet"
href="%PUBLIC_URL%/satoshi.css"
href="%PUBLIC_URL%/style.css"
/>
<link
rel="stylesheet"
Expand Down Expand Up @@ -75,7 +75,7 @@
};
}
</script>
<script src="https://cdn.jsdelivr.net/npm/jsvectormap"></script>
<script src="https://cdn.jsdelivr.net/npm/jsvectormap/dist/maps/world.js"></script>
<!-- <script src="https://cdn.jsdelivr.net/npm/jsvectormap"></script> -->
<!-- <script src="https://cdn.jsdelivr.net/npm/jsvectormap/dist/maps/world.js"></script> -->
</body>
</html>
60 changes: 30 additions & 30 deletions shell/public/satoshi.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@

@font-face {
font-family: 'Satoshi';
src: url('../fonts/Satoshi-Light.woff2') format('woff2'),
url('../fonts/Satoshi-Light.woff') format('woff'),
url('../fonts/Satoshi-Light.ttf') format('truetype');
src: url('./fonts/Satoshi-Light.woff2') format('woff2'),
url('./fonts/Satoshi-Light.woff') format('woff'),
url('./fonts/Satoshi-Light.ttf') format('truetype');
font-weight: 300;
font-display: swap;
font-style: normal;
Expand All @@ -33,9 +33,9 @@

@font-face {
font-family: 'Satoshi';
src: url('../fonts/Satoshi-LightItalic.woff2') format('woff2'),
url('../fonts/Satoshi-LightItalic.woff') format('woff'),
url('../fonts/Satoshi-LightItalic.ttf') format('truetype');
src: url('./fonts/Satoshi-LightItalic.woff2') format('woff2'),
url('./fonts/Satoshi-LightItalic.woff') format('woff'),
url('./fonts/Satoshi-LightItalic.ttf') format('truetype');
font-weight: 300;
font-display: swap;
font-style: italic;
Expand All @@ -44,9 +44,9 @@

@font-face {
font-family: 'Satoshi';
src: url('../fonts/Satoshi-Regular.woff2') format('woff2'),
url('../fonts/Satoshi-Regular.woff') format('woff'),
url('../fonts/Satoshi-Regular.ttf') format('truetype');
src: url('./fonts/Satoshi-Regular.woff2') format('woff2'),
url('./fonts/Satoshi-Regular.woff') format('woff'),
url('./fonts/Satoshi-Regular.ttf') format('truetype');
font-weight: 400;
font-display: swap;
font-style: normal;
Expand All @@ -55,9 +55,9 @@

@font-face {
font-family: 'Satoshi';
src: url('../fonts/Satoshi-Italic.woff2') format('woff2'),
url('../fonts/Satoshi-Italic.woff') format('woff'),
url('../fonts/Satoshi-Italic.ttf') format('truetype');
src: url('./fonts/Satoshi-Italic.woff2') format('woff2'),
url('./fonts/Satoshi-Italic.woff') format('woff'),
url('./fonts/Satoshi-Italic.ttf') format('truetype');
font-weight: 400;
font-display: swap;
font-style: italic;
Expand All @@ -66,9 +66,9 @@

@font-face {
font-family: 'Satoshi';
src: url('../fonts/Satoshi-Medium.woff2') format('woff2'),
url('../fonts/Satoshi-Medium.woff') format('woff'),
url('../fonts/Satoshi-Medium.ttf') format('truetype');
src: url('./fonts/Satoshi-Medium.woff2') format('woff2'),
url('./fonts/Satoshi-Medium.woff') format('woff'),
url('./fonts/Satoshi-Medium.ttf') format('truetype');
font-weight: 500;
font-display: swap;
font-style: normal;
Expand All @@ -77,9 +77,9 @@

@font-face {
font-family: 'Satoshi';
src: url('../fonts/Satoshi-MediumItalic.woff2') format('woff2'),
url('../fonts/Satoshi-MediumItalic.woff') format('woff'),
url('../fonts/Satoshi-MediumItalic.ttf') format('truetype');
src: url('./fonts/Satoshi-MediumItalic.woff2') format('woff2'),
url('./fonts/Satoshi-MediumItalic.woff') format('woff'),
url('./fonts/Satoshi-MediumItalic.ttf') format('truetype');
font-weight: 500;
font-display: swap;
font-style: italic;
Expand All @@ -88,9 +88,9 @@

@font-face {
font-family: 'Satoshi';
src: url('../fonts/Satoshi-Bold.woff2') format('woff2'),
url('../fonts/Satoshi-Bold.woff') format('woff'),
url('../fonts/Satoshi-Bold.ttf') format('truetype');
src: url('./fonts/Satoshi-Bold.woff2') format('woff2'),
url('./fonts/Satoshi-Bold.woff') format('woff'),
url('./fonts/Satoshi-Bold.ttf') format('truetype');
font-weight: 700;
font-display: swap;
font-style: normal;
Expand All @@ -99,9 +99,9 @@

@font-face {
font-family: 'Satoshi';
src: url('../fonts/Satoshi-BoldItalic.woff2') format('woff2'),
url('../fonts/Satoshi-BoldItalic.woff') format('woff'),
url('../fonts/Satoshi-BoldItalic.ttf') format('truetype');
src: url('./fonts/Satoshi-BoldItalic.woff2') format('woff2'),
url('./fonts/Satoshi-BoldItalic.woff') format('woff'),
url('./fonts/Satoshi-BoldItalic.ttf') format('truetype');
font-weight: 700;
font-display: swap;
font-style: italic;
Expand All @@ -110,9 +110,9 @@

@font-face {
font-family: 'Satoshi';
src: url('../fonts/Satoshi-Black.woff2') format('woff2'),
url('../fonts/Satoshi-Black.woff') format('woff'),
url('../fonts/Satoshi-Black.ttf') format('truetype');
src: url('./fonts/Satoshi-Black.woff2') format('woff2'),
url('./fonts/Satoshi-Black.woff') format('woff'),
url('./fonts/Satoshi-Black.ttf') format('truetype');
font-weight: 900;
font-display: swap;
font-style: normal;
Expand All @@ -121,9 +121,9 @@

@font-face {
font-family: 'Satoshi';
src: url('../fonts/Satoshi-BlackItalic.woff2') format('woff2'),
url('../fonts/Satoshi-BlackItalic.woff') format('woff'),
url('../fonts/Satoshi-BlackItalic.ttf') format('truetype');
src: url('./fonts/Satoshi-BlackItalic.woff2') format('woff2'),
url('./fonts/Satoshi-BlackItalic.woff') format('woff'),
url('./fonts/Satoshi-BlackItalic.ttf') format('truetype');
font-weight: 900;
font-display: swap;
font-style: italic;
Expand Down
1 change: 1 addition & 0 deletions shell/src/components/Maps/MapOne.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React, { useEffect } from 'react';
import jsVectorMap from 'jsvectormap';
import 'jsvectormap/dist/maps/world.js'

const MapOne = () => {
useEffect(() => {
Expand Down

0 comments on commit c3f69ae

Please sign in to comment.