Skip to content

Commit

Permalink
Published extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbtay committed May 22, 2024
1 parent c933a31 commit 195a069
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 4 deletions.
Binary file added public/firefox-permissions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 1 addition & 4 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@ const router = createBrowserRouter([
},
{
path: "/extension",
loader: () => {
window.location.replace("/extension.zip");
return null;
},
lazy: () => import("./pages/Extension"),
},
{
path: "/challenge",
Expand Down
50 changes: 50 additions & 0 deletions src/pages/Extension.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
import { ChallengeHeader } from "../components/ChallengeHeader";
export function Component() {
return (
<ChallengeHeader>
<div className="responsive-fg bg-secondary m-20">
<p className="large bold">Chrome</p>
<p>
Install the extension for Chrome{" "}
<a
href="https://chromewebstore.google.com/detail/kattis-tracker/ggcmlekiemlkdojgohedanfnjpdokloa"
target="_blank"
rel="noreferrer"
>
here
</a>
</p>
<p className="large bold">Firefox</p>
<p>
Install the add-on for Firefox{" "}
<a
href="https://addons.mozilla.org/en-US/firefox/addon/kattis-tracker1/"
target="_blank"
rel="noreferrer"
>
here
</a>
, then make sure to enable the permissions for the add-on to work:
</p>
<div>
<img src="firefox-permissions.png" width="75%" />
</div>
<p className="large bold">From source</p>
<p>
Source can be found{" "}
<a
href="https://github.com/joshbtay/kattis-extension"
target="_blank"
rel="noreferrer"
>
here
</a>
. You can download the compiled extension{" "}
<a href="extension.zip">here</a>.
</p>
</div>
</ChallengeHeader>
);
}

Component.displayName = "Extension";

0 comments on commit 195a069

Please sign in to comment.