Skip to content

Commit d4d4b67

Browse files
committed
Add SVG logos
1 parent 717e1fe commit d4d4b67

File tree

6 files changed

+589
-2
lines changed

6 files changed

+589
-2
lines changed

demo/src/App.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ import {
4141
useToast,
4242
Tooltip,
4343
} from '@chakra-ui/react'
44-
import logo from './image/logo_400.png'
44+
// import logo from './image/logo_400.png'
45+
import logoSVG from './image/logo.svg'
4546
import { ArrowBackIcon, ArrowForwardIcon, InfoIcon } from '@chakra-ui/icons'
4647
import { demoDataDefinitions } from './demoData'
4748
import { useDatabase } from './useDatabase'
@@ -324,7 +325,8 @@ function App() {
324325
<VStack align="flex-start" gap={3}>
325326
<HStack align="flex-end" mt={2} gap={4} flexWrap="wrap">
326327
<Flex gap={4} align="center">
327-
<img src={logo} alt="logo" style={{ maxHeight: '3.5em' }} />
328+
{/* <img src={logo} alt="logo" style={{ maxHeight: '3.5em' }} /> */}
329+
<img src={logoSVG} alt="logo" style={{ maxHeight: '3.5em' }} />
328330
<Heading as="h1" size="3xl" variant="other">
329331
json-edit-<span style={{ color: '#EA3788' }}>react</span>
330332
</Heading>

demo/src/image/logo.dark.svg

Lines changed: 11 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)