-
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
1 parent
f72cfad
commit c255dfb
Showing
16 changed files
with
111 additions
and
10 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
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,33 @@ | ||
<!doctype html> | ||
<html class="rantstats"> | ||
<head> | ||
<title>About | RantStats Extension for Rumble.com</title> | ||
|
||
<!--suppress HtmlUnknownTarget --> | ||
<link rel="stylesheet" type="text/css" href="about.css" /> | ||
</head> | ||
|
||
<body id="about"> | ||
<header> | ||
<h1>About</h1> | ||
</header> | ||
|
||
<main> | ||
<p>If you want to support me:</p> | ||
<ul> | ||
<li><a href="https://www.paypal.me/stevencrader" target="_blank">PayPal</a></li> | ||
<li><a href="https://www.cash.app/$craders" target="_blank">$craders</a></li> | ||
<li> | ||
<a href="https://venmo.com/code?user_id=467277291978752568&created=1654152122" target="_blank" | ||
>Venmo</a | ||
> | ||
</li> | ||
<li><a href="https://x.com/stevencrader" target="_blank">X (Rant Stats)</a></li> | ||
<li><a href="https://x.com/rantstats_com" target="_blank">X (Me)</a></li> | ||
</ul> | ||
</main> | ||
|
||
<!--suppress HtmlUnknownTarget --> | ||
<script src="about.js"></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,11 @@ | ||
@import "../pages"; | ||
|
||
#about { | ||
p, | ||
a { | ||
font-size: 1.5em; | ||
} | ||
} | ||
|
||
html.theme-dark { | ||
} |
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,23 @@ | ||
import { registerTab } from "../../components/events/events" | ||
import { registerSystemColorSchemeWatcher, updateTheme, updateThemeStyle } from "../../theme" | ||
import { Message, Messages } from "../../types/messages" | ||
import { Theme } from "../../types/option-types" | ||
|
||
chrome.runtime.onMessage.addListener((message: Message, _sender, sendResponse) => { | ||
if (message.action === Messages.RUMBLE_THEME_CHANGED_TAB) { | ||
updateThemeStyle(message.data.theme as Theme) | ||
} | ||
sendResponse({ done: true }) | ||
}) | ||
|
||
/** | ||
* Initialize the page | ||
*/ | ||
const populateView = async (): Promise<void> => { | ||
registerSystemColorSchemeWatcher() | ||
await updateTheme() | ||
} | ||
|
||
populateView().then() | ||
|
||
registerTab() |
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 |
---|---|---|
|
@@ -113,6 +113,7 @@ | |
|
||
footer { | ||
font-size: 10px; | ||
padding-bottom: 10px; | ||
|
||
.clear-section { | ||
font-size: 12px; | ||
|
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
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