chore: cleanup assets
This commit is contained in:
1 parent
5efc8b08c7
commit
f729d13582
9 files changed
+9
-8
No files matched your search
+5
-4
@@ -1,6 +1,7 @@
|
||||
import nodeLogo from './assets/node.svg'
|
||||
import { useState } from 'react'
|
||||
import Update from '@/components/update'
|
||||
import logoVite from './assets/logo-vite.svg'
|
||||
import logoElectron from './assets/logo-electron.svg'
|
||||
import './App.scss'
|
||||
|
||||
console.log('[App.tsx]', `Hello world from Electron ${process.versions.electron}!`)
|
||||
@@ -11,8 +12,8 @@ function App() {
|
||||
<div className='App'>
|
||||
<div className='logo-box'>
|
||||
<a href='https://github.com/electron-vite/electron-vite-react' target='_blank'>
|
||||
<img src='./vite.svg' className='logo vite' alt='Electron + Vite logo' />
|
||||
<img src='./electron.svg' className='logo electron' alt='Electron + Vite logo' />
|
||||
<img src={logoVite} className='logo vite' alt='Electron + Vite logo' />
|
||||
<img src={logoElectron} className='logo electron' alt='Electron + Vite logo' />
|
||||
</a>
|
||||
</div>
|
||||
<h1>Electron + Vite + React</h1>
|
||||
@@ -28,7 +29,7 @@ function App() {
|
||||
Click on the Electron + Vite logo to learn more
|
||||
</p>
|
||||
<div className='flex-center'>
|
||||
Place static files into the<code>/public</code> folder <img style={{ width: '5em' }} src={nodeLogo} alt='Node logo' />
|
||||
Place static files into the<code>/public</code> folder <img style={{ width: '5em' }} src='./node.svg' alt='Node logo' />
|
||||
</div>
|
||||
|
||||
<Update />
|
||||
|
||||
Reference in new issue
Block a user