-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dark & light theme styling improvements
- Loading branch information
1 parent
7407a3b
commit 7cf7cdf
Showing
8 changed files
with
36 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
const Divider = () => { | ||
return <hr className="bg-white dark:bg-gray-500" /> | ||
return <hr className="h-px border-0 bg-black dark:bg-gray-200"></hr> | ||
} | ||
|
||
export default Divider |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,25 @@ | ||
import { appTitle } from "@/lib/const" | ||
import Image from "next/image" | ||
|
||
const LoadingLogo = () =>{ | ||
return ( | ||
<div className="h-screen flex items-center justify-center animate-bounce"> | ||
<Image alt={appTitle} src="/aws-restart-logo.png" width={120} height={50} /> | ||
</div> | ||
) | ||
const LoadingLogo = () => { | ||
return ( | ||
<div className="flex h-screen animate-bounce items-center justify-center"> | ||
<Image | ||
className="dark:hidden" // shown in light theme | ||
alt={appTitle} | ||
src="/aws-restart-logo-light.png" | ||
width={128} | ||
height={75} | ||
/> | ||
<Image | ||
className="hidden dark:block" // shown in dark theme | ||
alt={appTitle} | ||
src="/aws-restart-logo.png" | ||
width={128} | ||
height={75} | ||
/> | ||
</div> | ||
) | ||
} | ||
|
||
export default LoadingLogo | ||
export default LoadingLogo |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.