-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
1 parent
b497eb1
commit cf23c18
Showing
3 changed files
with
30 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
* Github: https://github.com/lolitee | ||
* Discord: Tee#0001 | ||
* | ||
* Last Modified: Wednesday, 10th May 2023 1:03:58 pm | ||
* Last Modified: Saturday, 25th November 2023 12:05:51 pm | ||
* Modified By: Tee ([email protected]) | ||
* | ||
* Copyright (c) 2023 Tee, Stainless Love | ||
|
@@ -17,6 +17,7 @@ import Navigator from './components/Navigator'; | |
import Preview from './page/Preview'; | ||
import Config from './page/Config'; | ||
import Debug from './page/Debug'; | ||
import Repository from './page/Repository'; | ||
export default function App(props) { | ||
|
||
const [state, setState] = useState(""); | ||
|
@@ -29,6 +30,7 @@ export default function App(props) { | |
{state === "Preview" && <Preview />} | ||
{state === "Config" && <Config />} | ||
{state === "Debug" && <Debug />} | ||
{state === "Repository" && <Repository />} | ||
</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 |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
* Github: https://github.com/lolitee | ||
* Discord: Tee#0001 | ||
* | ||
* Last Modified: Wednesday, 10th May 2023 1:19:59 pm | ||
* Last Modified: Saturday, 25th November 2023 12:06:22 pm | ||
* Modified By: Tee ([email protected]) | ||
* | ||
* Copyright (c) 2023 Tee, Stainless Love | ||
|
@@ -24,7 +24,7 @@ export default function Navigator({setState}) { | |
<NavItem onClick={() => setState("Preview")} href={"#"} text={"Preview"} icon={<FaDiscord className="text-gray-200 m-auto" />} /> | ||
<NavItem onClick={() => setState("Config")} href={"#"} text={"Config"} icon={<FaCog className="text-gray-200 m-auto" />} /> | ||
<NavItem onClick={() => setState("Debug")} href={"#"} text={"Debug"} icon={<VscDebugConsole className="text-gray-200 m-auto" />} /> | ||
<NavItem onClick={() => openUrlInDefaultBrowser('https://github.com/teeteeteeteetee/adobe-discord-rpc')} href={"#"} text={"Repository"} icon={<FaGithub className="text-gray-200 m-auto" />} /> | ||
<NavItem onClick={() => setState("Repository")} href={"#"} text={"Repository"} icon={<FaGithub className="text-gray-200 m-auto" />} /> | ||
</div> | ||
</nav> | ||
); | ||
|
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,25 @@ | ||
/* | ||
* File: Repository.jsx | ||
* Project: discord-rpc | ||
* File Created: Saturday, 25th November 2023 12:03:24 pm | ||
* Author: Tee ([email protected]) | ||
* Github: https://github.com/teeteeteeteetee | ||
* Discord: Tee#0001 | ||
* | ||
* Last Modified: Saturday, 25th November 2023 12:10:07 pm | ||
* Modified By: Tee ([email protected]) | ||
* | ||
* Copyright (c) 2023 Tee, Demon Cat | ||
*/ | ||
export default function Repository(){ | ||
return ( | ||
<div className='container mx-auto'> | ||
<p>Repository: </p> | ||
<p>Discord: </p> | ||
<br/> | ||
// TODO: Click to update | ||
<p>Version: </p> | ||
<p>Latest version: </p> | ||
</div> | ||
) | ||
} |