1
0
mirror of https://github.com/h3poteto/whalebird-desktop synced 2025-02-03 18:57:43 +01:00

Fix local image

This commit is contained in:
AkiraFukushima 2024-01-03 17:24:19 +09:00
parent e31118a8da
commit 60c6707d9d
No known key found for this signature in database
GPG Key ID: B6E51BAC4DE1A957
3 changed files with 4 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

View File

@ -1,6 +1,5 @@
import { useRouter } from 'next/router'
import Image from 'next/image'
import Icon from '@/assets/256x256.png'
import { Spinner } from 'flowbite-react'
export default function Account() {
const router = useRouter()
@ -15,7 +14,7 @@ export default function Account() {
return (
<div className="h-screen w-full flex justify-center items-center">
<Image src={Icon} alt="icon" width={128} height={128} />
<Spinner color="info" />
</div>
)
}

View File

@ -1,8 +1,7 @@
import Image from 'next/image'
import { useRouter } from 'next/router'
import { useEffect } from 'react'
import Icon from '@/assets/256x256.png'
import { db } from '@/db'
import { Spinner } from 'flowbite-react'
export default function Index() {
const router = useRouter()
@ -28,7 +27,7 @@ export default function Index() {
return (
<div className="h-screen w-full flex justify-center items-center">
<Image src={Icon} alt="icon" width={128} height={128} />
<Spinner color="info" />
</div>
)
}