update logo title...

This commit is contained in:
john 2022-05-22 04:53:50 +07:00
parent 1f56512d7e
commit d86f060455
16 changed files with 12 additions and 6 deletions

View File

@ -1,3 +1,3 @@
REACT_APP_NAME = CoinWind
REACT_APP_NAME = "Cloud Computing"
REACT_APP_I18N_ENABLED = true
REACT_APP_DEV_ENDPOINT = http://coinwind.test/

5
package-lock.json generated
View File

@ -2434,6 +2434,11 @@
"resolved": "https://registry.npmjs.org/@fontsource/open-sans/-/open-sans-4.5.10.tgz",
"integrity": "sha512-MrtTDfWb1Tu9YxVh2KaKmsKBn6O3KL/lHZS0KRKK58jgqvdwuiDt4QW4udmW4FQf0XOWgnZ+4vKUF80F3SqBAA=="
},
"@fontsource/roboto-flex": {
"version": "4.5.0",
"resolved": "https://registry.npmjs.org/@fontsource/roboto-flex/-/roboto-flex-4.5.0.tgz",
"integrity": "sha512-4w944UkhoO+8rc/bJiSi0KLWWVfCcWGLtgjm6wsyQmSxn25zpJ6qBgSEqANin/R8k0Aou2n6R9nQTlhFOsvMkQ=="
},
"@humanwhocodes/config-array": {
"version": "0.9.5",
"resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.9.5.tgz",

View File

@ -9,6 +9,7 @@
"@emotion/react": "^11.9.0",
"@emotion/styled": "^11.8.1",
"@fontsource/open-sans": "^4.5.10",
"@fontsource/roboto-flex": "^4.5.0",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^10.4.9",
"@testing-library/user-event": "^12.8.3",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

BIN
public/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<link rel="icon" href="%PUBLIC_URL%/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="New generation Defi platform" />

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

After

Width:  |  Height:  |  Size: 139 KiB

View File

@ -7,6 +7,7 @@ import { Layout } from './components'
import { Outlet } from 'react-router-dom'
import { AppContextProvider } from './AppContext'
import '@fontsource/open-sans/400.css'
import '@fontsource/roboto-flex/400.css'
function App() {

View File

@ -60,7 +60,7 @@ export const AppContextProvider = ({ children }) => {
const b = res.data.base
setTitle(o.title)
document.title = o.title + ' - DeFi platform for professor'
document.title = config.APP_NAME + ' - DeFi platform for professor'
let banr = []
o.banner?.forEach((item) => {

View File

@ -1,5 +1,4 @@
import { Image, Flex, IconButton } from "@chakra-ui/react"
import { Images } from "../data"
export const FloatingBtn = ({ name, pic, url, ...rest }) => {

View File

@ -9,7 +9,7 @@ const items = {
}
export const config = {
APP_NAME: process.env.REACT_APP_NAME || 'CoinWind',
APP_NAME: process.env.REACT_APP_NAME,
ENABLE_WALLETCONNECT: true,
ENABLE_COINBASE: true,
AUTO_CONN_WALLET: false,

View File

View File

View File

View File

@ -5,7 +5,7 @@ const config = {
useSystemColorMode: false,
fonts: {
heading: 'Open Sans, sans-serif',
body: 'Open Sans, sans-serif',
body: 'Roboto Flex, sans-serif',
},
}