-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from plsankar/develop
Develop
- Loading branch information
Showing
14 changed files
with
407 additions
and
17 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { FC } from "react"; | ||
import WebColors from "../illustrations/WebColors"; | ||
|
||
const ErrorPanel: FC<{ message: string }> = ({ message }) => { | ||
return ( | ||
<div className="flex flex-col items-center justify-center flex-grow gap-5 p-4"> | ||
<WebColors /> | ||
<p className="text-sm text-center">{message}</p> | ||
</div> | ||
); | ||
}; | ||
|
||
export default ErrorPanel; |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import HeaderMenu from "./HeaderMenu"; | ||
|
||
const Header = () => { | ||
return ( | ||
<div className="sticky top-0 flex flex-row items-center w-full gap-4 px-4 py-4 bg-white border-b shadow-sm"> | ||
<img src={chrome.runtime.getURL("logo.svg")} alt="ColorHunter" className="inline-block w-40" /> | ||
<HeaderMenu /> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Header; |
Oops, something went wrong.