forked from interstellard/chatgpt-advanced
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
55 additions
and
4 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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { h } from "preact" | ||
import "../style/base.css" | ||
// import icon from "../assets/icons/icon48.png" | ||
|
||
export default function App() { | ||
|
||
return ( | ||
<div className="wcg-container wcg-mx-auto"> | ||
<nav className="wcg-flex wcg-flex-row wcg-justify-between wcg-items-center wcg-px-2"> | ||
<div className="wcg-flex wcg-flex-row wcg-items-center wcg-gap-2"> | ||
<img src="../icons/icon48.png" alt="logo" className="wcg-h-8 wcg-w-8" /> | ||
<span className="wcg-text-2xl wcg-font-bold">WebChatGPT</span> | ||
</div> | ||
</nav> | ||
</div> | ||
) | ||
} |
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,11 @@ | ||
<html lang="en"> | ||
<head> | ||
<title>WebChatpGPT Options</title> | ||
<link rel="stylesheet" href="options.css" /> | ||
</head> | ||
<body class="wcg-flex wcg-h-full wcg-flex-col wcg-bg-gray-900"> | ||
<div id="options"></div> | ||
<script src="options.js"></script> | ||
<!-- <script data-name="BMC-Widget" data-cfasync="false" src="https://cdnjs.buymeacoffee.com/1.0.0/widget.prod.min.js" data-id="anzorq" data-description="Support me on Buy me a coffee!" data-message="If you like this extension you can support me and help me pay for the server here!" data-color="#5F7FFF" data-position="Right" data-x_margin="18" data-y_margin="18"></script> --> | ||
</body> | ||
</html> |
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,5 @@ | ||
import { h, render } from "preact"; | ||
import App from './OptionsApp' | ||
|
||
|
||
render(<App />, document.getElementById("options")) |