new product page
diff --git a/www/assets/productImage.png b/www/assets/productImage.png
new file mode 100644
index 0000000..e474018
--- /dev/null
+++ b/www/assets/productImage.png
Binary files differ
diff --git a/www/index.html b/www/index.html
index a120f93..69aa3f5 100644
--- a/www/index.html
+++ b/www/index.html
@@ -1,212 +1 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
-
- <link rel="shortcut icon" href="/favicon.png" type="image/png">
-
- <link href="https://fonts.googleapis.com/icon?family=Material+Icons+Extended" rel="stylesheet">
- <link type="text/css" rel="stylesheet" href="https://cdn.jottocraft.com/fluid/v4.min.css"
- media="screen,projection" />
-
- <!--OpenGraph -->
- <meta property="og:url" content="https://powerplus.app" />
- <meta property="og:title" content="Power+" />
- <meta property="og:description" content="A better UI for Canvas LMS" />
- <meta property="og:image" content="https://powerplus.app/logo.png" />
-
- <title>Power+</title>
-
- <meta charset="utf-8">
- <meta name="description" content="A better UI for Canvas LMS">
- <meta name="author" content="jottocraft">
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-
- <script async src="https://cdn.jottocraft.com/fluid/assets/tinycolor.js"></script>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
- <script src="https://cdn.jottocraft.com/fluid/v4.min.js"></script>
- <!-- Cloudflare Web Analytics -->
- <script defer src='https://static.cloudflareinsights.com/beacon.min.js'
- data-cf-beacon='{"token": "ea915f5adf884fd7b502840246555abc"}'></script><!-- End Cloudflare Web Analytics -->
-
- <style>
- /* Header */
- #header {
- color: var(--elementText);
- padding: 100px;
- padding-bottom: 120px;
- margin-bottom: 125px;
- text-align: center;
- }
-
- #header h1 {
- display: inline-block;
- vertical-align: middle;
- }
-
- .title img {
- height: 98px;
- vertical-align: middle;
- margin-right: 22px;
- }
-
- #header .title {
- margin-bottom: 40px;
- }
-
- /* Content Blocks */
- .block {
- overflow: hidden;
- margin-bottom: 200px;
- }
-
- .container .block .description>*:nth-child(1) {
- margin-top: 0px;
- }
-
- .container .block .description>*:nth-last-child(1) {
- margin-bottom: 0px;
- }
-
- .container .block .description p {
- font-size: 20px;
- color: var(--lightText);
- }
-
- /* Large content blocks */
- .container .block:not(.small)>img {
- width: 28%;
- max-width: 250px;
- }
-
- .container .block:not(.small)>.description {
- overflow: hidden;
- }
-
- .container .block:not(.small):nth-child(odd)>img,
- .container .block.left:not(.small):nth-child(even)>img {
- float: left;
- margin-right: 48px;
- margin-left: 0;
- }
-
- .container .block:not(.small):nth-child(even)>img,
- .container .block.right:not(.small):nth-child(odd)>img {
- float: right;
- margin-left: 48px;
- margin-right: 0;
- }
-
- .container .block:not(.small) .description h3 {
- font-size: 2.6rem;
- }
-
- /* Small content blocks */
- .container .block.small .description h3 {
- font-size: 2.2rem;
- }
-
- .container .block.small {
- text-align: center;
- display: inline-block;
- }
-
- .container .block.small img {
- height: 150px;
- margin-bottom: 20px;
- }
- </style>
-</head>
-
-
-<body>
-
- <script>
- $(document).ready(() => {
- if (navigator.userAgent.toLowerCase().indexOf('firefox') > -1) {
- if ($("#dtpsInstallBtn").text().includes("extension")) {
- $("#dtpsInstallBtn").attr("onclick", "window.location.href = 'https://powerplus.app/firefox.xpi';");
- }
- }
- })
- </script>
-
- <div id="header">
- <div class="content">
- <div class="title">
- <img src="/icon.svg" />
- <h1>Power+</h1>
- </div>
- <div class="row">
- <button id="dtpsInstallBtn"
- onclick="window.location.href = 'https://chrome.google.com/webstore/detail/power%20/pakgdifknldaiglefmpkkgfjndemfapo';"
- class="btn"><i class="material-icons">extension</i> Add the extension</button>
- <button class="btn outline" onclick="window.location.href = '/demo';"><i
- class="material-icons">exit_to_app</i> Demo</button>
- <button class="btn outline" onclick="window.location.href = 'https://github.com/jottocraft/dtps';"><i
- class="material-icons">code</i> Source code</button>
- </div>
- </div>
- </div>
-
- <div class="container">
- <div class="row">
- <div class="block small six columns">
- <img src="assets/todo.svg" />
- <div class="description">
- <h3>Manage your coursework</h3>
- <p>Power+ shows you upcoming assignments, a calendar, and updates at a glance</p>
- </div>
- </div>
-
- <div class="block small six columns">
- <img src="assets/calculator.svg" />
- <div class="description">
- <h3>Grade Calculation</h3>
- <p>Power+ calculates your CBL class grades and lets you test what-if grades</p>
- </div>
- </div>
- </div>
-
- <div class="block left">
- <img src="assets/server.svg" />
- <div class="description">
- <h3>Privacy</h3>
- <p>Processing of Personal Information and Preferences</p>
- <ul>
- <li>Power+ does <b>not</b> collect any personal information. All personal information shown in
- Power+ is fetched directly from Canvas to your device. All processing of personal information
- (such as CBL grade calculation) is done on-device.</li>
- <li>Prefrences and grade history are stored on-device and are not associated with your Canvas
- account.</li>
- <li>Power+'s code is fully open-source on <a href="https://github.com/jottocraft/dtps">GitHub</a>.
- </li>
- </ul>
- <p>Web Analytics</p>
- <ul>
- <li>Power+ uses Cloudflare Web Analytics to count page views, load times, browsers, devices, and
- Canvas instances used with Power+.</li>
- <li>Data collected using Cloudflare Web Analytics is not associated with individual users or IP
- addresses and does not collect any personal information.</li>
- <li>To learn more about Cloudflare Web Analytics, visit <a
- href="https://www.cloudflare.com/web-analytics/">cloudflare.com/web-analytics</a>. If you
- have any questions or concerns about your privacy on Power+ please contact me at <a
- href="mailto:[email protected]">[email protected]</a>.</li>
- </ul>
- </div>
- </div>
- </div>
-
- <br /><br /><br /><br />
- <div style="text-align: center; padding: 50px 0px;">
- <img style="height: 45px; margin-right: 20px; vertical-align: middle;"
- src="https://cdn.jottocraft.com/images/footerImage.png" />
- <h5 style="display: inline-block; vertical-align: middle;">jottocraft</h5>
- <p>(c) jottocraft 2018-2021 <a href="https://github.com/jottocraft/dtps">source
- code</a> <a href="https://github.com/jottocraft/dtps/blob/main/LICENSE">license</a></p>
- </div>
-
-
-</body>
-
-</html>
\ No newline at end of file
+<!doctype html><html><head><link rel="preconnect" href="https://fonts.gstatic.com"><link href="https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet"><link href="https://fonts.googleapis.com/icon?family=Material+Icons+Round" rel="stylesheet"><meta charset="utf-8"/><link rel="icon" href="/favicon.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="apple-touch-icon" href="/logo.png"/><script type="text/javascript" src="/productPage.jottocraft.js"></script><title>jottocraft</title><link href="https://cdn.jottocraft.com/productPage/main.css" rel="stylesheet"></head><body><noscript>This site requires JavaScript</noscript><div id="root"></div><script src="https://cdn.jottocraft.com/productPage/main.js"></script></body></html>
\ No newline at end of file
diff --git a/www/productPage.jottocraft.js b/www/productPage.jottocraft.js
new file mode 100644
index 0000000..92ecb56
--- /dev/null
+++ b/www/productPage.jottocraft.js
@@ -0,0 +1,48 @@
+Object.defineProperty(window, "s", {
+ writable: false,
+ value: {
+ name: "Power+",
+ description: "Stay on top of your coursework ~at a glance~ and with real-time ~CBL~ grade calculation.",
+ productImage: "/assets/productImage.png",
+ colors: { brand: "#d4a426", brandDark: "#b78e23" },
+ copyright: "(c) jottocraft 2018-2021. [source code](https://github.com/jottocraft/dtps) [license](https://github.com/jottocraft/dtps/blob/main/LICENSE)",
+ links: [
+ { name: "Get the extension", type: "main", newWindow: true, icon: "extension", href: "https://chrome.google.com/webstore/detail/power%20/pakgdifknldaiglefmpkkgfjndemfapo" },
+ { name: "Demo", icon: "exit_to_app", href: "/demo" }
+ ],
+ sections: [
+ {
+ type: "split",
+ left: {
+ image: "/assets/todo.svg",
+ icon: "dashboard",
+ title: "Manage your coursework",
+ text: "Power+ shows upcoming assignments, a calendar, announcements, and updates at a glance."
+ }, right: {
+ image: "/assets/calculator.svg",
+ icon: "calculate",
+ title: "CBL Grade Calculation",
+ text: "Power+ calculates CBL class grades at Design Tech High School with support for what-if grades."
+ }
+ },
+ {
+ type: "full",
+ image: "/assets/server.svg",
+ icon: "security",
+ title: "Privacy",
+ paragraph: true,
+ text: [
+ "#Processing of Personal Information and Preferences#",
+ "- Power+ does not collect any personal information. All personal information shown in Power+ is fetched directly from Canvas to your device. All processing of personal information (such as CBL grade calculation) is done on-device.",
+ "- Prefrences and grade history are stored on-device and are not associated with your Canvas account.",
+ "- Power+ is completely open-source on [GitHub](https://github.com/jottocraft/dtps).",
+
+ "#Web Analytics#",
+ "- Power+ uses Cloudflare Web Analytics to count page views, load times, browsers, devices, and Canvas instances used with Power+.",
+ "- Data collected using Cloudflare Web Analytics is not associated with individual users or IP addresses and does not collect any personal information.",
+ "- To learn more about Cloudflare Web Analytics, visit [cloudflare.com/web-analytics](https://www.cloudflare.com/web-analytics/). If you have any questions or concerns about your privacy on Power+ please contact me at [[email protected]](mailto:[email protected])."
+ ].join("\n")
+ }
+ ]
+ }
+});
\ No newline at end of file